SAP BBP_PDH_WFL_APPROVER_REPLACE Function Module for Ändert den Genehmigenden im Genehmigungsschritt









BBP_PDH_WFL_APPROVER_REPLACE is a standard bbp pdh wfl approver replace SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Ändert den Genehmigenden im Genehmigungsschritt 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 bbp pdh wfl approver replace FM, simply by entering the name BBP_PDH_WFL_APPROVER_REPLACE into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_PDH_WFL
Program Name: SAPLBBP_PDH_WFL
Main Program: SAPLBBP_PDH_WFL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BBP_PDH_WFL_APPROVER_REPLACE 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_APPROVER_REPLACE'"Ändert den Genehmigenden im Genehmigungsschritt
EXPORTING
* IV_WORKITEM_ID = "Workitem von DB-Workflow
* IV_TASK = "Buffer WF
IV_NODE_ID = "Knotennummer
IT_INSERT_AGENT = "Adhoc-Beabeiter: Liste technischer und ausführlicher Namen

IMPORTING
EV_BUFFER_TASK = "Aufgabenkürzel

TABLES
CT_STEP_ITEM_APPROVER = "Struktur für die Ablage der Genehmiger
.



IMPORTING Parameters details for BBP_PDH_WFL_APPROVER_REPLACE

IV_WORKITEM_ID - Workitem von DB-Workflow

Data type: SWW_WIID
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_TASK - Buffer WF

Data type: SWD_STEP_T
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_NODE_ID - Knotennummer

Data type: SWD_API_TS-NODE_ID
Optional: No
Call by Reference: No ( called with pass by value option)

IT_INSERT_AGENT - Adhoc-Beabeiter: Liste technischer und ausführlicher Namen

Data type: SWDTAAGNT
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BBP_PDH_WFL_APPROVER_REPLACE

EV_BUFFER_TASK - Aufgabenkürzel

Data type: SWD_STEP_T
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BBP_PDH_WFL_APPROVER_REPLACE

CT_STEP_ITEM_APPROVER - Struktur für die Ablage der Genehmiger

Data type: BBPS_WFL_UI_ITEM_APPROVER
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BBP_PDH_WFL_APPROVER_REPLACE 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_ev_buffer_task  TYPE SWD_STEP_T, "   
lv_iv_workitem_id  TYPE SWW_WIID, "   
lt_ct_step_item_approver  TYPE STANDARD TABLE OF BBPS_WFL_UI_ITEM_APPROVER, "   
lv_iv_task  TYPE SWD_STEP_T, "   
lv_iv_node_id  TYPE SWD_API_TS-NODE_ID, "   
lv_it_insert_agent  TYPE SWDTAAGNT. "   

  CALL FUNCTION 'BBP_PDH_WFL_APPROVER_REPLACE'  "Ändert den Genehmigenden im Genehmigungsschritt
    EXPORTING
         IV_WORKITEM_ID = lv_iv_workitem_id
         IV_TASK = lv_iv_task
         IV_NODE_ID = lv_iv_node_id
         IT_INSERT_AGENT = lv_it_insert_agent
    IMPORTING
         EV_BUFFER_TASK = lv_ev_buffer_task
    TABLES
         CT_STEP_ITEM_APPROVER = lt_ct_step_item_approver
. " BBP_PDH_WFL_APPROVER_REPLACE




ABAP code using 7.40 inline data declarations to call FM BBP_PDH_WFL_APPROVER_REPLACE

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 NODE_ID FROM SWD_API_TS INTO @DATA(ld_iv_node_id).
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!