Dear all,
I'm facing an problem concerning the HR_MAINTAIN_MASTERDATA MF.
I intend to copy one infotype 1 entry with a different begin date.
I've tested the MF in se37 and it works fine. A new IT is created with the correct dates.
But when I call this MF in my Zprogram (with the exact same parameters), nothing happens.
After a few debugs, I've found that the problem comes from the "COMMIT WORK".
When I test the MF in se37, the "COMMIT WORK" runs the following line "PERFORM PUT_INFOTYP_BUFFER ON COMMIT." (which is called few lines upper in PERFORM PUT_INFOTYP_BUFFER_COMMIT). And the PUT_INFOTYP_BUFFER form is the one that write data that will be commited.
In my Zprogram, the "COMMIT WORK" that is in HR_MAINTAIN_MASTERDATA is doing... nothing.
Does somebody has an idea why ?
Is it something about global parameters ?
And is there any workaround ?
Thanks in advance for your help.
Br,
Pierre