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

  1. Create a custom feeder class inheriting from CL_USMD_CREQUEST_POWL
  2. Create a POWL Application ID using FPB_MAINTAIN_HIER
  3. Create a POWL Type using POWL_TYPE
  4. Map Application ID to POWL Type using POWL_TYPER
  5. Create the POWL Query using POWL_QUERY
  6. Map Application ID to Query using POWL_QUERYR
  7. Create a component configuration for POWL_UI_COMP
  8. 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,
FPB_MAINTAIN_HIER

Personalization Hierarchy / Personalization Application

Create the Mass Approval POWL application ID Z_CREQUEST_MASS_APRVL_POWL

POWL_TYPE

Create POWL type and assign feeder class

Define Z_CREQUEST_POWL_TYPE and link it to ZCL_CREQUEST_MASS_APRVL_POWL

POWL_TYPER

Map Application ID to POWL Type

Assign Z_CREQUEST_MASS_APRVL_POWL to Z_CREQUEST_POWL_TYPE

POWL_QUERY

Create query and set refresh/query parameters

Define Z_CREQUEST_POWL_QUERY, refresh type, and work item selection

POWL_QUERYR

Map Application ID to Query

Assign Z_CREQUEST_MASS_APRVL_POWL to Z_CREQUEST_POWL_QUERY with category USMD_CREQUEST_DEFAULT

SE80

POWL_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

ObjectPurpose
IBO_C_WF_TA_P_SCAssociation of workflow task ID to POWL type
IBO_C_WF_ACCInbox actions configuration
IBO_C_WF_TACStandard completion action for workflow tasks
IBO_C_WF_TTACAllowed 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?

Keywords

SAP MDGMass ApprovalPOWLPersonal Object Worklistworkflow tasksmultiple work itemschange requestapprovalroutine taskscentral governanceSE80FPB_MAINTAIN_HIERPOWL_TYPEPOWL_TYPERPOWL_QUERYPOWL_QUERYRSM30PFCGSE91CL_USMD_CREQUEST_POWLZCL_CREQUEST_MASS_APRVL_POWL