ABAP code. Not returning any value..Please help
I need some help with this code...
DESCRIBE TABLE itab1 LINES lin.
IF lin = 1.
select single * INTO table itab2 from mara
where matnr = itab1-matnr.
IF sy-subrc EQ 0.
W_matnr = itab2-matnr.
My Itab1 is having 1 record but by select single statement is returning with subrc 4 as I don't have value in header, can you please help in this code.