SAP BBP_PDH_WFL_RESTART_AND_PARK Function Module for
BBP_PDH_WFL_RESTART_AND_PARK is a standard bbp pdh wfl restart and park 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 pdh wfl restart and park FM, simply by entering the name BBP_PDH_WFL_RESTART_AND_PARK 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: 1

Function BBP_PDH_WFL_RESTART_AND_PARK 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_PDH_WFL_RESTART_AND_PARK'".
EXPORTING
IV_OBJECT_TYPE = "
* IV_OBJECT_ID_SC = "
* IV_DB_TASK = "
IV_DB_WORKITEM_ID = "
* IV_BUF_TASK = "
* IV_BUF_WORKITEM_ID = "
* IV_COND_TASK = "
* IV_GUID = "
* IV_USER = "
TABLES
* IT_REVIEWER = "
* IT_APPROVER = "
* IT_VIRTUAL_NODES = "
* IT_ITEM_APPROVAL_OBJ = "
IMPORTING Parameters details for BBP_PDH_WFL_RESTART_AND_PARK
IV_OBJECT_TYPE -
Data type: CRMD_ORDERADM_H-OBJECT_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
IV_OBJECT_ID_SC -
Data type: CRMD_ORDERADM_H-OBJECT_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DB_TASK -
Data type: SWD_STEP_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DB_WORKITEM_ID -
Data type: SWR_STRUCT-WORKITEMIDOptional: No
Call by Reference: No ( called with pass by value option)
IV_BUF_TASK -
Data type: SWD_STEP_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_BUF_WORKITEM_ID -
Data type: SWR_STRUCT-WORKITEMIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_COND_TASK -
Data type: SWD_STEP_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_GUID -
Data type: BBP_GUID_32Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_USER -
Data type: SYST-UNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BBP_PDH_WFL_RESTART_AND_PARK
IT_REVIEWER -
Data type: BBP_S_REVIEWEROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_APPROVER -
Data type: BBP_S_APPROVEROptional: Yes
Call by Reference: Yes
IT_VIRTUAL_NODES -
Data type: BBPS_WFL_VIRTUAL_NODESOptional: Yes
Call by Reference: Yes
IT_ITEM_APPROVAL_OBJ -
Data type: BBPS_WFL_ITEM_APPROVAL_OBJOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BBP_PDH_WFL_RESTART_AND_PARK 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: | ||||
| lt_it_reviewer | TYPE STANDARD TABLE OF BBP_S_REVIEWER, " | |||
| lv_iv_object_type | TYPE CRMD_ORDERADM_H-OBJECT_TYPE, " | |||
| lt_it_approver | TYPE STANDARD TABLE OF BBP_S_APPROVER, " | |||
| lv_iv_object_id_sc | TYPE CRMD_ORDERADM_H-OBJECT_ID, " | |||
| lv_iv_db_task | TYPE SWD_STEP_T, " | |||
| lt_it_virtual_nodes | TYPE STANDARD TABLE OF BBPS_WFL_VIRTUAL_NODES, " | |||
| lv_iv_db_workitem_id | TYPE SWR_STRUCT-WORKITEMID, " | |||
| lt_it_item_approval_obj | TYPE STANDARD TABLE OF BBPS_WFL_ITEM_APPROVAL_OBJ, " | |||
| lv_iv_buf_task | TYPE SWD_STEP_T, " | |||
| lv_iv_buf_workitem_id | TYPE SWR_STRUCT-WORKITEMID, " | |||
| lv_iv_cond_task | TYPE SWD_STEP_T, " | |||
| lv_iv_guid | TYPE BBP_GUID_32, " | |||
| lv_iv_user | TYPE SYST-UNAME. " |
|   CALL FUNCTION 'BBP_PDH_WFL_RESTART_AND_PARK' " |
| EXPORTING | ||
| IV_OBJECT_TYPE | = lv_iv_object_type | |
| IV_OBJECT_ID_SC | = lv_iv_object_id_sc | |
| IV_DB_TASK | = lv_iv_db_task | |
| IV_DB_WORKITEM_ID | = lv_iv_db_workitem_id | |
| IV_BUF_TASK | = lv_iv_buf_task | |
| IV_BUF_WORKITEM_ID | = lv_iv_buf_workitem_id | |
| IV_COND_TASK | = lv_iv_cond_task | |
| IV_GUID | = lv_iv_guid | |
| IV_USER | = lv_iv_user | |
| TABLES | ||
| IT_REVIEWER | = lt_it_reviewer | |
| IT_APPROVER | = lt_it_approver | |
| IT_VIRTUAL_NODES | = lt_it_virtual_nodes | |
| IT_ITEM_APPROVAL_OBJ | = lt_it_item_approval_obj | |
| . " BBP_PDH_WFL_RESTART_AND_PARK | ||
ABAP code using 7.40 inline data declarations to call FM BBP_PDH_WFL_RESTART_AND_PARK
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 OBJECT_ID FROM CRMD_ORDERADM_H INTO @DATA(ld_iv_object_id_sc). | ||||
| "SELECT single WORKITEMID FROM SWR_STRUCT INTO @DATA(ld_iv_db_workitem_id). | ||||
| "SELECT single WORKITEMID FROM SWR_STRUCT INTO @DATA(ld_iv_buf_workitem_id). | ||||
| "SELECT single UNAME FROM SYST INTO @DATA(ld_iv_user). | ||||
Search for further information about these or an SAP related objects