SAP ISB_ALM_STANDARD_SIMULATION_2 Function Module for ...STANDARD_SIMULATION (Call of Function Modules for Standard Simulation)
ISB_ALM_STANDARD_SIMULATION_2 is a standard isb alm standard simulation 2 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for ...STANDARD_SIMULATION (Call of Function Modules for Standard Simulation) 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 isb alm standard simulation 2 FM, simply by entering the name ISB_ALM_STANDARD_SIMULATION_2 into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBAD
Program Name: SAPLJBAD
Main Program: SAPLJBAD
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISB_ALM_STANDARD_SIMULATION_2 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 'ISB_ALM_STANDARD_SIMULATION_2'"...STANDARD_SIMULATION (Call of Function Modules for Standard Simulation).
EXPORTING
I_JBRGAPPARAMETER = "JBRGAPPARA from Initial Screen for Gap Analysis/ALM
I_PHNODE = "Information about selected nodes in the display
I_SETTINGS = "
IMPORTING
E_ERROR_ITAB = "
CHANGING
C_CONTROLS = "
TABLES
I_IT_JBRREPGAP_IST = "JBRRPGAP for Actual Positions
* I_IT_JBRPHAMORTRES_IST = "
I_IT_JBRPHBAUM = "Information about Portfolio Hierarchy
C_IT_JBRREPGAP_SIM = "JBRRPGAP for Actual and Simulated Positions
* C_IT_JBRPHAMORTRES_SIM = "
EXCEPTIONS
NO_SIMULATION = 1 ERROR_IN_SIMULATION = 2 NO_PARAMETERS = 3
IMPORTING Parameters details for ISB_ALM_STANDARD_SIMULATION_2
I_JBRGAPPARAMETER - JBRGAPPARA from Initial Screen for Gap Analysis/ALM
Data type: JBRGAPPARAMETEROptional: No
Call by Reference: No ( called with pass by value option)
I_PHNODE - Information about selected nodes in the display
Data type: SEUCOMMOptional: No
Call by Reference: No ( called with pass by value option)
I_SETTINGS -
Data type: ALM99_SETTINGS_TYPOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISB_ALM_STANDARD_SIMULATION_2
E_ERROR_ITAB -
Data type: TVEH_ERROR_ITAB_TABOptional: No
Call by Reference: Yes
CHANGING Parameters details for ISB_ALM_STANDARD_SIMULATION_2
C_CONTROLS -
Data type: ALM99_CONTROLS_TYPOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISB_ALM_STANDARD_SIMULATION_2
I_IT_JBRREPGAP_IST - JBRRPGAP for Actual Positions
Data type: JBRREPGAPOptional: No
Call by Reference: No ( called with pass by value option)
I_IT_JBRPHAMORTRES_IST -
Data type: JBRPHAMORTRESOptional: Yes
Call by Reference: No ( called with pass by value option)
I_IT_JBRPHBAUM - Information about Portfolio Hierarchy
Data type: JBRPHBAUMOptional: No
Call by Reference: No ( called with pass by value option)
C_IT_JBRREPGAP_SIM - JBRRPGAP for Actual and Simulated Positions
Data type: JBRREPGAPOptional: No
Call by Reference: No ( called with pass by value option)
C_IT_JBRPHAMORTRES_SIM -
Data type: JBRPHAMORTRESOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_SIMULATION - No data was simulated (activity cancelled by user)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_IN_SIMULATION - Error in the simulation
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_PARAMETERS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISB_ALM_STANDARD_SIMULATION_2 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_c_controls | TYPE ALM99_CONTROLS_TYP, " | |||
| lv_e_error_itab | TYPE TVEH_ERROR_ITAB_TAB, " | |||
| lv_no_simulation | TYPE TVEH_ERROR_ITAB_TAB, " | |||
| lv_i_jbrgapparameter | TYPE JBRGAPPARAMETER, " | |||
| lt_i_it_jbrrepgap_ist | TYPE STANDARD TABLE OF JBRREPGAP, " | |||
| lv_i_phnode | TYPE SEUCOMM, " | |||
| lv_error_in_simulation | TYPE SEUCOMM, " | |||
| lt_i_it_jbrphamortres_ist | TYPE STANDARD TABLE OF JBRPHAMORTRES, " | |||
| lv_i_settings | TYPE ALM99_SETTINGS_TYP, " | |||
| lv_no_parameters | TYPE ALM99_SETTINGS_TYP, " | |||
| lt_i_it_jbrphbaum | TYPE STANDARD TABLE OF JBRPHBAUM, " | |||
| lt_c_it_jbrrepgap_sim | TYPE STANDARD TABLE OF JBRREPGAP, " | |||
| lt_c_it_jbrphamortres_sim | TYPE STANDARD TABLE OF JBRPHAMORTRES. " |
|   CALL FUNCTION 'ISB_ALM_STANDARD_SIMULATION_2' "...STANDARD_SIMULATION (Call of Function Modules for Standard Simulation) |
| EXPORTING | ||
| I_JBRGAPPARAMETER | = lv_i_jbrgapparameter | |
| I_PHNODE | = lv_i_phnode | |
| I_SETTINGS | = lv_i_settings | |
| IMPORTING | ||
| E_ERROR_ITAB | = lv_e_error_itab | |
| CHANGING | ||
| C_CONTROLS | = lv_c_controls | |
| TABLES | ||
| I_IT_JBRREPGAP_IST | = lt_i_it_jbrrepgap_ist | |
| I_IT_JBRPHAMORTRES_IST | = lt_i_it_jbrphamortres_ist | |
| I_IT_JBRPHBAUM | = lt_i_it_jbrphbaum | |
| C_IT_JBRREPGAP_SIM | = lt_c_it_jbrrepgap_sim | |
| C_IT_JBRPHAMORTRES_SIM | = lt_c_it_jbrphamortres_sim | |
| EXCEPTIONS | ||
| NO_SIMULATION = 1 | ||
| ERROR_IN_SIMULATION = 2 | ||
| NO_PARAMETERS = 3 | ||
| . " ISB_ALM_STANDARD_SIMULATION_2 | ||
ABAP code using 7.40 inline data declarations to call FM ISB_ALM_STANDARD_SIMULATION_2
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