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

Update table HRP1001

Former Member
0 Likes
3,130

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.

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.

1 REPLY 1
Read only

Former Member
0 Likes
1,136

Please have a look in below thread, think you have already but worth to have a look:

[;