TA21PH SAP (Customer-Specific Hotel Catalog) Table details

Dictionary Type: Table
Description: Customer-Specific Hotel Catalog




ABAP Code to SELECT data from TA21PH
Related tables to TA21PH
Access table TA21PH




Table field list including key, data, relationships and ABAP select examples

TA21PH is a standard SAP Table which is used to store Customer-Specific Hotel Catalog data and is available within R/3 SAP systems depending on the version and release level.

The TA21PH table consists of various fields, each holding specific information or linking keys about Customer-Specific Hotel Catalog data available in SAP. These include HOTEL_ID (Hotel Catalog Item (enterprise-specific)), PROVIDER (Provider Code), LOCID (IATA location), PROPERTY (Hotel Code (Key for an Individual Hotel)).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class: C - Customising table, maintenance only by cust
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)


SAP TA21PH table fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3Assigned to domainMANDT
HOTEL_IDHotel Catalog Item (enterprise-specific) HOTEL_IDCHAR8FTPD_HOTEL_INDEX
PROVIDERProvider Code PROVIDER_CODECHAR3TA21PFTPD_PROVIDER_CODE
LOCIDIATA location IATA_LOCATIONCHAR3TA21LFTPD_IATA_LOCATION
PROPERTYHotel Code (Key for an Individual Hotel) HOTEL_PROPERTYCHAR6FTPD_HOTEL_PROP
ASC_LOCIDAssigned IATA locations of hotel if available ASC_IATA_LOCATIONCHAR3TA21LFTPD_IATA_LOCATION
NAMEName of Hotel HOTEL_NAMECHAR40TEXT40
STRASSEStreet and house number of hotel HOTEL_STREETCHAR60TEXT60
STRASSE2Street and house number of hotel HOTEL_STREETCHAR60TEXT60
LAND1Country Key LAND1CHAR3T005LAND1LND
PLZPostal Code POST_CODECHAR10Assigned to domainPOST_CODEPSCPSTC
ORTHotel location HOTEL_LOCATIONCHAR30TEXT30
ORTSTEILDistrict of hotel HOTEL_SUBLOCATIONCHAR30TEXT30
TELEFONTelephone Number TELNR_BASCHAR14TELNR_BAS
FAXHotel: Fax Number HOTEL_FAXNRCHAR14TELNR_BAS
AVAILABLEHotel: Access via GDS or Asterix HOTEL_AVAILABILITYCHAR1FTPD_HOTEL_AVAILABILITY
RESERVEHotel: Reservation method HOTEL_RESERVE_VIACHAR1FTPD_BOOK_VIA
PRIORITYPriority of hotel in travel profile HOTEL_PRIORITYCHAR1TA20PPPFTPD_PROF_PRIORITY
SPECHIDGeneral Class Rule for Hotel HOTEL_SSPECHIDCHAR8TA20PSFTPD_SSPEC_ID
AREA_LOCHotel Area HOTEL_AREA_LOCCHAR1FTPD_HOTEL_AREA
TRANS_LOCTransportation Option to Hotel HOTEL_TRANS_LOCCHAR1FTPD_HOTEL_TRANSPORT
RFCDESTRFC Destination Asterix ASTERIX_RFCDESTCHAR32Assigned to domainRFCDEST
URLURL (Uniform Resource Locator) of Information Source INFO_URLCHAR255TEXT255

Key field Non-key field



How do I retrieve data from SAP table TA21PH using ABAP code

The following ABAP code Example will allow you to do a basic selection on TA21PH to SELECT all data from the table
DATA: WA_TA21PH TYPE TA21PH.

SELECT SINGLE *
FROM TA21PH
INTO CORRESPONDING FIELDS OF WA_TA21PH
WHERE...

How to access SAP table TA21PH

Within an ECC or HANA version of SAP you can also view further information about TA21PH and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


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!