Create and Approve leave's either using BAPI or IDoc
My requirment is to create a leave from my JSP in to SAP(Employee Login), then there will be a approval process where in my manger will approve the leave from his JSP(Manager login).
Approach 1: If I use BAPI for this approach what are the BAPI's that I can use? I have found the below BAPI's out of which 1&2's documentation say " Using these APIs can create inconsistencies in time data.Instead, use the corresponding API Methods "ManageDelete," "ManageCreation," and "ManageChange" for the Business Object BUS7007"
Approach 2: If I use IDoc what are the Idoc types and process codes for Create and Approve leave's.
Thanks in Advance,
Edited by: Suma B on Sep 16, 2008 4:16 PM