SAP AIS_METHODS_FILL_FOR_SENS Function Module for Filling of Method Table - Single Value Analysis for Sensitivities









AIS_METHODS_FILL_FOR_SENS is a standard ais methods fill for sens SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Filling of Method Table - Single Value Analysis for Sensitivities 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 methods fill for sens FM, simply by entering the name AIS_METHODS_FILL_FOR_SENS 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_METHODS_FILL_FOR_SENS 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_METHODS_FILL_FOR_SENS'"Filling of Method Table - Single Value Analysis for Sensitivities
EXPORTING
I_FLG_SINGLE_SCEN = "
I_HORI = "
I_SCEN = "
* I_KEYFIG = "Select key figure(s)
* I_TAB_SCEN = "RM: Selection Table for Scenarios

IMPORTING
E_EVAL_METH = "

EXCEPTIONS
INVALID_INPUT = 1
.



IMPORTING Parameters details for AIS_METHODS_FILL_FOR_SENS

I_FLG_SINGLE_SCEN -

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

I_HORI -

Data type: RMSVA_SPARA-HORIZONT
Optional: No
Call by Reference: Yes

I_SCEN -

Data type: RMSVA_SPARA-SZENARI
Optional: No
Call by Reference: Yes

I_KEYFIG - Select key figure(s)

Data type: RMNPVKEYF
Optional: Yes
Call by Reference: Yes

I_TAB_SCEN - RM: Selection Table for Scenarios

Data type: RMSCENR_T
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for AIS_METHODS_FILL_FOR_SENS

E_EVAL_METH -

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

EXCEPTIONS details

INVALID_INPUT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for AIS_METHODS_FILL_FOR_SENS 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_e_eval_meth  TYPE RMR0_EVAL_METH, "   
lv_invalid_input  TYPE RMR0_EVAL_METH, "   
lv_i_flg_single_scen  TYPE C, "   
lv_i_hori  TYPE RMSVA_SPARA-HORIZONT, "   
lv_i_scen  TYPE RMSVA_SPARA-SZENARI, "   
lv_i_keyfig  TYPE RMNPVKEYF, "   
lv_i_tab_scen  TYPE RMSCENR_T. "   

  CALL FUNCTION 'AIS_METHODS_FILL_FOR_SENS'  "Filling of Method Table - Single Value Analysis for Sensitivities
    EXPORTING
         I_FLG_SINGLE_SCEN = lv_i_flg_single_scen
         I_HORI = lv_i_hori
         I_SCEN = lv_i_scen
         I_KEYFIG = lv_i_keyfig
         I_TAB_SCEN = lv_i_tab_scen
    IMPORTING
         E_EVAL_METH = lv_e_eval_meth
    EXCEPTIONS
        INVALID_INPUT = 1
. " AIS_METHODS_FILL_FOR_SENS




ABAP code using 7.40 inline data declarations to call FM AIS_METHODS_FILL_FOR_SENS

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.

 
 
 
"SELECT single HORIZONT FROM RMSVA_SPARA INTO @DATA(ld_i_hori).
 
"SELECT single SZENARI FROM RMSVA_SPARA INTO @DATA(ld_i_scen).
 
 
 


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!