100% found this document useful (1 vote)
357 views6 pages

Trigger Workflow Vendor

This document provides steps to create a workflow in SAP that is triggered whenever a vendor is changed. It involves creating a custom business object called Z_VENDOR that inherits attributes from the standard LFA1 vendor object and adds a "CHANGED" event. The workflow is configured to start on the "CHANGED" event of the Z_VENDOR object and sends an email notification. Testing confirms the workflow runs whenever a vendor is changed in transaction XK02.

Uploaded by

kemal_r2601
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
357 views6 pages

Trigger Workflow Vendor

This document provides steps to create a workflow in SAP that is triggered whenever a vendor is changed. It involves creating a custom business object called Z_VENDOR that inherits attributes from the standard LFA1 vendor object and adds a "CHANGED" event. The workflow is configured to start on the "CHANGED" event of the Z_VENDOR object and sends an email notification. Testing confirms the workflow runs whenever a vendor is changed in transaction XK02.

Uploaded by

kemal_r2601
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Trigger workflow when a vendor is changed in SAP.

By Cold Coffee For more SAP tutorials, go to www.abapguides.blogspot.com


This document show s step by step proce ss for the creation of workflow, which is triggered whenever a vendor is changed in SAP thru XK02 Tcode and sends an message to relevant Person.

BUSINESS OBJECT / EVENT USED: Custom BO / event will be because LFA1 Business Object does not have a Changed Event. So we first create a new BO which is a subtype of LFA1 thru delegation concept. Thru SWO1 tcode ,we have made a new BO Z_VENDOR which inherits all Attributes and methods of LFA1.In this custom BO,We have added a new event CHANGED

No Standard CHANGED EVENT

WORK FLOW CREATION STEPS


Go to transaction SWDD. Create a new workflow and save it under your package.

Click on the Ba sics Data button or pre ss Ctrl -f8 and enter the work flow starting event.

We want the work flow to start on CHANGED event of Z_VENDOR BO. Acti vate the triggering event. It will be done thru a Customizing Request.

Click on agent assignment button and assign ta sk a s General Task

Add a mail step.

Go to SWEC tcode.Click on new entries and link your workflow event to change document object KRED on ON CREATE.

Now test your workflow ,it will trigger whenever a new vendor is changed.

You might also like