Menu

SAP Function Module RFC_1A_GET_FLIGHT_AVAILABILITY

Get flight availability based on input

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 RFC_1A_GET_FLIGHT_AVAILABILITY (Get flight availability based on input) is a standard Function Module in SAP ERP and is part of the function group FITP_AMADEUS_RFC_INTERFACE within the package PTRI_ADDON.

Technical Information

Function Module RFC_1A_GET_FLIGHT_AVAILABILITY
Short Text Get flight availability based on input
Function Group FITP_AMADEUS_RFC_INTERFACE
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
CONTEXT_HANDLER LIKE FTPS_API-CTXTID Context handler
S_FLIGHT_AVAIL_IN LIKE FTPS_API_FLIGHT2_AVAIL_IN Flight Availability Input 2

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ERROR_CODE LIKE FTPS_API-ERROR_CODE Return error code of API interface
ERROR_TYPE LIKE FTPS_API-ERROR_TYPE Type of API return error code
S_FLIGHT_AVAIL_OUT LIKE FTPS_API_FLIGHT2_AVAIL_OUT Output structure, a max of 4 recommendations can be returned

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
T_FLT2_AEI_INFO_FREE_TXT_OUT LIKE FTPS_API_FLIGHT2_FREE_TXT Text message pertaining to the request
T_FLT2_APPL_ERROR_INFO_OUT LIKE FTPS_API_FLIGHT2_APPL_ERR_INFO info relatedo to an app. error, text, type & resp. agency
T_FLT2_ATD_TRAVEL_PRD_INFO_OUT LIKE FTPS_API_FLIGHT2_TRV_PRD_INFO List of flight options for an input request.
T_FLT2_AVAIL_TRV_DTL_IN LIKE FTPS_API_FLIGHT2_AVAIL_TRV_DTL List of travel product and city info response
T_FLT2_AVAIL_TRV_DTL_OUT LIKE FTPS_API_FLIGHT2_AVAIL_TRV_DTL List of travel product and city info response
T_FLT2_INFO_FREE_TXT_OUT LIKE FTPS_API_FLIGHT2_FREE_TXT Text message pertaining to the request
T_FLT2_TPI_ADD_PRD_DTL_OUT LIKE FTPS_API_FLIGHT2_ADDPRDINFODTL Info for additional flight and gate information
T_FLT2_TPI_APD_CODE_OUT LIKE FTPS_API_STRING_NODE Index List for Data Type STRING
T_FLT2_TPI_APPL_ERROR_INFO_OUT LIKE FTPS_API_FLIGHT2_APPL_ERR_INFO info relatedo to an app. error, text, type & resp. agency
T_FLT2_TPI_CABIN_DTL_IN LIKE FTPS_API_FLIGHT2_CABINDETAILS cabin type to reduce the availability
T_FLT2_TPI_CABIN_DTL_OUT LIKE FTPS_API_FLIGHT2_CABINDETAILS cabin type to reduce the availability
T_FLT2_TPI_CBD_PRD_INFODTL_OUT LIKE FTPS_API_FLIGHT2_PRD_INFO_DTL Status, class, and modifiers for a generic product.
T_FLT2_TPI_CBD_PRD_INFO_DTL_IN LIKE FTPS_API_FLIGHT2_PRD_INFO_DTL Status, class, and modifiers for a generic product.
T_FLT2_TPI_CONNECTION_DTL_IN LIKE FTPS_API_FLIGHT2_CONNECTIONDTL info related to connection city and time between flights
T_FLT2_TPI_INFO_FREE_TXT_OUT LIKE FTPS_API_FLIGHT2_FREE_TXT Text message pertaining to the request
T_FLT2_TPI_PRD_INFO_DTL_IN LIKE FTPS_API_FLIGHT2_PRD_INFO_DTL Status, class, and modifiers for a generic product.
T_FLT2_TPI_PRD_INFO_DTL_OUT LIKE FTPS_API_FLIGHT2_PRD_INFO_DTL Status, class, and modifiers for a generic product.
T_FLT2_TPI_PREF_AIRLINE_IN LIKE FTPS_API_FLIGHT2_PREF_AIRLINE Preferences for airline, flightnum, op.suffix, class of serv
T_FLT2_TPI_PREF_AIRLINE_OUT LIKE FTPS_API_FLIGHT2_PREF_AIRLINE Preferences for airline, flightnum, op.suffix, class of serv
T_FLT2_TPI_SEQ_NUMBER_IN LIKE FTPS_API_FLIGHT2_SEQ_NUMBER List of seq. code for the availability information
T_FLT2_TPI_SEQ_NUMBER_OUT LIKE FTPS_API_FLIGHT2_SEQ_NUMBER List of seq. code for the availability information
T_FLT2_TRAVEL_PROD_INFO_IN LIKE FTPS_API_FLIGHT2_TRV_PRD_INFO List of flight options for an input request.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
EDIFACT_HEADERS_CORRUPT Edifact headers corrupted.
INCORRECT_LIB_FUNC_CALL Incorrect Library function called.
MISSING_MANDATORY_INPUT Missing mandatory input.
UNEXPECTED_HOST_EVENT Unexpected host event.
UNEXPECTED_HOST_RESPONSE Unexpected response from the host.