SAP Function Modules

FITP_MAP_PAF_DETAILS SAP Function module







FITP_MAP_PAF_DETAILS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name FITP_MAP_PAF_DETAILS into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FITP_PAF
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FITP_MAP_PAF_DETAILS - FITP MAP PAF DETAILS





CALL FUNCTION 'FITP_MAP_PAF_DETAILS' "
  EXPORTING
    gds =                       " reservation_system
    foid =                      " ftps_foid
    fop =                       " ta23pf
    paf =                       " v_ta23paf_conndb
    variant =                   " ftpt_variant
  TABLES
    t_ssr =                     " ftpt_pnr_ssr
    t_osi =                     " ftpt_pnr_osi
    t_item =                    " ftpt_item
    t_flight =                  " ftpt_flight
    .  "  FITP_MAP_PAF_DETAILS

ABAP code example for Function Module FITP_MAP_PAF_DETAILS





The ABAP code below is a full code listing to execute function module FITP_MAP_PAF_DETAILS including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
it_t_ssr  TYPE STANDARD TABLE OF FTPT_PNR_SSR,"TABLES PARAM
wa_t_ssr  LIKE LINE OF it_t_ssr ,
it_t_osi  TYPE STANDARD TABLE OF FTPT_PNR_OSI,"TABLES PARAM
wa_t_osi  LIKE LINE OF it_t_osi ,
it_t_item  TYPE STANDARD TABLE OF FTPT_ITEM,"TABLES PARAM
wa_t_item  LIKE LINE OF it_t_item ,
it_t_flight  TYPE STANDARD TABLE OF FTPT_FLIGHT,"TABLES PARAM
wa_t_flight  LIKE LINE OF it_t_flight .

DATA(ld_gds) = '20210129'.
DATA(ld_foid) = 'some text here'.
DATA(ld_fop) = 'some text here'.
DATA(ld_paf) = 'some text here'.
DATA(ld_variant) = 'some text here'.

"populate fields of struture and append to itab
append wa_t_ssr to it_t_ssr.

"populate fields of struture and append to itab
append wa_t_osi to it_t_osi.

"populate fields of struture and append to itab
append wa_t_item to it_t_item.

"populate fields of struture and append to itab
append wa_t_flight to it_t_flight. . CALL FUNCTION 'FITP_MAP_PAF_DETAILS' EXPORTING gds = ld_gds foid = ld_foid fop = ld_fop paf = ld_paf variant = ld_variant TABLES t_ssr = it_t_ssr t_osi = it_t_osi t_item = it_t_item t_flight = it_t_flight . " FITP_MAP_PAF_DETAILS
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_gds  TYPE RESERVATION_SYSTEM ,
it_t_ssr  TYPE STANDARD TABLE OF FTPT_PNR_SSR ,
wa_t_ssr  LIKE LINE OF it_t_ssr,
ld_foid  TYPE FTPS_FOID ,
it_t_osi  TYPE STANDARD TABLE OF FTPT_PNR_OSI ,
wa_t_osi  LIKE LINE OF it_t_osi,
ld_fop  TYPE TA23PF ,
it_t_item  TYPE STANDARD TABLE OF FTPT_ITEM ,
wa_t_item  LIKE LINE OF it_t_item,
ld_paf  TYPE V_TA23PAF_CONNDB ,
it_t_flight  TYPE STANDARD TABLE OF FTPT_FLIGHT ,
wa_t_flight  LIKE LINE OF it_t_flight,
ld_variant  TYPE FTPT_VARIANT .

ld_gds = '20210129'.

"populate fields of struture and append to itab
append wa_t_ssr to it_t_ssr.
ld_foid = 'some text here'.

"populate fields of struture and append to itab
append wa_t_osi to it_t_osi.
ld_fop = 'some text here'.

"populate fields of struture and append to itab
append wa_t_item to it_t_item.
ld_paf = 'some text here'.

"populate fields of struture and append to itab
append wa_t_flight to it_t_flight.
ld_variant = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FITP_MAP_PAF_DETAILS or its description.