Menu

SAP Function Module FITP_API_HAFAS

RFC for Hafas

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module FITP_API_HAFAS (RFC for Hafas) is a standard Function Module in SAP ERP and is part of the function group FITP_API_HAFAS within the package PTRI_ADDON.

Technical Information

Function Module FITP_API_HAFAS
Short Text RFC for Hafas
Function Group FITP_API_HAFAS
Package PTRI_ADDON
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
HANDLE LIKE FTPS_HAFAS-HANDLE Context handle for HAFAS
REQUEST LIKE FTPS_HAFAS_IN_REQ Request structure

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RESULT LIKE FTPS_HAFAS_OUT_REQ Results of request

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
CONNECTION_ATTRIBUTE LIKE FTPS_HAFAS_ATTRIBUTES Connection attributes for elements (Out)
DEST_STATION LIKE FTPS_HAFAS_IN_STATION Destination stations (in)
LOCKED_TRAINS LIKE FTPS_HAFAS_LOCKED Locked trains (in)
PARTIAL LIKE FTPS_HAFAS_PRTSRCH Partial search (in)
PRODUCT LIKE FTPS_HAFAS_PRODUCT Products for each connection element (in)
START_STATION LIKE FTPS_HAFAS_IN_STATION Start stations (in)
TRAIN_TRIP LIKE FTPS_HAFAS_TRIP Connections (Out)
TRIP_CONNECTION LIKE FTPS_HAFAS_CONNECTION Connection elements for connections (Out)
VIA_STATION LIKE FTPS_HAFAS_IN_STATION Via stations (in)

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
HAFAS_FAILED General failure -> use FITP_GET_HAFASTEXT
HAFAS_TO_MANY_BW_COUNT Number of req. backward connetions exceeds limit
HAFAS_TO_MANY_CNT_CHNG Number of req. train changes exceeds limit
HAFAS_TO_MANY_CNT_ELEM Number of req. train elements exceeds limit
HAFAS_TO_MANY_DEST_STATION Too many entries in DEST_STATION
HAFAS_TO_MANY_FW_COUNT Number of req. forward connetions exceeds limit
HAFAS_TO_MANY_LOCKED_TRAINS Too many entries in LOCKED_TRAINS
HAFAS_TO_MANY_PARTIAL Too many entries in PARTIAL
HAFAS_TO_MANY_PRODUCT Too many entries in PRODUCT
HAFAS_TO_MANY_START_STATION Too many entries in START_STATION
HAFAS_TO_MANY_VIA_STATION Too many entries in VIA_STATION