SAP STORE_NETTING_SEL_CRIT Function Module for Save Netting Selection Criteria
STORE_NETTING_SEL_CRIT is a standard store netting sel crit SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Save Netting Selection Criteria 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 store netting sel crit FM, simply by entering the name STORE_NETTING_SEL_CRIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIAJ
Program Name: SAPLOIAJ
Main Program: SAPLOIAJ
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function STORE_NETTING_SEL_CRIT 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 'STORE_NETTING_SEL_CRIT'"Save Netting Selection Criteria.
EXPORTING
* I_TOIA4H = "
* G_CRIT_UPD_FLAG = ' ' "
* IS_ODER = "
IMPORTING
IS_ODER = "
TABLES
SELTAB = "
SEFTAB = "
EINTAB = "
EXCEPTIONS
CYCLE_NOT_FOUND = 1 NO_SEL_CRITERIA_FOR_CYCLE = 2
IMPORTING Parameters details for STORE_NETTING_SEL_CRIT
I_TOIA4H -
Data type: TOIA4HOptional: Yes
Call by Reference: No ( called with pass by value option)
G_CRIT_UPD_FLAG -
Data type: V_T185F-AKTYPDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_ODER -
Data type: TOIA4H-ANDOROptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for STORE_NETTING_SEL_CRIT
IS_ODER -
Data type: TOIA4H-ANDOROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for STORE_NETTING_SEL_CRIT
SELTAB -
Data type: OIANSELOptional: No
Call by Reference: No ( called with pass by value option)
SEFTAB -
Data type: OIANSEFOptional: No
Call by Reference: No ( called with pass by value option)
EINTAB -
Data type: OIANEINOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CYCLE_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SEL_CRITERIA_FOR_CYCLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for STORE_NETTING_SEL_CRIT 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_seltab | TYPE STANDARD TABLE OF OIANSEL, " | |||
| lv_is_oder | TYPE TOIA4H-ANDOR, " | |||
| lv_i_toia4h | TYPE TOIA4H, " | |||
| lv_cycle_not_found | TYPE TOIA4H, " | |||
| lt_seftab | TYPE STANDARD TABLE OF OIANSEF, " | |||
| lv_g_crit_upd_flag | TYPE V_T185F-AKTYP, " ' ' | |||
| lv_no_sel_criteria_for_cycle | TYPE V_T185F, " | |||
| lt_eintab | TYPE STANDARD TABLE OF OIANEIN, " | |||
| lv_is_oder | TYPE TOIA4H-ANDOR. " |
|   CALL FUNCTION 'STORE_NETTING_SEL_CRIT' "Save Netting Selection Criteria |
| EXPORTING | ||
| I_TOIA4H | = lv_i_toia4h | |
| G_CRIT_UPD_FLAG | = lv_g_crit_upd_flag | |
| IS_ODER | = lv_is_oder | |
| IMPORTING | ||
| IS_ODER | = lv_is_oder | |
| TABLES | ||
| SELTAB | = lt_seltab | |
| SEFTAB | = lt_seftab | |
| EINTAB | = lt_eintab | |
| EXCEPTIONS | ||
| CYCLE_NOT_FOUND = 1 | ||
| NO_SEL_CRITERIA_FOR_CYCLE = 2 | ||
| . " STORE_NETTING_SEL_CRIT | ||
ABAP code using 7.40 inline data declarations to call FM STORE_NETTING_SEL_CRIT
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 ANDOR FROM TOIA4H INTO @DATA(ld_is_oder). | ||||
| "SELECT single AKTYP FROM V_T185F INTO @DATA(ld_g_crit_upd_flag). | ||||
| DATA(ld_g_crit_upd_flag) | = ' '. | |||
| "SELECT single ANDOR FROM TOIA4H INTO @DATA(ld_is_oder). | ||||
Search for further information about these or an SAP related objects