Menu

SAP Function Module TP_1W_HOTEL_AVAILABILITY

get list of hotel properties with available rooms

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module TP_1W_HOTEL_AVAILABILITY (get list of hotel properties with available rooms) is a standard Function Module in SAP ERP and is part of the function group FITP_SABRE_GENERAL within the package PTRS_ADDON.

Technical Information

Function Module TP_1W_HOTEL_AVAILABILITY
Short Text get list of hotel properties with available rooms
Function Group FITP_SABRE_GENERAL
Package PTRS_ADDON
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ACTION TYPE C Normal Call(empty) or 'Move Down'(value 'D')
CONTEXT_NUMBER LIKE FTPT_VARIANT-VARIANT Plan variant number (sequential number)
INPUT_PARAMETER LIKE FTPS_HOTEL_AVAIL_IN Entry Parameters for Hotel Availability
NUMBER_OF_SCREENS TYPE CHAR1 Number of screens of data to be returned from host

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
NO_MORE_AVAILABLE TYPE C No mor hotels available

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_HOTEL_ADD_INFO_OUT LIKE FTPS_ROOM_AVAIL_INFO_OUT Hotel Availability: Additional HotelInformation
T_HOTEL_OUT LIKE FTPS_HOTEL_AVAIL_OUT Hotel Availability: Hotel
T_ROOMS_ADD_INFO_OUT LIKE FTPS_ROOM_AVAIL_INFO_OUT Hotel Availability: Additional Room Information
T_ROOM_OUT LIKE FTPS_ROOM_AVAIL_OUT Hotel Availability: Room List

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CONNECTION_ERROR Fehler beim Verbindungsaufbau
GENERAL_API_ERROR Allgemeiner API-Fehler
INVALID_CONTEXT Ungültiger Context
INVALID_DATE_RANGE Ungültige Datumsangabe
INVALID_LOCATION Ungültige Lokation
INVALID_RATE Angeforderter Tarif nicht verfügbar
NO_DESTINATION Keine RFC-Destination
NO_HOTELS_AVAILABLE Keine Hotels verfügbar
PARAMETER_ERROR Fehlerhafte Parameterübergabe
RFC_ERROR RFC-Fehler
SYSTEM_ERROR Systemfehler