‎2007 May 23 2:48 PM
Hi i have this requirement.
My Ztable data is like this
Key1 Key2 Reg1 Reg2
A B dgghh grfre
if i have data in ITAB like this
Key1 Key2 Reg1 Reg2
A B abcde --
After my update my final ztable data should look like this
A B abcde grfre
My blank itab field should not update the corresponding ztable field.
It only should update ztable data if it has corresponding field value in itab.
Points will be awarded...
‎2007 May 23 2:52 PM
I think u dont have a option to restrict like internal table Trasporting Fields option.
‎2007 May 23 2:53 PM
hi Narendra,
do this way .
loop at itab.
update ztable client specified
where key1 = itab-key1 and
key2 = itab-key2.
endloop.Message was edited by:
Santosh Kumar Patha
‎2007 May 23 3:13 PM
Santosh,
Thanks for ur answer
i tried that way, and it just updating ztable with the blank field.
‎2007 May 24 5:10 AM
Hi,
i think you might not have cleared the work area.clear the work area after updating the values in ztable.it will work.
reward points if it is helpful.
regards,
sangeetha.a