‎2008 Jun 10 3:09 PM
Hi,
Through transaction pp01 i am able to create a record in HRp1222 and hrt1222(attributes).
Is there any FM by which i create entry in hrp1222?
I got an FM RH_INSERT_INFTY but am unable to get it to work . It returns a sy-subrc 2 i.e error in insert . On debugging I found that there are some internal tables which are not being populated due to which i get this error .
I am not sure if I can use the above FM independently to create hrp1222 record,
Any idea?
Thanks
‎2008 Jun 10 4:16 PM
Hi,
For infotype operations (insert, modify, delete) you should use HR_INFOTYPE_OPERATION.
Regards,
Bert
‎2008 Jun 11 2:56 PM
Thanks for replying . HR_INFOTYPE_OPERATION cannot be used to create records for HRPNNNN tables .
RH_INSERT_INFTY is to be used .. but some how i am unable to get it working for Infotype 1222.
‎2008 Jun 13 1:25 PM
Hi All,
i solved the issue
FM RH_OM_ATTRIBUTES_INSERT & FM RH_OM_ATTRIBUTES_Update can be used to insert records in hrp1222.
‎2011 Feb 10 8:30 AM
HI neelima
Could you pls paste the sample code for this .. I am facing same issue .
Thanks
kamesh