Dear Experts,
One of our customers request for development to send a mail behind the Forward button in purchase orders/purchase requisitions. As you know, in the standard application, the following screen is displayed behind the forward button.
In this case, I want to share with you how to develop approval buttons (e.g. Approve/Reject/Forward) in Purchase Orders Approval. In case of need, you can switch the buttons off / on or interfere with back operations.
First, we copy the standard application and upload it to WEBIDE.
Next step, we add the code below to the top of “onInit”. (the all of code is shared below) In this case, the Approve, Reject and Forward buttons will be manually generated below. At the same time, we can remove the wanted button. Now we can develop for these buttons.
Next step, Instead of the “handleForward” function used by the Forward button, we write the “sentMail“ function and we use the “sentMail“ function below.
We are developing to open mail screen in “sendMail” function and add PO number as text.
I definitely recommend cleaning the cache in the Fiori system after the process is completed and deployed. I share methods to clear cache.
Now we can send PO number using Forward button.
You can get the complete code from the link below
Yazar: S4C
In this article, I will tell you how to get information via e-mail when the tasks or processes created by SAP Cloud Platform Integration for Data...
What is SAP Integrated Business Planning (IBP)? SAP Integrated Business Planning (IBP) represents a cloud-based solution for inventory and demand...
Digital revolution has transformed our lives and economic behaviours. Nowadays, all major segments, and all corporations of any size that are...
Mailiniz başarıyla gönderilmiştir en kısa sürede sizinle iletişime geçilecektir.
Mesajınız ulaştırılamadı! Lütfen daha sonra tekrar deneyin.