I´m writing a report that show PO information. As a requirement they need to filter using the Selection parameters(T160T-SELPA) used in tcode ME2L, but I don´t know how to do it, I have read that that the values are in a pool table but I dont know what is the relation with table EKKO. Anybody knows?, how can I filter it?
SELECT BEBELN BMATNR BMENGE BNETWR
INTO CORRESPONDING FIELDS OF TABLE IMAT
FROM EKKO AS A INNER JOIN EKPO AS B
ON AEBELN = BEBELN
WHERE A~LIFNR EQ LIFNR.
(I would like to write also)
AND SELECTION_PARAMETER EQ ='XXXX0'