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.
But table is not getting updated and sy-subrc is returning to 4.
What could be the reason...your help appreciated.