Skip to Content
0
Former Member
Oct 12, 2006 at 04:58 AM

HR_INFOTYPE_OPERATION Function Buffer Issue

1117 Views

I am using HR_INFOTYPE_OPERATION to update a custom infotype. Following is what I am doing in the user exit (international transfer).

1. Delete record for custom infotype (9005) for OLD_PERNR = 50

- HR_INFOTYPE_OPERATION with "DEL"

- CALL FUNCTION 'HR_PSBUFFER_INITIALIZE'.

- COMMIT WORK and WAIT.

2. Create record for Costom infotype (9005) for NEW_PERNR = 51

- HR_INFOTYPE_OPERATION with "INS"

- CALL FUNCTION 'HR_PSBUFFER_INITIALIZE'.

- COMMIT WORK and WAIT.

After complete processing one can see records created for both PERNR (50 and 51) with same data sent to function in step 2.

There seems to be a buffer issue any ideas?