Skip to Content
0
Former Member
Aug 24, 2009 at 07:14 AM

Multiple records not getting updated in Z table

17 Views

Hi Experts,

Please advice me, as multiple records are not getting updated in table .

select single * from mseg where ............

case sy-tabix.

when 1.
zabc-matnr    =  matnr1.
zabc-menge  =  menge1.
zabc-budat   =   budat.

when 2.
zabc-matnr    =  matnr2.
zabc-menge  =  menge2.
zabc-budat   =   budat.

when 3.
zabc-matnr    =  matnr3.
zabc-menge  =  menge3.
zabc-budat   =   budat.

endcase
    INSERT zabc.

Please advice as only the first line is getting updated in zabc table.