TRRS_POSITION_HEADER SAP (Position Header for Reporting) Structure details
Description: Position Header for Reporting
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 |
GUID | GUID in 'RAW' format | GUID_16 | RAW | 16 | SYSUUID | ||||
POSITION_NUMBER | Position Number | TPM_TRR_POSITION_NUMBER | INT4 | 10 | |||||
VALUATION_AREA | Valuation Area | TPM_VAL_AREA | CHAR | 3 | TRGC_VAL_AREA | TPM_VAL_AREA | TPM_VAL_AREA | TRG_VALUATION_AREA | |
COM_VAL_CLASS | General Valuation Class | TPM_COM_VAL_CLASS | NUMC | 4 | TRGC_COM_VALCL | TPM_COM_VAL_CLASS | CVC | ||
VALUATION_CLASS | Valuation Class | TPM_VAL_CLASS | NUMC | 4 | TRGC_VAL_CLASS | TPM_VAL_CLASS | |||
ACCOUNTING_CODE | Accounting Code | TPM_ACC_CODE | CHAR | 4 | TRGC_TR_ACC_CODE | TPM_ACC_CODE | TPM_TAC | TRG_ACC_CODE | |
COMPANY_CODE | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
PRODUCT_TYPE | Product Type | VVSART | CHAR | 3 | TZPA | VVSART | SAN | VVSART_APPL_BAS | |
SECURITY_ACCOUNT | Securities Account | RLDEPO | CHAR | 10 | TWD01 | RLDEPO | DEP | ACC_CCD_CORE | |
SECURITY_ID | Security ID Number | VVRANLW | CHAR | 13 | VWPANLA | ALPHA | WP_RANL | RAN | SECURITY_F4 |
PORTFOLIO | Portfolio as Differentiation Characteristic | TPM_PORTFOLIO_DIFF | CHAR | 10 | TWPOB | RPORTB | |||
TRADER | Trader | RDEALER | CHAR | 12 | TZDEA | RDEALER | |||
ACCOUNT_GROUP | Securities Account Group | TPM_SEC_ACCT_GRP | CHAR | 10 | TRGT_SECACCGRP | TPM_SEC_ACCT_GRP | TPM_SHPL_SEC_ACC_GRP | ||
LOANS_CONTRACT | Contract Number | RANL | CHAR | 13 | VDARL | ALPHA | RANL | RAN | |
POSITION_ACCOUNT | Futures Account for Listed Options and Futures | TPM_POS_ACCOUNT_FUT | CHAR | 10 | TRFT_POS_ACCOUNT | TPM_POS_ACCOUNT_FUT | TRF_PAC | TRFC_F4_POS_ACCOUNT | |
FLAG_LONG_SHORT | Indicator: Long or Short Position | TPM_FLAG_LONG_SHORT | CHAR | 1 | TPM_FLAG_LONG_SHORT | ||||
LOT_ID | Identifier of the Lot | TPM_LOT_ID | RAW | 16 | SYSUUID | ||||
DEAL_NUMBER | Financial Transaction | TB_RFHA | CHAR | 13 | VTBFHA | ALPHA | T_RFHA | FAN | VTBA |
FUND | Fund | FM_FUND | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
EXTERNAL_ACCOUNT | External Account | TPM_EXT_ACCOUNT | CHAR | 10 | TPM_EXT_ACCOUNT | TREA_EA | TREATH_EXT_ACCOUNT | ||
DIFF_CURRENCY | Currency as Differentiation Term | TPM_DIFF_CURRENCY | CUKY | 5 | TCURC | WAERS | TPM_DIFF_CURR | ||
GL_ACCOUNT | Currency Account | TPM_TRR_CURRENCY_ACCOUNT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
PRODUCT_CATEGORY | Product Category | SANLF | NUMC | 3 | Assigned to domain | VVSANLF | |||
POS_MAN_PROC | Position Management Procedure | TPM_POS_MAN_PROC | CHAR | 4 | Assigned to domain | TPM_POS_MAN_PROC | |||
POS_MAN_PROC_TEXT | Position Management Procedure Text | TPM_POS_MAN_PROC_TEXT | CHAR | 60 | TPM_DESCRIPTION | ||||
POS_CATEGORY | Position Category | TRR_POSITION_CATEGORY | CHAR | 1 | TPM_TRR_POSITION_CATEGORY | ||||
POSITION_DATE | Position Value Date | TPM_POSITION_DATE | DATS | 8 | TPM_POSITION_DATE | ||||
NOMINAL_AMT | Nominal Amount | TPM_NOMINAL_AMT | CURR | 21(2) | TPM_AMOUNT | ||||
NOMINAL_CURR | Nominal Currency | TPM_NOMINAL_CURR | CUKY | 5 | Assigned to domain | WAERS | |||
UNITS | Units | TPM_UNITS | DEC | 22(6) | TPM_UNITS | ||||
TRADING_DATE | Contract Date | TPM_TRR_TRADING_DATE | DATS | 8 | |||||
SETTLEMENT_DATE | Due Date | TPM_TRR_SETTLEMENT_DATE | DATS | 8 | |||||
POSITION_CURR | Position Currency | TPM_POSITION_CURR | CUKY | 5 | Assigned to domain | WAERS | |||
BOOK_VAL_LC | Book Value in Local Currency | TPM_BOOK_VAL_LC | CURR | 21(2) | TPM_AMOUNT | ||||
LOCAL_CURR | Local Currency | TPM_LOCAL_CURR | CUKY | 5 | Assigned to domain | WAERS | |||
BOOK_VAL_SIM_LC | Simulated Book Value in Local Currency | TPM_SIM_BOOK_VAL_LC | CURR | 21(2) | TPM_AMOUNT | ||||
LOCAL_CURR2 | Local Currency | TPM_LOCAL_CURR | CUKY | 5 | Assigned to domain | WAERS | |||
BOOK_VAL_SIM_PC | Simulated Book Value in Position Currency | TPM_SIM_BOOK_VAL_PC | CURR | 21(2) | TPM_AMOUNT | ||||
POSITION_CURR2 | Position Currency | TPM_POSITION_CURR | CUKY | 5 | Assigned to domain | WAERS | |||
BKURBOGD | Book Price in Position Currency | TPM_TRR_BKURBOGD | DEC | 15(6) | TPM_TRR_AMOUNT | ||||
REGNKURS | Simulated Price in Position Currency | TPM_TRR_REGNKURS | DEC | 15(6) | TPM_TRR_AMOUNT | ||||
BOOK_PRICE_PC | Book Price in Position Currency | TPM_TRR_BOOK_PRICE_PC | DEC | 15(6) | TPM_TRR_AMOUNT | ||||
CURRENCY_RATE | Average Acquisition Value of Currency (in Percent) | TPM_TRR_CURRENCY_RATE | DEC | 15(6) | TPM_TRR_AMOUNT | ||||
POSITION_IS_ZERO | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
CAPITAL_FLOW1_PC | Capital Flow in Position Currency | TRR_CAPITAL_FLOW_PC | CURR | 21(2) | TPM_AMOUNT | ||||
CAPITAL_FLOW1_LC | Capital Flow in Local Currency | TRR_CAPITAL_FLOW_LC | CURR | 21(2) | TPM_AMOUNT | ||||
NUMBER_TRANS | Number of Business Transactions on Position Date | TRR_NUMBER_BUS_TRANS_ON_POSI | INT4 | 10 | |||||
LEG_FLAG | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
STATE | Status of a Financial Position for Reporting | TPM_TRR_STATE | CHAR | 1 | TPM_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 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