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

How to Generate a Notification when any Business Partner/Vendor/Customer is changed in SAP S/4HANA

Introduction

In SAP S/4 HANA there are some major change in Simplification. Simplification means getting rid of Redundant Functionality. One of this is the Introduction of Business Partner as Vendor/Customer/Employee. The below blog helps in Generating a Notification when any Business Partner/Vendor/Customer Is changed in SAP S/4HANA

 

Solution

Please go to Transaction Code BP and the search for any BP and follow the below steps in GOS

We get the Business Object of the Business Partner

Now let us go to Transaction Code PFTC to create a Workflow Template

Enter a Name for the Workflow Object starting with Z or Y  as it is custom

Now create a Container Element BP Referencing Business Object

Select Import and Export Flag

Now maintain the Entries below

Now maintain the Event Linkage

Now Activate the Event Linkage

Click on Workflow Builder

Now we right Click and create the Step

Double Click on Send Mail Step

Provide the below information as mentioned below

Provide the email address. I have hardcoded here for simplicity. Ideally you should define a Container element that will be populated programmatically

Now activate the Workflow Template

Now let us test it. We are making a change in the description.

Now let us check the Workflow Overview by following the below step.

Here is Workflow Log

 

Conclusion

 

This Tutorial can only be used for SAP S/4HANA. The concept can be used for other Business Process Also.

 

Below is the video version for Generating Notification for Business Partner Change

Below is the video version for Generating Notification for Purchase Order Change

Below is the video version for SAP Filter Change for Business Partner Notification

Assigned Tags

      18 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Syambabu Allu
      Syambabu Allu

      Good blog.Thanks for sharing.

      Thank you,

      Syam

      Author's profile photo Michael Mulder
      Michael Mulder

      This could be a terrible question, but how do cloud customers get to the first screen where they can enter a transaction code? Enjoyed the post and videos.  Thanks for posting them.

      Michael

      Author's profile photo Jelena Perfiljeva
      Jelena Perfiljeva

      It's not necessary to use the first transaction. The author simply uses it because it's their way of finding business object ID. It's not a required step.

      This blog is, essentially, about configuring a workflow. In S/4 Cloud, you'd use an app for managing workflows. Refer to this blog for additional information: https://blogs.sap.com/2019/08/15/workflow-in-s4hana-public-cloud-and-on-premise/

      You should be able to just search for the business object ID from the workflow app.

      Author's profile photo Michael Mulder
      Michael Mulder

      Thanks Jelena

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

      No Question is Terrible My Friend. I think you might use the SAP Fiori App to go the BP Transaction code.

       

      Thanks

      Arghadip

      Author's profile photo Michael Mulder
      Michael Mulder

      Thanks Arghadip

      Author's profile photo Michael Smith
      Michael Smith

      It is good transaction code for Business.

      Author's profile photo V S N Satyendra Kumar Mittapalli
      V S N Satyendra Kumar Mittapalli

      Thanks for sharing !!! Very useful content.

      Author's profile photo dinesh k
      dinesh k

      Thanks for sharing Arghadip, Just a question... If we have to do the same thing in flexible workflows... how do we approach to it as there is no mail step in the workflow scenario.?

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

      You can build your own Workflow Scenario adding any number of steps.

      Author's profile photo dinesh k
      dinesh k

      sorry, may be i was not very clear... we can build a custom scenario.. but there is no 'Email' step available in flexible workflow scenario at all..wondering what would be the solution here....

      Author's profile photo Navdeep Kanwar
      Navdeep Kanwar

      Nice blog..

      Author's profile photo Saravanan Bheema Rajan
      Saravanan Bheema Rajan

      Nice blog!

      Quick question : will the workflow still be triggered even if the BP is created or changed via a report? Or, this solution holds good only if there is a change in dialog mode?

       

      Thanks,

      Vel

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

      Any Change will trigger unless you put some Filters

      Author's profile photo Stéphane Bailleul
      Stéphane Bailleul

      Hi,

      This is possible because the changed event already exist.

      Otherwise it could be made.

      If you don't want to have the event triggered you can 'filter' it with the transaction SWEC where you have all the fields of the change document available with the old and new value.

      This approach prevents the event from being triggered rather than filtering at the workflow.

       

      Both are correct but if you don"t need the event then why not stopping it from occuring

      on the otherside you might want to triggered different workflow  based on the same event with filter in the event.

      Or you can even mixt the solution, having a filter in SWEC and then filtering again in the header of the workflow template.

      But here I am not seing anything special from the ECC solution, everything already existed (even before ECC except the BP as vendor or customer), but the technical side was already there so the SAP S4/hana in the title is a little misleading the reader into believing this was not possible before.

      Cheers,

      Author's profile photo Casper Ndhlovu
      Casper Ndhlovu

      Thanks Arghadip for sharing

      Quick question - is it possible to add filters for the BP Change workflow, for example, specifying a combination of specific company codes and purchasing organisations assigned to the BP?

      Thank you.

      Author's profile photo Ahmed Ismail
      Ahmed Ismail

      thank you brother, for sharing.

      Author's profile photo Kristin Riedel
      Kristin Riedel

      Hello thanks for sharing, very usefull. How could that work together with Transactions FK09 and FD09? So when you have specific sensitive fields in special account groups which need to have the doublecheck? How can you trigger one mail if there is a todo in FK09/FD09?

      thanks a lot