09-14-2008 4:04 PM
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
09-16-2008 9:21 AM
> 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
Answers
1 : 0005 is all possible absences and the number allowed. So what you say is true...
2 : this bapi is correct
3 : use BAPI_ABSENCE_GETDETAILEDLIST
You'd already got the answers to your questions...
09-17-2008 7:48 AM
11-13-2008 9:58 AM
Related with this infotype 0005 and 2001-2006.
should i create infotype 0005 first before 2001?
if yes, can i use HR_MAINTAIN_MASTERDATA for IT0005? seem this is not working when populate Q0005-UANSP for leave entilment.