Application Development 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: 

Is there a BAPI for infotype 0509 and IT0001?

Former Member
0 Kudos
90

Hi

I can't find any BAPI to create data in infotype 0509 or 0001. Is there any?

Best Regards,

Morten Gummedal

1 ACCEPTED SOLUTION

Former Member
0 Kudos
52

HI Morten,

1. There is no standard bapi.

2. u can use the FM

HR_INFOTYPE_OPERATION

3. If u want it RFC enabled,

create a new Z FM (rfc enabled)

and call this FM in it.

regards,

amit m.

3 REPLIES 3

Former Member
0 Kudos
53

HI Morten,

1. There is no standard bapi.

2. u can use the FM

HR_INFOTYPE_OPERATION

3. If u want it RFC enabled,

create a new Z FM (rfc enabled)

and call this FM in it.

regards,

amit m.

jayanthi_jayaraman
Active Contributor
0 Kudos
52

HI,

If you want to create only few data,you can use PA30.Otherwise record a BDC for creating in PA30 and use it in your program or use FM.

0 Kudos
52

Hi,

I think what Amit suggested is better than a BDC.. just create a wrapper fucntion module(RFC enabled) around HR_INFOTYPE_OPERATION. This function module mimics all the screen fields checks that occur via PA30 and is convenient to use while updating PA infotype records.

Regards,

Suresh Datti