TRRS_POSITION_HEADER SAP (Position Header for Reporting) Structure details

Dictionary Type: Structure
Description: Position Header for Reporting




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




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

TRRS_POSITION_HEADER 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 "Position Header for Reporting" 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_TRRS_POSITION_HEADER TYPE TRRS_POSITION_HEADER.

The TRRS_POSITION_HEADER table consists of various fields, each holding specific information or linking keys about Position Header for Reporting data available in SAP. These include POSITION_NUMBER (Position Number), VALUATION_AREA (Valuation Area), COM_VAL_CLASS (General Valuation Class), VALUATION_CLASS (Valuation Class).. 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 TRRS_POSITION_HEADER 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
GUIDGUID in 'RAW' format GUID_16RAW16SYSUUID
POSITION_NUMBERPosition Number TPM_TRR_POSITION_NUMBERINT410
VALUATION_AREAValuation Area TPM_VAL_AREACHAR3TRGC_VAL_AREATPM_VAL_AREATPM_VAL_AREATRG_VALUATION_AREA
COM_VAL_CLASSGeneral Valuation Class TPM_COM_VAL_CLASSNUMC4TRGC_COM_VALCLTPM_COM_VAL_CLASSCVC
VALUATION_CLASSValuation Class TPM_VAL_CLASSNUMC4TRGC_VAL_CLASSTPM_VAL_CLASS
ACCOUNTING_CODEAccounting Code TPM_ACC_CODECHAR4TRGC_TR_ACC_CODETPM_ACC_CODETPM_TACTRG_ACC_CODE
COMPANY_CODECompany Code BUKRSCHAR4T001BUKRSBUKC_T001
PRODUCT_TYPEProduct Type VVSARTCHAR3TZPAVVSARTSANVVSART_APPL_BAS
SECURITY_ACCOUNTSecurities Account RLDEPOCHAR10TWD01RLDEPODEPACC_CCD_CORE
SECURITY_IDSecurity ID Number VVRANLWCHAR13VWPANLAALPHAWP_RANLRANSECURITY_F4
PORTFOLIOPortfolio as Differentiation Characteristic TPM_PORTFOLIO_DIFFCHAR10TWPOBRPORTB
TRADERTrader RDEALERCHAR12TZDEARDEALER
ACCOUNT_GROUPSecurities Account Group TPM_SEC_ACCT_GRPCHAR10TRGT_SECACCGRPTPM_SEC_ACCT_GRPTPM_SHPL_SEC_ACC_GRP
LOANS_CONTRACTContract Number RANLCHAR13VDARLALPHARANLRAN
POSITION_ACCOUNTFutures Account for Listed Options and Futures TPM_POS_ACCOUNT_FUTCHAR10TRFT_POS_ACCOUNTTPM_POS_ACCOUNT_FUTTRF_PACTRFC_F4_POS_ACCOUNT
FLAG_LONG_SHORTIndicator: Long or Short Position TPM_FLAG_LONG_SHORTCHAR1TPM_FLAG_LONG_SHORT
LOT_IDIdentifier of the Lot TPM_LOT_IDRAW16SYSUUID
DEAL_NUMBERFinancial Transaction TB_RFHACHAR13VTBFHAALPHAT_RFHAFANVTBA
FUNDFund FM_FUNDCHAR10Assigned to domainBP_GEBERFIC
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
EXTERNAL_ACCOUNTExternal Account TPM_EXT_ACCOUNTCHAR10TPM_EXT_ACCOUNTTREA_EATREATH_EXT_ACCOUNT
DIFF_CURRENCYCurrency as Differentiation Term TPM_DIFF_CURRENCYCUKY5TCURCWAERSTPM_DIFF_CURR
GL_ACCOUNTCurrency Account TPM_TRR_CURRENCY_ACCOUNTCHAR10Assigned to domainALPHASAKNR
PRODUCT_CATEGORYProduct Category SANLFNUMC3Assigned to domainVVSANLF
POS_MAN_PROCPosition Management Procedure TPM_POS_MAN_PROCCHAR4Assigned to domainTPM_POS_MAN_PROC
POS_MAN_PROC_TEXTPosition Management Procedure Text TPM_POS_MAN_PROC_TEXTCHAR60TPM_DESCRIPTION
POS_CATEGORYPosition Category TRR_POSITION_CATEGORYCHAR1TPM_TRR_POSITION_CATEGORY
POSITION_DATEPosition Value Date TPM_POSITION_DATEDATS8TPM_POSITION_DATE
NOMINAL_AMTNominal Amount TPM_NOMINAL_AMTCURR21(2) TPM_AMOUNT
NOMINAL_CURRNominal Currency TPM_NOMINAL_CURRCUKY5Assigned to domainWAERS
UNITSUnits TPM_UNITSDEC22(6) TPM_UNITS
TRADING_DATEContract Date TPM_TRR_TRADING_DATEDATS8
SETTLEMENT_DATEDue Date TPM_TRR_SETTLEMENT_DATEDATS8
POSITION_CURRPosition Currency TPM_POSITION_CURRCUKY5Assigned to domainWAERS
BOOK_VAL_LCBook Value in Local Currency TPM_BOOK_VAL_LCCURR21(2) TPM_AMOUNT
LOCAL_CURRLocal Currency TPM_LOCAL_CURRCUKY5Assigned to domainWAERS
BOOK_VAL_SIM_LCSimulated Book Value in Local Currency TPM_SIM_BOOK_VAL_LCCURR21(2) TPM_AMOUNT
LOCAL_CURR2Local Currency TPM_LOCAL_CURRCUKY5Assigned to domainWAERS
BOOK_VAL_SIM_PCSimulated Book Value in Position Currency TPM_SIM_BOOK_VAL_PCCURR21(2) TPM_AMOUNT
POSITION_CURR2Position Currency TPM_POSITION_CURRCUKY5Assigned to domainWAERS
BKURBOGDBook Price in Position Currency TPM_TRR_BKURBOGDDEC15(6) TPM_TRR_AMOUNT
REGNKURSSimulated Price in Position Currency TPM_TRR_REGNKURSDEC15(6) TPM_TRR_AMOUNT
BOOK_PRICE_PCBook Price in Position Currency TPM_TRR_BOOK_PRICE_PCDEC15(6) TPM_TRR_AMOUNT
CURRENCY_RATEAverage Acquisition Value of Currency (in Percent) TPM_TRR_CURRENCY_RATEDEC15(6) TPM_TRR_AMOUNT
POSITION_IS_ZEROCheckbox XFELDCHAR1XFELD
CAPITAL_FLOW1_PCCapital Flow in Position Currency TRR_CAPITAL_FLOW_PCCURR21(2) TPM_AMOUNT
CAPITAL_FLOW1_LCCapital Flow in Local Currency TRR_CAPITAL_FLOW_LCCURR21(2) TPM_AMOUNT
NUMBER_TRANSNumber of Business Transactions on Position Date TRR_NUMBER_BUS_TRANS_ON_POSIINT410
LEG_FLAGSingle-Character Indicator CHAR1CHAR1CHAR1
STATEStatus of a Financial Position for Reporting TPM_TRR_STATECHAR1TPM_TRR_STATE

Key field Non-key field



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

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

How to access SAP table TRRS_POSITION_HEADER

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