ACID_HEADER SAP (Header) Structure details
Description: Header
Structure field list including key, data, relationships and ABAP select examples
ACID_HEADER 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 "Header" 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_ACID_HEADER TYPE ACID_HEADER.
The ACID_HEADER table consists of various fields, each holding specific information or linking keys about Header data available in SAP. These include OBJ_KEY (Reference Key), OBJ_SYS (Logical system of source document), BUS_ACT (Business Transaction), USERNAME (User name).. 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: Can be enhanced (character-type or numeric)
SAP ACID_HEADER 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 |
OBJ_TYPE | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
OBJ_KEY | Reference Key | AWKEY | CHAR | 20 | AWKEY | ||||
OBJ_SYS | Logical system of source document | AWSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
BUS_ACT | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
USERNAME | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
HEADER_TXT | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
COMP_CODE | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
DOC_DATE | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
PSTNG_DATE | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
TRANS_DATE | Translation Date | WWERT_D | DATS | 8 | DATUM | ||||
FISC_YEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
FIS_PERIOD | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
DOC_TYPE | Document Type | BLART | CHAR | 2 | Assigned to domain | BLART | BAR | ||
REF_DOC_NO | Reference Document Number | XBLNR | CHAR | 16 | XBLNR | ||||
AC_DOC_NO | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
OBJ_KEY_R | Cancel: object key (AWREF_REV and AWORG_REV) | AWKEY_REV | CHAR | 20 | AWKEY | ||||
REASON_REV | Reason for reversal | ACID_STGRD | CHAR | 2 | CHAR2 | ||||
COMPO_ACC | Component in ACC Interface | COMPO | CHAR | 4 | COMPO | ||||
REF_DOC_NO_LONG | Reference Document Number (for Dependencies see Long Text) | XBLNR_LONG | CHAR | 35 | XBLNR_LONG | ||||
ACC_PRINCIPLE | Accounting Principle | ACCOUNTING_PRINCIPLE | CHAR | 4 | Assigned to domain | ACCOUNTING_PRINCIPLE | ACCOUNTING_PRINCIPLE | ||
NEG_POSTNG | Indicator: Negative posting | XNEGP | CHAR | 1 | XFELD | ||||
OBJ_KEY_INV | Invoice Ref.: Object Key (AWREF_REB and AWORG_REB) | ACID_AWKEY_REB | CHAR | 20 | AWKEY |
Key field | Non-key field |
How do I retrieve data from SAP structure ACID_HEADER using ABAP code?
As ACID_HEADER 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 ACID_HEADER as there is no data to select.How to access SAP table ACID_HEADER
Within an ECC or HANA version of SAP you can also view further information about ACID_HEADER 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