Skip to Content
0
Former Member
Jan 20, 2012 at 10:22 AM

Update table HRP1001

1992 Views

Hello,

My requirement is to update the table HRP1001. I need to in some cases Terminate a relationship i.e. Change the Endda to current date and in some cases create a new relationship between an Employee , position and the Org unit i.e insert a few new records in table HRP1001.

I have tried 'RH_UPDATE_INFTY' but no success. I gave here only two parameters i.e. VTASK = 'D'/'S'/'V' & INNNN (Tables).

Can any one please tell me why this happens . it returns sy-subrc code as 0 and then I am using the FM RH_UPDATE_DATABASE to commit the changes but yet no result.

I tried HR_INFOTYPE_OPERATION also but I guess this is not meant for the 1001 table as this belongs to relationship table.

I tried the BAPI 'BAPI_HRMASTER_SAVE_REPL_MULT' but still no result.

Can any one please guide me as to which Fm Should i use to terminate a relationship i.e. to change the ENDDA from 31/12/9999 to current date and also insert new records to cretae new relationships starting from sy-datum + 1 to 31/12/9999.

Your help on this would be highly desirable..

Regards,

Deepak.