SANS1 SAP (Address table) Table details
Dictionary Type: Table
Description: Address table
Description: Address table
Table field list including key, data, relationships and ABAP select examples
SANS1 is a standard SAP Table which is used to store Address table data and is available within R/3 SAP systems depending on the version and release level.
The SANS1 table consists of various fields, each holding specific information or linking keys about Address table data available in SAP. These include ADRNR (Address number), LAND1 (Country Key), PSTLZ (Postal Code), ORT01 (City).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP SANS1 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 | |||
ADRNR | Address number | SADRNR | CHAR | 10 | SADRNR | ADN | |||
LAND1 | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
PSTLZ | Postal Code | PSTLZ | CHAR | 10 | PSTLZ | ||||
ORT01 | City | ORT01_GP | CHAR | 35 | TEXT35 | ||||
ORT02 | District | ORT02_GP | CHAR | 35 | TEXT35 | ||||
PSTBZ | Post delivery district | PSTBZ | CHAR | 15 | PSTBZ | ||||
STRAS | House number and street | STRAS_GP | CHAR | 35 | TEXT35 | ||||
STRA1 | House number and street | STRAS_GP | CHAR | 35 | TEXT35 | ||||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | T005S | REGIO | |||
ORT01_MC | IS-IS: City 1 in upper case characters for matchcode search | VVXORT01MC | CHAR | 16 | CHAR16 | ||||
STRAS_MC | IS-IS: Street in upper case characters for matchcode search | VVXSTRASMC | CHAR | 16 | CHAR16 | ||||
ADDRESS_ID | (Not supported) Physical address ID | AD_ADDR_ID | CHAR | 10 | ALPHA | AD_ADDR_ID |
Key field | Non-key field |
How do I retrieve data from SAP table SANS1 using ABAP code
The following ABAP code Example will allow you to do a basic selection on SANS1 to SELECT all data from the tableDATA: WA_SANS1 TYPE SANS1.
SELECT SINGLE *
FROM SANS1
INTO CORRESPONDING FIELDS OF WA_SANS1
WHERE...
How to access SAP table SANS1
Within an ECC or HANA version of SAP you can also view further information about SANS1 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