Trigger workflow when a material is created in SAP.

By Cold Coffee For more SAP tutorials, go to www.abapguides.blogspot.com
This document show s step by step proce ss for the creation of workflow, which is triggered whenever a material is created in SAP thru MM01 Tcode and sends an message to relevant Person .

BUSINESS OBJECT / EVENT USED: BUS1001006 Event used is CREATED

WORK FLOW CREATION STEPS
Go to transaction SWDD. Create a new workflow and save it under your package.

Click on the Ba sics Data button or pre ss Ctrl -f8 and enter the work flow starting event.

We want the work flow to start on ‘CREATED’ event of BUS 1001006 BO. Acti vate the triggering event. It will be done thru a Customizing Request.

Click on agent assignment button and assign ta sk a s General Task

Add a mail step.

Go to SWEC tcode.Click on new entries and link your workflow event to change document object MATERI AL on ‘ON CREATE’.

Now test your workflow ,it will trigger whenever a new MATERIAL is created.