REPORT ZSAPN_WILDCARDS.
DATA : IT_MARA TYPE TABLE OF MARA.
DATA : WA_MARA TYPE MARA. 
 
SELECT * FROM MARA INTO TABLE IT_MARA WHERE matnr LIKE '%11%'. 
 
LOOP AT IT_MARA INTO WA_MARA.
 WRITE:/ WA_MARA-MATNR.
ENDLOOP.
*******************************************
REPORT ZSAPN_WILDCARDS.
DATA : IT_MARA TYPE TABLE OF MARA.
DATA : WA_MARA TYPE MARA. 
 
SELECT * FROM MARA INTO TABLE IT_MARA WHERE matnr LIKE '%11'. 
 
LOOP AT IT_MARA INTO WA_MARA.
 WRITE:/ WA_MARA-MATNR.
ENDLOOP.
*******************************************
REPORT ZSAPN_WILDCARDS.
DATA : IT_MARA TYPE TABLE OF MARA.
DATA : WA_MARA TYPE MARA. 
 
SELECT * FROM MARA INTO TABLE IT_MARA WHERE matnr LIKE '11%'. 
 
LOOP AT IT_MARA INTO WA_MARA.
 WRITE:/ WA_MARA-MATNR.
ENDLOOP.



Serkan AKKAVAK
Bilgisayar Mühendisi
serkurumsal@yandex.com