TRACS_TRDOC_AWKEY SAP (Accounting Entry with AWKEY Field) Structure details
Description: Accounting Entry with AWKEY Field
Related tables to TRACS_TRDOC_AWKEY
Access table TRACS_TRDOC_AWKEY
Structure field list including key, data, relationships and ABAP select examples
TRACS_TRDOC_AWKEY 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 "Accounting Entry with AWKEY Field" 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_TRACS_TRDOC_AWKEY TYPE TRACS_TRDOC_AWKEY.
The TRACS_TRDOC_AWKEY table consists of various fields, each holding specific information or linking keys about Accounting Entry with AWKEY Field data available in SAP. These include DOCUMENTID (Distributor Document ID), TR_ACC_CODE (Accounting Code), VALUATION_AREA (Valuation Area), AWREF (Reference Document Number).. 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 TRACS_TRDOC_AWKEY 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 |
BUSTRANSID | Identifier of the Distributor Business Transaction | TPM_BUSTRANSID | RAW | 16 | SYSUUID | ||||
DOCUMENTID | Distributor Document ID | TPM_TRDDOCID | RAW | 16 | SYSUUID | ||||
TR_ACC_CODE | Accounting Code | TPM_ACC_CODE | CHAR | 4 | Assigned to domain | TPM_ACC_CODE | TPM_TAC | TRG_ACC_CODE | |
VALUATION_AREA | Valuation Area | TPM_VAL_AREA | CHAR | 3 | Assigned to domain | TPM_VAL_AREA | TPM_VAL_AREA | TRG_VALUATION_AREA | |
AWREF | Reference Document Number | AWREF | CHAR | 10 | ALPHA | AWREF | |||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
ACPOSTINGDATE | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
ACPOSTINGPERIOD | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
ACPOSTINGYEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
REVERSAL_AWREF | Reversal Reference Document Number | REVERSAL_AWREF | CHAR | 10 | ALPHA | AWREF | |||
REVERSAL_AWORG | Reversal Reference Organizational Units | REVERSAL_AWORG | CHAR | 10 | AWORG | ||||
ACREVERSALDATE | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
ACREVERSALPERIOD | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
ACREVERSALYEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
DOCUMENT_STATE | TRAC Document Status | TPM_TRACDOCSTATE | CHAR | 1 | TPM_TRACDOCSTATE | ||||
LEDGERSELECTION | Accounting Ledger Selection | TPM_LEDGER_SELECTION | INT1 | 3 | TPM_LEDGER_SELECTION | ||||
SPECIALLEDGER | Ledger | RLDNR | CHAR | 2 | Assigned to domain | ALPHA | RLDNR | GLN | H_T881 |
DOCUMENT_DATE | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
DEAL_NUMBER | Financial Transaction | TB_RFHA | CHAR | 13 | Assigned to domain | ALPHA | T_RFHA | FAN | VTBA |
BKTXT | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
ACREVERSALREASON | Reason for Reversal | STGRD | CHAR | 2 | Assigned to domain | STGRD | FSG | ||
TR_REV_REASON | Reason for Reversal | SSTOGRD | CHAR | 2 | Assigned to domain | SSTOGRD | |||
AWSYS | Logical system of source document | AWSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
AWKEY | Reference Key | AWKEY | CHAR | 20 | AWKEY | ||||
OS_GUID | Object Identity in Database Format | TPM_DB_OS_GUID | CHAR | 32 | TPM_DB_OS_GUID |
Key field | Non-key field |
How do I retrieve data from SAP structure TRACS_TRDOC_AWKEY using ABAP code?
As TRACS_TRDOC_AWKEY 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 TRACS_TRDOC_AWKEY as there is no data to select.How to access SAP table TRACS_TRDOC_AWKEY
Within an ECC or HANA version of SAP you can also view further information about TRACS_TRDOC_AWKEY 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