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

Getting Purchasing document number

Former Member
0 Likes
749

Hello,

I need to get the Purchasing document number(EKPO-EBELN) , given the billing document number as input (VBRK-VBELN). Pls help me in linking the two tables to get the purchase doument number associated with the Billing documnt number.

1 ACCEPTED SOLUTION
Read only

renjith_thampi
Explorer
0 Likes
685

Hi,

Get the sales document (AUBEL) from VBRP.

Use it to get the Purchase order number (BSTDK) from VBKD

Hope this helps.

2 REPLIES 2
Read only

Former Member
0 Likes
685

Hi

You can get the value from VBKD-BSTKD by passing the sales document no

Read only

renjith_thampi
Explorer
0 Likes
686

Hi,

Get the sales document (AUBEL) from VBRP.

Use it to get the Purchase order number (BSTDK) from VBKD

Hope this helps.