Skip to Content

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

Updation in IT6

Hi,

There is a case in my requirement as to I can copy a Home address to Emergency address, in case a custom check box on teh screen is checked.

So whenever i make any changes to HOM address, its corresponding EMR address should also be updated.I`m doing this at background using the FM 'HR_INFOTYPE_OPERATION', but that does not work out.

In debuggging mode, it gives me a error saying "No record found in the specified period", but I can see the record in the PA0006 table.

The FM is as follows.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '0006'

number = i0006-pernr

subtype = '9EMR'

*VALIDITYEND = I0006-ENDDA

*VALIDITYBEGIN = I0006-BEGDA

record = i0006

recordnumber = i0006-seqnr

operation = 'MOD'

dialog_mode = '2'

view_identifier = '07'

*SECONDARY_RECORD =

*NOCOMMIT = 'X'

IMPORTING

return = return.

Where I0006 would be my updated HOM record values.

Can anyone tell me what I should be changing to fetch the appropriate EMR record from the table and update the same.

Helpful answers would be rewarded.

Regards,

Farhana.

Former Member

Helpful Answer

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