Skip to Content
0
Former Member
Jun 04, 2008 at 07:35 AM

HR_INFOTYPE_OPERATION

47 Views

Hi experts,

In my conversion report I am using HR_INFOTYPE_OPERATION for deleting a record in the infotype.

I am passing the pernr,begda and endda values exactly as such in infotype.

But it returns error message as 'No Data Stored for 0315 in the selected period'.

Below is my report.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '0315'

number = p0315-pernr

subtype = p0315-subty

objectid = p0315-objps

lockindicator = p0315-sprps

validityend = p0315-endda

validitybegin = p0315-begda

recordnumber = p0315-seqnr

record = p0315

operation = 'DEL'

tclas = 'A'

dialog_mode = '0'

IMPORTING

return = wf_return.

I am passin pernr,begda and endda values perfectly eventhough I am getting such error.

May I get some idea about how to solve this problem.

Thanks,

Sakthi.