Skip to Content

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

HR Book leave and get leave entitlement under Infotype 2001 or 2006

Hello Experts,

hope i post this in the correct category.

I am using JCO in connection with some Bapis.

I am using BAPI_PTMGRATTABS_MNGCREATION for adding leave in SAP (infotype 2006)

This works fine, I've got all return values

1st Question

what's the difference between Infotype 0005 and infotype 2001 regarding HR ?

To my opinion, leave was managed with infotype 2001 before 2006 was

introduced and in this case, remaining leave could be accessed via Infotype 0005

2nd Question.

Can the BAPI from above also be used, when leave is managed with infotype 2001 ?

....Or do i have to use BAPI_ABSENCE_CREATE ?

if so -> where can i have a look für the return values of a BAPI

3rd Question

To gain Information abount remaining leave i user BAPI_TIMEQUOTA_GETDETAILEDLIST (infotype 2006)

To get the same for infotype 2001 i have to use BAPI_ABSENCE_GETDETAILEDLIST or ?

if so -> where can i have a look für the return values of a BAPI

thanks for any tips or a short description

bye

Christian

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