Application Development 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: 

Reg: Purchase order no from accounting document no

dinamols
Participant
0 Kudos

hi,

I have to generate a report of vendor billing details,where i have to get the corresponding purchase order no for accounting document no.From bseg i am getting the ebeln field but i have fetched based on posting key bschl ='86' or '81'.for the corresponding document no.Without this can i get the ebeln from another table.

'Docu.Dt', 'Posting Dt', 'Bline Dt', 'Docu.No', ' Purchase Or.No'

from,

Dinamol

2 REPLIES 2

Former Member
0 Kudos

Hi Sasi,

Using accounting document number you can fetch the PO details from MSEG table.

<b>Reward for helpful answers</b>

Satish

Former Member
0 Kudos

Hi

use the tables<b> BSIK and BSAK</b> for vendor accounting doc details

it has Vendor and PO number fields in it

don't use BSEG as it creates performance issue

Regards

Anji