Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get Accounting documents based on Billing documents


I have a particular requirement in SD. I need to fetch the details of Accounting documents(BKPF-BELNR) and Fiscal year(BKPF-GJAHR) based on the Billing documents(VBRK-VBELN). Is there any function module to do so or any other way. Currently I am fetching this data but there is a performance issue.

Edited by: Ashish Kansara on Oct 16, 2008 1:54 PM

Former Member

A quick link is to take VBRK-VBELN and use it to lookup BKPF-AWKEY. Also select BKPF-AWTYP = "VBRK" to make use of a secondary index on BKPF.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question