I have to create a custom program that will cycle through all unapproved shopping cart work items performing the following actions:
1.For work items that have not been approved after 15 days since the cart was submitted generate an email reminder to both the requestor and the approver(s).
2.For work items that remain unapproved after 20 days reject the work item.
I have got mail format also to be sent both to approver and requester having shopping cart details.I am confused how we can do this in custom program.
How to accomplish thsi task.
There are several ways to implement it.
1. Notification email
A. by standard escalation function in SAP Business Workflow
B. by deadline monitoring function in SAP Business Workflow
C. by Alert
D. by custom program. Reference programs are RSWUWFMLEC or RBBP_NOTIFICATION_OFFAPP and SWI1 transaction.
2. Automatic reject
E. by modeled deadline monitoring
F. by custom program with SWW_WI* function modules and BBP_PD_SC_STATUS_* function modules.