SAP BBP_WFLH_AUTHORISE_FOR_INSERT Function Module for
BBP_WFLH_AUTHORISE_FOR_INSERT is a standard bbp wflh authorise for insert 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 bbp wflh authorise for insert FM, simply by entering the name BBP_WFLH_AUTHORISE_FOR_INSERT into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_WFLH
Program Name: SAPLBBP_WFLH
Main Program: SAPLBBP_WFLH
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BBP_WFLH_AUTHORISE_FOR_INSERT 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 'BBP_WFLH_AUTHORISE_FOR_INSERT'".
EXPORTING
* IV_OBJECT_ID = "
* IV_OBJECT_TYPE = "
* IV_GUID = "
* IV_MAIN_WIID = "
* IV_MAIN_TASK = "
* IV_USER = "
* IV_MODE = "
* IV_SCENARIO = "
* IV_FCODE = "
CHANGING
* EV_ADD_BUTTONS_DISABLED = "
* EV_CHNG_BUTTONS_DISABLED = "
IMPORTING Parameters details for BBP_WFLH_AUTHORISE_FOR_INSERT
IV_OBJECT_ID -
Data type: CRMT_OBJECT_ID_DBOptional: Yes
Call by Reference: Yes
IV_OBJECT_TYPE -
Data type: CRMD_ORDERADM_H-OBJECT_TYPEOptional: Yes
Call by Reference: Yes
IV_GUID -
Data type: BBP_GUID_32Optional: Yes
Call by Reference: Yes
IV_MAIN_WIID -
Data type: SWR_STRUCT-WORKITEMIDOptional: Yes
Call by Reference: Yes
IV_MAIN_TASK -
Data type: SWD_STEP_TOptional: Yes
Call by Reference: Yes
IV_USER -
Data type: SYST-UNAMEOptional: Yes
Call by Reference: Yes
IV_MODE -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
IV_SCENARIO -
Data type: BBP_SC_SCENARIOOptional: Yes
Call by Reference: Yes
IV_FCODE -
Data type: SYUCOMMOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for BBP_WFLH_AUTHORISE_FOR_INSERT
EV_ADD_BUTTONS_DISABLED -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
EV_CHNG_BUTTONS_DISABLED -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BBP_WFLH_AUTHORISE_FOR_INSERT 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_iv_object_id | TYPE CRMT_OBJECT_ID_DB, " | |||
| lv_ev_add_buttons_disabled | TYPE CHAR1, " | |||
| lv_iv_object_type | TYPE CRMD_ORDERADM_H-OBJECT_TYPE, " | |||
| lv_ev_chng_buttons_disabled | TYPE CHAR1, " | |||
| lv_iv_guid | TYPE BBP_GUID_32, " | |||
| lv_iv_main_wiid | TYPE SWR_STRUCT-WORKITEMID, " | |||
| lv_iv_main_task | TYPE SWD_STEP_T, " | |||
| lv_iv_user | TYPE SYST-UNAME, " | |||
| lv_iv_mode | TYPE CHAR1, " | |||
| lv_iv_scenario | TYPE BBP_SC_SCENARIO, " | |||
| lv_iv_fcode | TYPE SYUCOMM. " |
|   CALL FUNCTION 'BBP_WFLH_AUTHORISE_FOR_INSERT' " |
| EXPORTING | ||
| IV_OBJECT_ID | = lv_iv_object_id | |
| IV_OBJECT_TYPE | = lv_iv_object_type | |
| IV_GUID | = lv_iv_guid | |
| IV_MAIN_WIID | = lv_iv_main_wiid | |
| IV_MAIN_TASK | = lv_iv_main_task | |
| IV_USER | = lv_iv_user | |
| IV_MODE | = lv_iv_mode | |
| IV_SCENARIO | = lv_iv_scenario | |
| IV_FCODE | = lv_iv_fcode | |
| CHANGING | ||
| EV_ADD_BUTTONS_DISABLED | = lv_ev_add_buttons_disabled | |
| EV_CHNG_BUTTONS_DISABLED | = lv_ev_chng_buttons_disabled | |
| . " BBP_WFLH_AUTHORISE_FOR_INSERT | ||
ABAP code using 7.40 inline data declarations to call FM BBP_WFLH_AUTHORISE_FOR_INSERT
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 OBJECT_TYPE FROM CRMD_ORDERADM_H INTO @DATA(ld_iv_object_type). | ||||
| "SELECT single WORKITEMID FROM SWR_STRUCT INTO @DATA(ld_iv_main_wiid). | ||||
| "SELECT single UNAME FROM SYST INTO @DATA(ld_iv_user). | ||||
Search for further information about these or an SAP related objects