RTPM_GET_NPVS_FOR_VTVBAR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report program calculates net present values for transactions/loans with positions in parallel valuation areas...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RTPM_GET_NPVS_FOR_VTVBAR into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
TPM60 - Save NPVs
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: PM_CLEAN = D .
Selection Text: PM_CURR = D .
Selection Text: PM_DATE = D .
Selection Text: PM_DLOG = Detail Log
Selection Text: PM_DLOGS = D .
Selection Text: PM_EVAL = D .
Selection Text: PM_INOUT = D .
Selection Text: PM_INVAL = D .
Selection Text: PM_PPOFF = Deactivate Parallel Processing
Selection Text: PM_RFNPV = D .
Selection Text: PM_SCENA = D .
Selection Text: PM_SHIFT = D .
Selection Text: PM_SUMIO = Total NPV = Total of In/Out
Selection Text: PM_TEST = Test run
Selection Text: PM_VAR = D .
Selection Text: PM_WARN = Save Values with Warnings
Selection Text: P_DEA =
Selection Text: P_LOA =
Selection Text: P_STATE = D .
Selection Text: P_SVPHKN = D .
Selection Text: SO_ASS = D .
Selection Text: SO_BART = D .
Selection Text: SO_BUKRS = D .
Selection Text: SO_CHAR = D .
Selection Text: SO_FAC = D .
Selection Text: SO_FINPR = D .
Selection Text: SO_INREF = D .
Selection Text: SO_LOANR = D .
Selection Text: SO_MAAGR = D .
Selection Text: SO_OTCNR = D .
Selection Text: SO_PCURR = Position Currency
Selection Text: SO_PORTF = D .
Selection Text: SO_PT = D .
Selection Text: SO_TCURR = Contract/Transaction Currency
Selection Text: SO_TTYPE = D .
Title: Save NPVs from the Market Risk Analyzer
Text Symbol: WAR = Warning Occurred
Text Symbol: SUC = No Errors or Warnings
INCLUDE RTPM_GET_NPVS_FOR_VTVBARTOP.
INCLUDE RTPM_GET_NPVS_FOR_VTVBARSEL.
INCLUDE RTPM_GET_NPVS_FOR_VTVBAR001.
No SAP DATABASE tables are accessed within this REPORT code!
RM_EVAL_MTASK_INIT CALL FUNCTION 'RM_EVAL_MTASK_INIT' EXPORTING i_auswtyp = '11' IMPORTING e_mtask = g_flg_mtask.
RM_RB_SVSTATES_GET_FOB_TO_NODE CALL FUNCTION 'RM_RB_SVSTATES_GET_FOB_TO_NODE' EXPORTING i_state_id = g_str_svstate-sv_state_id i_phnode = g_str_svstate-pknoten IMPORTING e_tab_fob = g_tab_fob_saved_data CHANGING c_tab_svphtree = l_tab_phtree c_tab_svphtext = l_tab_phtext c_tab_svphbpa = l_tab_phbpa EXCEPTIONS saveid_not_exist = 1 dataset_archived = 2 fobs_no_authority = 3 OTHERS = 4.
RM_RB_SVSTATES_SEL_CHECK CALL FUNCTION 'RM_RB_SVSTATES_SEL_CHECK' EXPORTING i_state_id = p_state IMPORTING e_str_svstate = g_str_svstate EXCEPTIONS saveid_not_exist = 1 dataset_archived = 2 OTHERS = 4.
RM_RB_SVSTATES_SEL_CHECK CALL FUNCTION 'RM_RB_SVSTATES_SEL_CHECK' EXPORTING i_state_id = p_state i_phnode = p_svphkn EXCEPTIONS node_not_found = 1 OTHERS = 4.
TPM_TRL_SAVE_OPTIONS CALL FUNCTION 'TPM_TRL_SAVE_OPTIONS' EXPORTING i_str_tropt =
.
RM_SZENARIO_GETDETAIL CALL FUNCTION 'RM_SZENARIO_GETDETAIL' EXPORTING szenario = pm_scena EXCEPTIONS OTHERS = 1.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = l_wrk_variant i_save = 'A' IMPORTING e_exit = l_exit es_variant = l_wrk_variant EXCEPTIONS not_found = 1.
RM_RB_SVSTATES_F4_PHNODE CALL FUNCTION 'RM_RB_SVSTATES_F4_PHNODE' EXPORTING i_prognam = sy-cprog i_dynpro_number = '1000' i_fieldname_state = 'P_STATE' CHANGING c_phnode = p_svphkn EXCEPTIONS saveid_not_exist = 1 dataset_archived = 2 error_read = 3 no_stateid = 4 OTHERS = 5.
RS_VARIANT_CONTENTS CALL FUNCTION 'RS_VARIANT_CONTENTS' EXPORTING report = sy-repid variant = sy-slset move_or_write = 'M' TABLES valutab = l_tab_var_values EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RTPM_GET_NPVS_FOR_VTVBAR or its description.
RTPM_GET_NPVS_FOR_VTVBAR - Save NPVs from the Market Risk Analyzer RTPM_GET_NPVS_FOR_VTVBAR - Save NPVs from the Market Risk Analyzer RTPM_FUT_MIGR_CHECK_POS - Correction Report for Futures Migration RTPM_FUT_MIGR_CHECK_POS - Correction Report for Futures Migration RTPM_FST_CORP_ACT_REVERSE - Test Report RTPM_FST_CORP_ACT_REVERSE - Test Report