Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

Trigger workflow NOT from events in 'start event'

$
0
0

Dear Experts,

 

I have a Z*FM which actually creates an Idoc. This Z*Fm is called inside a ZBOR object method say z_method().

 

This ZBOR object & method is called inside the workflow @ step/task level.

 

At the workflow header level, I mentioned some std events which trigger this workflow using std event listeners which get triggered upon entry of a tcode.

 

This is all working fine. But the problem is every time if someone uses the tcode, this workflow is called and eventually Idocs are getting created.

Now I am planning to remove the std event listener and trigger the workflow from my Z*FM using the FM:SWE_EVENT_CREATE .

 

But how do I trigger the workflow? how do I trigger the Z*BOR object?

 

Pls suggest


Viewing all articles
Browse latest Browse all 3160

Trending Articles