SAP FITP_DISPLAY_PRICE Function Module for









FITP_DISPLAY_PRICE is a standard fitp display price 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 display price FM, simply by entering the name FITP_DISPLAY_PRICE into the relevant SAP transaction such as SE37 or SE38.

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



Function FITP_DISPLAY_PRICE 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_DISPLAY_PRICE'"
EXPORTING
PERSNR = "Personnel no.
REINR = "
PLANNR = "
VARIANT_NR = "Variant
VARIANTVRS = "
CUR_VARIANT = "
* ONLY_FLIGHT = "Single-Character Indicator

TABLES
PLAN = "
FLIGHT_LEG = "
FLIGHT_PREF = "
HOTEL = "
HOTEL_PREF = "
CAR = "
CAR_PREF = "
TRAIN = "
TRAIN_PREF = "
PNR_NAME = "
PNR_ADDRESS = "
VARIANT = "
VAR_INFO = "
FARE_COMP = "
FLIGHT_TST = "
FLIGHT_FARE = "
FARE_NOTE = "
ITEM = "Item Table
FLIGHT = "
FLIGHT_UNPRICED = "
.



IMPORTING Parameters details for FITP_DISPLAY_PRICE

PERSNR - Personnel no.

Data type: FTPT_PLAN-PERNR
Optional: No
Call by Reference: No ( called with pass by value option)

REINR -

Data type: FTPT_PLAN-REINR
Optional: No
Call by Reference: No ( called with pass by value option)

PLANNR -

Data type: FTPT_PLAN-PLANNR
Optional: No
Call by Reference: No ( called with pass by value option)

VARIANT_NR - Variant

Data type: FTPT_VARIANT-VARIANT
Optional: No
Call by Reference: No ( called with pass by value option)

VARIANTVRS -

Data type: FTPT_VARIANT-VARIANTVRS
Optional: No
Call by Reference: No ( called with pass by value option)

CUR_VARIANT -

Data type: FTPT_VARIANT
Optional: No
Call by Reference: No ( called with pass by value option)

ONLY_FLIGHT - Single-Character Indicator

Data type: CHAR1
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for FITP_DISPLAY_PRICE

PLAN -

Data type: FTPT_PLAN
Optional: No
Call by Reference: No ( called with pass by value option)

FLIGHT_LEG -

Data type: FTPT_FLIGHT_LEG
Optional: No
Call by Reference: No ( called with pass by value option)

FLIGHT_PREF -

Data type: FTPT_FLIGHT_PREF
Optional: No
Call by Reference: No ( called with pass by value option)

HOTEL -

Data type: FTPT_HOTEL
Optional: No
Call by Reference: No ( called with pass by value option)

HOTEL_PREF -

Data type: FTPT_HOTEL_PREF
Optional: No
Call by Reference: No ( called with pass by value option)

CAR -

Data type: FTPT_CAR
Optional: No
Call by Reference: No ( called with pass by value option)

CAR_PREF -

Data type: FTPT_CAR_PREF
Optional: No
Call by Reference: No ( called with pass by value option)

TRAIN -

Data type: FTPT_TRAIN
Optional: No
Call by Reference: No ( called with pass by value option)

TRAIN_PREF -

Data type: FTPT_TRAIN_PREF
Optional: No
Call by Reference: No ( called with pass by value option)

PNR_NAME -

Data type: FTPT_PNR_NAME
Optional: No
Call by Reference: No ( called with pass by value option)

PNR_ADDRESS -

Data type: FTPT_PNR_ADDRESS
Optional: No
Call by Reference: No ( called with pass by value option)

VARIANT -

Data type: FTPT_VARIANT
Optional: No
Call by Reference: No ( called with pass by value option)

VAR_INFO -

Data type: FTPT_VAR_INFO
Optional: No
Call by Reference: No ( called with pass by value option)

FARE_COMP -

Data type: FTPT_FARE_COMP
Optional: No
Call by Reference: No ( called with pass by value option)

FLIGHT_TST -

Data type: FTPT_FLIGHT_TSTK
Optional: No
Call by Reference: No ( called with pass by value option)

FLIGHT_FARE -

Data type: FTPT_FLIGHT_FCMP
Optional: No
Call by Reference: No ( called with pass by value option)

FARE_NOTE -

Data type: FTPT_FARE_NOTE
Optional: No
Call by Reference: No ( called with pass by value option)

ITEM - Item Table

Data type: FTPT_ITEM
Optional: No
Call by Reference: No ( called with pass by value option)

FLIGHT -

Data type: FTPT_FLIGHT
Optional: No
Call by Reference: No ( called with pass by value option)

FLIGHT_UNPRICED -

Data type: FTPT_FLIGHT
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FITP_DISPLAY_PRICE 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:
lt_plan  TYPE STANDARD TABLE OF FTPT_PLAN, "   
lv_persnr  TYPE FTPT_PLAN-PERNR, "   
lt_flight_leg  TYPE STANDARD TABLE OF FTPT_FLIGHT_LEG, "   
lt_flight_pref  TYPE STANDARD TABLE OF FTPT_FLIGHT_PREF, "   
lt_hotel  TYPE STANDARD TABLE OF FTPT_HOTEL, "   
lt_hotel_pref  TYPE STANDARD TABLE OF FTPT_HOTEL_PREF, "   
lt_car  TYPE STANDARD TABLE OF FTPT_CAR, "   
lt_car_pref  TYPE STANDARD TABLE OF FTPT_CAR_PREF, "   
lt_train  TYPE STANDARD TABLE OF FTPT_TRAIN, "   
lt_train_pref  TYPE STANDARD TABLE OF FTPT_TRAIN_PREF, "   
lt_pnr_name  TYPE STANDARD TABLE OF FTPT_PNR_NAME, "   
lt_pnr_address  TYPE STANDARD TABLE OF FTPT_PNR_ADDRESS, "   
lv_reinr  TYPE FTPT_PLAN-REINR, "   
lt_variant  TYPE STANDARD TABLE OF FTPT_VARIANT, "   
lt_var_info  TYPE STANDARD TABLE OF FTPT_VAR_INFO, "   
lv_plannr  TYPE FTPT_PLAN-PLANNR, "   
lt_fare_comp  TYPE STANDARD TABLE OF FTPT_FARE_COMP, "   
lt_flight_tst  TYPE STANDARD TABLE OF FTPT_FLIGHT_TSTK, "   
lv_variant_nr  TYPE FTPT_VARIANT-VARIANT, "   
lv_variantvrs  TYPE FTPT_VARIANT-VARIANTVRS, "   
lt_flight_fare  TYPE STANDARD TABLE OF FTPT_FLIGHT_FCMP, "   
lt_fare_note  TYPE STANDARD TABLE OF FTPT_FARE_NOTE, "   
lv_cur_variant  TYPE FTPT_VARIANT, "   
lt_item  TYPE STANDARD TABLE OF FTPT_ITEM, "   
lv_only_flight  TYPE CHAR1, "   
lt_flight  TYPE STANDARD TABLE OF FTPT_FLIGHT, "   
lt_flight_unpriced  TYPE STANDARD TABLE OF FTPT_FLIGHT. "   

  CALL FUNCTION 'FITP_DISPLAY_PRICE'  "
    EXPORTING
         PERSNR = lv_persnr
         REINR = lv_reinr
         PLANNR = lv_plannr
         VARIANT_NR = lv_variant_nr
         VARIANTVRS = lv_variantvrs
         CUR_VARIANT = lv_cur_variant
         ONLY_FLIGHT = lv_only_flight
    TABLES
         PLAN = lt_plan
         FLIGHT_LEG = lt_flight_leg
         FLIGHT_PREF = lt_flight_pref
         HOTEL = lt_hotel
         HOTEL_PREF = lt_hotel_pref
         CAR = lt_car
         CAR_PREF = lt_car_pref
         TRAIN = lt_train
         TRAIN_PREF = lt_train_pref
         PNR_NAME = lt_pnr_name
         PNR_ADDRESS = lt_pnr_address
         VARIANT = lt_variant
         VAR_INFO = lt_var_info
         FARE_COMP = lt_fare_comp
         FLIGHT_TST = lt_flight_tst
         FLIGHT_FARE = lt_flight_fare
         FARE_NOTE = lt_fare_note
         ITEM = lt_item
         FLIGHT = lt_flight
         FLIGHT_UNPRICED = lt_flight_unpriced
. " FITP_DISPLAY_PRICE




ABAP code using 7.40 inline data declarations to call FM FITP_DISPLAY_PRICE

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.

 
"SELECT single PERNR FROM FTPT_PLAN INTO @DATA(ld_persnr).
 
 
 
 
 
 
 
 
 
 
 
"SELECT single REINR FROM FTPT_PLAN INTO @DATA(ld_reinr).
 
 
 
"SELECT single PLANNR FROM FTPT_PLAN INTO @DATA(ld_plannr).
 
 
 
"SELECT single VARIANT FROM FTPT_VARIANT INTO @DATA(ld_variant_nr).
 
"SELECT single VARIANTVRS FROM FTPT_VARIANT INTO @DATA(ld_variantvrs).
 
 
 
 
 
 
 
 


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!