Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Conection between Infotype 2001 and 2006

Former Member
0 Likes
2,536

Hello experts,

i´ve got the following problem: I had to book an absence in infotype 2006.

I want do this with via BAPI BAPI_PTMGRATTABS_MNGCREATION.

So far it works. My problem is that i don´t know the value for ABS_ATT_TYPE (it´s a value of infotype PA2001-SUBTY) but i only got the value of of infotype 2006 (PA2006-SUBTY). These 2 values are NOT the same and i don´t know how to match them. Is there any FM or BAPI which tells me the correct PA2001 value for my PA2006 vlaue?

Hello experts,

i´ve got the following problem: I had to book an absence in infotype 2006.

I want do this with via BAPI BAPI_PTMGRATTABS_MNGCREATION.

So far it works. My problem is that i don´t know the value for ABS_ATT_TYPE (it´s a value of infotype PA2001-SUBTY) but i only got the value of of infotype 2006 (PA2006-SUBTY). These 2 values are NOT the same and i don´t know how to match them. Is there any FM or BAPI which tells me the correct PA2001 value for my PA2006 vlaue?

6 REPLIES 6
Read only

Former Member
0 Likes
1,641

Hi,

I think there isn´t an equivalence standar table.

create your own equivalence Z table to map the values between IT2001 and IT2006

Enjoy,

Read only

former_member201275
Active Contributor
0 Likes
1,641

You can't link them, and you also cannot capture an absence to 2006? IT2006 is the Absence Quota and IT2001 is the actual Absence. You have to pass both the absence type and quota type to the import parameters of this Bapi.

Read only

0 Likes
1,641

Yes, you´re right. I book the absence in 2001, but at the beginning of my application i had to knwo how much quota is left this year.

Read only

Former Member
0 Likes
1,641

Hi Benjamin,

2001 -> Absences

2006 -> Absence Quota

From the look of it , BAPI_PTMGRATTABS_MNGCREATION seems to be used to create Absences and not Absence Quotas.

Have you tried using HR_INFOTYPE_OPERATION to create Absense Quotas ?

Also, have a look at table V_556R_B. It will give you the relation between 2006 and 2001.

Regards,

Jovito

Edited by: dsouzajovito on Jan 24, 2011 2:27 PM

Read only

Former Member
0 Likes
1,641

solved other way

Read only

0 Likes
1,641

Hi

Can you help how rules between link 2001 (Absences) and 2006 (Absence Quota).

Where find table to link between infotype 2001 and 2006?

Thank you