SAP IST_EVENT_1211 Function Module for Sample: Account Balance - Transfer All Selected Line Items Before Output
IST_EVENT_1211 is a standard ist event 1211 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Sample: Account Balance - Transfer All Selected Line Items Before Output 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 ist event 1211 FM, simply by entering the name IST_EVENT_1211 into the relevant SAP transaction such as SE37 or SE38.
Function Group: E31C
Program Name: SAPLE31C
Main Program: SAPLE31C
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IST_EVENT_1211 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 'IST_EVENT_1211'"Sample: Account Balance - Transfer All Selected Line Items Before Output.
EXPORTING
I_WITH_SIMULATED_ITEMS = "
* I_FKKEPOSC = "
IMPORTING
E_NDTXT_DEACTIVATE = "
E_NDTXT_ACTIVATE = "
E_SNDSP = "
E_FUNCTION_FOR_DISPLAY = "Name of Function Module
E_FTEXT_1117 = "
E_FCODE_1117 = "Screens, Function Code That Triggered PAI
TABLES
T_POSTAB = "Selected Items
T_SEL_VALUES = "Selection Conditions
* T_TOTALS = "
* T_NEW_ITEMS = "
IMPORTING Parameters details for IST_EVENT_1211
I_WITH_SIMULATED_ITEMS -
Data type: BOOLE-BOOLEOptional: No
Call by Reference: No ( called with pass by value option)
I_FKKEPOSC -
Data type: FKKEPOSCOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for IST_EVENT_1211
E_NDTXT_DEACTIVATE -
Data type: FKKL1-NDTXTOptional: No
Call by Reference: No ( called with pass by value option)
E_NDTXT_ACTIVATE -
Data type: FKKL1-NDTXTOptional: No
Call by Reference: No ( called with pass by value option)
E_SNDSP -
Data type: FKKL1-SNDSPOptional: No
Call by Reference: No ( called with pass by value option)
E_FUNCTION_FOR_DISPLAY - Name of Function Module
Data type: TFDIR-FUNCNAMEOptional: No
Call by Reference: No ( called with pass by value option)
E_FTEXT_1117 -
Data type: FKKL1-NDTXTOptional: No
Call by Reference: No ( called with pass by value option)
E_FCODE_1117 - Screens, Function Code That Triggered PAI
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for IST_EVENT_1211
T_POSTAB - Selected Items
Data type: FKKEPOSOptional: No
Call by Reference: No ( called with pass by value option)
T_SEL_VALUES - Selection Conditions
Data type: FKKL1Optional: No
Call by Reference: No ( called with pass by value option)
T_TOTALS -
Data type: FKKEPOS_TOTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_NEW_ITEMS -
Data type: FKKEPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for IST_EVENT_1211 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: | ||||
| lt_t_postab | TYPE STANDARD TABLE OF FKKEPOS, " | |||
| lv_e_ndtxt_deactivate | TYPE FKKL1-NDTXT, " | |||
| lv_i_with_simulated_items | TYPE BOOLE-BOOLE, " | |||
| lv_i_fkkeposc | TYPE FKKEPOSC, " | |||
| lt_t_sel_values | TYPE STANDARD TABLE OF FKKL1, " | |||
| lv_e_ndtxt_activate | TYPE FKKL1-NDTXT, " | |||
| lv_e_sndsp | TYPE FKKL1-SNDSP, " | |||
| lt_t_totals | TYPE STANDARD TABLE OF FKKEPOS_TOT, " | |||
| lt_t_new_items | TYPE STANDARD TABLE OF FKKEPOS, " | |||
| lv_e_function_for_display | TYPE TFDIR-FUNCNAME, " | |||
| lv_e_ftext_1117 | TYPE FKKL1-NDTXT, " | |||
| lv_e_fcode_1117 | TYPE SY-UCOMM. " |
|   CALL FUNCTION 'IST_EVENT_1211' "Sample: Account Balance - Transfer All Selected Line Items Before Output |
| EXPORTING | ||
| I_WITH_SIMULATED_ITEMS | = lv_i_with_simulated_items | |
| I_FKKEPOSC | = lv_i_fkkeposc | |
| IMPORTING | ||
| E_NDTXT_DEACTIVATE | = lv_e_ndtxt_deactivate | |
| E_NDTXT_ACTIVATE | = lv_e_ndtxt_activate | |
| E_SNDSP | = lv_e_sndsp | |
| E_FUNCTION_FOR_DISPLAY | = lv_e_function_for_display | |
| E_FTEXT_1117 | = lv_e_ftext_1117 | |
| E_FCODE_1117 | = lv_e_fcode_1117 | |
| TABLES | ||
| T_POSTAB | = lt_t_postab | |
| T_SEL_VALUES | = lt_t_sel_values | |
| T_TOTALS | = lt_t_totals | |
| T_NEW_ITEMS | = lt_t_new_items | |
| . " IST_EVENT_1211 | ||
ABAP code using 7.40 inline data declarations to call FM IST_EVENT_1211
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 NDTXT FROM FKKL1 INTO @DATA(ld_e_ndtxt_deactivate). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_with_simulated_items). | ||||
| "SELECT single NDTXT FROM FKKL1 INTO @DATA(ld_e_ndtxt_activate). | ||||
| "SELECT single SNDSP FROM FKKL1 INTO @DATA(ld_e_sndsp). | ||||
| "SELECT single FUNCNAME FROM TFDIR INTO @DATA(ld_e_function_for_display). | ||||
| "SELECT single NDTXT FROM FKKL1 INTO @DATA(ld_e_ftext_1117). | ||||
| "SELECT single UCOMM FROM SY INTO @DATA(ld_e_fcode_1117). | ||||
Search for further information about these or an SAP related objects