on ‎2008 Mar 06 10:33 PM
Hi,
I am thinking of designing custom Vendor Master Create\Change Approval Workflow. (1) However I did not see any events being triggered in event trace(SWEL) while creating or changing vendor master. could anybody shed me lights on triggering WF using any of methods ( message control, standard tranaction, status management, config or any other methods) for vendor master. (2) Besides, how should I design workflow so user can confirm changes via XK08.
Any hints/ideas are highly appreciated.
Thanks.
Maria
Request clarification before answering.
I feel you can use User Exit to trigger your event. You can also try with status management. Check in OK02 transaction code for this.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maria,
First create an Event in the BOR "KNA1". For this you have to create a subtype and then add your event in the subtype Say your event name is "Save_vendor".
Now Go to SE19 and implement BADI " VENDOR_ADD_DATA". Inside this BADI the Method "SAVE_DATA",explicitly trigger the event say(Save_vendor") in which you have created in the BOR by using the FM
* CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
* EXPORTING
* OBJECT_TYPE = 'LFA1' "---> this is the BOR Name
* OBJECT_KEY = OBJECT_KEY "--> Keyfield
* EVENT = 'SAVE_VENDOR' "--> Event name
* TABLES
* INPUT_CONTAINER = IT_CONTAINER.
Then automatically the WF which is linked with the Event will get trigger.... I am sure this will solve you problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this User exits: Vendor master data
SAPMF02K
Or try through
SWUE trx to trigger your Event
Thanks and Regards,
Prabhakar Dharmala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maria,
I would say check for BAdi, I am sure you will get one, then you can use function module SWE_EVENT_CREATE_FOR_UPD_TASK to trigger your custom event.
Hope it will help.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ann Rita Maria
Please check Business Transaction Event for vendor creation.
Regards,
Sagar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.