KL_NETTING_GR_FIG_AMOUNT_CALC 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 KL_NETTING_GR_FIG_AMOUNT_CALC into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
KLNT01
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'KL_NETTING_GR_FIG_AMOUNT_CALC' "Calculate Values for Netting Key Figure Categories
EXPORTING
i_deal_info_tab = " klnt2_deal_info_tab
CHANGING
c_ng_fig_tab = " klnt2_ng_fig_tab
EXCEPTIONS
NETTING_ERROR = 1 "
. " KL_NETTING_GR_FIG_AMOUNT_CALC
The ABAP code below is a full code listing to execute function module KL_NETTING_GR_FIG_AMOUNT_CALC 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).
DATA(ld_c_ng_fig_tab) = 'Check type of data required'.
DATA(ld_i_deal_info_tab) = 'Check type of data required'. . CALL FUNCTION 'KL_NETTING_GR_FIG_AMOUNT_CALC' EXPORTING i_deal_info_tab = ld_i_deal_info_tab CHANGING c_ng_fig_tab = ld_c_ng_fig_tab EXCEPTIONS NETTING_ERROR = 1 . " KL_NETTING_GR_FIG_AMOUNT_CALC
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.
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_c_ng_fig_tab | TYPE KLNT2_NG_FIG_TAB , |
| ld_i_deal_info_tab | TYPE KLNT2_DEAL_INFO_TAB . |
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 KL_NETTING_GR_FIG_AMOUNT_CALC or its description.
KL_NETTING_GR_FIG_AMOUNT_CALC - Calculate Values for Netting Key Figure Categories KL_NETTING_GR_FIGURE_TYPE_GET - Get the key figure categories that are to be calculatead for a netting KL_NETTING_GR_DEAL_FIG_MERGE - Calculation of Key Figures for Netting Groups KL_NETTING_GROUP_RESULT_CALC - Calculate Attributable Amounts for Netting Groups KL_NETTING_GROUP_FIGURES_CALC - Calculate Basic Key Figures and Repos for Netting Groups KL_NETTING_GROUP_CA_ID_FILL - Enter Collateral ID in Structure for Single Trans. Key Figs for Nettin