Skip to Content
0

SAP HANA PAL ABC Algorithm

Dec 06, 2017 at 10:47 AM

59

avatar image

Hi Team,

I am looking for PAL - ABC analysis pseudocode/algorithm to understand thefunctions of it in better way.

I have executed below steps but would like to know more about algorithms.how it works.

https://www.sap.com/india/developer/tutorials/teched-2016-10.html

Thanks in advnace.

Thanks,

Raja

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

1 Answer

Best Answer
avatar image
Former Member
Dec 08, 2017 at 05:14 AM
0

Hi Raja,

First of all, you can always refer to our manual on the Help Portal https://help.sap.com/viewer/2cfbc5cf2bc14f028cfbe2a2bba60a50/2.0.02/en-US/d92aa7853c604750b7732ca2a1f93fce.html

To briefly explain how the algorithm works:

Assume that the first column of the input table represents companies, while the second column represents revenue of the companies.

Step 1: Sort the companies in descending order of their revenue.

Step 2: Take companies, from top to bottom, such that their cumulated revenue just passes PERCENT_A percentages of the total revenue. Assign these companies to class A.

Step 3: Among the left companies, again, take companies from top to bottom such that their cumulated revenue just passes PERCENT_B percentages of the total revenue. Assign these companies to class B.

Step 4: Assign the left companies to class C.

Best regards,

Chengyu

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

Thanks for the reply!

The steps you explained above is very clear and was looking for such steps for each algorithms.

Regrads,

Raja

0