SAP ICL_SUPPL_FCODE_PROCESS_2 Function Module for Ok Code processing on supplier views II
ICL_SUPPL_FCODE_PROCESS_2 is a standard icl suppl fcode process 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 Ok Code processing on supplier views II 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 icl suppl fcode process 2 FM, simply by entering the name ICL_SUPPL_FCODE_PROCESS_2 into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICL_SUPPL_INT
Program Name: SAPLICL_SUPPL_INT
Main Program: SAPLICL_SUPPL_INT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ICL_SUPPL_FCODE_PROCESS_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 'ICL_SUPPL_FCODE_PROCESS_2'"Ok Code processing on supplier views II.
EXPORTING
IV_FCODE = "Function Code
IV_ROLE = "Participant Role
IV_PTYPE = "Transaction type in procurement process
IV_SUBOBJCAT = "Claim Subobject Category
CHANGING
CS_SUPPL = "
TABLES
* T_ICLSUPPL = "
* IT_SUPPL_DEL = "
EXCEPTIONS
ERROR_ADDRESS_DATA_RETRIEVAL = 1
IMPORTING Parameters details for ICL_SUPPL_FCODE_PROCESS_2
IV_FCODE - Function Code
Data type: TBZ4-FCODEOptional: No
Call by Reference: No ( called with pass by value option)
IV_ROLE - Participant Role
Data type: ICL_ROLEOptional: No
Call by Reference: Yes
IV_PTYPE - Transaction type in procurement process
Data type: ICL_PTYPEOptional: No
Call by Reference: Yes
IV_SUBOBJCAT - Claim Subobject Category
Data type: ICL_SUBOBJCATOptional: No
Call by Reference: Yes
CHANGING Parameters details for ICL_SUPPL_FCODE_PROCESS_2
CS_SUPPL -
Data type: ICLSUPPLOptional: No
Call by Reference: Yes
TABLES Parameters details for ICL_SUPPL_FCODE_PROCESS_2
T_ICLSUPPL -
Data type: ICLSUPPLOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SUPPL_DEL -
Data type: ICLSUPPLOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
ERROR_ADDRESS_DATA_RETRIEVAL -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ICL_SUPPL_FCODE_PROCESS_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_cs_suppl | TYPE ICLSUPPL, " | |||
| lv_iv_fcode | TYPE TBZ4-FCODE, " | |||
| lt_t_iclsuppl | TYPE STANDARD TABLE OF ICLSUPPL, " | |||
| lv_error_address_data_retrieval | TYPE ICLSUPPL, " | |||
| lv_iv_role | TYPE ICL_ROLE, " | |||
| lt_it_suppl_del | TYPE STANDARD TABLE OF ICLSUPPL, " | |||
| lv_iv_ptype | TYPE ICL_PTYPE, " | |||
| lv_iv_subobjcat | TYPE ICL_SUBOBJCAT. " |
|   CALL FUNCTION 'ICL_SUPPL_FCODE_PROCESS_2' "Ok Code processing on supplier views II |
| EXPORTING | ||
| IV_FCODE | = lv_iv_fcode | |
| IV_ROLE | = lv_iv_role | |
| IV_PTYPE | = lv_iv_ptype | |
| IV_SUBOBJCAT | = lv_iv_subobjcat | |
| CHANGING | ||
| CS_SUPPL | = lv_cs_suppl | |
| TABLES | ||
| T_ICLSUPPL | = lt_t_iclsuppl | |
| IT_SUPPL_DEL | = lt_it_suppl_del | |
| EXCEPTIONS | ||
| ERROR_ADDRESS_DATA_RETRIEVAL = 1 | ||
| . " ICL_SUPPL_FCODE_PROCESS_2 | ||
ABAP code using 7.40 inline data declarations to call FM ICL_SUPPL_FCODE_PROCESS_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.| "SELECT single FCODE FROM TBZ4 INTO @DATA(ld_iv_fcode). | ||||
Search for further information about these or an SAP related objects