CMS_OBJ_ANL_GET_CALC_DATA_PERS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CMS_OBJ_ANL_GET_CALC_DATA_PERS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CMS_OBJ_RBL_SYNC
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CMS_OBJ_ANL_GET_CALC_DATA_PERS' "Get Calculation resutls from Persisted DB tables
EXPORTING
i_tab_ast_guid = " cms_tab_ast_guid Technical Key of the Asset
i_tab_cag_guid = " cms_tab_cag_guid Technical Key of the Collateral Agreement
i_tab_rbl_sky = " cms_tab_rbl_sky Semantic Key for a Receivable
* i_tab_rel_cag_to = " cms_tab_rel_cag_to Table of Relationship Details: Contributions 'To'
i_tab_chg = " cms_tab_chg Charges details
i_tab_cag_rbl = " cms_tab_cag_rbl_link_data Collateral Agreement-Receivable details with the CAG-GUID
i_result_curr = " cms_dte_calc_res_curr Calculations Result Currency
i_rate_type = " cms_dte_rate_type Exchange Rate Type for Currency Conversion
i_tab_rbl_status = " cms_tab_rbl_status Receivables Status
* i_bus_proc = " cms_dte_bus_proc CMS Business Process Name
IMPORTING
e_tab_ast_details = " cms_tab_anl_details_ast Analysis: Asset details table
e_tab_sas_details = " cms_tab_sas_details_api Sub-asset details (API Layer and above)
e_tab_cag_details = " cms_tab_anl_details_cag Analysis: Cag details table
e_tab_rel_cag_from = " cms_tab_rel_cag_from Table of relationship details: Contributions 'From'
e_tab_rel_cag_to = " cms_tab_rel_cag_to Table of Relationship Details: Contributions 'To'
e_tab_cag_por = " cms_tab_cag_por Portions for a Collateral Agreement
e_tab_rbl_details = " cms_tab_anl_details_rbl Analysis: RBL details table
e_tab_rbl_secured_amt = " cms_tab_anl_rbl_secured_amt Analysis: Receivables Secured Amount
e_tab_rbl_maxrisk_amt = " cms_tab_anl_rbl_risk_amt Analyis: Receivables Risk amount for Calculations
e_tab_rbl_currrisk_amt = " cms_tab_anl_rbl_risk_amt Analyis: Receivables Risk amount for Calculations
e_tab_rc = " cms_tab_msg_col_message Return Code and corresponding Message
. " CMS_OBJ_ANL_GET_CALC_DATA_PERS
The ABAP code below is a full code listing to execute function module CMS_OBJ_ANL_GET_CALC_DATA_PERS including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_tab_ast_details | TYPE CMS_TAB_ANL_DETAILS_AST , |
| ld_e_tab_sas_details | TYPE CMS_TAB_SAS_DETAILS_API , |
| ld_e_tab_cag_details | TYPE CMS_TAB_ANL_DETAILS_CAG , |
| ld_e_tab_rel_cag_from | TYPE CMS_TAB_REL_CAG_FROM , |
| ld_e_tab_rel_cag_to | TYPE CMS_TAB_REL_CAG_TO , |
| ld_e_tab_cag_por | TYPE CMS_TAB_CAG_POR , |
| ld_e_tab_rbl_details | TYPE CMS_TAB_ANL_DETAILS_RBL , |
| ld_e_tab_rbl_secured_amt | TYPE CMS_TAB_ANL_RBL_SECURED_AMT , |
| ld_e_tab_rbl_maxrisk_amt | TYPE CMS_TAB_ANL_RBL_RISK_AMT , |
| ld_e_tab_rbl_currrisk_amt | TYPE CMS_TAB_ANL_RBL_RISK_AMT , |
| ld_e_tab_rc | TYPE CMS_TAB_MSG_COL_MESSAGE . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_tab_ast_details | TYPE CMS_TAB_ANL_DETAILS_AST , |
| ld_i_tab_ast_guid | TYPE CMS_TAB_AST_GUID , |
| ld_e_tab_sas_details | TYPE CMS_TAB_SAS_DETAILS_API , |
| ld_i_tab_cag_guid | TYPE CMS_TAB_CAG_GUID , |
| ld_e_tab_cag_details | TYPE CMS_TAB_ANL_DETAILS_CAG , |
| ld_i_tab_rbl_sky | TYPE CMS_TAB_RBL_SKY , |
| ld_e_tab_rel_cag_from | TYPE CMS_TAB_REL_CAG_FROM , |
| ld_i_tab_rel_cag_to | TYPE CMS_TAB_REL_CAG_TO , |
| ld_e_tab_rel_cag_to | TYPE CMS_TAB_REL_CAG_TO , |
| ld_i_tab_chg | TYPE CMS_TAB_CHG , |
| ld_e_tab_cag_por | TYPE CMS_TAB_CAG_POR , |
| ld_i_tab_cag_rbl | TYPE CMS_TAB_CAG_RBL_LINK_DATA , |
| ld_e_tab_rbl_details | TYPE CMS_TAB_ANL_DETAILS_RBL , |
| ld_i_result_curr | TYPE CMS_DTE_CALC_RES_CURR , |
| ld_e_tab_rbl_secured_amt | TYPE CMS_TAB_ANL_RBL_SECURED_AMT , |
| ld_i_rate_type | TYPE CMS_DTE_RATE_TYPE , |
| ld_e_tab_rbl_maxrisk_amt | TYPE CMS_TAB_ANL_RBL_RISK_AMT , |
| ld_i_tab_rbl_status | TYPE CMS_TAB_RBL_STATUS , |
| ld_e_tab_rbl_currrisk_amt | TYPE CMS_TAB_ANL_RBL_RISK_AMT , |
| ld_i_bus_proc | TYPE CMS_DTE_BUS_PROC , |
| ld_e_tab_rc | TYPE CMS_TAB_MSG_COL_MESSAGE . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CMS_OBJ_ANL_GET_CALC_DATA_PERS or its description.
CMS_OBJ_ANL_GET_CALC_DATA_PERS - Get Calculation resutls from Persisted DB tables CMS_OBJ_ANL_CV_DIST_POOL - Collateral value distribution to pool CMS_OBJ_ANL_CV_DIST_DEF_LIAB - Distribute the collateral value of default liability guar CMS_OBJ_ANL_CON_LV1_GET_BY_RBL - Fetch the first level constellation for a Receivable CMS_OBJ_ANL_CON_LV1_GET_BY_CAG - Fetch the first level constellation for an agreement CMS_OBJ_ANL_CON_LV1_GET_BY_AST - Fetch the first level constellation for an asset