cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow trigger

Former Member
0 Kudos

Hi ,

I have a scenerio in workflow. Someone please help me .

I need to trigger a workflow , when ever material classification is created or changed .I need this to be done , only using change pointers.

Someone please help me do this . with the respective steps.

Thanks in advance,

Ramana

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

U can use the change events to trigger a workflow on change or creation of material.

Steps:

Create a workflow template using the business object BUS2032.

You can then specify the event change or create in the basic data tab of thye workflow.

Please get back in case of any further doubts

Regards,

Manish

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ramana,

Use the BO BUS2032,There are events SalesOrder.CREATED,,SalesOrder.CHANGED these

match your requirements.

then go to SWE2 Event Type Linkages.there click on new entries.

in the new entries screen

Here you have to fill the required field.

In the Field u201CEVENTu201D  Give the corresponding event for which you have to trigger the workflow.

In the Field u201CRECEIVER TYPEu201D  Give the workflow template id which you got in the transaction SWDD.

In the Field u201CRECEIVER FUNCTION MODULEu201D Give this function module u201CSWW_WI_CREATE_VIA_EVENT_IBFu201D.

Check the check box u201CLINKAGE ACTIVATEDu201D.

And in Wf designer (SWDD) in the basic data tab you have to give the event name.

Hope it will be helpful to you.

aditya_avadhanula
Participant
0 Kudos

There are several ways to trigger workflow.But in your case i can sujjest two ways

1) through standard events

or

2) through change documents .

for standard events do the following steps .

a) goto txn SWELS and swithch on the event trace

b) execute your scenario i.e material classification change or create .

c) now execute txn SWEL ( you may give your user name in search criteria)

d)in case any event is registered you will get the following info from trace

event name , business object e.g : CREATED , BUS2032

e) create a workflow template using these business object and events

Second way using change documents

a) goto txn SWEC

b) find a relevant change document for your scenario

c) create a custom event for your scenario it can be three types , on change , on create and on delete.

d)use this bo and event to create your wf template

hadiman_ngoei
Participant
0 Kudos

The easiest way to do it is: Activate the Event Trace (trx: SWELS), change the classf. data in the material master and check the trace to find out whether any event is triggered.

Once you have identified which BO(Business Object) and which EVENT, you can create your own Workflow template and link it with the EVENT.

Thanks & regards,

Hadiman