I have developed a BDC program for QA14 transaction.When the data was posted, 2 documents(MBLNR) are getting created in MSEG table.Now, i want to pickup the single document(MBLNR) for the particular PO(EBELN) for each post.Can any one tell me how to pick up the particular document for each post?
(if i have 3 POs in my itab, i need to get 3 different MBLNRs where <b>BWART = '321'</b>).
In the loop after
CALL TRANSACTION 'QA14' USING BDCDATA
MODE 'E' UPDATE 'S' MESSAGES INTO MESSTAB.
i have written select statement.But iam not getting proper data.