Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 16, 2008 at 11:46 AM

    Hi Suma

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 17, 2008 at 05:32 AM

    No Relavent Replies

    Add comment
    10|10000 characters needed characters exceeded