Application Development 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: 

Using HR_MAINTAIN_MASTERDATA for update IT0001/HRP1001

Former Member
0 Kudos
615

Hello,

We have a procedure to change the position(S) of an employee(P). When this procedure is executed with PA40 the old position is delimited and the new position is created in infotypes 0000, 0001 and in table HRP1001 (relations 008 between P and S) .

When this procedure is executed with functionmodule HR_MAINTAIN_MASTERDATA (dialog_mode=2) infotypes 0000 and 0001 are processed correctly, but the relations in table HRP1001 are not changend.

Is it possible to maintain the relations in HRP1001 with the FM or do I have to add additional coding after the function call ?

Thanks,

Paul Läkamp

1 ACCEPTED SOLUTION

Former Member
0 Kudos
135

Check the FM <b>RH_RELATION_MAINTAIN</b> to maintain 1001

2 REPLIES 2

Former Member
0 Kudos
136

Check the FM <b>RH_RELATION_MAINTAIN</b> to maintain 1001

Former Member
0 Kudos
135

>> or do I have to add additional coding after the function call ?

You are correct.. eventhough HR_MIANTAIN_MASTERDATA mimics a BDC of PA30/40, it doesn't do the PD updation.. you have to code it yourslef..

Arya