SAP ISU_BI_MASS_SIM_REVERSAL Function Module for Reversal of a Mass Simulation Document









ISU_BI_MASS_SIM_REVERSAL is a standard isu bi mass sim reversal SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reversal of a Mass Simulation Document 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 isu bi mass sim reversal FM, simply by entering the name ISU_BI_MASS_SIM_REVERSAL into the relevant SAP transaction such as SE37 or SE38.

Function Group: EAUR_IP
Program Name: SAPLEAUR_IP
Main Program: SAPLEAUR_IP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISU_BI_MASS_SIM_REVERSAL 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 'ISU_BI_MASS_SIM_REVERSAL'"Reversal of a Mass Simulation Document
EXPORTING
X_SIMRUNID = "Identification of simulation run
X_SINGLE_ANLAGE = "Installation

IMPORTING
Y_EXTNUMBER = "Application Log: External Identification
Y_RESULT = "Simulation index data
Y_COUNTER = "Mass simulation: statistics counter
Y_HANDLE = "Message object identification
Y_FATAL_ERROR = "Indicator

EXCEPTIONS
GENERAL_FAULT = 1
.



IMPORTING Parameters details for ISU_BI_MASS_SIM_REVERSAL

X_SIMRUNID - Identification of simulation run

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

X_SINGLE_ANLAGE - Installation

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

EXPORTING Parameters details for ISU_BI_MASS_SIM_REVERSAL

Y_EXTNUMBER - Application Log: External Identification

Data type: BALHDR-EXTNUMBER
Optional: No
Call by Reference: Yes

Y_RESULT - Simulation index data

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

Y_COUNTER - Mass simulation: statistics counter

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

Y_HANDLE - Message object identification

Data type: EMSG_GEN-HANDLE
Optional: No
Call by Reference: Yes

Y_FATAL_ERROR - Indicator

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

EXCEPTIONS details

GENERAL_FAULT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_BI_MASS_SIM_REVERSAL 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_x_simrunid  TYPE SIMRUNID, "   
lv_y_extnumber  TYPE BALHDR-EXTNUMBER, "   
lv_general_fault  TYPE BALHDR, "   
lv_y_result  TYPE BILL_SIM_SET, "   
lv_x_single_anlage  TYPE ANLAGE, "   
lv_y_counter  TYPE ISU_MASS_SIM_COUNTER, "   
lv_y_handle  TYPE EMSG_GEN-HANDLE, "   
lv_y_fatal_error  TYPE KENNZX. "   

  CALL FUNCTION 'ISU_BI_MASS_SIM_REVERSAL'  "Reversal of a Mass Simulation Document
    EXPORTING
         X_SIMRUNID = lv_x_simrunid
         X_SINGLE_ANLAGE = lv_x_single_anlage
    IMPORTING
         Y_EXTNUMBER = lv_y_extnumber
         Y_RESULT = lv_y_result
         Y_COUNTER = lv_y_counter
         Y_HANDLE = lv_y_handle
         Y_FATAL_ERROR = lv_y_fatal_error
    EXCEPTIONS
        GENERAL_FAULT = 1
. " ISU_BI_MASS_SIM_REVERSAL




ABAP code using 7.40 inline data declarations to call FM ISU_BI_MASS_SIM_REVERSAL

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 EXTNUMBER FROM BALHDR INTO @DATA(ld_y_extnumber).
 
 
 
 
 
"SELECT single HANDLE FROM EMSG_GEN INTO @DATA(ld_y_handle).
 
 


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!