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

Insert record in INFOTYPE

Former Member
0 Likes
2,415

I have not worked wiith infotypes...Please guide me...

I have created Employee infotype with number 9035.

I added that structure in the standard infotype table PA9035 (HR Master Record: Infotype 9035)

in that standard infotype some other SAP includes are also there.

I want to insert some records based on some logic in my include Infotype. How to insert records in that include...?

since in the other include some P.K fields are there..But i dont have value for all the p.k's. I can pass only PERNR value(one of the P.k's).... so how can i insert a record in that infotype??

Please help me..

Regards,

Thendral.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,128

Hello Elan

It all depends on how you want to insert records to your infotype.

Say if you want to insert data programmatically you can use the FM HR_INFOTYPE_OPERATION by passing the data in the infotype structure namely P9035 (...in your case)

If you want to insert records through transaction then you can do it through tcode PA30, you have to enter the personnel number and the infotype 9035 in the field provided on screen. Then you can choose the Create button to insert the data.

Regards

~ Ranganath

1 REPLY 1
Read only

Former Member
0 Likes
1,129

Hello Elan

It all depends on how you want to insert records to your infotype.

Say if you want to insert data programmatically you can use the FM HR_INFOTYPE_OPERATION by passing the data in the infotype structure namely P9035 (...in your case)

If you want to insert records through transaction then you can do it through tcode PA30, you have to enter the personnel number and the infotype 9035 in the field provided on screen. Then you can choose the Create button to insert the data.

Regards

~ Ranganath