FITP_WEB_HOTEL_AVAIL 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_WEB_HOTEL_AVAIL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FITP_WEB_HOTEL
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'FITP_WEB_HOTEL_AVAIL' "
EXPORTING
* i_portal_action = " ftpd_hotel_action
i_personal_number = " pernr_d Personnel Number
* i_trip_number = " reinr Trip Number
* i_item_number = " itempos_nr Travel request item number (sequential number)
i_iata_location = " hotel_slocation Hotel Location
i_date_arrival = " hotel_date_arr
i_date_departure = " hotel_date_dep Departure Date Hotel
* i_hotel_chain = " hotel_provider Hotel Chain
* i_area_location = " hotel_area_loc Hotel area
* i_hotel_name = " hotel_name
* i_maximum_distance = " ftpd_web_distance Distance
* i_hotel_preferences = " ps0472 HR Master Record Infotype 0472 (Hotel Preferences)
* i_address = " ftps_web_address Travel Web Interface: Addresses
* i_geocoding = " ftps_web_geocoding Travel Web Interface: Geocoding
* i_return_geocoding = SPACE " xfeld Checkbox
IMPORTING
e_hotel_header = " ftps_web_hotel_list_header Header Data of Hotel List (Portal RFC Interface)
TABLES
et_return = " bapirettab Table with BAPI Return Information
et_hotel_list = " ftps_web_hotel_list_t Table Type for FTPS_WEB_HOTEL_LIST
. " FITP_WEB_HOTEL_AVAIL
The ABAP code below is a full code listing to execute function module FITP_WEB_HOTEL_AVAIL 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).
| ld_e_hotel_header | TYPE FTPS_WEB_HOTEL_LIST_HEADER , |
| it_et_return | TYPE STANDARD TABLE OF BAPIRETTAB,"TABLES PARAM |
| wa_et_return | LIKE LINE OF it_et_return , |
| it_et_hotel_list | TYPE STANDARD TABLE OF FTPS_WEB_HOTEL_LIST_T,"TABLES PARAM |
| wa_et_hotel_list | LIKE LINE OF it_et_hotel_list . |
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_e_hotel_header | TYPE FTPS_WEB_HOTEL_LIST_HEADER , |
| ld_i_portal_action | TYPE FTPD_HOTEL_ACTION , |
| it_et_return | TYPE STANDARD TABLE OF BAPIRETTAB , |
| wa_et_return | LIKE LINE OF it_et_return, |
| ld_i_personal_number | TYPE PERNR_D , |
| it_et_hotel_list | TYPE STANDARD TABLE OF FTPS_WEB_HOTEL_LIST_T , |
| wa_et_hotel_list | LIKE LINE OF it_et_hotel_list, |
| ld_i_trip_number | TYPE REINR , |
| ld_i_item_number | TYPE ITEMPOS_NR , |
| ld_i_iata_location | TYPE HOTEL_SLOCATION , |
| ld_i_date_arrival | TYPE HOTEL_DATE_ARR , |
| ld_i_date_departure | TYPE HOTEL_DATE_DEP , |
| ld_i_hotel_chain | TYPE HOTEL_PROVIDER , |
| ld_i_area_location | TYPE HOTEL_AREA_LOC , |
| ld_i_hotel_name | TYPE HOTEL_NAME , |
| ld_i_maximum_distance | TYPE FTPD_WEB_DISTANCE , |
| ld_i_hotel_preferences | TYPE PS0472 , |
| ld_i_address | TYPE FTPS_WEB_ADDRESS , |
| ld_i_geocoding | TYPE FTPS_WEB_GEOCODING , |
| ld_i_return_geocoding | TYPE XFELD . |
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_WEB_HOTEL_AVAIL or its description.