Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Create and Approve leave's either using BAPI or IDoc

Hello Experts,

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"

1. BAPI_ABSENCE_APPROVE

2. BAPI_ABSENCE_CREATE

3. BAPI_PTMGRATTABS_MNGCREATION

Approach 2: If I use IDoc what are the Idoc types and process codes for Create and Approve leave's.

Please help...

Thanks in Advance,

Suma

Edited by: Suma B on Sep 16, 2008 4:16 PM

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question