SAP FITP_ITINERARY_OVERVIEW_HTML Function Module for Display Travel Plan (HTML) for Standalone









FITP_ITINERARY_OVERVIEW_HTML is a standard fitp itinerary overview html SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display Travel Plan (HTML) for Standalone 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 itinerary overview html FM, simply by entering the name FITP_ITINERARY_OVERVIEW_HTML into the relevant SAP transaction such as SE37 or SE38.

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



Function FITP_ITINERARY_OVERVIEW_HTML 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_ITINERARY_OVERVIEW_HTML'"Display Travel Plan (HTML) for Standalone
EXPORTING
PERNR = "Personnel Number
* PARENT = "Abstract Container for GUI Controls
* HTML_VIEWER = "HTML Control Proxy Class
REINR = "Trip Number
PLANNR = "Travel Plan Number (Sequential Number)
* VARIANT_NR = "Plan Variant Number (Sequential Number)
* VARIANTVRS = "Version of travel plan
PLAN_REQUEST = "Single-Character Indicator
* REQ_HEAD = "Framework Data of Travel Request
* ALL_ACTUAL_VARIANTS = ' ' "Single-Character Indicator
* NO_DYNPRO = "Single-Character Indicator

TABLES
* VARIANT = "Table of Travel Plan Variants
* HOTEL = "Travel Request Item - Hotel Service
* HOTEL_PREF = "Hotel service preferences of a travel plan
* CAR = "Travel Request Item - Car Rental Service
* CAR_PREF = "Rental car service preferences of a travel plan
* TRAIN = "Travel Request Item - Train Service
* TRAIN_PREF = "Train service preferences of a travel plan
* PNR_NAME = "Name element of PNR
* PLAN = "General Plan Data
* PNR_ADDRESS = "PNR delivery / billing addresses
* VAR_INFO = "Info texts for travel plan variants
* FARE_COMP = "Rate components
* REQUEST = "Travel Plan Requests
* REQ_ADVANCE = "Travel Request Advance
* REQ_REASON = "Reason for Travel Request
* REQ_ACCOUNT = "Travel Request Cost Assignment
* FLIGHT_TST = "Ticket information
* ITEM = "Travel Service Request Item
* FLIGHT = "Travel Request Item - Flight Service
* FLIGHT_LEG = "Leg of flight
* FLIGHT_PREF = "Flight service preferences of a travel plan
* FLIGHT_FARE = "Assignment table: flights <-> rate components
* FARE_NOTE = "Rate Rules
.



IMPORTING Parameters details for FITP_ITINERARY_OVERVIEW_HTML

PERNR - Personnel Number

Data type: FTPT_PLAN-PERNR
Optional: No
Call by Reference: Yes

PARENT - Abstract Container for GUI Controls

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

HTML_VIEWER - HTML Control Proxy Class

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

REINR - Trip Number

Data type: FTPT_PLAN-REINR
Optional: No
Call by Reference: Yes

PLANNR - Travel Plan Number (Sequential Number)

Data type: FTPT_PLAN-PLANNR
Optional: No
Call by Reference: Yes

VARIANT_NR - Plan Variant Number (Sequential Number)

Data type: FTPT_VARIANT-VARIANT
Optional: Yes
Call by Reference: Yes

VARIANTVRS - Version of travel plan

Data type: FTPT_VARIANT-VARIANTVRS
Optional: Yes
Call by Reference: Yes

PLAN_REQUEST - Single-Character Indicator

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

REQ_HEAD - Framework Data of Travel Request

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

ALL_ACTUAL_VARIANTS - Single-Character Indicator

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

NO_DYNPRO - Single-Character Indicator

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

TABLES Parameters details for FITP_ITINERARY_OVERVIEW_HTML

VARIANT - Table of Travel Plan Variants

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

HOTEL - Travel Request Item - Hotel Service

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

HOTEL_PREF - Hotel service preferences of a travel plan

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

CAR - Travel Request Item - Car Rental Service

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

CAR_PREF - Rental car service preferences of a travel plan

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

TRAIN - Travel Request Item - Train Service

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

TRAIN_PREF - Train service preferences of a travel plan

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

PNR_NAME - Name element of PNR

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

PLAN - General Plan Data

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

PNR_ADDRESS - PNR delivery / billing addresses

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

VAR_INFO - Info texts for travel plan variants

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

FARE_COMP - Rate components

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

REQUEST - Travel Plan Requests

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

REQ_ADVANCE - Travel Request Advance

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

REQ_REASON - Reason for Travel Request

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

REQ_ACCOUNT - Travel Request Cost Assignment

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

FLIGHT_TST - Ticket information

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

ITEM - Travel Service Request Item

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

FLIGHT - Travel Request Item - Flight Service

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

FLIGHT_LEG - Leg of flight

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

FLIGHT_PREF - Flight service preferences of a travel plan

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

FLIGHT_FARE - Assignment table: flights <-> rate components

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

FARE_NOTE - Rate Rules

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

Copy and paste ABAP code example for FITP_ITINERARY_OVERVIEW_HTML 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_pernr  TYPE FTPT_PLAN-PERNR, "   
lt_variant  TYPE STANDARD TABLE OF FTPT_VARIANT, "   
lt_hotel  TYPE STANDARD TABLE OF FTPT_HOTEL, "   
lv_parent  TYPE CL_GUI_CONTAINER, "   
lt_hotel_pref  TYPE STANDARD TABLE OF FTPT_HOTEL_PREF, "   
lv_html_viewer  TYPE CL_GUI_HTML_VIEWER, "   
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_plan  TYPE STANDARD TABLE OF FTPT_PLAN, "   
lt_pnr_address  TYPE STANDARD TABLE OF FTPT_PNR_ADDRESS, "   
lt_var_info  TYPE STANDARD TABLE OF FTPT_VAR_INFO, "   
lv_reinr  TYPE FTPT_PLAN-REINR, "   
lt_fare_comp  TYPE STANDARD TABLE OF FTPT_FARE_COMP, "   
lt_request  TYPE STANDARD TABLE OF FTPT_REQUEST, "   
lt_req_advance  TYPE STANDARD TABLE OF FTPT_REQ_ADVANCE, "   
lt_req_reason  TYPE STANDARD TABLE OF FTPT_REQ_REASON, "   
lt_req_account  TYPE STANDARD TABLE OF FTPT_REQ_ACCOUNT, "   
lv_plannr  TYPE FTPT_PLAN-PLANNR, "   
lt_flight_tst  TYPE STANDARD TABLE OF FTPT_FLIGHT_TSTK, "   
lt_item  TYPE STANDARD TABLE OF FTPT_ITEM, "   
lv_variant_nr  TYPE FTPT_VARIANT-VARIANT, "   
lt_flight  TYPE STANDARD TABLE OF FTPT_FLIGHT, "   
lv_variantvrs  TYPE FTPT_VARIANT-VARIANTVRS, "   
lt_flight_leg  TYPE STANDARD TABLE OF FTPT_FLIGHT_LEG, "   
lv_plan_request  TYPE CHAR1, "   
lv_req_head  TYPE FTPT_REQ_HEAD, "   
lt_flight_pref  TYPE STANDARD TABLE OF FTPT_FLIGHT_PREF, "   
lt_flight_fare  TYPE STANDARD TABLE OF FTPT_FLIGHT_FCMP, "   
lv_all_actual_variants  TYPE CHAR1, "   ' '
lt_fare_note  TYPE STANDARD TABLE OF FTPT_FARE_NOTE, "   
lv_no_dynpro  TYPE CHAR1. "   

  CALL FUNCTION 'FITP_ITINERARY_OVERVIEW_HTML'  "Display Travel Plan (HTML) for Standalone
    EXPORTING
         PERNR = lv_pernr
         PARENT = lv_parent
         HTML_VIEWER = lv_html_viewer
         REINR = lv_reinr
         PLANNR = lv_plannr
         VARIANT_NR = lv_variant_nr
         VARIANTVRS = lv_variantvrs
         PLAN_REQUEST = lv_plan_request
         REQ_HEAD = lv_req_head
         ALL_ACTUAL_VARIANTS = lv_all_actual_variants
         NO_DYNPRO = lv_no_dynpro
    TABLES
         VARIANT = lt_variant
         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
         PLAN = lt_plan
         PNR_ADDRESS = lt_pnr_address
         VAR_INFO = lt_var_info
         FARE_COMP = lt_fare_comp
         REQUEST = lt_request
         REQ_ADVANCE = lt_req_advance
         REQ_REASON = lt_req_reason
         REQ_ACCOUNT = lt_req_account
         FLIGHT_TST = lt_flight_tst
         ITEM = lt_item
         FLIGHT = lt_flight
         FLIGHT_LEG = lt_flight_leg
         FLIGHT_PREF = lt_flight_pref
         FLIGHT_FARE = lt_flight_fare
         FARE_NOTE = lt_fare_note
. " FITP_ITINERARY_OVERVIEW_HTML




ABAP code using 7.40 inline data declarations to call FM FITP_ITINERARY_OVERVIEW_HTML

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_pernr).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"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).
 
 
 
 
 
 
DATA(ld_all_actual_variants) = ' '.
 
 
 


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!