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: 

Performance tunning for select statements using likp lips and vbrp

Former Member
0 Kudos

Dear all,

I have a report where i am using select statements using first on likp the for all entries of likp i am taking data from lips and then for all entries in lips i am taking data from vbrp by matching VGBEL and VGPOS. Now the problem is that when it fetches data from vbrp it is taking lot of time around 13mins. to fetch data from vbrp. How can i overcome the problem.

regards

Amit

6 REPLIES 6

Former Member
0 Kudos

Hi,

VBRP does not have secondary index on VGBEL and VGPOS by default.

Consider creating secondary index.

Regards,

--

Przemysław

Former Member
0 Kudos

Hi Amit,

Use Table VBFA to get preceding and subsequent documents.

Regards

Srikanth M

0 Kudos

Hi,

there is also no secondary index for preceding document in VBFA table.

You will also have to create it here.

Regards,

--

Przemysław

ThomasZloch
Active Contributor
0 Kudos

I suggest you to study SAP note 185530, it has all details on how to efficiently code access to SD document flows.

Thomas

Former Member
0 Kudos

Issue has been Resolved.

thanks.

Former Member
0 Kudos

This message was moderated.