SAP ECATT_DECIDE_W_MESSAGE_POPUP Function Module for
ECATT_DECIDE_W_MESSAGE_POPUP is a standard ecatt decide w message popup 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 ecatt decide w message popup FM, simply by entering the name ECATT_DECIDE_W_MESSAGE_POPUP into the relevant SAP transaction such as SE37 or SE38.
Function Group: ECATT_GUI_POPUP
Program Name: SAPLECATT_GUI_POPUP
Main Program: SAPLECATT_GUI_POPUP
Appliation area: *
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ECATT_DECIDE_W_MESSAGE_POPUP 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 'ECATT_DECIDE_W_MESSAGE_POPUP'".
EXPORTING
* DEFAULTOPTION = '1' "Cursor position on first or second alternative
TEXT_OPTION1 = "Text of first alternative
TEXT_OPTION2 = "Text of second alternative
* TEXT_OPTION3 = ' ' "
* ICON_TEXT_OPTION1 = "
* ICON_TEXT_OPTION2 = "
* ICON_TEXT_OPTION3 = ' ' "
TITEL = "Title line of dialog box
* TEXT_CHECKBOX = "
* CANCEL_DISPLAY = 'X' "
* START_COLUMN = 20 "Start column of the dialog box
* DIAGNOSETEXT = ' ' "
* START_ROW = 6 "Start line of the dialog box
* TEXT_RADIOBUTTON1 = "
* TEXT_RADIOBUTTON2 = "
* TEXT_RADIOBUTTON3 = "
* USE_LARGE_POPUP = ' ' "
* TEXT_CHECKBOX2 = "
* REUSE_DISPLAY = ' ' "
* DELETE_ADAPT = ' ' "
* ADAPT_COMMAND = "
* IT_FOUND_VAL = "
DIAGNOSETEXT1 = "
* DIAGNOSETEXT2 = ' ' "
* DIAGNOSETEXT3 = ' ' "
* TEXTLINE1 = "
* TEXTLINE2 = ' ' "
* TEXTLINE3 = ' ' "
* TEXTLINE4 = ' ' "
IMPORTING
ANSWER = "selected answer of user
DEL_ADAPT = "
CHANGING
* CHECKBOX = "eCATT Switch On/Off
* RADIOBUTTON = "
* CHECKBOX2 = "
IMPORTING Parameters details for ECATT_DECIDE_W_MESSAGE_POPUP
DEFAULTOPTION - Cursor position on first or second alternative
Data type:Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXT_OPTION1 - Text of first alternative
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEXT_OPTION2 - Text of second alternative
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEXT_OPTION3 -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ICON_TEXT_OPTION1 -
Data type: ICON-NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
ICON_TEXT_OPTION2 -
Data type: ICON-NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
ICON_TEXT_OPTION3 -
Data type: ICON-NAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TITEL - Title line of dialog box
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEXT_CHECKBOX -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
CANCEL_DISPLAY -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
START_COLUMN - Start column of the dialog box
Data type: SY-CUCOLDefault: 20
Optional: Yes
Call by Reference: No ( called with pass by value option)
DIAGNOSETEXT -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
START_ROW - Start line of the dialog box
Data type: SY-CUROWDefault: 6
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXT_RADIOBUTTON1 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXT_RADIOBUTTON2 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXT_RADIOBUTTON3 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
USE_LARGE_POPUP -
Data type: ETONOFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXT_CHECKBOX2 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
REUSE_DISPLAY -
Data type: ETONOFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DELETE_ADAPT -
Data type: ETONOFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ADAPT_COMMAND -
Data type: SYUCOMMOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FOUND_VAL -
Data type: ETCHECKLST_TABTYPEOptional: Yes
Call by Reference: Yes
DIAGNOSETEXT1 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DIAGNOSETEXT2 -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DIAGNOSETEXT3 -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXTLINE1 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXTLINE2 -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXTLINE3 -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXTLINE4 -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ECATT_DECIDE_W_MESSAGE_POPUP
ANSWER - selected answer of user
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DEL_ADAPT -
Data type: ETONOFFOptional: No
Call by Reference: Yes
CHANGING Parameters details for ECATT_DECIDE_W_MESSAGE_POPUP
CHECKBOX - eCATT Switch On/Off
Data type: ETONOFFOptional: Yes
Call by Reference: Yes
RADIOBUTTON -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
CHECKBOX2 -
Data type: ETONOFFOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ECATT_DECIDE_W_MESSAGE_POPUP 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_answer | TYPE STRING, " | |||
| lv_checkbox | TYPE ETONOFF, " | |||
| lv_defaultoption | TYPE ETONOFF, " '1' | |||
| lv_text_option1 | TYPE ETONOFF, " | |||
| lv_text_option2 | TYPE ETONOFF, " | |||
| lv_text_option3 | TYPE ETONOFF, " SPACE | |||
| lv_icon_text_option1 | TYPE ICON-NAME, " | |||
| lv_icon_text_option2 | TYPE ICON-NAME, " | |||
| lv_icon_text_option3 | TYPE ICON-NAME, " SPACE | |||
| lv_titel | TYPE ICON, " | |||
| lv_text_checkbox | TYPE ICON, " | |||
| lv_cancel_display | TYPE ICON, " 'X' | |||
| lv_start_column | TYPE SY-CUCOL, " 20 | |||
| lv_del_adapt | TYPE ETONOFF, " | |||
| lv_radiobutton | TYPE CHAR1, " | |||
| lv_diagnosetext | TYPE CHAR1, " SPACE | |||
| lv_start_row | TYPE SY-CUROW, " 6 | |||
| lv_text_radiobutton1 | TYPE SY, " | |||
| lv_text_radiobutton2 | TYPE SY, " | |||
| lv_text_radiobutton3 | TYPE SY, " | |||
| lv_use_large_popup | TYPE ETONOFF, " SPACE | |||
| lv_text_checkbox2 | TYPE ETONOFF, " | |||
| lv_reuse_display | TYPE ETONOFF, " SPACE | |||
| lv_delete_adapt | TYPE ETONOFF, " SPACE | |||
| lv_adapt_command | TYPE SYUCOMM, " | |||
| lv_it_found_val | TYPE ETCHECKLST_TABTYPE, " | |||
| lv_checkbox2 | TYPE ETONOFF, " | |||
| lv_diagnosetext1 | TYPE ETONOFF, " | |||
| lv_diagnosetext2 | TYPE ETONOFF, " SPACE | |||
| lv_diagnosetext3 | TYPE ETONOFF, " SPACE | |||
| lv_textline1 | TYPE ETONOFF, " | |||
| lv_textline2 | TYPE ETONOFF, " SPACE | |||
| lv_textline3 | TYPE ETONOFF, " SPACE | |||
| lv_textline4 | TYPE ETONOFF. " SPACE |
|   CALL FUNCTION 'ECATT_DECIDE_W_MESSAGE_POPUP' " |
| EXPORTING | ||
| DEFAULTOPTION | = lv_defaultoption | |
| TEXT_OPTION1 | = lv_text_option1 | |
| TEXT_OPTION2 | = lv_text_option2 | |
| TEXT_OPTION3 | = lv_text_option3 | |
| ICON_TEXT_OPTION1 | = lv_icon_text_option1 | |
| ICON_TEXT_OPTION2 | = lv_icon_text_option2 | |
| ICON_TEXT_OPTION3 | = lv_icon_text_option3 | |
| TITEL | = lv_titel | |
| TEXT_CHECKBOX | = lv_text_checkbox | |
| CANCEL_DISPLAY | = lv_cancel_display | |
| START_COLUMN | = lv_start_column | |
| DIAGNOSETEXT | = lv_diagnosetext | |
| START_ROW | = lv_start_row | |
| TEXT_RADIOBUTTON1 | = lv_text_radiobutton1 | |
| TEXT_RADIOBUTTON2 | = lv_text_radiobutton2 | |
| TEXT_RADIOBUTTON3 | = lv_text_radiobutton3 | |
| USE_LARGE_POPUP | = lv_use_large_popup | |
| TEXT_CHECKBOX2 | = lv_text_checkbox2 | |
| REUSE_DISPLAY | = lv_reuse_display | |
| DELETE_ADAPT | = lv_delete_adapt | |
| ADAPT_COMMAND | = lv_adapt_command | |
| IT_FOUND_VAL | = lv_it_found_val | |
| DIAGNOSETEXT1 | = lv_diagnosetext1 | |
| DIAGNOSETEXT2 | = lv_diagnosetext2 | |
| DIAGNOSETEXT3 | = lv_diagnosetext3 | |
| TEXTLINE1 | = lv_textline1 | |
| TEXTLINE2 | = lv_textline2 | |
| TEXTLINE3 | = lv_textline3 | |
| TEXTLINE4 | = lv_textline4 | |
| IMPORTING | ||
| ANSWER | = lv_answer | |
| DEL_ADAPT | = lv_del_adapt | |
| CHANGING | ||
| CHECKBOX | = lv_checkbox | |
| RADIOBUTTON | = lv_radiobutton | |
| CHECKBOX2 | = lv_checkbox2 | |
| . " ECATT_DECIDE_W_MESSAGE_POPUP | ||
ABAP code using 7.40 inline data declarations to call FM ECATT_DECIDE_W_MESSAGE_POPUP
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_defaultoption) | = '1'. | |||
| DATA(ld_text_option3) | = ' '. | |||
| "SELECT single NAME FROM ICON INTO @DATA(ld_icon_text_option1). | ||||
| "SELECT single NAME FROM ICON INTO @DATA(ld_icon_text_option2). | ||||
| "SELECT single NAME FROM ICON INTO @DATA(ld_icon_text_option3). | ||||
| DATA(ld_icon_text_option3) | = ' '. | |||
| DATA(ld_cancel_display) | = 'X'. | |||
| "SELECT single CUCOL FROM SY INTO @DATA(ld_start_column). | ||||
| DATA(ld_start_column) | = 20. | |||
| DATA(ld_diagnosetext) | = ' '. | |||
| "SELECT single CUROW FROM SY INTO @DATA(ld_start_row). | ||||
| DATA(ld_start_row) | = 6. | |||
| DATA(ld_use_large_popup) | = ' '. | |||
| DATA(ld_reuse_display) | = ' '. | |||
| DATA(ld_delete_adapt) | = ' '. | |||
| DATA(ld_diagnosetext2) | = ' '. | |||
| DATA(ld_diagnosetext3) | = ' '. | |||
| DATA(ld_textline2) | = ' '. | |||
| DATA(ld_textline3) | = ' '. | |||
| DATA(ld_textline4) | = ' '. | |||
Search for further information about these or an SAP related objects