SAP ABAP IMG Activity MDG_BADI_DYN_AGT_SEL (BAdI: Dynamic Selection of Agent in Rule-Based Workflow)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-AF (Application Component) Application Framework
     USMD5_SSW (Package) Rule based workflow
IMG Activity
ID MDG_BADI_DYN_AGT_SEL BAdI: Dynamic Selection of Agent in Rule-Based Workflow  
Transaction Code S_BTD_53000194   (empty) 
Created on 20100118    
Customizing Attributes MDG_BADI_DYN_AGT_SEL   BAdI: Select Processor Dynamically in Rule-Based Workflow 
Customizing Activity MDG_BADI_DYN_AGT_SEL   BAdI: Select Processor Dynamically in Rule-Based Workflow 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name USMD_SSW_DYNAMIC_AGENT_SELECT    

Use

This Business Add-In (BAdI) is used in the Master Data Governance (CA-MDG) component.

You can use this BAdI to implement dynamic agent selection in the rule-based workflow. Therefore, in addition to rules that have been predefined, with this BAdI, you can change agent values in the workflow by creating your own programs. This is also true for other values in the workflow, such as the following:

  • Workflow Generic-Context Table
  • Next Change Request Step
  • Next Change Request Status
  • Number of Hours to Expected Completion of the Next User Dialog Task
  • Parallel-Merge Type
  • Parallel-Merge Service Name
  • User Agent(s) and the Non-User Agent(s) of the Next Step

This BAdI uses the method GET_DYNAMIC_AGENTS.

The input for this BAdI is the change request number and the service name. By using the change request number, it is possible to access all data within this change request.

The input parameter Service Name enables you to use the same BAdI implementation for multiple service names. For example, when two service names are used in the configuration of the same change request workflow, and the user wants to create only one BAdI implementation, having the service name as the input parameter enables you to separate the processing logic based on the service name input.

Requirements

You have defined the filter value Service Name in the view V_USMD201C_SSW.

You need to create a separate implementation for your specific dynamic agent selection step.

Standard settings

For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

No default BAdI implementation is preactivated in the standard system.

The BAdI is filter-dependent.

The BAdI is not designed for multiple use.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

See also

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20100121 
SAP Release Created in 702