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!