HI friends anybody can help.
select all the saleorders fields from vbap by inner join vbak where the sales order and no. matches the materilas group = im01,
read the itab B. if sy-subrc=0, then select ebeln, from eban using prequestion line iteams,prequestions is not eq po.then detail sales order.
regards
ravi