‎2008 May 02 9:39 AM
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.
‎2008 May 02 12:11 PM
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
‎2008 May 02 12:11 PM
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