Skip to Content

SAP HANA PAL ABC Algorithm

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    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

    Add comment
    10|10000 characters needed characters exceeded