In this comprehensive guide, you`ll learn more about determining agents in SAP Business Workflow. Explore the types of workflow agents and how each type of agent is defined. Learn how to define agent types in task and workflow definition. Explore workflow rules and clarify the different options for setting rules. Get expert guidance on what agents have for processing work items and how you can support them as a workflow administrator. Run available reports that focus on workflow instance agents and learn how to identify errors, identify areas for improvement, and discover bottlenecks in workflow processes. Learn about agent management best practices and resolve common mistakes. Explore detailed labs that examine rule definitions, modeled timelines, ad hoc agents, and publishing procedures. In this article, I create a rule that finds the supervisor for each user/agent. This information is managed in a custom ZUSERS TABLE. I created a user-defined function module Z_FIND_SUPERIOR that returns me a table with all the parent information for a specific user/agent.
It should be noted that the user-defined function created must have the same interface as that of the standard SAP RH_GET_ACTORS function module. The following table parameters must exist in the user-defined function module. . After the rules are created, you can call those rules in any workflow from the Rules container. A workflow rule is just one of many ways to define an agent, but it deserves its own chapter because there are many ways to define rules. A workflow rule is the most flexible type of definition available. Workflow rules are created using the PFAC transaction. – Basics of SAP Business Workflow agent types and agent determination – Examples of defined rules with responsibilities, ABAP, evaluation paths, organizational data and BRF+ – Agent management and reporting – In-depth workshops in which rule definition, modeled deadlines, ad hoc agents and publishing procedures are reviewed, but when I try to save the rule, the function module ZPMFM001_WF_RULE does not meet the workflow conventions Our Rule now created. You can test the rule in the PFAC transaction by clicking the Simulation button on the application toolbar. Now, this rule can be used in any workflow through the workflow`s rule container.
Workflow rules are used to determine agents in multiple zones. Figure 3.1 shows all the places where a rule can be assigned. A rule can be used to find the responsible agents, both from the task as the default rule (2) and from the workflow in which the primary agent assignment is performed (1). In addition, rules are used to set the default notification recipients (completion, last missed start, etc.) from task (3). Rules can be used in the workflow definition to define the due date and notification agents (4). Finally, a rule can be used to define a workflow-specific administrator. If a workflow administrator is defined in the workflow, the system-defined workflow administrator is replaced. In this blog, I`d like to talk about creating user-defined rules in SAP Workflow. Rules can be created or modified using the standard SAP transaction Author Gretchen Horn holds a bachelor`s degree in management information systems from the University of Houston. She has been working with SAP software since 1996 and works as a materials management expert. In 1998, she became a consultant at N2 Consulting, Inc. to focus on workflow design and development as a technical consultant.
She is SAP Business Workflow certified and founded her own company, JLM Workflow, Inc. in 2009. She is happy to provide on-site advice in Houston, Texas. My function module is ZPMFM001_WF_RULEand in the table settings gaveAC_CONTAINER I LIKE SWCONTACTOR_TAB AS SWHACTOR I tried to create a role for the category: Agent Determination: Function to be performed. Go to the “Containers” tab and create a container element for the agent/user that will be passed to the function module. . . .