Hi Experts,
I'm using a custom table ztest in a badi.
now ,
when I execute this badi the xmseg internal table without header line fills up .
so I looped at xmseg into wa_xmseg so I can use the following condition.
select * from ztest into wa_test where werks = wa_xmseg-werks and value = wa_xmseg-mtart.
endselect.
when I run in debugging mode value of sy-subrc = 4.
So I tried using read and loop statement but a error message pops up saying that ztest is not defined in the data .
so what has to be done.
regards, Suhas.