TRDTS_MSG SAP (Legacy Data Transfer Messages) Structure details

Dictionary Type: Structure
Description: Legacy Data Transfer Messages




ABAP Code to SELECT data from TRDTS_MSG
Related tables to TRDTS_MSG
Access table TRDTS_MSG




Structure field list including key, data, relationships and ABAP select examples

TRDTS_MSG 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 "Legacy Data Transfer Messages" 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_TRDTS_MSG TYPE TRDTS_MSG.

The TRDTS_MSG table consists of various fields, each holding specific information or linking keys about Legacy Data Transfer Messages data available in SAP. These include KEY_DATE (Position Value Date), COMPANY_CODE (Company Code), COM_VAL_CLASS (General Valuation Class), 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 TRDTS_MSG 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
DATA_SOURCELegacy Data Transfer Data Source TPM_TRDT_DATA_SOURCECHAR1TPM_TRDT_DATA_SOURCE
KEY_DATEPosition Value Date TPM_POSITION_DATEDATS8TPM_POSITION_DATE
COMPANY_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
COM_VAL_CLASSGeneral Valuation Class TPM_COM_VAL_CLASSNUMC4Assigned to domainTPM_COM_VAL_CLASSCVC
VALUATION_AREAValuation Area TPM_VAL_AREACHAR3Assigned to domainTPM_VAL_AREATPM_VAL_AREATRG_VALUATION_AREA
SECURITY_IDSecurity ID Number VVRANLWCHAR13Assigned to domainALPHAWP_RANLRANSECURITY_F4
SECURITY_ACCOUNTSecurities Account RLDEPOCHAR10Assigned to domainRLDEPODEPACC_CCD_CORE
PORTFOLIOPortfolio RPORTBCHAR10Assigned to domainRPORTBT50H_RPORTB_CORE
DEAL_NUMBERFinancial Transaction TB_RFHACHAR13Assigned to domainALPHAT_RFHAFANVTBA
FUNDFund FM_FUNDCHAR10Assigned to domainBP_GEBERFIC
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
POSITION_ACCOUNTFutures Account for Listed Options and Futures TPM_POS_ACCOUNT_FUTCHAR10Assigned to domainTPM_POS_ACCOUNT_FUTTRF_PACTRFC_F4_POS_ACCOUNT
FLAG_LONG_SHORTIndicator: Long or Short Position TPM_FLAG_LONG_SHORTCHAR1TPM_FLAG_LONG_SHORT
POSNRItem Number Legacy Data Transfer TPM_TRDT_POSNRNUMC8NUMC08
DEAL_NUMBER_LOTFinancial Transaction TB_RFHACHAR13Assigned to domainALPHAT_RFHAFANVTBA
STR_MSG 0
MSGTYMessage Type SYMSGTYCHAR1SYCHAR01
MSGIDMessage Class SYMSGIDCHAR20ARBGB
MSGNOMessage Number SYMSGNONUMC3SYMSGNO
MSGV1Message Variable SYMSGVCHAR50SYCHAR50
MSGV2Message Variable SYMSGVCHAR50SYCHAR50
MSGV3Message Variable SYMSGVCHAR50SYCHAR50
MSGV4Message Variable SYMSGVCHAR50SYCHAR50
MSGV1_SRCApplication Log: Origin of a message variable BALMSGVSRCCHAR15CHAR15
MSGV2_SRCApplication Log: Origin of a message variable BALMSGVSRCCHAR15CHAR15
MSGV3_SRCApplication Log: Origin of a message variable BALMSGVSRCCHAR15CHAR15
MSGV4_SRCApplication Log: Origin of a message variable BALMSGVSRCCHAR15CHAR15
DETLEVELApplication Log: Level of detail BALLEVELCHAR1BALLEVEL
PROBCLASSApplication log: Message problem class BALPROBCLCHAR1BALPROBCL
ALSORTApplication log: Sort criterion/grouping BALSORTCHAR3CHAR3
TIME_STMPApplication Log: Message time stamp BALTIMSTMPDEC21(7) TZNTSTMPL
MSG_COUNTApplication Log: Cumulated message count BALCNTCUMINT410BALCOUNT
CONTEXT 0
TABNAMEApplication Log: Context: DDIC structure name BALTABNAMECHAR30AS4TABDTB
VALUEApplication Log: Context data BALCVALCHAR256BALCVAL
PARAMS 0
T_PAR 0
CALLBACK 0
USEREXITPApplication Log: Callback: Program name BALUEPCHAR40PROGNAME
USEREXITFApplication Log: Callback: Routine name BALUEFCHAR30CHAR30
USEREXITTApplication Log: Callback: Type (Ext. Perform, FM, etc.) BALUETCHAR1BALUET
ALTEXTApplication log: Standard text BALTEXTCHAR28CHAR28
HITEM_NUMBERHedged Item Number TPM_HITEM_NUMBERCHAR10ALPHATPM_HITEM_NUMBER
HINST_NUMBERHedging Instrument Number TPM_HINST_NUMBERCHAR10ALPHATPM_HINST_NUMBER
FISCAL_YEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
HREL_NUMBERHedging Relationship Number (External/Internal) TPM_HREL_NUMBERCHAR10ALPHATPM_HREL_NUMBER
HREL_FISCAL_YEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR

Key field Non-key field



How do I retrieve data from SAP structure TRDTS_MSG using ABAP code?

As TRDTS_MSG 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 TRDTS_MSG as there is no data to select.

How to access SAP table TRDTS_MSG

Within an ECC or HANA version of SAP you can also view further information about TRDTS_MSG 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!