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: 

How to get Accounting documents based on Billing documents

Former Member
0 Kudos

Experts,

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

This message was moderated.

2 REPLIES 2

Former Member
0 Kudos

This message was moderated.

0 Kudos

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.

Thomas