Skip to Content
0
Former Member
Apr 22, 2010 at 09:28 AM

IDOC HRSM_D External System / Deletion of vacancies failed

362 Views

Hi,

we are using IDOC HRSM_D01 Upload Time Data to send HR vacancy data from an external system to SAP HCM.

It should update Infotype 2001 with vacancy type 0100.

This works fine. Data are sent via PI / IDOC and inbound processing through code HRSM_D.

After that, we can see it in tables PTEXDIR and PTEX2000. It is transferred to HR/PA30 with the report RPTEXPT.

So far, so good.

Now we want to delete it. We re-send the same record, same AWTYPE, DOCNR etc and add the "X" for REVERSED.

The IDOC WE02 shows green, BAPI POST successful, but nothing is in table PTEXDIR and PTEX2000.

When I look at the function module IDOC_INPUT_HRSM_SCHEDULE, it only handles PA2002 (Time Attendance, not absences) for reversed data. Is this true?

Can I only delete Attendancies?

Thanks for deedback

hs