on 2007 Jul 31 10:32 AM
Hi Experts,
Im New to workflow.
Im going to trigger the work flow when purchase order is created. But in my version[4.7] there is no Event for "Create"[BUS2012].
So I need to create one Event like "Create". What are the steps are involved for Creating Events.
Thanks,
Points will be Rewarded for all Helpfull answers.
Hi,
Yes, you need to create a new Event 'Created'. FYI all the event names will be in the past tense. Method names will be Verbs.
Create a new sub type, create event, attach Sub Type to the Main Object Type.
Rgds,
AK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hii Vijji,
You have to create an event using "SWE_EVENT_CREATE".
You need to provide appropiate parameters..
Also you can use class CL_SWF_EVT_EVENT.
Hope you are aware that you need to create a z-object for this, then you extend it.
And also create the z-object as subtype of standard BO, and make the delegation(this will help to access the extended methods and events of z-object accessible in standard)
Hope it helps you..........
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Events don't have any code, neither SAP-code or customer code. This is only natural, as the BOR object can't know who will be receiving (processing) the event, and thus can not perform any coding.
Events can take parameters, so you can pass additional data to the event receiver, e.g. who caused the event to be created or a release code in the case of a release event.
Hi viji
Create a zobject for purchase order using bus2012 as the parent type and then create an event by right clicking on the events in tx SWo1.
You will have to program the event create for this zobject.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vijji........
Jsu go through it may help........
http://help.sap.com/saphelp_nw70/helpdata/en/c5/e4aec8453d11d189430000e829fbbd/frameset.htm.
if useful, reward points,
Regards,
Bhaksar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.