TRACS_DOCUMENT SAP (Treasury: Include Structure for TRAC Documents) Structure details
Description: Treasury: Include Structure for TRAC Documents
Related tables to TRACS_DOCUMENT
Access table TRACS_DOCUMENT
Structure field list including key, data, relationships and ABAP select examples
TRACS_DOCUMENT 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 "Treasury: Include Structure for TRAC Documents" 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_DOCUMENT TYPE TRACS_DOCUMENT.
The TRACS_DOCUMENT table consists of various fields, each holding specific information or linking keys about Treasury: Include Structure for TRAC Documents data available in SAP. These include BUSTRANSID (Identifier of the Distributor Business Transaction), DOCUMENTID (Distributor Document ID), TR_ACC_CODE (Accounting Code), VALUATION_AREA (Valuation Area).. 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 (Deep)
SAP TRACS_DOCUMENT 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 |
OS_GUID | Globally Unique Identifier | OS_GUID | RAW | 16 | SYSUUID | ||||
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 | ||||
ACC_PRINCIPLE | Accounting Principle | ACCOUNTING_PRINCIPLE | CHAR | 4 | Assigned to domain | ACCOUNTING_PRINCIPLE | ACCOUNTING_PRINCIPLE | ||
POST_CAT | Update to Financial Accounting Indicator | TPM_TRAC_POST_CATEGORY | CHAR | 1 | TPM_TRAC_POST_CATEGORY | ||||
CREATE_CAT | Indicator: Generate TRAC Document in Release | TPM_TRAC_CREATE_CATEGORY | CHAR | 1 | TPM_TRAC_CREATE_CATEGORY | ||||
REF_BUSTRANSID | Business Transaction ID of Reference Business Transaction | TPM_REFBUSTRANSID | RAW | 16 | SYSUUID | ||||
BUSTRANSCAT | Business Transaction Category | TPM_BUSTRANSCAT | NUMC | 4 | TRDTS_BT_CAT | TPM_BUSTRANSCAT | |||
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 | |||
BUPLA | Business Place | BUPLA | CHAR | 4 | Assigned to domain | J_1BBRANCH | |||
SECCO | Section Code | SECCO | CHAR | 4 | Assigned to domain | SECCO | SECCO_ABA | ||
ACCITEMS | 0 | ||||||||
USER_NDATA_CLS | Globally Unique Identifier | OS_GUID | RAW | 16 | SYSUUID | ||||
USER_NDATA_OID | Globally Unique Identifier | OS_GUID | RAW | 16 | SYSUUID |
Key field | Non-key field |
How do I retrieve data from SAP structure TRACS_DOCUMENT using ABAP code?
As TRACS_DOCUMENT 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_DOCUMENT as there is no data to select.How to access SAP table TRACS_DOCUMENT
Within an ECC or HANA version of SAP you can also view further information about TRACS_DOCUMENT 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