Skip to Content
0
Former Member
May 16, 2008 at 06:32 AM

Infotype MOD operation.

418 Views

Hi all.

I am using HR_INFOTYPE_OPERATION to delimit the record in my infotype.. I want to modify the ENDDA = sy-datum - 1 in the existing record... But that FM is itself is not working.... is there any alternative to this FM?? Please reply me.. Its very urgent..

My code..

l_enddate = sy-datum - 1.

wa_read_pernr-endda = l_enddate.

CLEAR ls_return.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '9035'

number = wa_read_pernr-pernr

subtype = wa_read_pernr-subty

objectid = wa_read_pernr-objps

lockindicator = wa_read_pernr-sprps

validityend = enddate

validitybegin = wa_read_pernr-begda

recordnumber = wa_read_pernr-seqnr

record = wa_read_pernr

operation = 'MOD'

tclas = 'A'

dialog_mode = dialog_mode

nocommit = space

IMPORTING

return = ls_return

key = wa_key.