TA21PH SAP (Customer-Specific Hotel Catalog) Table details
Dictionary Type: Table
Description: Customer-Specific Hotel Catalog
Description: Customer-Specific Hotel Catalog
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 custDisplay/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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
HOTEL_ID | Hotel Catalog Item (enterprise-specific) | HOTEL_ID | CHAR | 8 | FTPD_HOTEL_INDEX | ||||
PROVIDER | Provider Code | PROVIDER_CODE | CHAR | 3 | TA21P | FTPD_PROVIDER_CODE | |||
LOCID | IATA location | IATA_LOCATION | CHAR | 3 | TA21L | FTPD_IATA_LOCATION | |||
PROPERTY | Hotel Code (Key for an Individual Hotel) | HOTEL_PROPERTY | CHAR | 6 | FTPD_HOTEL_PROP | ||||
ASC_LOCID | Assigned IATA locations of hotel if available | ASC_IATA_LOCATION | CHAR | 3 | TA21L | FTPD_IATA_LOCATION | |||
NAME | Name of Hotel | HOTEL_NAME | CHAR | 40 | TEXT40 | ||||
STRASSE | Street and house number of hotel | HOTEL_STREET | CHAR | 60 | TEXT60 | ||||
STRASSE2 | Street and house number of hotel | HOTEL_STREET | CHAR | 60 | TEXT60 | ||||
LAND1 | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
PLZ | Postal Code | POST_CODE | CHAR | 10 | Assigned to domain | POST_CODE | PSC | PSTC | |
ORT | Hotel location | HOTEL_LOCATION | CHAR | 30 | TEXT30 | ||||
ORTSTEIL | District of hotel | HOTEL_SUBLOCATION | CHAR | 30 | TEXT30 | ||||
TELEFON | Telephone Number | TELNR_BAS | CHAR | 14 | TELNR_BAS | ||||
FAX | Hotel: Fax Number | HOTEL_FAXNR | CHAR | 14 | TELNR_BAS | ||||
AVAILABLE | Hotel: Access via GDS or Asterix | HOTEL_AVAILABILITY | CHAR | 1 | FTPD_HOTEL_AVAILABILITY | ||||
RESERVE | Hotel: Reservation method | HOTEL_RESERVE_VIA | CHAR | 1 | FTPD_BOOK_VIA | ||||
PRIORITY | Priority of hotel in travel profile | HOTEL_PRIORITY | CHAR | 1 | TA20PPP | FTPD_PROF_PRIORITY | |||
SPECHID | General Class Rule for Hotel | HOTEL_SSPECHID | CHAR | 8 | TA20PS | FTPD_SSPEC_ID | |||
AREA_LOC | Hotel Area | HOTEL_AREA_LOC | CHAR | 1 | FTPD_HOTEL_AREA | ||||
TRANS_LOC | Transportation Option to Hotel | HOTEL_TRANS_LOC | CHAR | 1 | FTPD_HOTEL_TRANSPORT | ||||
RFCDEST | RFC Destination Asterix | ASTERIX_RFCDEST | CHAR | 32 | Assigned to domain | RFCDEST | |||
URL | URL (Uniform Resource Locator) of Information Source | INFO_URL | CHAR | 255 | TEXT255 |
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 tableDATA: 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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects