Hi,
I am new to workflow and developing a leave request custom workflow. I have a requirement for auto approval of leave for certain employees. For the same purpose I am using standard FM 'PT_ARQ_REQUEST_EXECUTE' to approve the leave and the standard program 'rptarqpost', which posts the approved leave to DB. I created a method in my Z business object, which calls the FM and the program.
But the problem is, when the program is called through the WF, it takes lot of time to update the DB. If executed manually, it posts the leaves immediately. The requirement is to update the DB immediately.
Please guide me and let me know how to go about.
Thanks and Best Regards,
Sagar