SAP FB_ICRC_DECIDE Function Module for Decide what to do in case of file error
FB_ICRC_DECIDE is a standard fb icrc decide SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Decide what to do in case of file error 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 fb icrc decide FM, simply by entering the name FB_ICRC_DECIDE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FB_ICRC_SERVICES
Program Name: SAPLFB_ICRC_SERVICES
Main Program: SAPLFB_ICRC_SERVICES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FB_ICRC_DECIDE 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 'FB_ICRC_DECIDE'"Decide what to do in case of file error.
EXPORTING
* ED_TITLE = ' ' "Title
* ED_DIAGNOSIS = ' ' "Diagnosis
* ED_QUESTION = ' ' "Question
* ED_OPTION1 = ' ' "Option 1
* ED_OPTION2 = ' ' "Option 2
* ED_OPTION3 = ' ' "Option 3
* ED_OPTION4 = ' ' "Option 4
* ED_OPTION5 = ' ' "Option 5
* ED_OPTION6 = ' ' "Option 6
IMPORTING
ID_OPTION = "Chosen Option
IMPORTING Parameters details for FB_ICRC_DECIDE
ED_TITLE - Title
Data type:Default: SPACE
Optional: Yes
Call by Reference: Yes
ED_DIAGNOSIS - Diagnosis
Data type:Default: SPACE
Optional: Yes
Call by Reference: Yes
ED_QUESTION - Question
Data type:Default: SPACE
Optional: Yes
Call by Reference: Yes
ED_OPTION1 - Option 1
Data type:Default: SPACE
Optional: Yes
Call by Reference: Yes
ED_OPTION2 - Option 2
Data type:Default: SPACE
Optional: Yes
Call by Reference: Yes
ED_OPTION3 - Option 3
Data type:Default: SPACE
Optional: Yes
Call by Reference: Yes
ED_OPTION4 - Option 4
Data type:Default: SPACE
Optional: Yes
Call by Reference: Yes
ED_OPTION5 - Option 5
Data type:Default: SPACE
Optional: Yes
Call by Reference: Yes
ED_OPTION6 - Option 6
Data type:Default: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FB_ICRC_DECIDE
ID_OPTION - Chosen Option
Data type: CHAR1Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FB_ICRC_DECIDE 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_ed_title | TYPE STRING, " SPACE | |||
| lv_id_option | TYPE CHAR1, " | |||
| lv_ed_diagnosis | TYPE CHAR1, " SPACE | |||
| lv_ed_question | TYPE CHAR1, " SPACE | |||
| lv_ed_option1 | TYPE CHAR1, " SPACE | |||
| lv_ed_option2 | TYPE CHAR1, " SPACE | |||
| lv_ed_option3 | TYPE CHAR1, " SPACE | |||
| lv_ed_option4 | TYPE CHAR1, " SPACE | |||
| lv_ed_option5 | TYPE CHAR1, " SPACE | |||
| lv_ed_option6 | TYPE CHAR1. " SPACE |
|   CALL FUNCTION 'FB_ICRC_DECIDE' "Decide what to do in case of file error |
| EXPORTING | ||
| ED_TITLE | = lv_ed_title | |
| ED_DIAGNOSIS | = lv_ed_diagnosis | |
| ED_QUESTION | = lv_ed_question | |
| ED_OPTION1 | = lv_ed_option1 | |
| ED_OPTION2 | = lv_ed_option2 | |
| ED_OPTION3 | = lv_ed_option3 | |
| ED_OPTION4 | = lv_ed_option4 | |
| ED_OPTION5 | = lv_ed_option5 | |
| ED_OPTION6 | = lv_ed_option6 | |
| IMPORTING | ||
| ID_OPTION | = lv_id_option | |
| . " FB_ICRC_DECIDE | ||
ABAP code using 7.40 inline data declarations to call FM FB_ICRC_DECIDE
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_ed_title) | = ' '. | |||
| DATA(ld_ed_diagnosis) | = ' '. | |||
| DATA(ld_ed_question) | = ' '. | |||
| DATA(ld_ed_option1) | = ' '. | |||
| DATA(ld_ed_option2) | = ' '. | |||
| DATA(ld_ed_option3) | = ' '. | |||
| DATA(ld_ed_option4) | = ' '. | |||
| DATA(ld_ed_option5) | = ' '. | |||
| DATA(ld_ed_option6) | = ' '. | |||
Search for further information about these or an SAP related objects