Skip to Content
0
Former Member
Feb 19, 2012 at 04:48 AM

Delimit Infotype 0105 Subtype 0001

741 Views

Hi All

I am new to ABAP so need help.

We need to delimit Infotype 0105 subtype 0001 records.

I tried vai a number of ways but facing issues in someway or the other.

When I try to do the same via FM: BAPI_HRMASTER_SAVE_REPL_MULT, it creates a new entry for the same record with end validity day as system date (the old record which has end validity date as 31.12.9999 remains).

When i try to do the same via FM: BAPI_EMPLCOMM_DELIMIT, it throws an error 'EPG 009No data stored for 0105 in the selected period' even though the record exists.

CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT'
  EXPORTING
    employeenumber       = '00000049'
    subtype              = '0001'
    objectid             = 'P'
    lockindicator        = ''
    validitybegin        = '20100701'
    validityend          = '99991231'
    recordnumber         = '000'
    delimit_date         = '20120219'
*   NOCOMMIT             =
 IMPORTING
   RETURN               = return.
*   EMPLCOMMKEY          =

.

Not sure how to go about it. I searched the forum which suggested to use Function Modules, but even then the issue isn't getting resolved.

Please help.

Martin