cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Vendor master Workflow

Former Member
0 Likes
1,311

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

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

Answers (4)

Answers (4)

Former Member
0 Likes

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

former_member184112
Active Contributor
0 Likes

Hi,

Check this User exits: Vendor master data

SAPMF02K

Or try through

SWUE trx to trigger your Event

Thanks and Regards,

Prabhakar Dharmala

Former Member
0 Likes

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

SagarSontakke
Active Participant
0 Likes

Hi Ann Rita Maria

Please check Business Transaction Event for vendor creation.

Regards,

Sagar