Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR_MAINTAIN_MASTERDATA

Former Member
0 Likes
491

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

2 REPLIES 2
Read only

Former Member
0 Likes
383

hii priyankaj,

these are the links you can refer to the links.hope it is helpful to you.

regards,

Shweta

Read only

Former Member
0 Likes
383

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