Skip to Content
Author's profile photo SAP SD S G S

Automatic Generation of PO from SO using Workflow

Hi Experts,


1. Purchasing info record must exist for the material

2. Material Master should have the purchasing tab and MRP 3 Tab


1. Assign PO type for Sales Organization

2. Configure item category

3. Configure schedule line category

4. Configure workflow for PO / PO Change

Step 1:

Assign Purchase Order type for Sales Organization

SPRO –> Enterprise Structure –> Definition –> Sales and Distribution –> Define, copy, delete, check Sales organization –> Order Type as “NB”

Step 2:

Configure Item Category

Sales and Distribution –> Sales –> Sales Documents –> Sales Document Item –> Define Item Categories

Then enable check box Create PO automatic.

Step 3:

Configure schedule line category

Sales and Distribution –> Sales –> Sales Documents –> Schedule Lines –> Define Schedule Line Categories.

PO Type –> NB

Item Category –> 0

Account Assignment Category –> E

Then enable check box for Purchase requisition with delivery scheduling.

Step 4:

Configure workflow for PO / PO Change

SAP Easy Access –> Tools –> Administration –> User Maintenance –> Users

Make sure, SAP delivered standard Workflow User WF-BATCH should have the user category system in the background.

Ensure the following Profiles are maintained:



Create logical destination for tRFC

SPRO –> Net Weaver –> Application server –> Business Management –> SAP Business Workflow –>  Basic Settings (Workflow System) –> Create Logical Destination for tRFC

The system automatically proposes a name for the destination.

Type linkage for automatic creation of a purchase order

In SAP Easy Access screen, Tools –> Business Workflow –> Development  –> Utilities –> Events –> Type Linkages

Then click on new entries and maintain the linkage.

In new entries maintain as follows:

Object category : BO

Object type       : BUS2032

Event                : ALECREATED

Receiver Type    : “–“

Receiver Call     : FM


Linkage Activated: to be checked

Status              : No errors

Type linkage for automatic changes to a purchase order

The only change in receiver FM all the other fields remain the same.


Perform task-specific Customizing

SPRO –> SAP Net Weaver –> Application server –> Business Management –> Perform Task specific Customizing

Assign Agents

Sales and Distribution –> Sales –> Basic Functions –> Assign Agents

Choose the standard tasks Error: Purchase order not created and Error: Purchase order not changed and specify the agent assignment.

Pop up box appears and choose the User and enter the User Name

After agent assignment the users will appear under the standard tasks.

Then activate the event linking

Then Create a Sales Order and save the document.

In change mode check the schedule line to see Purchase Requisition number.

Then check the document flow of Sales Order and you can find the Purchase Order details.

Check the Business Work place for the user to see the workflow triggering details.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Good effort..

      Author's profile photo Former Member
      Former Member


      Really Nice document,Its useful for me.



      Author's profile photo Former Member
      Former Member

      Great Job. Fantastic!!!


      Author's profile photo Former Member
      Former Member

      Excellent document. It helped us to solve one issue 🙂

      Author's profile photo li yonghong
      li yonghong


      very useful document.

      but i am always getting something as below picture.

      some steps needs to add?  

      anyway,  thank you a lot.