Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HR_INFOTYPE_OPERATION Dellimit operation 'LIS9'

Hey All,

I am trying to write a report to fix some corrupted HR address data(IT0006) using FM HR_INFOTYPE_OPERATION. I know how to use the FM in INS and MOD mode, but this time I am trying to use the delimit operation.

Due to error we have a lot of records with subtype 'Blank', Instead of deleting the corrupted records, I am trying to delemit the records to a older date so that it doesnt show up at the top.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '0006'

number = wa_p0006-pernr

subtype = wa_p0006-subty

objectid = wa_p0006-objps

lockindicator = wa_p0006-sprps

validityend = wa_p0006-endda

validitybegin = wa_p0006-begda

recordnumber = wa_p0006-seqnr

record = wa_p0006

operation = 'LIS9'

tclas = 'A'

dialog_mode = '0'

IMPORTING

return = wa_bapiret1.

When i try to change the enddate so that it delimits the record to that date, it gives me a complex application error.

Any input is higly appreciated.

Thanks

Tags:
Former Member
Former Member replied

infty = '0006'

number = wa_p0006-pernr

subtype = wa_p0006-subty

objectid = wa_p0006-objps

lockindicator = wa_p0006-sprps

validityend = wa_p0006-endda

validitybegin = wa_p0006-begda

recordnumber = wa_p0006-seqnr

these are the parameters using which it searches the record in database you have to pass the all the parameters with old values to identify the record .. you are missing something for which it is throwing the error

what ever changes will be done on

record = wa_p0006..

the structure will be having the modified date so that it does the operation through MOD..

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question