TA21L SAP (IATA Locations) Table details
Dictionary Type: Table
Description: IATA Locations
Description: IATA Locations
Table field list including key, data, relationships and ABAP select examples
TA21L is a standard SAP Table which is used to store IATA Locations data and is available within R/3 SAP systems depending on the version and release level.
The TA21L table consists of various fields, each holding specific information or linking keys about IATA Locations data available in SAP. These include LOCID (IATA location), ADD_NAME (Additional Description for IATA Location), COUNTRY (Country Key), REGION (STATE (State, Province, County)).. 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)
Text table = TA21L1
SAP TA21L 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 | |||
LOCID | IATA location | IATA_LOCATION | CHAR | 3 | FTPD_IATA_LOCATION | ||||
ADD_NAME | Additional Description for IATA Location | NAME_ADDITION | CHAR | 30 | TEXT30 | ||||
COUNTRY | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
REGION | STATE (State, Province, County) | REGIO | CHAR | 3 | T005S | REGIO | |||
REGIO_1A | Region (IATA Code) | REGION_1A | CHAR | 2 | CHAR2 | ||||
REF_LOCID | Reference to an IATA location | REF_IATA_LOCATION | CHAR | 3 | TA21L | FTPD_IATA_LOCATION | |||
LOC_TYPE | Type of IATA location | IATA_LOCATION_TYPE | CHAR | 5 | FTPD_IATA_LOCATION_TYPE | ||||
TIME_ZONE | Time zone (Amadeus-specific) | AMADEUS_TIME_ZONE | CHAR | 3 | CHAR3 | ||||
TIME_DIFF | Time difference from GMT (in 1/4 hrs) | TIME_DIFF | CHAR | 2 | CHAR2 | ||||
TIME_IND | Time difference operator (before or after GMT) | TIME_IND | CHAR | 1 | FTPD_TIME_IND | ||||
IND_CITY | Indicator: Location is a city | IND_CITY | CHAR | 1 | CHAR1_X | ||||
IND_CITYAPT | Indicator: Location is an airport | IND_CITYAPT | CHAR | 1 | CHAR1_X | ||||
IND_MULTAPT | Indicator: Location groups airports | IND_MULTAPT | CHAR | 1 | CHAR1_X | ||||
IND_IATA | Indicator: Location is an IATA location | IND_IATA | CHAR | 1 | CHAR1_X | ||||
LONGITUDE | Longitude of location | LONGITUDE | NUMC | 7 | NUMC07 | ||||
LONGITUDE_O | Orientation of longitude of location | LONGITUDE_O | CHAR | 1 | FTPD_LONGITUDE_O | ||||
LATITUDE | Latitude of location | LATITUDE | NUMC | 6 | NUMC06 | ||||
LATITUDE_O | Latitude orientation of location | LATITUDE_O | CHAR | 1 | FTPD_LATITUDE_O | ||||
DIST | Distance to Town | DIST | NUMC | 3 | NUMC03 | ||||
DISTANCE_ORIENT | Orientation for distance to town | DIST_ORIENT | CHAR | 2 | CHAR2 | ||||
.INCLU--AP | 0 | ||||||||
IND_INACTAPT | Location Is Not an Active Airport | IND_INACTAPT | CHAR | 1 | CHAR1_X | ||||
DLSAVING_TIMEDIF | Daylight Saving: Time difference in 1/4 hours to normal time | DAYLIGHTSAVING_TIMEDIFF | CHAR | 2 | CHAR2 | ||||
DLSAVING_1_BEGDA | Daylight saving time period: Begin date | DAYLIGHTSAVING_BEGDA | DATS | 8 | DATS | ||||
DLSAVING_1_ENDDA | Daylight saving time period: End date | DAYLIGHTSAVING_ENDDA | DATS | 8 | DATS | ||||
DLSAVING_2_BEGDA | Daylight saving time period: Begin date | DAYLIGHTSAVING_BEGDA | DATS | 8 | DATS | ||||
DLSAVING_2_ENDDA | Daylight saving time period: End date | DAYLIGHTSAVING_ENDDA | DATS | 8 | DATS |
Key field | Non-key field |
How do I retrieve data from SAP table TA21L using ABAP code
The following ABAP code Example will allow you to do a basic selection on TA21L to SELECT all data from the tableDATA: WA_TA21L TYPE TA21L.
SELECT SINGLE *
FROM TA21L
INTO CORRESPONDING FIELDS OF WA_TA21L
WHERE...
How to access SAP table TA21L
Within an ECC or HANA version of SAP you can also view further information about TA21L 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