SAP FITP_UTIL_HOTEL_RESERVE Function Module for









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

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



Function FITP_UTIL_HOTEL_RESERVE 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_UTIL_HOTEL_RESERVE'"
EXPORTING
I_DISPLAY_INDEX = "Character Field, 8 Characters Long
* I_DEPOSIT = "Deposit payment method for room reservation
* I_CCNAME = "Formatted Name of Employee or Applicant
* I_HOTEL_PROVIDER = "
* I_HOTEL_PROPERTY = "
* I_BEDS = "
* I_BED_TYPE = "
* I_ROOM_TYPE = "
* I_ROOM_RATE_CODE = "
* I_DEST_ADDRESS = "
* I_REASON_CODE = "Reason Code
* IT_INFO_TEXT = "Reason Text
* IT_NOTE_TO_AGENCY = "Additional Information on Travel Plan
* I_CATALOGUE_ID = "Hotel Catalog Item (enterprise-specific)
* I_MEMBSHIP = "Table Type for Structure PS0475 (Customer Program)
* I_FLIGHTMEM = "Table Type for Structure PS0475 (Customer Program)
* I_CORPORATE_ID = "Company Identification for Room Reservation
* I_GUARANTEE = "Guarantee for room reservation at booking

IMPORTING
ET_RETURN = "Table with BAPI Return Information
ET_PROVIDER_TEXT = "Table Type for FTPS_TEXT
E_LIMIT_TEXT = "Alternative Message When Maximum Amount Is Exceeded

EXCEPTIONS
ERROR_IN_RIR_CREATION = 1 NO_DESTINATION_FOUND = 2 NO_VALID_VARIANT = 3 CONNECTION_ERROR = 4 NO_ENTRY_IN_TABLE = 5 INFOTYPE_NOT_FOUND = 6 ERROR_SYNCHRO = 7 INFO_DATE_SYNCHRO = 8
.



IMPORTING Parameters details for FITP_UTIL_HOTEL_RESERVE

I_DISPLAY_INDEX - Character Field, 8 Characters Long

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

I_DEPOSIT - Deposit payment method for room reservation

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

I_CCNAME - Formatted Name of Employee or Applicant

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

I_HOTEL_PROVIDER -

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

I_HOTEL_PROPERTY -

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

I_BEDS -

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

I_BED_TYPE -

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

I_ROOM_TYPE -

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

I_ROOM_RATE_CODE -

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

I_DEST_ADDRESS -

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

I_REASON_CODE - Reason Code

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

IT_INFO_TEXT - Reason Text

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

IT_NOTE_TO_AGENCY - Additional Information on Travel Plan

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

I_CATALOGUE_ID - Hotel Catalog Item (enterprise-specific)

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

I_MEMBSHIP - Table Type for Structure PS0475 (Customer Program)

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

I_FLIGHTMEM - Table Type for Structure PS0475 (Customer Program)

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

I_CORPORATE_ID - Company Identification for Room Reservation

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

I_GUARANTEE - Guarantee for room reservation at booking

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

EXPORTING Parameters details for FITP_UTIL_HOTEL_RESERVE

ET_RETURN - Table with BAPI Return Information

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

ET_PROVIDER_TEXT - Table Type for FTPS_TEXT

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

E_LIMIT_TEXT - Alternative Message When Maximum Amount Is Exceeded

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

EXCEPTIONS details

ERROR_IN_RIR_CREATION -

Data type:
Optional: No
Call by Reference: Yes

NO_DESTINATION_FOUND - No RFC destination found

Data type:
Optional: No
Call by Reference: Yes

NO_VALID_VARIANT -

Data type:
Optional: No
Call by Reference: Yes

CONNECTION_ERROR - Error when setting up connection

Data type:
Optional: No
Call by Reference: Yes

NO_ENTRY_IN_TABLE - No entry in table

Data type:
Optional: No
Call by Reference: Yes

INFOTYPE_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

ERROR_SYNCHRO -

Data type:
Optional: No
Call by Reference: Yes

INFO_DATE_SYNCHRO -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FITP_UTIL_HOTEL_RESERVE 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_et_return  TYPE BAPIRETTAB, "   
lv_i_display_index  TYPE CHAR8, "   
lv_error_in_rir_creation  TYPE CHAR8, "   
lv_i_deposit  TYPE HOTEL_DEPOSIT, "   
lv_i_ccname  TYPE EMNAM, "   
lv_i_hotel_provider  TYPE HOTEL_PROVIDER, "   
lv_i_hotel_property  TYPE HOTEL_PROPERTY, "   
lv_i_beds  TYPE HOTEL_NUMBER_OF_BEDS, "   
lv_i_bed_type  TYPE HOTEL_BEDDING_TYPE, "   
lv_i_room_type  TYPE HOTEL_ROOMTYPE, "   
lv_i_room_rate_code  TYPE HOTEL_ROOM_RATE_CODE, "   
lv_i_dest_address  TYPE FTPS_ADDRESS, "   
lv_i_reason_code  TYPE FTPS_REASON_CODE, "   
lv_et_provider_text  TYPE FTPS_TEXT_T, "   
lv_no_destination_found  TYPE FTPS_TEXT_T, "   
lv_e_limit_text  TYPE LIMIT_TEXT, "   
lv_it_info_text  TYPE FTPS_TEXT_T, "   
lv_no_valid_variant  TYPE FTPS_TEXT_T, "   
lv_connection_error  TYPE FTPS_TEXT_T, "   
lv_it_note_to_agency  TYPE FTPS_WEB_INFO_T, "   
lv_i_catalogue_id  TYPE HOTEL_ID, "   
lv_no_entry_in_table  TYPE HOTEL_ID, "   
lv_i_membship  TYPE PS0475, "   
lv_infotype_not_found  TYPE PS0475, "   
lv_i_flightmem  TYPE PS0475, "   
lv_error_synchro  TYPE PS0475, "   
lv_i_corporate_id  TYPE HOTEL_CORPORATE_ID, "   
lv_info_date_synchro  TYPE HOTEL_CORPORATE_ID, "   
lv_i_guarantee  TYPE HOTEL_GUARANTEE. "   

  CALL FUNCTION 'FITP_UTIL_HOTEL_RESERVE'  "
    EXPORTING
         I_DISPLAY_INDEX = lv_i_display_index
         I_DEPOSIT = lv_i_deposit
         I_CCNAME = lv_i_ccname
         I_HOTEL_PROVIDER = lv_i_hotel_provider
         I_HOTEL_PROPERTY = lv_i_hotel_property
         I_BEDS = lv_i_beds
         I_BED_TYPE = lv_i_bed_type
         I_ROOM_TYPE = lv_i_room_type
         I_ROOM_RATE_CODE = lv_i_room_rate_code
         I_DEST_ADDRESS = lv_i_dest_address
         I_REASON_CODE = lv_i_reason_code
         IT_INFO_TEXT = lv_it_info_text
         IT_NOTE_TO_AGENCY = lv_it_note_to_agency
         I_CATALOGUE_ID = lv_i_catalogue_id
         I_MEMBSHIP = lv_i_membship
         I_FLIGHTMEM = lv_i_flightmem
         I_CORPORATE_ID = lv_i_corporate_id
         I_GUARANTEE = lv_i_guarantee
    IMPORTING
         ET_RETURN = lv_et_return
         ET_PROVIDER_TEXT = lv_et_provider_text
         E_LIMIT_TEXT = lv_e_limit_text
    EXCEPTIONS
        ERROR_IN_RIR_CREATION = 1
        NO_DESTINATION_FOUND = 2
        NO_VALID_VARIANT = 3
        CONNECTION_ERROR = 4
        NO_ENTRY_IN_TABLE = 5
        INFOTYPE_NOT_FOUND = 6
        ERROR_SYNCHRO = 7
        INFO_DATE_SYNCHRO = 8
. " FITP_UTIL_HOTEL_RESERVE




ABAP code using 7.40 inline data declarations to call FM FITP_UTIL_HOTEL_RESERVE

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!