!--a11y-->
Configuring Workflow for Purchase Orders/Purchase Order Changes 
Use
In order that a purchase order is created or can be changed automatically in the sales system, the relevant SAP Business Workflow must be activated.
The business object for the sales order is BUS 2032. The ALE indicator Create purchase order automatically in the item category controls that the
event ALECREATED or ALE CHANGED is triggered.For this event you must have activated the event link to the user function module PUR_ORDER_CREATE_VIA_SD_EVENT or PUR_ORDER_CHANGE_VIA_SD_EVENT.
Procedure

Check the Customizing settings and make any missing standard settings for the SAP Workflow. If you perform automatic Customizing, you do not have to perform step 1 or step 2. Both steps are performed automatically if you have the authorization to create users. In Customizing for Basis choose Business Management ® SAP Business Workflow ® Maintain Standard Settings.
Type linkage for automatic creation of a purchase order
|
Object category |
Event |
Receiver type |
Type linkage activated |
Enable event queue |
Status |
|
BUS2032 |
ALECREATED |
- |
X |
- |
Without errors |
Check the
type linkages on the detail screen. Receiver function module PUR_ORDER_CREATE_VIA_SD_EVENT (create purchase orders from purchase requisition for sales order).Type linkage for automatic changes to a purchase order
|
Object category |
Event |
Receiver type |
Type linkage activated |
Enable event queue |
Status |
|
BUS2032 |
ALECHANGED |
- |
X |
- |
Without errors |
Check the type linkages on the detail screen. Receiver function module: PUR_ORDER_CHANGE_VIA_SD_EVENT (changes a purchase order according to the changes to the sales order).
Under Basic Functions, choose the standard tasks Error: Purchase order not created and Error: Purchase order not changed and specify the agent assignment. If you enter a user here, when errors occur this user receives work items in his/her workflow inbox (transaction SBWP) that allow the user to further analyze the errors. If the user executes the work item, the purchase order creation is called again using the same data. The system usually issues an error message that prevents the user creating or changing the purchase order.
From the SAP Easy Access screen, choose Tools ® Business Workflow ® Development ® Definition Tools ® Tasks/Task Groups ® Display.
Check the following standard tasks:
Standard tasks
|
00008097 Error: Purchase order not created |
00008114 Error: Purchase order not changed |
|
|

If the purchase order is not created automatically, you can also check the following:
See also:
Workflow Scenarios in Applications (BC-BMT-WFM)