Improving Performance of your Planning Application Using Planning Application Kit (PAK)

How Planning Application Kit (PAK) can be useful in improving the performance of your planning application.


I had been working on a planning application built using BW Integrated Planning for one of the clients. That application had extensive usage of “Distribution by Reference Data” standard planning function. It also used the FOX functions for distribution customization. Apart from that, it used other standard planning functions like “Delete” and “Copy”. The application was built on BW7.5 on HANA.

The issue we were facing was that the planning sequences executing these functions were taking a long time and the performance was exponentially worse with increased volume.

In order to resolve the problem, we enabled the Planning Application Kit (PAK) for the HANA In-Memory execution of planning functions.

We faced some issues after enabling the PAK as follows;

  1. There was a data slice of type exit on top of the planning provider due to which it wasn’t allowing to run it on HANA In-Memory. Hence, we had to deactivate the data slice.
  2. Some of the planning providers were not HANA optimized. Therefore, we converted them to HANA Optimized.

Once it is ensured that the system is now allowing the function to execute on HANA, we performed the following steps to analyze the performance improvement.

For each month and region:

  1. Data was selectively * deleted
  2. Jobs were triggered with PAK switch OFF
  3. After successful execution, data was selectively * deleted
  4. Jobs were triggered with PAK switch ON
  5. Runtime was noted for both the scenarios (PAK switch ON & OFF)

* Selective deletions were performed to maintain an equal number of record processing in both scenarios.

RESULT:

We were able to achieve around 90-95% improvement in the execution of standard planning functions viz. “Distribution by Reference Data”, “Copy”, and “Delete”. However, there was some loss of 1-2% in the execution of FOX functions because they failed to execute on HANA In-Memory due to custom code.

In order to overcome the issue of FOX functions, we converted them into custom planning functions using AMDP (ABAP Managed Database Procedures) classes.

We were able to achieve very good results (Around 90-95% improvement) even on FOX function converted to AMDP.

Hence, we were able to execute the jobs 90% faster using PAK. Another observation was that the performance improvement was exponentially proportioned to data volume. Regions with less volume of data didn’t see the improvement as compared to the regions with huge data volume.

In Nutshell, Planning Application Kit (PAK) is a great way to utilize HANA In-Memory execution capability for the planning applications built-in BW Integrated Planning.

“TekLink’s team exceeded Kellogg Latin America’s expectations with the implementation of Anaplan. Not only their diligence and technical mastery were evident, but also provided critical and out-of-the-box solutions to meet the project’s criteria and expand its scope.”
Francisco Ibarra
Francisco Ibarra

Sr. Manager, Kellogg Company

“TekLink provided worry free BEx to AO Migration by analyzing and converting our 500+ BEx workbooks to Analysis for Office while also increasing adoption by running power user workshops.”
Lakshmi Thota
Lakshmi Thota

Sr. Manager, Rust-Oleum Company

"TekLink has exceeded our expectations and I strongly endorse their capabilities and would happily recommend them to other customers/prospects”
Assoc. Director, IT
Assoc. Director, IT

CSM Bakery Solutions

Have a Project to Discuss? Get in Touch