SAP THMEX_INIT_PERS_MAN_MULTI_PLAN Function Module for Initialize Persistence Manager for Multiple Hedge Plans









THMEX_INIT_PERS_MAN_MULTI_PLAN is a standard thmex init pers man multi plan SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Initialize Persistence Manager for Multiple Hedge Plans processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for thmex init pers man multi plan FM, simply by entering the name THMEX_INIT_PERS_MAN_MULTI_PLAN into the relevant SAP transaction such as SE37 or SE38.

Function Group: THMEX_HM_VIA_RO
Program Name: SAPLTHMEX_HM_VIA_RO
Main Program: SAPLTHMEX_HM_VIA_RO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function THMEX_INIT_PERS_MAN_MULTI_PLAN pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'THMEX_INIT_PERS_MAN_MULTI_PLAN'"Initialize Persistence Manager for Multiple Hedge Plans
EXPORTING
IM_TAB_PLANNER = "Table Type for THMEXT_PLANNER
IM_TAB_EXP_HDG = "Table Type for THAEXT_EXP_HDG
IM_TAB_HEDGE = "Table Type for THMT_HEDGE_ITEM
IM_TAB_HEDGEREL = "FTR: Table for Transferring HRs to Transact. Mgmt
IM_TAB_HR_OBS = "FTR: Table for Transferring HRs to Transact. Mgmt
IM_TAB_HR_STRAT = "Table Type for THMHRT_HR_STRAT
IM_TAB_HR_VAL = "Table Type for THMHRT_HR_VAL
IM_TAB_LOG = "Table Type for THMEXT_LOG
IM_TAB_ROLL_LOG = "Table Type for THMEXT_ROLL_LOG
IM_TAB_VTVBAR = "Table Type for VTVBAR
IM_TAB_TRANS = "Table Type for THMEXT_TRANS
IM_TAB_TRANS_FX = "Table Type for THMEXT_TRANS_FX
IM_TAB_TRANS_FX_OBS = "Table Type for THMEXT_TRANS_FX
IM_TAB_TRANS_IR = "Table Type for THMEXT_TRANS_IR
IM_TAB_TRANS_IR_OBS = "Table Type for THMEXT_TRANS_IR
IM_TAB_EXPOS = "Table Type for THMEXT_EXPOS
IM_TAB_EXPOS_FX = "Table Type for THMEXT_EXPOS_FX
IM_TAB_EXPOS_IR = "Table Type for THMEXT_EXPOS_IR

IMPORTING
EX_P_PERSISTENCY_MANAGER = "Treasury Position Management: Persistence Service
.



IMPORTING Parameters details for THMEX_INIT_PERS_MAN_MULTI_PLAN

IM_TAB_PLANNER - Table Type for THMEXT_PLANNER

Data type: THAEXY_PLANNER
Optional: No
Call by Reference: Yes

IM_TAB_EXP_HDG - Table Type for THAEXT_EXP_HDG

Data type: THAEXY_EXP_HDG
Optional: No
Call by Reference: Yes

IM_TAB_HEDGE - Table Type for THMT_HEDGE_ITEM

Data type: THAY_HEDGE_ITEM
Optional: No
Call by Reference: Yes

IM_TAB_HEDGEREL - FTR: Table for Transferring HRs to Transact. Mgmt

Data type: VTS_TAB_HRT
Optional: No
Call by Reference: Yes

IM_TAB_HR_OBS - FTR: Table for Transferring HRs to Transact. Mgmt

Data type: VTS_TAB_HRT
Optional: No
Call by Reference: Yes

IM_TAB_HR_STRAT - Table Type for THMHRT_HR_STRAT

Data type: THAHRY_HR_STRAT
Optional: No
Call by Reference: Yes

IM_TAB_HR_VAL - Table Type for THMHRT_HR_VAL

Data type: THAHRY_HR_VAL
Optional: No
Call by Reference: Yes

IM_TAB_LOG - Table Type for THMEXT_LOG

Data type: THAEXY_LOG
Optional: No
Call by Reference: Yes

IM_TAB_ROLL_LOG - Table Type for THMEXT_ROLL_LOG

Data type: THAEXY_ROLL_LOG
Optional: No
Call by Reference: Yes

IM_TAB_VTVBAR - Table Type for VTVBAR

Data type: THAY_VTVBAR
Optional: No
Call by Reference: Yes

IM_TAB_TRANS - Table Type for THMEXT_TRANS

Data type: THAEXY_TRANS
Optional: No
Call by Reference: Yes

IM_TAB_TRANS_FX - Table Type for THMEXT_TRANS_FX

Data type: THAEXY_TRANS_FX
Optional: No
Call by Reference: Yes

IM_TAB_TRANS_FX_OBS - Table Type for THMEXT_TRANS_FX

Data type: THAEXY_TRANS_FX
Optional: No
Call by Reference: Yes

IM_TAB_TRANS_IR - Table Type for THMEXT_TRANS_IR

Data type: THAEXY_TRANS_IR
Optional: No
Call by Reference: Yes

IM_TAB_TRANS_IR_OBS - Table Type for THMEXT_TRANS_IR

Data type: THAEXY_TRANS_IR
Optional: No
Call by Reference: Yes

IM_TAB_EXPOS - Table Type for THMEXT_EXPOS

Data type: THAEXY_EXPOS
Optional: No
Call by Reference: Yes

IM_TAB_EXPOS_FX - Table Type for THMEXT_EXPOS_FX

Data type: THAEXY_EXPOS_FX
Optional: No
Call by Reference: Yes

IM_TAB_EXPOS_IR - Table Type for THMEXT_EXPOS_IR

Data type: THAEXY_EXPOS_IR
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for THMEX_INIT_PERS_MAN_MULTI_PLAN

EX_P_PERSISTENCY_MANAGER - Treasury Position Management: Persistence Service

Data type: CL_PERSISTENCY_MANAGER_TRG
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for THMEX_INIT_PERS_MAN_MULTI_PLAN Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_im_tab_planner  TYPE THAEXY_PLANNER, "   
lv_ex_p_persistency_manager  TYPE CL_PERSISTENCY_MANAGER_TRG, "   
lv_im_tab_exp_hdg  TYPE THAEXY_EXP_HDG, "   
lv_im_tab_hedge  TYPE THAY_HEDGE_ITEM, "   
lv_im_tab_hedgerel  TYPE VTS_TAB_HRT, "   
lv_im_tab_hr_obs  TYPE VTS_TAB_HRT, "   
lv_im_tab_hr_strat  TYPE THAHRY_HR_STRAT, "   
lv_im_tab_hr_val  TYPE THAHRY_HR_VAL, "   
lv_im_tab_log  TYPE THAEXY_LOG, "   
lv_im_tab_roll_log  TYPE THAEXY_ROLL_LOG, "   
lv_im_tab_vtvbar  TYPE THAY_VTVBAR, "   
lv_im_tab_trans  TYPE THAEXY_TRANS, "   
lv_im_tab_trans_fx  TYPE THAEXY_TRANS_FX, "   
lv_im_tab_trans_fx_obs  TYPE THAEXY_TRANS_FX, "   
lv_im_tab_trans_ir  TYPE THAEXY_TRANS_IR, "   
lv_im_tab_trans_ir_obs  TYPE THAEXY_TRANS_IR, "   
lv_im_tab_expos  TYPE THAEXY_EXPOS, "   
lv_im_tab_expos_fx  TYPE THAEXY_EXPOS_FX, "   
lv_im_tab_expos_ir  TYPE THAEXY_EXPOS_IR. "   

  CALL FUNCTION 'THMEX_INIT_PERS_MAN_MULTI_PLAN'  "Initialize Persistence Manager for Multiple Hedge Plans
    EXPORTING
         IM_TAB_PLANNER = lv_im_tab_planner
         IM_TAB_EXP_HDG = lv_im_tab_exp_hdg
         IM_TAB_HEDGE = lv_im_tab_hedge
         IM_TAB_HEDGEREL = lv_im_tab_hedgerel
         IM_TAB_HR_OBS = lv_im_tab_hr_obs
         IM_TAB_HR_STRAT = lv_im_tab_hr_strat
         IM_TAB_HR_VAL = lv_im_tab_hr_val
         IM_TAB_LOG = lv_im_tab_log
         IM_TAB_ROLL_LOG = lv_im_tab_roll_log
         IM_TAB_VTVBAR = lv_im_tab_vtvbar
         IM_TAB_TRANS = lv_im_tab_trans
         IM_TAB_TRANS_FX = lv_im_tab_trans_fx
         IM_TAB_TRANS_FX_OBS = lv_im_tab_trans_fx_obs
         IM_TAB_TRANS_IR = lv_im_tab_trans_ir
         IM_TAB_TRANS_IR_OBS = lv_im_tab_trans_ir_obs
         IM_TAB_EXPOS = lv_im_tab_expos
         IM_TAB_EXPOS_FX = lv_im_tab_expos_fx
         IM_TAB_EXPOS_IR = lv_im_tab_expos_ir
    IMPORTING
         EX_P_PERSISTENCY_MANAGER = lv_ex_p_persistency_manager
. " THMEX_INIT_PERS_MAN_MULTI_PLAN




ABAP code using 7.40 inline data declarations to call FM THMEX_INIT_PERS_MAN_MULTI_PLAN

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!