Skip to Content
0

Sales Open Order Report : Performance Issue

Jan 04, 2017 at 11:43 AM

74

avatar image
Former Member

Dear All,

We have a requirement from the customer to create a report with below input parameters -

1. All sales Order should be fetched with delivery date in schedule line before than certain date provided in the Input. (example - if user inputs say 01/02/2017, than all the sales order should be displayed which have delivery date before 01/02/2017.

2. Sales Order for which both delivery order and Goods issue has been posted should be excluded.

This causes a huge performance issue as first we have to fetch all previous years sales order which as per the delivery date from VBEP table and after that we compare from LIPS table for Goods Movement indicator and exclude the Sales Orders.

Please suggest any better way to manage the requirement so that performance can be enhanced for the Report.

like we tried to find any status for goods issue in sales order so that we can exclude the sales order in the first query but could not find any, than we tried to find some standard view for sales order and delivery table so that we can check the status initially. But we could not find any better option.

Looking forward for some better solution

Thanks

VikasSehra

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

G Lakshmipathi
Jan 04, 2017 at 01:11 PM
0

Have you not explored the standard report VA05?

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hello,

Thanks for the revert.

Checked the Report - VA05, open sales order logic is totally different.

VA05 checks document date at header where as we need to check Schedule line delivery date.

VA05 considers line item as closed when delivery is created where as our requirement is that sals order line item is closed when both delivery and goods issue are posted.

Please consider the points and suggest if there is any alternate and better solution to improve the report performance.

Regards

Vikas

0