SAP BBPU_ASK_WITH_THREE_OPTIONS Function Module for
BBPU_ASK_WITH_THREE_OPTIONS is a standard bbpu ask with three options 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 bbpu ask with three options FM, simply by entering the name BBPU_ASK_WITH_THREE_OPTIONS into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_UTILITIES_1
Program Name: SAPLBBP_UTILITIES_1
Main Program: SAPLBBP_UTILITIES_1
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BBPU_ASK_WITH_THREE_OPTIONS 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 'BBPU_ASK_WITH_THREE_OPTIONS'".
EXPORTING
* OPTION_TEXT_1 = ' ' "
* OPTION_TEXT_2 = ' ' "
* OPTION_TEXT_3 = ' ' "
* TEXTLINE1 = ' ' "
* TEXTLINE2 = ' ' "
* TEXTLINE3 = ' ' "
* TITEL_TEXT = ' ' "
EXCEPTIONS
ACTION_CANCELLED = 1 ACTION_1_SELECTED = 2 ACTION_2_SELECTED = 3 ACTION_3_SELECTED = 4
IMPORTING Parameters details for BBPU_ASK_WITH_THREE_OPTIONS
OPTION_TEXT_1 -
Data type: BBPSAPNEW-TEXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OPTION_TEXT_2 -
Data type: BBPSAPNEW-TEXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OPTION_TEXT_3 -
Data type: BBPSAPNEW-TEXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXTLINE1 -
Data type: BBPSAPNEW-TEXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXTLINE2 -
Data type: BBPSAPNEW-TEXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEXTLINE3 -
Data type: BBPSAPNEW-TEXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TITEL_TEXT -
Data type: BBPSAPNEW-TEXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ACTION_CANCELLED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACTION_1_SELECTED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACTION_2_SELECTED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACTION_3_SELECTED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BBPU_ASK_WITH_THREE_OPTIONS 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_option_text_1 | TYPE BBPSAPNEW-TEXT, " SPACE | |||
| lv_action_cancelled | TYPE BBPSAPNEW, " | |||
| lv_option_text_2 | TYPE BBPSAPNEW-TEXT, " SPACE | |||
| lv_action_1_selected | TYPE BBPSAPNEW, " | |||
| lv_option_text_3 | TYPE BBPSAPNEW-TEXT, " SPACE | |||
| lv_action_2_selected | TYPE BBPSAPNEW, " | |||
| lv_textline1 | TYPE BBPSAPNEW-TEXT, " SPACE | |||
| lv_action_3_selected | TYPE BBPSAPNEW, " | |||
| lv_textline2 | TYPE BBPSAPNEW-TEXT, " SPACE | |||
| lv_textline3 | TYPE BBPSAPNEW-TEXT, " SPACE | |||
| lv_titel_text | TYPE BBPSAPNEW-TEXT. " SPACE |
|   CALL FUNCTION 'BBPU_ASK_WITH_THREE_OPTIONS' " |
| EXPORTING | ||
| OPTION_TEXT_1 | = lv_option_text_1 | |
| OPTION_TEXT_2 | = lv_option_text_2 | |
| OPTION_TEXT_3 | = lv_option_text_3 | |
| TEXTLINE1 | = lv_textline1 | |
| TEXTLINE2 | = lv_textline2 | |
| TEXTLINE3 | = lv_textline3 | |
| TITEL_TEXT | = lv_titel_text | |
| EXCEPTIONS | ||
| ACTION_CANCELLED = 1 | ||
| ACTION_1_SELECTED = 2 | ||
| ACTION_2_SELECTED = 3 | ||
| ACTION_3_SELECTED = 4 | ||
| . " BBPU_ASK_WITH_THREE_OPTIONS | ||
ABAP code using 7.40 inline data declarations to call FM BBPU_ASK_WITH_THREE_OPTIONS
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 TEXT FROM BBPSAPNEW INTO @DATA(ld_option_text_1). | ||||
| DATA(ld_option_text_1) | = ' '. | |||
| "SELECT single TEXT FROM BBPSAPNEW INTO @DATA(ld_option_text_2). | ||||
| DATA(ld_option_text_2) | = ' '. | |||
| "SELECT single TEXT FROM BBPSAPNEW INTO @DATA(ld_option_text_3). | ||||
| DATA(ld_option_text_3) | = ' '. | |||
| "SELECT single TEXT FROM BBPSAPNEW INTO @DATA(ld_textline1). | ||||
| DATA(ld_textline1) | = ' '. | |||
| "SELECT single TEXT FROM BBPSAPNEW INTO @DATA(ld_textline2). | ||||
| DATA(ld_textline2) | = ' '. | |||
| "SELECT single TEXT FROM BBPSAPNEW INTO @DATA(ld_textline3). | ||||
| DATA(ld_textline3) | = ' '. | |||
| "SELECT single TEXT FROM BBPSAPNEW INTO @DATA(ld_titel_text). | ||||
| DATA(ld_titel_text) | = ' '. | |||
Search for further information about these or an SAP related objects