T005 SAP (Countries) Table details
Dictionary Type: Table
Description: Countries
Description: Countries
Table field list including key, data, relationships and ABAP select examples
T005 is a standard SAP Table which is used to store Countries data and is available within R/3 SAP systems depending on the version and release level.
The T005 table consists of various fields, each holding specific information or linking keys about Countries data available in SAP. These include LAND1 (Country Key), LANDK (Vehicle country key), LNPLZ (Postal code length), PRPLZ (Rule for the postal code field check).. 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 or numeric)
Text table = T005T
SAP T005 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 | T000 | MANDT | |||
LAND1 | Country Key | LAND1 | CHAR | 3 | LAND1 | LND | |||
LANDK | Vehicle country key | LANDK | CHAR | 3 | LANDK | ||||
LNPLZ | Postal code length | LNPLZ_005 | NUMC | 2 | NUM02 | ||||
PRPLZ | Rule for the postal code field check | PRUEF_005 | CHAR | 1 | PR005 | ||||
ADDRS | Formatting routine key for printing addresses | ADDRS_005 | CHAR | 3 | T005A | ADDRS | |||
XPLZS | Flag: Street address postal code required entry? | XPLZS_005 | CHAR | 1 | XFELD | ||||
XPLPF | Flag: PO Box postal code required? | XPLPF_005 | CHAR | 1 | XFELD | ||||
SPRAS | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
XLAND | Country version flag | XLAND_005 | CHAR | 1 | XLAND_005 | ||||
XADDR | Flag: Print country name in foreign addresses? | XADDR_005 | CHAR | 1 | XFELD | ||||
NMFMT | Standard name format | NMFMT_005 | CHAR | 2 | T005N | AD_NAMFORM | |||
XREGS | Flag: City file address check | XREGS_005 | CHAR | 1 | XFELD | ||||
XPLST | Flag: Street-specific postal code? (City file) | XPLST_005 | CHAR | 1 | XFELD | ||||
INTCA | Country ISO code | INTCA | CHAR | 2 | INTCA | F4_INTCA | |||
INTCA3 | ISO country code 3 char | INTCA3 | CHAR | 3 | INTCA3 | ||||
INTCN3 | ISO Country Code Numeric 3-Characters | INTCN3 | NUMC | 3 | NUM03 | ||||
XEGLD | Indicator: European Union Member? | XEGLD | CHAR | 1 | XFELD | ||||
XSKFN | Indicator: Discount base amount is the net value | XSKFN | CHAR | 1 | XFELD | ||||
XMWSN | Indicator: Base amount for tax is net of discount ? | XMWSN | CHAR | 1 | XFELD | ||||
LNBKN | Bank account number length | LNBKN_005 | NUMC | 2 | NUM02 | ||||
PRBKN | Rule for checking bank account number field | PRBKN_005 | CHAR | 1 | PR005 | ||||
LNBLZ | Bank number length | LNBLZ_005 | NUMC | 2 | NUM02 | ||||
PRBLZ | Rule for checking bank number field | PRBLZ_005 | CHAR | 1 | PR005 | ||||
LNPSK | Post office bank current account number length | LNPSK_005 | NUMC | 2 | NUM02 | ||||
PRPSK | Rule for checking postal check account number field | PRPSK_005 | CHAR | 1 | PR005 | ||||
XPRBK | Indicator: Use check module for bank fields ? | XPRBK_005 | CHAR | 1 | XFELD | ||||
BNKEY | Name of the bank key | BNKEY | CHAR | 1 | BNKEY | ||||
LNBKS | Length of Bank Key | LNBKS_005 | NUMC | 2 | NUM02 | ||||
PRBKS | Rule for checking bank key field | PRBKS_005 | CHAR | 1 | PR005 | ||||
XPRSO | Indicator: Use check module for tax fields etc. ? | XPRSO_005 | CHAR | 1 | XFELD | ||||
PRUIN | Rule for checking VAT registration number field | PRUIN_005 | CHAR | 1 | PR005 | ||||
UINLN | VAT registration number length | UINLN | NUMC | 2 | NUM02 | ||||
LNST1 | Permitted Input Length for Tax Numbre 1 | LNST1_005 | NUMC | 2 | NUM02 | ||||
PRST1 | Rule for checking tax code 1 field | PRST1_005 | CHAR | 1 | PR005 | ||||
LNST2 | Permitted Input Length for Tax Number 2 | LNST2_005 | NUMC | 2 | NUM02 | ||||
PRST2 | Rule for checking tax code 2 field | PRST2_005 | CHAR | 1 | PR005 | ||||
LNST3 | Permitted Input Length for Tax Number 3 | LNST3_005 | NUMC | 2 | NUM02 | ||||
PRST3 | Rule for checking tax code 3 field | PRST3_005 | CHAR | 1 | PR005 | ||||
LNST4 | Permitted Input Length for Tax Number 4 | LNST4_005 | NUMC | 2 | NUM02 | ||||
PRST4 | Rule for checking tax code 4 field | PRST4_005 | CHAR | 1 | PR005 | ||||
LNST5 | Permitted Input Length for Tax Number 5 | LNST5_005 | NUMC | 2 | NUM02 | ||||
PRST5 | Rule for checking tax code 5 field | PRST5_005 | CHAR | 1 | PR005 | ||||
LANDD | DUEVO: Nationality | DUSTA | CHAR | 3 | T5D4E | DUSTA | |||
KALSM | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | KALSM_D | CHAR | 6 | T683 | KALSM | |||
LANDA | Alternative Country Key | LANDA | CHAR | 3 | LANDA | ||||
WECHF | Payment period for bill of exchange | WECHF | NUMC | 3 | NUM03 | ||||
LKVRZ | Short Name for Foreign Trade Statistics | LKVRZ | CHAR | 7 | CHAR7 | ||||
INTCN | Intrastat Code | INTCN | NUMC | 3 | NUM03 | ||||
XDEZP | Decimal point format | XDEZP | CHAR | 1 | XFELD | ||||
DATFM | Date Format | DATFM | CHAR | 1 | DATFM | ||||
CURIN | Currency Key of the Index-Based Currency | CURIN | CUKY | 5 | TCURC | WAERS | |||
CURHA | Currency Key of the Hard Currency | CURHA | CUKY | 5 | TCURC | WAERS | |||
WAERS | Country currency | WAERS_005 | CUKY | 5 | TCURC | WAERS | |||
KURST | Exchange Rate Type for Translation into Country Currency | KURST_005 | CHAR | 4 | TCURV | KURST | |||
AFAPL | Chart of depreciaton for asset valuation | AFAPL | CHAR | 4 | T096 | AFAPL | AFP | H_AFAPL | |
GWGWRT | Maximum low-value asset amount | GWGWRT | CURR | 13(2) | WERT13 | ||||
UMRWRT | Net book value for changeover of depreciation method | UMRWRT | CURR | 13(2) | WERT13 | ||||
KZRBWB | Indicator post net book value for retirement | KZRBWB | CHAR | 1 | XFELD | ||||
XANZUM | Indicator transfer down payments from previous years | XANZUM | CHAR | 1 | XFELD | ||||
CTNCONCEPT | Withholding tax certificate numbering: Concepts | CTNCONCEPT | CHAR | 4 | WITH_CTNCOKEY | CTNCONCEPT | |||
KZSRV | Taxes at individual service level | KZSRV | CHAR | 1 | XFELD | ||||
XXINVE | Indicator: Display Capital Goods Indicator? | XXINVE | CHAR | 1 | XFELD | ||||
.INCLU--AP | 0 | ||||||||
SUREG | Super region per country | PRQ_SUREG | CHAR | 8 | TBKS | PRQ_CH8 | |||
.INCLU--AP | 0 | ||||||||
LANDGRP_VP | Country grouping for shipping schedule | LANDGRP_VP | CHAR | 2 | TJG94 | LANDGRP_VP |
Key field | Non-key field |
How do I retrieve data from SAP table T005 using ABAP code
The following ABAP code Example will allow you to do a basic selection on T005 to SELECT all data from the tableDATA: WA_T005 TYPE T005.
SELECT SINGLE *
FROM T005
INTO CORRESPONDING FIELDS OF WA_T005
WHERE...
How to access SAP table T005
Within an ECC or HANA version of SAP you can also view further information about T005 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