TRGS_POSITION_SELECTION SAP (Selection Parameters) Structure details

Dictionary Type: Structure
Description: Selection Parameters




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




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

TRGS_POSITION_SELECTION 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 "Selection Parameters" 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_TRGS_POSITION_SELECTION TYPE TRGS_POSITION_SELECTION.

The TRGS_POSITION_SELECTION table consists of various fields, each holding specific information or linking keys about Selection Parameters data available in SAP. These include VALUATION_AREA (Valuation Area), COM_VAL_CLASS (General Valuation Class), VALUATION_CLASS (Valuation Class), ACCOUNTING_CODE (Accounting Code).. 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 TRGS_POSITION_SELECTION 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_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_FUNDCHAR10FMFINCODEBP_GEBERFIC
GRANT_NBRGrant GM_GRANT_NBRCHAR20Assigned to domainALPHAGM_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
TRANSACTION_TYPEFinancial Transaction Type TB_SFHAARTCHAR3AT10T_SFHAARTT02C_AT10
FACILITYTransaction Number of Facility TB_FACILITYNRCHAR13VTBFHAALPHAT_RFHAF4_FTR_FC
FACILITYBUKRSCompany Code of Facility TB_FACILITYBUKRSCHAR4T001BUKRSH_T001
MASTER_AGREEMENTMaster Agreement TB_RMAIDCHAR10VTBMAALPHAT_RMAIDTMAVTMA
ASSIGNMENTAssignment TB_ZUONDCHAR18TEXT18
INTERNAL_REFERENCEInternal Reference TB_REFERCHAR16CHAR16
CHARACTERISTICSCharacteristics TB_MERKMCHAR25CHAR25
FINANCE_PROJECTFinance Project TB_TFPROJCHAR13T_TFPROJ
PORTFOLIO_TMPortfolio RPORTBCHAR10Assigned to domainRPORTBT50H_RPORTB_CORE
ACTIVITY_CATTransaction Activity Category TB_SFGZUTYNUMC2Assigned to domainT_SFGZUTYC_AT02
KONTRAHBusiness Partner Number TB_KUNNR_NEWCHAR10Assigned to domainALPHABU_PARTNERBPABUPA
ACTIVITY_STATUSActive Status of Transaction or Activity TB_SAKTIVNUMC1T_SAKTIV
LOTGEN_DEALNRLot-Generating Transaction Number (Listed Derivatives) FTI_LOTGENERATION_DEALNRCHAR13Assigned to domainALPHAT_RFHAF4_TRANS_NO
EXTACC_DEALExternal Account (Transaction) TPM_EXT_ACCOUNT_DEALCHAR10TPM_EXT_ACCOUNTTREA_EATREATH_EXT_ACCOUNT
POS_ATTRIB_S1Short Position Attribute TPM_POS_ATTRIB_SHORTCHAR4TRLTC_ATTRVAL_SCHAR4
POS_ATTRIB_S2Short Position Attribute TPM_POS_ATTRIB_SHORTCHAR4TRLTC_ATTRVAL_SCHAR4
POS_ATTRIB_S3Short Position Attribute TPM_POS_ATTRIB_SHORTCHAR4TRLTC_ATTRVAL_SCHAR4
POS_ATTRIB_M1Medium Position Attribute TPM_POS_ATTRIB_MEDIUMCHAR10TRLTC_ATTRVAL_MCHAR10
POS_ATTRIB_M2Medium Position Attribute TPM_POS_ATTRIB_MEDIUMCHAR10TRLTC_ATTRVAL_MCHAR10
POS_ATTRIB_M3Medium Position Attribute TPM_POS_ATTRIB_MEDIUMCHAR10TRLTC_ATTRVAL_MCHAR10
POS_ATTRIB_L1Long Position Attribute TPM_POS_ATTRIB_LONGCHAR30CHAR30
POS_ATTRIB_L2Long Position Attribute TPM_POS_ATTRIB_LONGCHAR30CHAR30
POS_ATTRIB_L3Long Position Attribute TPM_POS_ATTRIB_LONGCHAR30CHAR30

Key field Non-key field



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

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

How to access SAP table TRGS_POSITION_SELECTION

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