SAP AISGENKF_EVALUATE_DETAIL Function Module for Calcn of Macaulay Duration and Net Present Values for Each Financial Obj.
AISGENKF_EVALUATE_DETAIL is a standard aisgenkf evaluate detail SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Calcn of Macaulay Duration and Net Present Values for Each Financial Obj. 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 aisgenkf evaluate detail FM, simply by entering the name AISGENKF_EVALUATE_DETAIL into the relevant SAP transaction such as SE37 or SE38.
Function Group: AIS_SVAGEN
Program Name: SAPLAIS_SVAGEN
Main Program: SAPLAIS_SVAGEN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function AISGENKF_EVALUATE_DETAIL 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 'AISGENKF_EVALUATE_DETAIL'"Calcn of Macaulay Duration and Net Present Values for Each Financial Obj..
EXPORTING
I_TAB_SPARA = "
IMPORTING
E_TAB_RESULT_FIMA = "
E_TAB_RESULT_GREEKS = "
CHANGING
C_TAB_FIMA_METHODS = "
C_TAB_KF_FO_ATT = "
C_TAB_KF_MOVE_ATT = "
C_TAB_FOB = "
EXCEPTIONS
INIT_ERROR = 1
IMPORTING Parameters details for AISGENKF_EVALUATE_DETAIL
I_TAB_SPARA -
Data type: AISSV_GENKF_FIMA_SPARA_TOptional: No
Call by Reference: Yes
EXPORTING Parameters details for AISGENKF_EVALUATE_DETAIL
E_TAB_RESULT_FIMA -
Data type: AISSV_GENKF_FIMA_RESULT_TOptional: No
Call by Reference: Yes
E_TAB_RESULT_GREEKS -
Data type: AISSV_EOOPT_TOptional: No
Call by Reference: Yes
CHANGING Parameters details for AISGENKF_EVALUATE_DETAIL
C_TAB_FIMA_METHODS -
Data type: AISSV_GENKF_FIMA_METHOD_TOptional: No
Call by Reference: Yes
C_TAB_KF_FO_ATT -
Data type: AISSV_GENKF_KEYFIGURE_ATT_TOptional: No
Call by Reference: Yes
C_TAB_KF_MOVE_ATT -
Data type: AISSV_GENKF_KF_MOVE_ATT_TOptional: No
Call by Reference: Yes
C_TAB_FOB -
Data type: AISSV_FOB_TOptional: No
Call by Reference: Yes
EXCEPTIONS details
INIT_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for AISGENKF_EVALUATE_DETAIL 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_init_error | TYPE STRING, " | |||
lv_i_tab_spara | TYPE AISSV_GENKF_FIMA_SPARA_T, " | |||
lv_e_tab_result_fima | TYPE AISSV_GENKF_FIMA_RESULT_T, " | |||
lv_c_tab_fima_methods | TYPE AISSV_GENKF_FIMA_METHOD_T, " | |||
lv_c_tab_kf_fo_att | TYPE AISSV_GENKF_KEYFIGURE_ATT_T, " | |||
lv_e_tab_result_greeks | TYPE AISSV_EOOPT_T, " | |||
lv_c_tab_kf_move_att | TYPE AISSV_GENKF_KF_MOVE_ATT_T, " | |||
lv_c_tab_fob | TYPE AISSV_FOB_T. " |
  CALL FUNCTION 'AISGENKF_EVALUATE_DETAIL' "Calcn of Macaulay Duration and Net Present Values for Each Financial Obj. |
EXPORTING | ||
I_TAB_SPARA | = lv_i_tab_spara | |
IMPORTING | ||
E_TAB_RESULT_FIMA | = lv_e_tab_result_fima | |
E_TAB_RESULT_GREEKS | = lv_e_tab_result_greeks | |
CHANGING | ||
C_TAB_FIMA_METHODS | = lv_c_tab_fima_methods | |
C_TAB_KF_FO_ATT | = lv_c_tab_kf_fo_att | |
C_TAB_KF_MOVE_ATT | = lv_c_tab_kf_move_att | |
C_TAB_FOB | = lv_c_tab_fob | |
EXCEPTIONS | ||
INIT_ERROR = 1 | ||
. " AISGENKF_EVALUATE_DETAIL |
ABAP code using 7.40 inline data declarations to call FM AISGENKF_EVALUATE_DETAIL
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