TRLS_POSITION_CONTEXT SAP (Position Context) Structure details
Description: 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_AREA | Valuation Area | TPM_VAL_AREA | CHAR | 3 | Assigned to domain | TPM_VAL_AREA | TPM_VAL_AREA | TRG_VALUATION_AREA | |
VALUATION_AREA_NAME | Name of the Valuation Area | TPM_VAL_AREA_NAME | CHAR | 60 | TPM_DESCRIPTION | ||||
COM_VAL_CLASS | General Valuation Class | TPM_COM_VAL_CLASS | NUMC | 4 | Assigned to domain | TPM_COM_VAL_CLASS | CVC | ||
VALUATION_CLASS | Valuation Class | TPM_VAL_CLASS | NUMC | 4 | Assigned to domain | TPM_VAL_CLASS | |||
VALUATION_CLASS_NAME | Description of valuation class | TPM_VAL_CLASS_NAME | CHAR | 60 | TPM_DESCRIPTION | ||||
ACCOUNTING_CODE | Accounting Code | TPM_ACC_CODE | CHAR | 4 | Assigned to domain | TPM_ACC_CODE | TPM_TAC | TRG_ACC_CODE | |
ACCOUNTING_CODE_NAME | Name of Accounting Code | TPM_TR_ACC_CODE_NAME | CHAR | 60 | TPM_DESCRIPTION | ||||
COMPANY_CODE | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
PRODUCT_TYPE | Product Type | VVSART | CHAR | 3 | Assigned to domain | VVSART | SAN | VVSART_APPL_BAS | |
SECURITY_ACCOUNT | Securities Account | RLDEPO | CHAR | 10 | Assigned to domain | RLDEPO | DEP | ACC_CCD_CORE | |
SECURITY_ID | Security ID Number | VVRANLW | CHAR | 13 | Assigned to domain | ALPHA | WP_RANL | RAN | SECURITY_F4 |
SECURITY_NAME | Short name | XALKZ | CHAR | 15 | XKBEZ | ||||
PORTFOLIO | Portfolio | RPORTB | CHAR | 10 | Assigned to domain | RPORTB | T50 | H_RPORTB_CORE | |
TRADER | Trader | RDEALER | CHAR | 12 | Assigned to domain | RDEALER | |||
ACCOUNT_GROUP | Securities Account Group | TPM_SEC_ACCT_GRP | CHAR | 10 | Assigned to domain | TPM_SEC_ACCT_GRP | TPM_SHPL_SEC_ACC_GRP | ||
ACCOUNT_GROUP_NAME | Name of Securities Account Group | TPM_SEC_ACCT_GRP_NAME | CHAR | 60 | TPM_DESCRIPTION | ||||
POS_MAN_PROC | Position Management Procedure | TPM_POS_MAN_PROC | CHAR | 4 | TRGC_PM_PROC | TPM_POS_MAN_PROC | |||
DERIV_CAT | Position mgt categ. | TPM_DERIVATION_CAT | NUMC | 3 | TRLTS_DERIVDEF | TPM_DERIVATION_CAT | |||
ACCOUNT_ASS_REF | Account Assignment Reference (prelim. sol. not CFM 1.0) | TPM_ACC_ASS_REF | CHAR | 10 | TRAC_ACCASSREF | TPM_ACC_ASS_REF | |||
TRANS_FLAG | Indicator | TPM_FLAG | CHAR | 1 | CHAR1 |
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 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