cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module for Accounting Document

Former Member
0 Kudos

Dear All,

I required accounting document number for invoice number.

Is there any Function module to find out accounting document wrt to invoice no ?

Actullay i want to fetch data from BSEG, in BSEG invoice no is not a primary key bcoz of that it takes some time.

Thanks & Regards,

Pankaj Mahajan

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member183879
Active Contributor
0 Kudos

Hi,

You can get the invoice documents for the accounting documents from the field BKPF-XBLNR.

So you can give your invoice number in this field, and get all the accounting documents.

Edited by: SNavaneetha Krishnan on Oct 5, 2010 12:59 PM

Former Member
0 Kudos

Hi,

Try check if your accounting document number is linked to billing document through Assignment/Reference number.

Also try using combinations of BKPF(header) and BSEG(Item) data which will filter the documents hence enhancing performance.

Regards,

Amit