TRLS_POSITION_CONTEXT SAP (Position Context) Structure details

Dictionary Type: Structure
Description: Position Context




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




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

TRLS_POSITION_CONTEXT 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 Context" 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_TRLS_POSITION_CONTEXT TYPE TRLS_POSITION_CONTEXT.

The TRLS_POSITION_CONTEXT table consists of various fields, each holding specific information or linking keys about Position Context data available in SAP. These include VALUATION_AREA_NAME (Name of the Valuation Area), COM_VAL_CLASS (General Valuation Class), VALUATION_CLASS (Valuation Class), VALUATION_CLASS_NAME (Description of 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: Cannot Be Enhanced


SAP TRLS_POSITION_CONTEXT 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
VALUATION_AREAValuation Area TPM_VAL_AREACHAR3Assigned to domainTPM_VAL_AREATPM_VAL_AREATRG_VALUATION_AREA
VALUATION_AREA_NAMEName of the Valuation Area TPM_VAL_AREA_NAMECHAR60TPM_DESCRIPTION
COM_VAL_CLASSGeneral Valuation Class TPM_COM_VAL_CLASSNUMC4Assigned to domainTPM_COM_VAL_CLASSCVC
VALUATION_CLASSValuation Class TPM_VAL_CLASSNUMC4Assigned to domainTPM_VAL_CLASS
VALUATION_CLASS_NAMEDescription of valuation class TPM_VAL_CLASS_NAMECHAR60TPM_DESCRIPTION
ACCOUNTING_CODEAccounting Code TPM_ACC_CODECHAR4Assigned to domainTPM_ACC_CODETPM_TACTRG_ACC_CODE
ACCOUNTING_CODE_NAMEName of Accounting Code TPM_TR_ACC_CODE_NAMECHAR60TPM_DESCRIPTION
COMPANY_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
PRODUCT_TYPEProduct Type VVSARTCHAR3Assigned to domainVVSARTSANVVSART_APPL_BAS
SECURITY_ACCOUNTSecurities Account RLDEPOCHAR10Assigned to domainRLDEPODEPACC_CCD_CORE
SECURITY_IDSecurity ID Number VVRANLWCHAR13Assigned to domainALPHAWP_RANLRANSECURITY_F4
SECURITY_NAMEShort name XALKZCHAR15XKBEZ
PORTFOLIOPortfolio RPORTBCHAR10Assigned to domainRPORTBT50H_RPORTB_CORE
TRADERTrader RDEALERCHAR12Assigned to domainRDEALER
ACCOUNT_GROUPSecurities Account Group TPM_SEC_ACCT_GRPCHAR10Assigned to domainTPM_SEC_ACCT_GRPTPM_SHPL_SEC_ACC_GRP
ACCOUNT_GROUP_NAMEName of Securities Account Group TPM_SEC_ACCT_GRP_NAMECHAR60TPM_DESCRIPTION
POS_MAN_PROCPosition Management Procedure TPM_POS_MAN_PROCCHAR4TRGC_PM_PROCTPM_POS_MAN_PROC
DERIV_CATPosition mgt categ. TPM_DERIVATION_CATNUMC3TRLTS_DERIVDEFTPM_DERIVATION_CAT
ACCOUNT_ASS_REFAccount Assignment Reference (prelim. sol. not CFM 1.0) TPM_ACC_ASS_REFCHAR10TRAC_ACCASSREFTPM_ACC_ASS_REF
TRANS_FLAGIndicator TPM_FLAGCHAR1CHAR1

Key field Non-key field



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

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

How to access SAP table TRLS_POSITION_CONTEXT

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