TRACS_TM_QUERY SAP (Query of Transaction Management) Structure details
Description: Query of Transaction Management
Related tables to TRACS_TM_QUERY
Access table TRACS_TM_QUERY
Structure field list including key, data, relationships and ABAP select examples
TRACS_TM_QUERY 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 "Query of Transaction Management" 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_TM_QUERY TYPE TRACS_TM_QUERY.
The TRACS_TM_QUERY table consists of various fields, each holding specific information or linking keys about Query of Transaction Management data available in SAP. These include AWORG (Reference Organizational Units), REVERSAL_AWREF (Reference Document Number), REVERSAL_AWORG (Reference Organizational Units), POSTING_YEAR (Fiscal Year).. 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 TRACS_TM_QUERY 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 |
AWREF | Reference Document Number | AWREF | CHAR | 10 | ALPHA | AWREF | |||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
REVERSAL_AWREF | Reference Document Number | AWREF | CHAR | 10 | ALPHA | AWREF | |||
REVERSAL_AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
POSTING_YEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
POSTING_PERIOD | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
POSTING_DATE | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
DOCUMENT_DATE | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
BLART | Document Type | BLART | CHAR | 2 | Assigned to domain | BLART | BAR | ||
AA_REF | Account Assignment Reference of Position Management | TPM_AA_REF | CHAR | 12 | Assigned to domain | TPM_AA_REF | TRAC_AA_REF | ||
ZUONR | Assignment Number | DZUONR | CHAR | 18 | ZUONR | ||||
DOCUMENT_STATE | TRAC Document Status | TPM_TRACDOCSTATE | CHAR | 1 | TPM_TRACDOCSTATE | ||||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
REVERSAL_BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
POSTING_KEY_C | Posting Key | BSCHL | CHAR | 2 | Assigned to domain | BSCHL | |||
GL_ACCOUNT_C | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
POSTING_KEY_D | Posting Key | BSCHL | CHAR | 2 | Assigned to domain | BSCHL | |||
GL_ACCOUNT_D | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
BELNR2 | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
REVERSAL_BELNR2 | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
POSTING_KEY_C2 | Posting Key | BSCHL | CHAR | 2 | Assigned to domain | BSCHL | |||
GL_ACCOUNT_C2 | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
POSTING_KEY_D2 | Posting Key | BSCHL | CHAR | 2 | Assigned to domain | BSCHL | |||
GL_ACCOUNT_D2 | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR |
Key field | Non-key field |
How do I retrieve data from SAP structure TRACS_TM_QUERY using ABAP code?
As TRACS_TM_QUERY 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_TM_QUERY as there is no data to select.How to access SAP table TRACS_TM_QUERY
Within an ECC or HANA version of SAP you can also view further information about TRACS_TM_QUERY 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