‎2009 Aug 19 12:05 PM
Hi all,
I have a problem with this fm. It works fine when i have to insert the data into infotypes but it does'nt modify.
I have pasted it. please help me
Note:
it_fmupdate contains the data of IT0000 and the input data in it_proposed_values has the data of IT0169 in which the changes have to be made.
the problem is it inserts properly in IT0169 but does'nt modify.
Please provide me pointers
call function 'HR_MAINTAIN_MASTERDATA'
exporting
pernr = it_fmupdate-pernr
massn = it_fmupdate-massn
actio = v_action
tclas = 'A'
begda = it_fmupdate-begda
endda = it_fmupdate-endda
objps = it_fmupdate-objps
seqnr = it_fmupdate-seqnr
sprps = it_fmupdate-sprps
subty = it_fmupdate-subty
WERKS =
PERSG =
PERSK =
PLANS =
DIALOG_MODE = '0'
LUW_MODE = '1'
NO_EXISTENCE_CHECK = ' '
NO_ENQUEUE = ' '
importing
return = rt
RETURN1 =
HR_RETURN =
tables
proposed_values = it_proposed_values
MODIFIED_KEYS =
.
TIA
‎2009 Aug 19 12:19 PM
‎2009 Aug 19 12:29 PM
Hi Shwetha,
The real problem is when i go to the debug mode the it_fmupdate-begda is say something like 25.08.2008. if pa0169 has already data with begda = '19.08.2009' .
the fm saya the data is updated successfully with an inforamtion saying that there is 'No data stored for Savings Plans in the selected period'.
how can i slove this