Business Scenario:
Create Item in ‘Order and Activity’ Tab, system will call customer function module to get pricing data for customizing fields ’List Price’,’R/C Dis %’, ‘Act. Dis %’, ‘SellinPri’, ‘Subtotal’.
Current result:
After creating n items, user wants to add a new item (No. n+1). System will check all the items (n+1) to update pricing data. It costs a lot time for each new item, which is a big performance issue.
Test result:
Test scenario |
Time in seconds |
Create line 1 |
4 |
Input 27 lines |
----- |
Create line 28 |
48 |
Input line 29, 30, 31, then press enter |
61 |
Investigation:
After talking to Our SAP CRM consultants, it is impossible to avoid check all the items, while creating a new one. The current enhancement has a lot of places can be improved from an ABAP view.
Solution:
Buffer the order value information, reduce the times of calling system function module and the RFC, the time consumed for each time will rise very lightly.
Result:
We can reduce the time increased for each new time to 0.1 second.
The 31st will cost 5.8 seconds (34 seconds)
The 41st will cost 6.7 seconds (57 seconds)
The 51st will cost 8.0 seconds (85 seconds)
The 61st will cost 8.8 seconds
The 71st will cost 9.9 seconds
The 81st will cost 11 seconds
The 91st will cost 12 seconds
The 101st will cost 13 seconds
Comparing to the original version (figures in bracket), the time consumed for each item is greatly reduced. It will save a lot of time for the end user.
YOK Information Technology LTD., CO.
May 27, 2008
|