cancel
Showing results for 
Search instead for 
Did you mean: 

Create and Approve leave's either using BAPI or IDoc

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

No Relavent Replies

Former Member
0 Kudos

Hi Suma

A standard workflow for leave approval is already present , it will better to use that

Former Member
0 Kudos

Hi,

Can you please give me the details of the workflow, I will try to get info from that to levarage.

Thanks,

Suma

Former Member
0 Kudos

Hi

If employee is applying leave thru ESS then standard workflow WS2000081

is available for approval procedure