Skip to Content
Technical Articles
Author's profile photo arghadip kar

Automate Master Data Vendor Extension Process to Purchase Organization with Approval Workflow

Introduction

In every Project or Customer you worked for, you will have the scenario where some Master Data will not be extended to Company Code/Purchase organization and in those scenarios you have to send an email to that Team and wait when this will get extended so that you can create your Business Document. In this Blog we are considering a case where a Vendor/Supplier is not extended to a Purchase Organization. We will show how we can create a Simple Workflow for the Approval of this Master Data Extension and it is Auditable as everything is inside SAP. This will help you achieve the following Business Goals

  1. The Task is assigned to the correct Team for Review.
  2. SAP Workflow is Auditable so we can check who Approved or Rejected this Request.
  3. We can implement Deadline process so that it gets taken care within the right time.
  4. If there is something that can be automated without Approval those steps can be achieved. Imagine the Company Code Extension to G/L account should be automated without Approval
  5. Sky is the Limit with this concept start using these feature for all the important message and stop working on email and then SAPĀ  and work only inside SAP. For sure you will save a lot of clicks and Emails.

 

Solution

Login to SAP. Go to Transaction Code ME21N and try to create a Purchase order for Vendor/Supplier which is not extended to a Purchase Organization. Below is the Example.

Click on Help

Now click on Technical Information

Note down the Message Area and NumberĀ  : MARKER A

Now go to Transaction Code SWUY

Please Click Continue

Mention the Message Area and Number we got from the MARKER A

Now Click Continue.

Now Click Continue

After Enter the Work item Text we will save it. Work item text helps to identify Workflow Instance for a Particular Master Data

Now select Workflow Builder

Now right Click on the Design and Select Create

Select User Decision Task

Please provide the details below and hit the green icon

Now Click on Activate Workflow Template.

Now we go to ME21N Transaction code and we got the Same Error and we click on Help.

 

Now click on Workflow

Wala the Workflow is triggered and ideally this should be sent to the Master Data Team.

Conclusion

This can be used for both SAP ECC and SAP S/4HANA

 

Below is the video version

 

 

How to Embed Hyperlink while Displaying Message in ABAP with Parameters?

 

 

 

 

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Cristiano Charro
      Cristiano Charro

      Hello Arghadip Kar.

       

      Once again great blog!

       

      I just build the WF in the exactly same way. However when creating the purchase order , on the error message, I don't have any WF .

       

      Any idea why?

       

      Thanks!!

       

      Author's profile photo arghadip kar
      arghadip kar
      Blog Post Author

      Did you save the Workflow Template? It may happen that the message fired is different. Please note that the Workflow Template is tied to that message.

      Author's profile photo Cristiano Charro
      Cristiano Charro

      Yes I save , and the message is the same in this case