ANTS_CUSTOMER_CODE SAP (Customer Code) Structure details
Description: Customer Code
Related tables to ANTS_CUSTOMER_CODE
Access table ANTS_CUSTOMER_CODE
Structure field list including key, data, relationships and ABAP select examples
ANTS_CUSTOMER_CODE 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 "Customer Code" 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_ANTS_CUSTOMER_CODE TYPE ANTS_CUSTOMER_CODE.
The ANTS_CUSTOMER_CODE table consists of various fields, each holding specific information or linking keys about Customer Code data available in SAP. These include GUID (Globally Unique Identifier), POS (int2 Value for SAP Statistics), PGMID (Program ID in Requests and Tasks), OBJECT (Object Type).. 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: Cannot Be Enhanced
SAP ANTS_CUSTOMER_CODE 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
GUID | Globally Unique Identifier | GUID | RAW | 16 | |||||
POS | int2 Value for SAP Statistics | STA_INT2 | INT2 | 5 | STA_INT2 | ||||
PGMID | Program ID in Requests and Tasks | PGMID | CHAR | 4 | PGMID | ||||
OBJECT | Object Type | TROBJTYPE | CHAR | 4 | OBJECT | SCTSOBJECT | |||
OBJ_NAME | Object Name in Object List | TROBJ_NAME | CHAR | 120 | TROBJ_NAME | ||||
OBJ_DATE | Date of Last Change | UDATUM | DATS | 8 | SYDATS | ||||
OBJ_SOURCE | General Flag | FLAG | CHAR | 1 | FLAG | ||||
OBJ_CLASS_TYPE | Not More Closely Defined Area, Possibly Used for Patchlevels | CHAR4 | CHAR | 4 | CHAR4 | ||||
OBJ_CLASS_VALUE | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
DEVCLASS | Package | DEVCLASS | CHAR | 30 | Assigned to domain | DEVCLASS | DVC | DEVCLASS | |
DLVUNIT | Software Component | DLVUNIT | CHAR | 30 | Assigned to domain | DLVUNIT | H_CVERS | ||
VERSOBJTYP | Version Management: Object Type | VERSOBJTYP | CHAR | 4 | OBJECT | ||||
VERSOBJNAM | Version management: Object name | VERSOBJNAM | CHAR | 110 | VERSOBJNAM | ||||
VERSNO | Version Management: Version Number | VERSNO | NUMC | 5 | VERSNO | ||||
VERSKORRNO | Version management: Version request number | VERSKORRNO | CHAR | 20 | Assigned to domain | TRKORR | |||
APPLCOMP | Text (30 Characters) | TEXT30 | CHAR | 30 | TEXT30 | ||||
APPLCOMP1 | Text (30 Characters) | TEXT30 | CHAR | 30 | TEXT30 | ||||
NAME | Short text | UDTEXT | CHAR | 60 | UDCHA60 | ||||
NAME1 | Short text | UDTEXT | CHAR | 60 | UDCHA60 | ||||
COUNT_TYPE | Text length 25 | TEXT25 | CHAR | 25 | TEXT25 | ||||
TYPE | Text Field of Length 60 | TEXT60 | CHAR | 60 | TEXT60 |
Key field | Non-key field |
How do I retrieve data from SAP structure ANTS_CUSTOMER_CODE using ABAP code?
As ANTS_CUSTOMER_CODE 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 ANTS_CUSTOMER_CODE as there is no data to select.How to access SAP table ANTS_CUSTOMER_CODE
Within an ECC or HANA version of SAP you can also view further information about ANTS_CUSTOMER_CODE 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