SAP FC_ITEM_SET_CHECK2 Function Module for
FC_ITEM_SET_CHECK2 is a standard fc item set check2 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fc item set check2 FM, simply by entering the name FC_ITEM_SET_CHECK2 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FC00S
Program Name: SAPLFC00S
Main Program: SAPLFC00S
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FC_ITEM_SET_CHECK2 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 'FC_ITEM_SET_CHECK2'".
EXPORTING
* E_FLG_NO_SET_CHECK = ' ' "
* E_FLG_SITEM_READ = ' ' "
* E_FLG_BUPTR_READ = ' ' "
* E_FLG_CHECK_SITEM = ' ' "
* E_FLG_SAME_SITYP = ' ' "
* E_FLG_CHECK_BUPTR = ' ' "
* E_FLG_SAME_BUPSPEC = ' ' "
* E_FLG_NEED_BUPSPEC = ' ' "
IMPORTING
I_RA_ITEM = "
I_RA_SITEM = "
I_RA_BUPTR = "
I_SITYP = "
CHANGING
* C_ITEM_INFO = "
TABLES
* IT_TF100 = "
* IT_TF103 = "
EXCEPTIONS
SET_NOT_FOUND = 1 ITEM_DIFFERENT_BUPTR = 10 SET_AND_SINGLE = 2 NO_SUCH_ITEM = 3 ITEM_NEED_SITEM = 4 ITEM_MUST_NOT_HAVE_SITEM = 5 ITEM_DIFFERENT_SITYP = 6 WRONG_SITYP = 7 ITEM_NEED_BUPTR = 8 ITEM_MUST_NOT_HAVE_BUPTR = 9
IMPORTING Parameters details for FC_ITEM_SET_CHECK2
E_FLG_NO_SET_CHECK -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_FLG_SITEM_READ -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_FLG_BUPTR_READ -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_FLG_CHECK_SITEM -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_FLG_SAME_SITYP -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_FLG_CHECK_BUPTR -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_FLG_SAME_BUPSPEC -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_FLG_NEED_BUPSPEC -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FC_ITEM_SET_CHECK2
I_RA_ITEM -
Data type: FC00_T_RA_ITEMOptional: No
Call by Reference: Yes
I_RA_SITEM -
Data type: FC00_T_RA_SUBITOptional: No
Call by Reference: Yes
I_RA_BUPTR -
Data type: FC00_T_RA_BUNITOptional: No
Call by Reference: Yes
I_SITYP -
Data type: FC_SITYPOptional: No
Call by Reference: Yes
CHANGING Parameters details for FC_ITEM_SET_CHECK2
C_ITEM_INFO -
Data type: FC00_S_ITEMSET_CHECKOptional: Yes
Call by Reference: Yes
TABLES Parameters details for FC_ITEM_SET_CHECK2
IT_TF100 -
Data type: TF100Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_TF103 -
Data type: TF103Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
SET_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_DIFFERENT_BUPTR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SET_AND_SINGLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SUCH_ITEM -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_NEED_SITEM -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_MUST_NOT_HAVE_SITEM -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_DIFFERENT_SITYP -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_SITYP -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_NEED_BUPTR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_MUST_NOT_HAVE_BUPTR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FC_ITEM_SET_CHECK2 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_it_tf100 | TYPE STANDARD TABLE OF TF100, " | |||
| lv_i_ra_item | TYPE FC00_T_RA_ITEM, " | |||
| lv_c_item_info | TYPE FC00_S_ITEMSET_CHECK, " | |||
| lv_set_not_found | TYPE FC00_S_ITEMSET_CHECK, " | |||
| lv_e_flg_no_set_check | TYPE FC00_S_ITEMSET_CHECK, " SPACE | |||
| lv_item_different_buptr | TYPE FC00_S_ITEMSET_CHECK, " | |||
| lt_it_tf103 | TYPE STANDARD TABLE OF TF103, " | |||
| lv_i_ra_sitem | TYPE FC00_T_RA_SUBIT, " | |||
| lv_set_and_single | TYPE FC00_T_RA_SUBIT, " | |||
| lv_e_flg_sitem_read | TYPE FC00_T_RA_SUBIT, " SPACE | |||
| lv_i_ra_buptr | TYPE FC00_T_RA_BUNIT, " | |||
| lv_no_such_item | TYPE FC00_T_RA_BUNIT, " | |||
| lv_e_flg_buptr_read | TYPE FC00_T_RA_BUNIT, " SPACE | |||
| lv_i_sityp | TYPE FC_SITYP, " | |||
| lv_item_need_sitem | TYPE FC_SITYP, " | |||
| lv_e_flg_check_sitem | TYPE FC_SITYP, " SPACE | |||
| lv_e_flg_same_sityp | TYPE FC_SITYP, " SPACE | |||
| lv_item_must_not_have_sitem | TYPE FC_SITYP, " | |||
| lv_e_flg_check_buptr | TYPE FC_SITYP, " SPACE | |||
| lv_item_different_sityp | TYPE FC_SITYP, " | |||
| lv_wrong_sityp | TYPE FC_SITYP, " | |||
| lv_e_flg_same_bupspec | TYPE FC_SITYP, " SPACE | |||
| lv_item_need_buptr | TYPE FC_SITYP, " | |||
| lv_e_flg_need_bupspec | TYPE FC_SITYP, " SPACE | |||
| lv_item_must_not_have_buptr | TYPE FC_SITYP. " |
|   CALL FUNCTION 'FC_ITEM_SET_CHECK2' " |
| EXPORTING | ||
| E_FLG_NO_SET_CHECK | = lv_e_flg_no_set_check | |
| E_FLG_SITEM_READ | = lv_e_flg_sitem_read | |
| E_FLG_BUPTR_READ | = lv_e_flg_buptr_read | |
| E_FLG_CHECK_SITEM | = lv_e_flg_check_sitem | |
| E_FLG_SAME_SITYP | = lv_e_flg_same_sityp | |
| E_FLG_CHECK_BUPTR | = lv_e_flg_check_buptr | |
| E_FLG_SAME_BUPSPEC | = lv_e_flg_same_bupspec | |
| E_FLG_NEED_BUPSPEC | = lv_e_flg_need_bupspec | |
| IMPORTING | ||
| I_RA_ITEM | = lv_i_ra_item | |
| I_RA_SITEM | = lv_i_ra_sitem | |
| I_RA_BUPTR | = lv_i_ra_buptr | |
| I_SITYP | = lv_i_sityp | |
| CHANGING | ||
| C_ITEM_INFO | = lv_c_item_info | |
| TABLES | ||
| IT_TF100 | = lt_it_tf100 | |
| IT_TF103 | = lt_it_tf103 | |
| EXCEPTIONS | ||
| SET_NOT_FOUND = 1 | ||
| ITEM_DIFFERENT_BUPTR = 10 | ||
| SET_AND_SINGLE = 2 | ||
| NO_SUCH_ITEM = 3 | ||
| ITEM_NEED_SITEM = 4 | ||
| ITEM_MUST_NOT_HAVE_SITEM = 5 | ||
| ITEM_DIFFERENT_SITYP = 6 | ||
| WRONG_SITYP = 7 | ||
| ITEM_NEED_BUPTR = 8 | ||
| ITEM_MUST_NOT_HAVE_BUPTR = 9 | ||
| . " FC_ITEM_SET_CHECK2 | ||
ABAP code using 7.40 inline data declarations to call FM FC_ITEM_SET_CHECK2
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.| DATA(ld_e_flg_no_set_check) | = ' '. | |||
| DATA(ld_e_flg_sitem_read) | = ' '. | |||
| DATA(ld_e_flg_buptr_read) | = ' '. | |||
| DATA(ld_e_flg_check_sitem) | = ' '. | |||
| DATA(ld_e_flg_same_sityp) | = ' '. | |||
| DATA(ld_e_flg_check_buptr) | = ' '. | |||
| DATA(ld_e_flg_same_bupspec) | = ' '. | |||
| DATA(ld_e_flg_need_bupspec) | = ' '. | |||
Search for further information about these or an SAP related objects