Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI for purchase order

Former Member
0 Likes
318

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!

1 REPLY 1
Read only

Former Member
0 Likes
277

Used FM VB_BATCH_GET_DETAIL to get PO number