ADRS_OR SAP (Address of original agent) Structure details
Description: Address of original agent
Structure field list including key, data, relationships and ABAP select examples
ADRS_OR is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Address of original agent" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_ADRS_OR TYPE ADRS_OR.
The ADRS_OR table consists of various fields, each holding specific information or linking keys about Address of original agent data available in SAP. These include ANRED (Title), NAME1 (Name 1 of an address), NAME2 (Name 2 of an address), NAME3 (Name 3 of an address).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP ADRS_OR structure 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 |
ANRED | Title | ANRED | CHAR | 15 | TEXT15 | ||||
NAME1 | Name 1 of an address | NAME1_ADRS | CHAR | 40 | TEXT40 | ||||
NAME2 | Name 2 of an address | NAME2_ADRS | CHAR | 40 | TEXT40 | ||||
NAME3 | Name 3 of an address | NAME3_ADRS | CHAR | 40 | TEXT40 | ||||
NAME4 | Name 4 of an address | NAME4_ADRS | CHAR | 40 | TEXT40 | ||||
STRAS | House number and street | STRAS_GP | CHAR | 35 | TEXT35 | ||||
PFACH | PO box | PFACH_BAS | CHAR | 10 | PFACH | ||||
PSTL2 | PO Box postal code | PSTL2_BAS | CHAR | 10 | PSTLZ | ||||
PFORT | PO Box city | PFORT_ADRS | CHAR | 40 | TEXT40 | ||||
LAND1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
PSTLZ | Postal code | PSTLZ_BAS | CHAR | 10 | PSTLZ | ||||
ORT01 | City | ORT01_GP | CHAR | 35 | TEXT35 | ||||
ORT02 | City | ORT01_GP | CHAR | 35 | TEXT35 | ||||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
SPRAS | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
INLND | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
ANZZL | Number of lines in address | ANZEI | DEC | 2 | ANZEI | ||||
PRIOR | Address lines priority | PRITY_ADRS | CHAR | 9 | CHAR9 | ||||
WAREN | Delivery address ID | WAREN | CHAR | 1 | WAREN | ||||
LINE0 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE1 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE2 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE3 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE4 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE5 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE6 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE7 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE8 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE9 | Address line | LINES | CHAR | 80 | LINES | ||||
LINEK | Address line | LINES | CHAR | 80 | LINES | ||||
LINED | Address line | LINES | CHAR | 80 | LINES | ||||
LINED0 | Address line | LINES | CHAR | 80 | LINES | ||||
PO_BOX_LOBBY | PO Box Lobby | AD_PO_BOX_LBY | CHAR | 40 | TEXT40 | ||||
DELI_SERV_TYPE | Type of Delivery Service | AD_DELIVERY_SERVICE_TYPE | CHAR | 4 | AD_DELIVERY_SERVICE_TYPE | ||||
DELI_SERV_NUMBER | Number of Delivery Service | AD_DELIVERY_SERVICE_NUMBER | CHAR | 10 | CHAR10 | ||||
COUNTY | County | AD_COUNTY | CHAR | 40 | TEXT40 | CLTCNTYNAME | |||
TOWNSHIP | Township | AD_TOWNSHIP | CHAR | 40 | TEXT40 | CLTWSHPNAME |
Key field | Non-key field |
How do I retrieve data from SAP structure ADRS_OR using ABAP code?
As ADRS_OR is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on ADRS_OR as there is no data to select.How to access SAP table ADRS_OR
Within an ECC or HANA version of SAP you can also view further information about ADRS_OR 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