on 02-05-2016 7:27 PM
Hi - I am creating a exact same infotype 0000 record (action type, action reason, position everything is same), its not overriding the existing record, instead it gives the below message.
Record is not saved. Identical record already exists.
Do you know why ? Usually if it is same record it should override the existing one like IT0001,IT0002 etc....
FYI....Additional Actions(IT0302) is activated.
Regards,
Kishore
If the data is same in IT 0, then does it matter, if the record is not re-saved?
If you want to show the new date as the change date in the record, try changing one field, saving it; then changing back the field data to what it was and saving again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishore,
If I remember correctly, since additional actions are activated in your case, the message actually refers to an identical record that exists on IT0302 not IT0000. That is why you are getting the message that the record is not saved and why the behavior is different on IT0001 and IT0002.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Scott - Thanks for your response. Yes same record exists in IT302 and thats why I am getting that error.
My problem is I have to create two actions on the same day. for example transfer out action from a store and transfer in action for a new store. I have to do this by using FM.
I am using FM HR_MAINTAIN_MASTERDATA . The order of the infotypes that shows in IT0000 are different when compare to manullay keying in and via FM.
If I manually key in Transfer in shows first . see the screen shot. If do the same via FM its shows opposite which is an issue at the time of payroll.
Below is my FM code.
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
pernr = gs_data-pernr
actio = 'INS'
tclas = 'A'
begda = gv_begda "sy-datum
endda = gc_endda
dialog_mode = '0'
luw_mode = '3' "p_lmode
no_enqueue = 'X'
IMPORTING
return = ls_bapireturn
return1 = ls_bapireturn1
hr_return = ls_hr_return
TABLES
proposed_values = gt_new_val
modified_keys = gt_modified.
Please help me.
Regards,
Kishore
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.