Show TOC

 Workflow: Manual Further Processing of a Purchase Requisition

Use

This workflow is started if a high-priority purchase requisition (PReq) is created or changed. If the PReq is subject to a release procedure, the workflow is not triggered until the PReq is released.

In the context of this workflow, a PReq is classed as “high priority” if at least one PReq item is defined (in Customizing for prioritized materials planning) for subsequent processing online, and if no PReq items are to be further processed automatically (compare Workflow: Automatic Further Processing of a Purchase Requisition ). The determining factor is the requirement priority of the purchase requisition item.

Work item recipients are derived from the MRP controllers in the material master for the requested materials and are determined on the basis of the responsibility rule 11200019. The workflow recipients receive a notification that they can use to call up the PReq online for further manual processing.

The workflow is closed when the work item is expressly completed for online processing.

Features

Technical Data

Workflow Template

WS11200004

Abbr.

MM001PReqMan

Name

PReq Workflow: Manual Further Processing

Triggering Event

BUS1230: HighPrioItemCreated_01

Terminating Event

-

Workflow Standard Task

TS11200116

Abbr.

MM001GetUser

Name

Get User for PRPL Data

BOR Object Type

BUS1230

Method

GETPRPLUSER

Type

Synchronous object method WITHOUT dialog (background processing)

Confirm End of Processing

No

Agent

Workflow batch user

Terminating Event

-

Workflow Standard Task

TS11200115

Abbr.

MM001PRIOPL

Name

Manual Prioritized Materials Planning

BOR Object Type

BUS1230

Method

PRIOPLANDIALOG

Type

Synchronous object method with dialog

Confirm End of Processing

Yes

Agent (Agent Type: Expression)

&PRPLUSERDISPOTAB[&_WF_PARFOREACH_INDEX&].ACTOR&

(All users who are determined as MRP controllers for the PReq to be processed, on the basis of the responsibility rule 11200019)

Terminating Event

-

Activities

Customizing: Activate Event Type Linkage

Call up the event type linkage (standard transaction PFWS) and activate the following events:

Events

Object Category

Object Type

Event

Receiver Type

Type Linkage

BOR Object Type

BUS1230

HIGHPRIOITEMCREATED_01

WS11200004

X

Customizing: Assign Agent

Agents are assigned in transaction PFAC, rule 11200019. The rule is a responsibility rule with the input parameters MRP Controller and Plant .

Accordingly, responsibilities can be created with different MRP controller/plant combinations and the required priority. The values for the MRP controller must match those of the MRP controller stored in the material master for the materials that are procured by means of a purchase requisition.

Enter the receiving plant of the purchase requisition item as the plant.

You have to assign agents for each responsibility created. You can insert positions, persons, and/or users. We recommend you avoid creating overlaps. For example, if you assign a user for a responsibility both directly and through a position, the user receives two identical work items.

To ensure that in each case at least one user receives a work item when a high-priority PReq is created/changed/released, create the following generic responsibility with the lowest priority 01:

Responsibilities

Name

of

to

MRP Controller

*

*

Plant

*

*

If the program logic cannot determine a user as the work item recipient for the MRP controller/plant combination(s) specified by the PReq, use the agent assignment function to insert for this responsibility the user who is to receive a notification.

TS11200115 MM001PRIOPL Manual Prioritized Materials Planning

The agent assignment is carried out directly for the standard task. Examples of agent types include organizational unit, position, and user. Classify this task as a general task.

General tasks do not have to be assigned agents, since all users are allowed to perform them. The agent is determined on the basis of the context of the workflow, using the responsibility rule mentioned above.

Additional technical information about the workflow

The workflow is started when event HighPrioItemCreated_01 is triggered explicitly in function module /ISDFPS/WF_PRPL_REQ_POSTED (in accordance with the Customizing settings for prioritized materials planning).

The above function module is called up in method IF_EX_ME_REQ_POSTED~POSTED of the Business Add-In implementation /ISDFPS/REQ_POSTED when purchase requisitions are created/changed/released.