Technical Articles
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
Good blog.Thanks for sharing.
Thank you,
Syam
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
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.
Thanks Jelena
No Question is Terrible My Friend. I think you might use the SAP Fiori App to go the BP Transaction code.
Thanks
Arghadip
Thanks Arghadip
It is good transaction code for Business.
Thanks for sharing !!! Very useful content.
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.?
You can build your own Workflow Scenario adding any number of steps.
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....
Nice blog..
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
Any Change will trigger unless you put some Filters
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,
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.
thank you brother, for sharing.
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