Skip to Content
0
Former Member
Feb 10, 2011 at 06:39 PM

UPDATE statement not working when updating Z table

822 Views

Hi

I have declared Ztable with fields MANDT, VKORG, VBELN, IDENTCODE and POSNR as key fields, other fields are FKDAT,KUNNR, NETWR, WAERK, SKFBP

First I got the data from presentation server and moved into internal table 'A' and after that declared internal table with structure same as Z table and moving the data from presentation server internal table 'A' into this.

After Endloop I am using statement

UPDATE ZVS_INV FROM TABLE IT_INV.

commit work.

But table is not getting updated and sy-subrc is returning to 4.

What could be the reason...your help appreciated.