SAP FITP_FLIGHT_FILL_TABLE Function Module for









FITP_FLIGHT_FILL_TABLE is a standard fitp flight fill table SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 flight fill table FM, simply by entering the name FITP_FLIGHT_FILL_TABLE into the relevant SAP transaction such as SE37 or SE38.

Function Group: FITP_FLIGHT
Program Name: SAPLFITP_FLIGHT
Main Program: SAPLFITP_FLIGHT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FITP_FLIGHT_FILL_TABLE 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_FLIGHT_FILL_TABLE'"
EXPORTING
DATE_DEP = "Field of Type DATS
TIME_DEP = "Field of type TIMS
LOC_DEP = "Flight arrival location
LOC_ARR = "Flight arrival location
DEP_ARR = "Arrival/Departure time
VARIANT = "Table of Travel Plan Variants

TABLES
T_ITEM_REQUEST = "Travel service request item
T_FLIGHT = "Travel request item - flight service
.



IMPORTING Parameters details for FITP_FLIGHT_FILL_TABLE

DATE_DEP - Field of Type DATS

Data type: FLIGHT_DATE_DEP
Optional: No
Call by Reference: Yes

TIME_DEP - Field of type TIMS

Data type: FLIGHT_TIME_DEP
Optional: No
Call by Reference: Yes

LOC_DEP - Flight arrival location

Data type: FLIGHT_SLOC_DEP
Optional: No
Call by Reference: Yes

LOC_ARR - Flight arrival location

Data type: FLIGHT_SLOC_ARR
Optional: No
Call by Reference: Yes

DEP_ARR - Arrival/Departure time

Data type: DEP_ARR
Optional: No
Call by Reference: Yes

VARIANT - Table of Travel Plan Variants

Data type: FTPT_VARIANT
Optional: No
Call by Reference: Yes

TABLES Parameters details for FITP_FLIGHT_FILL_TABLE

T_ITEM_REQUEST - Travel service request item

Data type: FTPT_ITEM
Optional: No
Call by Reference: Yes

T_FLIGHT - Travel request item - flight service

Data type: FTPT_FLIGHT
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FITP_FLIGHT_FILL_TABLE 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_date_dep  TYPE FLIGHT_DATE_DEP, "   
lt_t_item_request  TYPE STANDARD TABLE OF FTPT_ITEM, "   
lv_time_dep  TYPE FLIGHT_TIME_DEP, "   
lt_t_flight  TYPE STANDARD TABLE OF FTPT_FLIGHT, "   
lv_loc_dep  TYPE FLIGHT_SLOC_DEP, "   
lv_loc_arr  TYPE FLIGHT_SLOC_ARR, "   
lv_dep_arr  TYPE DEP_ARR, "   
lv_variant  TYPE FTPT_VARIANT. "   

  CALL FUNCTION 'FITP_FLIGHT_FILL_TABLE'  "
    EXPORTING
         DATE_DEP = lv_date_dep
         TIME_DEP = lv_time_dep
         LOC_DEP = lv_loc_dep
         LOC_ARR = lv_loc_arr
         DEP_ARR = lv_dep_arr
         VARIANT = lv_variant
    TABLES
         T_ITEM_REQUEST = lt_t_item_request
         T_FLIGHT = lt_t_flight
. " FITP_FLIGHT_FILL_TABLE




ABAP code using 7.40 inline data declarations to call FM FITP_FLIGHT_FILL_TABLE

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!