SAP AIS_SVA_SENSI Function Module for CFA: Single Value Analysis: Val. + Display (Mac, F-W, Convexity, BPValue)
AIS_SVA_SENSI is a standard ais sva sensi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for CFA: Single Value Analysis: Val. + Display (Mac, F-W, Convexity, BPValue) 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 ais sva sensi FM, simply by entering the name AIS_SVA_SENSI into the relevant SAP transaction such as SE37 or SE38.
Function Group: AIS_SVA1
Program Name: SAPLAIS_SVA1
Main Program: SAPLAIS_SVA1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function AIS_SVA_SENSI 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 'AIS_SVA_SENSI'"CFA: Single Value Analysis: Val. + Display (Mac, F-W, Convexity, BPValue).
EXPORTING
I_ANALYSIS_TYPE = "Analysis Category (Sensitivities, FX Exposure)
* I_COL_MODE = "Column Structure (Key Figures, Scenarios)
* I_KEYFIG = "Select key figure(s)
I_SPARA = "ParameterStructure
* I_EVAL_METH = "Structure for Analysis Methods
* I_TAB_CHAR_SEL = "Selection Table for Analysis Structure
* I_TAB_POS_SEL = "Seletion Table for Position Numbers
* I_TAB_SIMR_SEL = "Selection Table for Simulation Runs
* I_DISPLAY_PARAM = "Parameters for Control of Display
IMPORTING Parameters details for AIS_SVA_SENSI
I_ANALYSIS_TYPE - Analysis Category (Sensitivities, FX Exposure)
Data type: RMSVA_ANTYPEOptional: No
Call by Reference: Yes
I_COL_MODE - Column Structure (Key Figures, Scenarios)
Data type: RMSVA_COLMODEOptional: Yes
Call by Reference: Yes
I_KEYFIG - Select key figure(s)
Data type: RMNPVKEYFOptional: Yes
Call by Reference: Yes
I_SPARA - ParameterStructure
Data type: RMSVA_SPARAOptional: No
Call by Reference: No ( called with pass by value option)
I_EVAL_METH - Structure for Analysis Methods
Data type: RMR0_EVAL_METHOptional: Yes
Call by Reference: Yes
I_TAB_CHAR_SEL - Selection Table for Analysis Structure
Data type: RMFOS_CHAR_SEL_TOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_POS_SEL - Seletion Table for Position Numbers
Data type: RMFOS_POS_SEL_TOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_SIMR_SEL - Selection Table for Simulation Runs
Data type: RMFOS_SIMR_SEL_TOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DISPLAY_PARAM - Parameters for Control of Display
Data type: AISSV_DISPLAY_PARAMOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for AIS_SVA_SENSI 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_i_analysis_type | TYPE RMSVA_ANTYPE, " | |||
| lv_i_col_mode | TYPE RMSVA_COLMODE, " | |||
| lv_i_keyfig | TYPE RMNPVKEYF, " | |||
| lv_i_spara | TYPE RMSVA_SPARA, " | |||
| lv_i_eval_meth | TYPE RMR0_EVAL_METH, " | |||
| lv_i_tab_char_sel | TYPE RMFOS_CHAR_SEL_T, " | |||
| lv_i_tab_pos_sel | TYPE RMFOS_POS_SEL_T, " | |||
| lv_i_tab_simr_sel | TYPE RMFOS_SIMR_SEL_T, " | |||
| lv_i_display_param | TYPE AISSV_DISPLAY_PARAM. " |
|   CALL FUNCTION 'AIS_SVA_SENSI' "CFA: Single Value Analysis: Val. + Display (Mac, F-W, Convexity, BPValue) |
| EXPORTING | ||
| I_ANALYSIS_TYPE | = lv_i_analysis_type | |
| I_COL_MODE | = lv_i_col_mode | |
| I_KEYFIG | = lv_i_keyfig | |
| I_SPARA | = lv_i_spara | |
| I_EVAL_METH | = lv_i_eval_meth | |
| I_TAB_CHAR_SEL | = lv_i_tab_char_sel | |
| I_TAB_POS_SEL | = lv_i_tab_pos_sel | |
| I_TAB_SIMR_SEL | = lv_i_tab_simr_sel | |
| I_DISPLAY_PARAM | = lv_i_display_param | |
| . " AIS_SVA_SENSI | ||
ABAP code using 7.40 inline data declarations to call FM AIS_SVA_SENSI
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