SAP MDG · WORKFLOWS
How do I implement MDG Mass Approval for multiple workflow items in the inbox?
Implement a custom MDG POWL based on CL_USMD_CREQUEST_POWL, enable multi-selection, map the inbox application/query/type, maintain the inbox customizing tables, and add feeder logic so only selected tasks with identical MDG actions are processed together.
Implement a custom MDG POWL based on CL_USMD_CREQUEST_POWL, enable multi-selection, map the inbox application/query/type, maintain the inbox customizing tables, and add feeder logic so only selected tasks with identical MDG actions are processed together.
MDG Mass Approval is implemented by creating a dedicated POWL inbox that allows checkbox-based multi-selection and then wiring the inbox to MDG workflow tasks and actions. The source guide uses a custom feeder class derived from CL_USMD_CREQUEST_POWL, a POWL application ID, POWL type, query, and inbox customizing so users can select several change requests and trigger one common action for all compatible items.
Process flow
- Create a custom feeder class inheriting from CL_USMD_CREQUEST_POWL
- Create a POWL Application ID using FPB_MAINTAIN_HIER
- Create a POWL Type using POWL_TYPE
- Map Application ID to POWL Type using POWL_TYPER
- Create the POWL Query using POWL_QUERY
- Map Application ID to Query using POWL_QUERYR
- Create a component configuration for POWL_UI_COMP
- Configure multi-selection in the POWL UI context node confData if needed by the UI stack in use','Create a component configuration for IBO_WDC_INBOX','Assign the custom POWL Application ID to node powl','Create an application configuration,
Personalization Hierarchy / Personalization Application
Create the Mass Approval POWL application ID Z_CREQUEST_MASS_APRVL_POWL
Create POWL type and assign feeder class
Define Z_CREQUEST_POWL_TYPE and link it to ZCL_CREQUEST_MASS_APRVL_POWL
Map Application ID to POWL Type
Assign Z_CREQUEST_MASS_APRVL_POWL to Z_CREQUEST_POWL_TYPE
Create query and set refresh/query parameters
Define Z_CREQUEST_POWL_QUERY, refresh type, and work item selection
Map Application ID to Query
Assign Z_CREQUEST_MASS_APRVL_POWL to Z_CREQUEST_POWL_QUERY with category USMD_CREQUEST_DEFAULT
SE80POWL_UI_COMP component configuration
Set selection mode to Multi in confData for non-Fiori UI and configure inbox component usages for IBO_WDC_INBOX and IBO_WDA_INBOX
Referenced tables
| Object | Purpose |
|---|---|
IBO_C_WF_TA_P_SC | Association of workflow task ID to POWL type |
IBO_C_WF_ACC | Inbox actions configuration |
IBO_C_WF_TAC | Standard completion action for workflow tasks |
IBO_C_WF_TTAC | Allowed actions per task |
The remaining configuration, implementation details, and testing guidance continue from this answer more…
Related questions and keywords
Alternative questions
- What is Mass Approval in SAP MDG?
- Why do we need a Mass Approval POWL?
- How can users approve multiple MDG workflow tasks together?,
Possible questions
- What are all steps to implement MDG Mass Approval?
- How do I configure a Mass Approval POWL from start to finish?
- What is the complete MDG multiple work item processing flow?
- Which transactions are required for Mass Approval?
- What configuration and coding are required?