Skip to Content
0
Former Member
Sep 12, 2007 at 01:32 AM

BAPI for purchase order

41 Views

Hi all,

I have to retrieve the invoice verification due date given the following:

• Retrieve batch number from item level of billing (VBRP-CHARG)

• Pick up purchase order number from batch master data MCH1

• Based on PO number, retrieve invoice verification number (EKBE-BELNR) where :

1. EKBE-EBELN = PO Number

2. EKBE-VGABE = ‘2’

• Based on Invoice receipt number, pick up due data on BSEG-FDTAG where BSEG-BLNR is equal with above invoice verification number.

I've done the first bullet point but don't know how to proceed. How can i pick up the purchase order number, do we have any BAPI for that?

Thanks!