cancel
Showing results for 
Search instead for 
Did you mean: 

How to create event

Former Member
0 Kudos

HI,

I am trying to trigger a workflow whenever a contract is created against the Requisition.

I put the trace on(SWELS) and created a contract and got BOR object FREBUS2012 and Event CREATED.

But when i am using this BOR object and Event in the start event of workflow and creating a contract it is not triggering the workflow. But workflow is getting trigered whenever i am creating PO.

When i am tracing PO creation in SWELS i am getting same BOR object and same event.

Can anyone help me with that how can i create release strategy for Contract or how can i create "CREATE" event for BOR ZBUS2014 which is the copy of BUS2014(Contract) and does not have "CREATE" event.

Can you explain me also what is release strategy. I have no idea what is that for and how it is helpful in Workflow.

Any help would be appreciated.

Thanks in Advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can anyone help me with that how can i create release strategy for Contract or how can i create "CREATE" event for BOR ZBUS2014 which is the copy of BUS2014(Contract) and does not have "CREATE" event.

You don't see the created event in ZBUS2014 because you have not delegated it. Delegation means whenever created event of BUS2014 gets triggered your BO ZBUS2014 which has been delegated to BUS2014 will be called. After delegating the BO in workflow you can refer to BUS2014 wherever required instead of giving as ZBUS2014.

Steps for delegation

1. Go to SWO1 tcode

2. Enter the BO name as ZBUS2014. Click settings - delegate.

3. Click new entries. You will find three fields there.

Give Object type as BUS2014. Person responsible as your userid. Delegation type as ZBUS2014 and save this entry.

KR,

Bharath

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Please refer the below link about release strategy.

[Release strategy - Basic Concept|http://www.sapstudymaterials.com/2008/08/purchase-requisition-pr-release.html]

[Release strategy - stepwise |http://www.scribd.com/doc/548510/SAP-Release-Strategy]

KR,

Bharath

Former Member
0 Kudos

Hi,

Did you activate the linkage for BOR object FREBUS2012 and Event CREATED in Workflow?

In tcode SWO1 > Settings > Delegate you can create a subtype for BO BUS2014 and then you can create the Event.

Regards,

Former Member
0 Kudos

After the purchasing document created / changed and even during the post -> there are user exits and BADIs using which you can create your desired event. Since you are saying that it is created against Purchase requisitions - u may try using the user exit EXIT_SAPMM06E_020 or look at enhancement spot ES_SAPMM06E.

Speak to your senior consultant or functional folks aligned for it on getting more information around release strategy - it is the process / strategy of getting approved / released for its functional usage for further processing... There are set of steps that it need to go through. Also read out the documentation for further help on release strategy.

Regards

Anjaiah