SAP FITP_FAST_BOOKING_QUERY Function Module for Availabilities for travel services ( Fast Booking Mode )
FITP_FAST_BOOKING_QUERY is a standard fitp fast booking query SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Availabilities for travel services ( Fast Booking Mode ) processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fitp fast booking query FM, simply by entering the name FITP_FAST_BOOKING_QUERY into the relevant SAP transaction such as SE37 or SE38.
Function Group: PTRM_PLAN
Program Name: SAPLPTRM_PLAN
Main Program: SAPLPTRM_PLAN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FITP_FAST_BOOKING_QUERY pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FITP_FAST_BOOKING_QUERY'"Availabilities for travel services ( Fast Booking Mode ).
EXPORTING
I_EMPLOYEENUMBER = "Personal Number
* I_LOC_ARR = "Trip Arrival Location
* I_DEP_COUNTRY = "Departure Country
* I_ARR_COUNTRY = "Arrival Country
* I_DEP_REGION = "Departure Region
* I_ARR_REGION = "Arrival Region
* I_DATE_DEP = "Departure Date
* I_DATE_ARR = "Arrival Date
* I_TIME_DEP = "Departure Time
* I_TIME_ARR = "Arrival Time
* I_TIME_DEP_FLAG = "Arrival/Departure time ( X = Arrival )
* I_DEST_ADDRESS = "Destination Address
* I_TIME_ARR_FLAG = "Arrival/Departure time ( X = Arrival )
* I_HOTEL_NEAR_DEST = "Indicator: Hotel near destination
* I_SELECTED_FLIGHT = "No of selected Best Price Flight offer
* I_PLAN = "Plan - Planning Data (Portal RFC Interface)
* I_REQ_HEAD = "Req_head - Planning Data (Portal RFC-Interface)
* I_FLIGHT_SERVICE = "Indicator: Flight requested
* I_RENTALCAR_SERVICE = "Indicator: Rental Car requested
* I_HOTEL_SERVICE = "Indicator: Hotel requested
* I_MORE_HOTELS = "Indicator: More Hotels requested
* I_LOC_DEP = "Trip Departure Location
TABLES
* ET_FLIGHTDEP_LOC_LIST = "List of Iata-codes & Names: Flight departure
* ET_FLIGHTARR_LOC_LIST = "List of Iata-codes & Names: Flight arrival
* ET_HOTEL_LOC_LIST = "List of Iata-codes & Names: Hotel location arrival
* ET_CAR_LOC_LIST = "List of Iata-codes & Names: Car rental location
* ET_FLIGHT_LIST = "Flight Best-Price offers
* ET_CAR_LIST = "Rental Cars offers
* ET_HOTEL_LIST = "Hotel offers
* ET_ADDITIONAL_QUERY = "Info: New hotel and/or car query necessary
* ET_RETURN = "Table with BAPI Return Information
IMPORTING Parameters details for FITP_FAST_BOOKING_QUERY
I_EMPLOYEENUMBER - Personal Number
Data type: PERNR_DOptional: No
Call by Reference: No ( called with pass by value option)
I_LOC_ARR - Trip Arrival Location
Data type: IATA_LOCATION_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DEP_COUNTRY - Departure Country
Data type: LAND1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ARR_COUNTRY - Arrival Country
Data type: LAND1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DEP_REGION - Departure Region
Data type: REGIOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ARR_REGION - Arrival Region
Data type: REGIOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATE_DEP - Departure Date
Data type: DATSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATE_ARR - Arrival Date
Data type: DATSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TIME_DEP - Departure Time
Data type: TIMSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TIME_ARR - Arrival Time
Data type: TIMSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TIME_DEP_FLAG - Arrival/Departure time ( X = Arrival )
Data type: DEP_ARROptional: Yes
Call by Reference: No ( called with pass by value option)
I_DEST_ADDRESS - Destination Address
Data type: FTPS_ADDRESSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TIME_ARR_FLAG - Arrival/Departure time ( X = Arrival )
Data type: DEP_ARROptional: Yes
Call by Reference: No ( called with pass by value option)
I_HOTEL_NEAR_DEST - Indicator: Hotel near destination
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SELECTED_FLIGHT - No of selected Best Price Flight offer
Data type: INT1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PLAN - Plan - Planning Data (Portal RFC Interface)
Data type: FTPS_WEB_PLANOptional: Yes
Call by Reference: No ( called with pass by value option)
I_REQ_HEAD - Req_head - Planning Data (Portal RFC-Interface)
Data type: FTPS_WEB_REQ_HEADOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLIGHT_SERVICE - Indicator: Flight requested
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RENTALCAR_SERVICE - Indicator: Rental Car requested
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_HOTEL_SERVICE - Indicator: Hotel requested
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MORE_HOTELS - Indicator: More Hotels requested
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LOC_DEP - Trip Departure Location
Data type: IATA_LOCATION_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FITP_FAST_BOOKING_QUERY
ET_FLIGHTDEP_LOC_LIST - List of Iata-codes & Names: Flight departure
Data type: FTPS_WEB_LOCATIONOptional: Yes
Call by Reference: Yes
ET_FLIGHTARR_LOC_LIST - List of Iata-codes & Names: Flight arrival
Data type: FTPS_WEB_LOCATIONOptional: Yes
Call by Reference: Yes
ET_HOTEL_LOC_LIST - List of Iata-codes & Names: Hotel location arrival
Data type: FTPS_WEB_LOCATIONOptional: Yes
Call by Reference: Yes
ET_CAR_LOC_LIST - List of Iata-codes & Names: Car rental location
Data type: FTPS_WEB_LOCATIONOptional: Yes
Call by Reference: Yes
ET_FLIGHT_LIST - Flight Best-Price offers
Data type: FTPS_WEB_FLIGHT_LOWFARE_LISTOptional: Yes
Call by Reference: Yes
ET_CAR_LIST - Rental Cars offers
Data type: FTPS_WEB_CAR_LISTOptional: Yes
Call by Reference: Yes
ET_HOTEL_LIST - Hotel offers
Data type: FTPS_HOTEL_LIST_GENERICOptional: Yes
Call by Reference: Yes
ET_ADDITIONAL_QUERY - Info: New hotel and/or car query necessary
Data type: PTRS_RFC_ADDITIONAL_QUERYOptional: Yes
Call by Reference: Yes
ET_RETURN - Table with BAPI Return Information
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FITP_FAST_BOOKING_QUERY Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_employeenumber | TYPE PERNR_D, " | |||
| lt_et_flightdep_loc_list | TYPE STANDARD TABLE OF FTPS_WEB_LOCATION, " | |||
| lv_i_loc_arr | TYPE IATA_LOCATION_NAME, " | |||
| lv_i_dep_country | TYPE LAND1, " | |||
| lv_i_arr_country | TYPE LAND1, " | |||
| lv_i_dep_region | TYPE REGIO, " | |||
| lv_i_arr_region | TYPE REGIO, " | |||
| lv_i_date_dep | TYPE DATS, " | |||
| lv_i_date_arr | TYPE DATS, " | |||
| lv_i_time_dep | TYPE TIMS, " | |||
| lv_i_time_arr | TYPE TIMS, " | |||
| lv_i_time_dep_flag | TYPE DEP_ARR, " | |||
| lv_i_dest_address | TYPE FTPS_ADDRESS, " | |||
| lt_et_flightarr_loc_list | TYPE STANDARD TABLE OF FTPS_WEB_LOCATION, " | |||
| lv_i_time_arr_flag | TYPE DEP_ARR, " | |||
| lv_i_hotel_near_dest | TYPE XFELD, " | |||
| lv_i_selected_flight | TYPE INT1, " | |||
| lv_i_plan | TYPE FTPS_WEB_PLAN, " | |||
| lt_et_hotel_loc_list | TYPE STANDARD TABLE OF FTPS_WEB_LOCATION, " | |||
| lv_i_req_head | TYPE FTPS_WEB_REQ_HEAD, " | |||
| lt_et_car_loc_list | TYPE STANDARD TABLE OF FTPS_WEB_LOCATION, " | |||
| lt_et_flight_list | TYPE STANDARD TABLE OF FTPS_WEB_FLIGHT_LOWFARE_LIST, " | |||
| lv_i_flight_service | TYPE XFELD, " | |||
| lt_et_car_list | TYPE STANDARD TABLE OF FTPS_WEB_CAR_LIST, " | |||
| lv_i_rentalcar_service | TYPE XFELD, " | |||
| lt_et_hotel_list | TYPE STANDARD TABLE OF FTPS_HOTEL_LIST_GENERIC, " | |||
| lv_i_hotel_service | TYPE XFELD, " | |||
| lv_i_more_hotels | TYPE XFELD, " | |||
| lt_et_additional_query | TYPE STANDARD TABLE OF PTRS_RFC_ADDITIONAL_QUERY, " | |||
| lt_et_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_i_loc_dep | TYPE IATA_LOCATION_NAME. " |
|   CALL FUNCTION 'FITP_FAST_BOOKING_QUERY' "Availabilities for travel services ( Fast Booking Mode ) |
| EXPORTING | ||
| I_EMPLOYEENUMBER | = lv_i_employeenumber | |
| I_LOC_ARR | = lv_i_loc_arr | |
| I_DEP_COUNTRY | = lv_i_dep_country | |
| I_ARR_COUNTRY | = lv_i_arr_country | |
| I_DEP_REGION | = lv_i_dep_region | |
| I_ARR_REGION | = lv_i_arr_region | |
| I_DATE_DEP | = lv_i_date_dep | |
| I_DATE_ARR | = lv_i_date_arr | |
| I_TIME_DEP | = lv_i_time_dep | |
| I_TIME_ARR | = lv_i_time_arr | |
| I_TIME_DEP_FLAG | = lv_i_time_dep_flag | |
| I_DEST_ADDRESS | = lv_i_dest_address | |
| I_TIME_ARR_FLAG | = lv_i_time_arr_flag | |
| I_HOTEL_NEAR_DEST | = lv_i_hotel_near_dest | |
| I_SELECTED_FLIGHT | = lv_i_selected_flight | |
| I_PLAN | = lv_i_plan | |
| I_REQ_HEAD | = lv_i_req_head | |
| I_FLIGHT_SERVICE | = lv_i_flight_service | |
| I_RENTALCAR_SERVICE | = lv_i_rentalcar_service | |
| I_HOTEL_SERVICE | = lv_i_hotel_service | |
| I_MORE_HOTELS | = lv_i_more_hotels | |
| I_LOC_DEP | = lv_i_loc_dep | |
| TABLES | ||
| ET_FLIGHTDEP_LOC_LIST | = lt_et_flightdep_loc_list | |
| ET_FLIGHTARR_LOC_LIST | = lt_et_flightarr_loc_list | |
| ET_HOTEL_LOC_LIST | = lt_et_hotel_loc_list | |
| ET_CAR_LOC_LIST | = lt_et_car_loc_list | |
| ET_FLIGHT_LIST | = lt_et_flight_list | |
| ET_CAR_LIST | = lt_et_car_list | |
| ET_HOTEL_LIST | = lt_et_hotel_list | |
| ET_ADDITIONAL_QUERY | = lt_et_additional_query | |
| ET_RETURN | = lt_et_return | |
| . " FITP_FAST_BOOKING_QUERY | ||
ABAP code using 7.40 inline data declarations to call FM FITP_FAST_BOOKING_QUERY
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects