Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

pls help to check why I couldn't update database

Hi, pls help to check why I couldn't update

Data itab like table of zz with header line.

clear ZZ.

Select * from ZZ into corresponding fields of table ITAB.

Loop at itab.

If itab-Name is initial.

select single name1 into itab-Name

from KNA1 where kunnr EQ ITAB-SOLD_TO.

elseif itab-MATL_DESC is initial.

select single maktx into itab-matl_desc

from makt where matnr EQ ITAB-MATERIAL and spras EQ SY-LANGU.

elseif itab-VTEXT is initial.

select single vtext into itab-VTEXT FROM TSPAT where SPART eq

ITAB-DIVISION and Spras EQ SY-LANGU.

endif.

modify zz from itab.

Endloop.

thanks a lot!

elly

Tags:
Not what you were looking for? View more on this topic or Ask a question