>> data(LV_VBELN) = ‘0000000003’ .
Select VBAK~VBELN,VBAK~ERDAT,VBAK~ERNAM,VBAP~POSNR,VBAP~MATNR , VBAP~MATKL
from VBAK INNER JOIN VBAP
on VBAK~VBELN = VBAP~VBELN
where VBAK~VBELN = @LV_VBELN
into table @data(IT_TAB).
LOOP AT IT_TAB INTO DATA(WA_TAB).
WRITE: / WA_TAB-VBELN , WA_TAB-ERDAT ,WA_TAB-ERNAM,WA_TAB-POSNR,WA_TAB-MATNR,WA_TAB-MATKL.
ENDLOOP.
Serkan AKKAVAK
Computer Engineer BSc
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com
0 Comments