2023 Oct 17 5:55 AM
How to create a email notification program for PO data i.e. purchasing doc ,item, delivery date, quantity. which has delivery due date for 5 days(ex: if date we selected 4th of august it should select data upto 5 days till 8th august)
In those 5 days it should select valid PO's which ASN not confirmed
can you please help me with code . thank you
2023 Oct 17 7:21 AM
You create a program that get all the corresponding PO
You loop on this PO
> You get the needed detail
> You call a smartforms build for the email layout
> You convert the smartforms in HTML
> You use class CL_BCS to send the smartforms by email
2023 Oct 17 9:08 AM
Hello karthikreddy8174
karthikreddy8174Actually you don't need to implement anything custom. You can use ME2V "Goods Receipt Forecast". You can schedule it as a periodic background job and distribute its results to recipients - see SAP Help Scheduling Background Jobs, procedure point 5:
If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
Best regards
Dominik Tylczynski