TRACS_DOCUMENT SAP (Treasury: Include Structure for TRAC Documents) Structure details

Dictionary Type: Structure
Description: Treasury: Include Structure for TRAC Documents




ABAP Code to SELECT data from TRACS_DOCUMENT
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_GUIDGlobally Unique Identifier OS_GUIDRAW16SYSUUID
BUSTRANSIDIdentifier of the Distributor Business Transaction TPM_BUSTRANSIDRAW16SYSUUID
DOCUMENTIDDistributor Document ID TPM_TRDDOCIDRAW16SYSUUID
TR_ACC_CODEAccounting Code TPM_ACC_CODECHAR4Assigned to domainTPM_ACC_CODETPM_TACTRG_ACC_CODE
VALUATION_AREAValuation Area TPM_VAL_AREACHAR3Assigned to domainTPM_VAL_AREATPM_VAL_AREATRG_VALUATION_AREA
AWREFReference Document Number AWREFCHAR10ALPHAAWREF
AWORGReference Organizational Units AWORGCHAR10AWORG
ACPOSTINGDATEPosting Date in the Document BUDATDATS8DATUM
ACPOSTINGPERIODFiscal Period MONATNUMC2MONAT
ACPOSTINGYEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
REVERSAL_AWREFReversal Reference Document Number REVERSAL_AWREFCHAR10ALPHAAWREF
REVERSAL_AWORGReversal Reference Organizational Units REVERSAL_AWORGCHAR10AWORG
ACREVERSALDATEPosting Date in the Document BUDATDATS8DATUM
ACREVERSALPERIODFiscal Period MONATNUMC2MONAT
ACREVERSALYEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
DOCUMENT_STATETRAC Document Status TPM_TRACDOCSTATECHAR1TPM_TRACDOCSTATE
LEDGERSELECTIONAccounting Ledger Selection TPM_LEDGER_SELECTIONINT13TPM_LEDGER_SELECTION
SPECIALLEDGERLedger RLDNRCHAR2Assigned to domainALPHARLDNRGLNH_T881
DOCUMENT_DATEDocument Date in Document BLDATDATS8DATUM
ACC_PRINCIPLEAccounting Principle ACCOUNTING_PRINCIPLECHAR4Assigned to domainACCOUNTING_PRINCIPLEACCOUNTING_PRINCIPLE
POST_CATUpdate to Financial Accounting Indicator TPM_TRAC_POST_CATEGORYCHAR1TPM_TRAC_POST_CATEGORY
CREATE_CATIndicator: Generate TRAC Document in Release TPM_TRAC_CREATE_CATEGORYCHAR1TPM_TRAC_CREATE_CATEGORY
REF_BUSTRANSIDBusiness Transaction ID of Reference Business Transaction TPM_REFBUSTRANSIDRAW16SYSUUID
BUSTRANSCATBusiness Transaction Category TPM_BUSTRANSCATNUMC4TRDTS_BT_CATTPM_BUSTRANSCAT
DEAL_NUMBERFinancial Transaction TB_RFHACHAR13Assigned to domainALPHAT_RFHAFANVTBA
BKTXTDocument Header Text BKTXTCHAR25TEXT25
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
ACREVERSALREASONReason for Reversal STGRDCHAR2Assigned to domainSTGRDFSG
TR_REV_REASONReason for Reversal SSTOGRDCHAR2Assigned to domainSSTOGRD
BUPLABusiness Place BUPLACHAR4Assigned to domainJ_1BBRANCH
SECCOSection Code SECCOCHAR4Assigned to domainSECCOSECCO_ABA
ACCITEMS 0
USER_NDATA_CLSGlobally Unique Identifier OS_GUIDRAW16SYSUUID
USER_NDATA_OIDGlobally Unique Identifier OS_GUIDRAW16SYSUUID

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!