Menu

SAP Function Module TP_RAIL_CONNECTIONS

Zugverbindungen mit Preisen

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module TP_RAIL_CONNECTIONS (Zugverbindungen mit Preisen) is a standard Function Module in SAP ERP and is part of the function group FITP_GEN within the package PTRP_ADDON.

Technical Information

Function Module TP_RAIL_CONNECTIONS
Short Text Zugverbindungen mit Preisen
Function Group FITP_GEN
Package PTRP_ADDON
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ARR_DEP TYPE SY-BINPT 'D' 'A' (Arrival) oder 'D' (Departure)
BAHNCARD_CLASS TYPE CHAR1 Bahncardklasse
BAHNCARD_NUMBER TYPE PA0475-PRGNR Bahncardnummer
CONTEXT_NUMBER LIKE FTPT_VARIANT-VARIANT Kennung für Reservierung
DATE TYPE SY-DATUM Abfahrts- bzw. Ankunftsdatum
DB_ORDER_NR TYPE FTPT_VARIANT-DB_ORDER_NR Reservierungsnummer
FIRST_NAME TYPE PA0002-VORNA Vorname
GKT_NUMBER TYPE CHAR8 Nummer des Großkundentickets
LAST_NAME TYPE PA0002-NACHN Nachname
MORE TYPE SY-BINPT 'X' für weitere Zugverbindungen
PROVIDER TYPE CHAR3 Computerreservierungssystem
SW_FIRST_AVAIL_CALL TYPE CHAR1 Erster Ruf von tp_rail_connections für diese Abfrage
SW_PORTAL TYPE CHAR1 Single-character flag
TIME TYPE SY-UZEIT Abfahrts- bzw. Ankunftszeit

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_RETURN TYPE BAPIRETTAB Tabelle mit BAPI Return Informationen

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ARRIVAL_STATIONS TYPE GRAIL_STATIONS_TAB Ankunftsstationen
DEPARTURE_STATIONS TYPE GRAIL_STATIONS_TAB Abfahrtsstationen
RAIL_CONNECTIONS TYPE GRAIL_CONNECTIONS_TAB Zugverbindungen mit Preisen (nur Export)
VIA_STATIONS TYPE GRAIL_STATIONS_TAB Viastationen

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
APPLICATION_API_ERROR Anwendungsspezifischer API-Fehler
CONNECTION_ERROR Allgemeiner Verbindungsfehler
DISPLAY_ERROR Fehler wird nur angezeigt, keine Aktion nötig
GENERAL_API_ERROR Allgemeiner API-Fehler
INVALID_VARIANT Ungültiger Kontext
NO_DESTINATION Keine RFC-Verbindung gefunden
NO_TRAINS_AVAILABLE Keine Verbindung verfügbar