SAP BBP_PDH_WFL_DATA_EXPORT Function Module for Export von Daten zur Workflow-Funktionsgruppe









BBP_PDH_WFL_DATA_EXPORT is a standard bbp pdh wfl data export SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Export von Daten zur Workflow-Funktionsgruppe 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 data export FM, simply by entering the name BBP_PDH_WFL_DATA_EXPORT 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_DATA_EXPORT 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_DATA_EXPORT'"Export von Daten zur Workflow-Funktionsgruppe
EXPORTING
* IV_OBJECT_TYPE = "Geschäftsvorgangstyp
* IV_CHECK_STATUS = "Einstelliges Kennzeichen
* IV_REJECT_WI = "Workitem-Kennung
* IV_ITEM_REJECTED = "Einstelliges Kennzeichen
* IV_REQLINE_STATUS = "Status der Bedarfsanforderungszeile
* IV_MODE = "Einstelliges Kennzeichen
* IV_DOC_DELETED = "Einstelliges Kennzeichen
* IV_SCENARIO = "Szenarien in denen der 'ShoppingCart-Create' aufgerufen wird
* IV_PREVIEW_NOT_ACTUAL = "boolsche Variable (X=true, -=false, space=unknown)
* IV_DIALOG_WORKITEM_ID = "Workitem-Kennung
* IV_ACTION_DATE = "Erzeugungsdatum eines Workitem
* IV_OBJECT_ID = "Vorgangsnummer
* IV_ACTION_TIME = "Erzeugungszeit eines Workitem
* IT_REVIEWER = "reviewer table
* IV_BUFFER_WFDKEY = "Key Structure for All Workflow Definition Tables
* IV_BUFFER_TASK = "Task abbreviation
* IV_ACTUAL_NODE_ID = "Node Number
* IT_ADHOC_AGENTS = "adhoc approvers
* IT_VIRTUAL_NODES = "
* IT_STEP_ITEM_APPROVER = "
* IV_INSERT_AGENT_SCENARIO = "Einstelliges Kennzeichen
* IV_WFL_CHANGED = "
* IV_GUID = "Globally Unique Identifier in 32-Char-Darstellung
* IV_USERTYPE = "
* IV_GENERATED_GUID = "
* IT_MAP_APPROVAL = "
* IV_ITEM_GUID = "Globally Unique Identifier
* IS_HEADER = "Schnittstelle Kopf-Daten Einkaufswagen GetDetail-Fall
* IV_UNAME = "R/3-System, Anmeldename des Benutzers
* IV_OBJ_CHANGED = "Einstelliges Kennzeichen
* IV_OKCODE = "Bildschirmbilder, Funktionscode, der PAI ausgelöst hat
* IV_IS_VIEW_ITEM_LEVEL = "Ist wahr wenn Genehmigung für Position nicht für Kopf angezeigt werden soll
.



IMPORTING Parameters details for BBP_PDH_WFL_DATA_EXPORT

IV_OBJECT_TYPE - Geschäftsvorgangstyp

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

IV_CHECK_STATUS - Einstelliges Kennzeichen

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

IV_REJECT_WI - Workitem-Kennung

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

IV_ITEM_REJECTED - Einstelliges Kennzeichen

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

IV_REQLINE_STATUS - Status der Bedarfsanforderungszeile

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

IV_MODE - Einstelliges Kennzeichen

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

IV_DOC_DELETED - Einstelliges Kennzeichen

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

IV_SCENARIO - Szenarien in denen der 'ShoppingCart-Create' aufgerufen wird

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

IV_PREVIEW_NOT_ACTUAL - boolsche Variable (X=true, -=false, space=unknown)

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

IV_DIALOG_WORKITEM_ID - Workitem-Kennung

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

IV_ACTION_DATE - Erzeugungsdatum eines Workitem

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

IV_OBJECT_ID - Vorgangsnummer

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

IV_ACTION_TIME - Erzeugungszeit eines Workitem

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

IT_REVIEWER - reviewer table

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

IV_BUFFER_WFDKEY - Key Structure for All Workflow Definition Tables

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

IV_BUFFER_TASK - Task abbreviation

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

IV_ACTUAL_NODE_ID - Node Number

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

IT_ADHOC_AGENTS - adhoc approvers

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

IT_VIRTUAL_NODES -

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

IT_STEP_ITEM_APPROVER -

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

IV_INSERT_AGENT_SCENARIO - Einstelliges Kennzeichen

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

IV_WFL_CHANGED -

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

IV_GUID - Globally Unique Identifier in 32-Char-Darstellung

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

IV_USERTYPE -

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

IV_GENERATED_GUID -

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

IT_MAP_APPROVAL -

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

IV_ITEM_GUID - Globally Unique Identifier

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

IS_HEADER - Schnittstelle Kopf-Daten Einkaufswagen GetDetail-Fall

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

IV_UNAME - R/3-System, Anmeldename des Benutzers

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

IV_OBJ_CHANGED - Einstelliges Kennzeichen

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

IV_OKCODE - Bildschirmbilder, Funktionscode, der PAI ausgelöst hat

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

IV_IS_VIEW_ITEM_LEVEL - Ist wahr wenn Genehmigung für Position nicht für Kopf angezeigt werden soll

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

Copy and paste ABAP code example for BBP_PDH_WFL_DATA_EXPORT 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_type  TYPE CRMD_ORDERADM_H-OBJECT_TYPE, "   
lv_iv_check_status  TYPE CHAR1, "   
lv_iv_reject_wi  TYPE SWW_WIID, "   
lv_iv_item_rejected  TYPE CHAR1, "   
lv_iv_reqline_status  TYPE EC_STATUS, "   
lv_iv_mode  TYPE CHAR1, "   
lv_iv_doc_deleted  TYPE CHAR1, "   
lv_iv_scenario  TYPE BBP_SC_SCENARIO, "   
lv_iv_preview_not_actual  TYPE BOOLEAN, "   
lv_iv_dialog_workitem_id  TYPE SWW_WIID, "   
lv_iv_action_date  TYPE SWR_WIHDR-WI_CD, "   
lv_iv_object_id  TYPE CRMD_ORDERADM_H-OBJECT_ID, "   
lv_iv_action_time  TYPE SWR_WIHDR-WI_CT, "   
lv_it_reviewer  TYPE BBPT_REVIEWER, "   
lv_iv_buffer_wfdkey  TYPE SWD_WFDKEY, "   
lv_iv_buffer_task  TYPE SWD_STEP_T, "   
lv_iv_actual_node_id  TYPE SWD_NODEID, "   
lv_it_adhoc_agents  TYPE SWDTAPI_AG, "   
lv_it_virtual_nodes  TYPE BBPT_WFL_VIRTUAL_NODES, "   
lv_it_step_item_approver  TYPE BBPT_WFL_UI_ITEM_APPROVER, "   
lv_iv_insert_agent_scenario  TYPE CHAR1, "   
lv_iv_wfl_changed  TYPE CHAR1, "   
lv_iv_guid  TYPE BBP_GUID_32, "   
lv_iv_usertype  TYPE BBP_WFL_USERTYPE, "   
lv_iv_generated_guid  TYPE /SAPSRM/PDO_GENERATED_GUID, "   
lv_it_map_approval  TYPE /SAPSRM/T_PDO_WF_PROC_DETAIL, "   
lv_iv_item_guid  TYPE BBP_GUID, "   
lv_is_header  TYPE BBP_PDS_SC_HEADER_D, "   
lv_iv_uname  TYPE SY-UNAME, "   
lv_iv_obj_changed  TYPE CHAR1, "   
lv_iv_okcode  TYPE SY-UCOMM, "   
lv_iv_is_view_item_level  TYPE BOOLEAN. "   

  CALL FUNCTION 'BBP_PDH_WFL_DATA_EXPORT'  "Export von Daten zur Workflow-Funktionsgruppe
    EXPORTING
         IV_OBJECT_TYPE = lv_iv_object_type
         IV_CHECK_STATUS = lv_iv_check_status
         IV_REJECT_WI = lv_iv_reject_wi
         IV_ITEM_REJECTED = lv_iv_item_rejected
         IV_REQLINE_STATUS = lv_iv_reqline_status
         IV_MODE = lv_iv_mode
         IV_DOC_DELETED = lv_iv_doc_deleted
         IV_SCENARIO = lv_iv_scenario
         IV_PREVIEW_NOT_ACTUAL = lv_iv_preview_not_actual
         IV_DIALOG_WORKITEM_ID = lv_iv_dialog_workitem_id
         IV_ACTION_DATE = lv_iv_action_date
         IV_OBJECT_ID = lv_iv_object_id
         IV_ACTION_TIME = lv_iv_action_time
         IT_REVIEWER = lv_it_reviewer
         IV_BUFFER_WFDKEY = lv_iv_buffer_wfdkey
         IV_BUFFER_TASK = lv_iv_buffer_task
         IV_ACTUAL_NODE_ID = lv_iv_actual_node_id
         IT_ADHOC_AGENTS = lv_it_adhoc_agents
         IT_VIRTUAL_NODES = lv_it_virtual_nodes
         IT_STEP_ITEM_APPROVER = lv_it_step_item_approver
         IV_INSERT_AGENT_SCENARIO = lv_iv_insert_agent_scenario
         IV_WFL_CHANGED = lv_iv_wfl_changed
         IV_GUID = lv_iv_guid
         IV_USERTYPE = lv_iv_usertype
         IV_GENERATED_GUID = lv_iv_generated_guid
         IT_MAP_APPROVAL = lv_it_map_approval
         IV_ITEM_GUID = lv_iv_item_guid
         IS_HEADER = lv_is_header
         IV_UNAME = lv_iv_uname
         IV_OBJ_CHANGED = lv_iv_obj_changed
         IV_OKCODE = lv_iv_okcode
         IV_IS_VIEW_ITEM_LEVEL = lv_iv_is_view_item_level
. " BBP_PDH_WFL_DATA_EXPORT




ABAP code using 7.40 inline data declarations to call FM BBP_PDH_WFL_DATA_EXPORT

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 WI_CD FROM SWR_WIHDR INTO @DATA(ld_iv_action_date).
 
"SELECT single OBJECT_ID FROM CRMD_ORDERADM_H INTO @DATA(ld_iv_object_id).
 
"SELECT single WI_CT FROM SWR_WIHDR INTO @DATA(ld_iv_action_time).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single UNAME FROM SY INTO @DATA(ld_iv_uname).
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_iv_okcode).
 
 


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!