THXS_MD_PV SAP (structure present value) Structure details

Dictionary Type: Structure
Description: structure present value




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




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

THXS_MD_PV 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 "structure present value" 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_THXS_MD_PV TYPE THXS_MD_PV.

The THXS_MD_PV table consists of various fields, each holding specific information or linking keys about structure present value data available in SAP. These include RANTYP (Contract Type), COMPANY_CODE (Company Code), DEAL_NUMBER (Financial Transaction), LOANS_CONTRACT (Contract Number).. 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 THXS_MD_PV 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
RANTYPContract Type RANTYPCHAR1RANTYP
COMPANY_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
DEAL_NUMBERFinancial Transaction TB_RFHACHAR13Assigned to domainALPHAT_RFHAFANVTBA
LOANS_CONTRACTContract Number RANLCHAR13ALPHARANLRAN
SECURITY_IDTreasury ID number VVRANLWTRCHAR13Assigned to domainALPHAWP_RANL
SECURITY_ACCOUNTSecurities Account RLDEPOCHAR10Assigned to domainRLDEPODEPACC_CCD_CORE
POSITION_ACCOUNTFutures Account for Listed Options and Futures TPM_POS_ACCOUNT_FUTCHAR10Assigned to domainTPM_POS_ACCOUNT_FUTTRF_PACTRFC_F4_POS_ACCOUNT
PV_TYPEPrice/NPV Type for OTC Transactions TV_OKUARTCHAR3Assigned to domainT_OKUART
UNITSUnits TPM_UNITSDEC22(6) TPM_UNITS
NOMINAL_AMTNominal Amount TPM_NOMINAL_AMTCURR21(2) TPM_AMOUNT
NOMINAL_CURRNominal Currency TPM_NOMINAL_CURRCUKY5Assigned to domainWAERS
CALC_FLGNPV Calculation TPM_PV_CALCULATION_FLAGCHAR1TPM_BOOL
NPV_CURRCurrency of net present value TV_WBARWECUKY5Assigned to domainWAERS
NPVNet present value of OTC transaction TV_BARWERTCURR15(2) WERTV8_TR
EVAL_TYPEID of Risk Management Evaluation JBREVAL_DCHAR4Assigned to domainJBREVAL

Key field Non-key field



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

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

How to access SAP table THXS_MD_PV

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