on 01-26-2018 9:07 AM
Hi guys,
I have a question on how can I get this kind of report. Is this possible in query designer or in the back-end?
Here is my final report format per MONTH:
But in order for me to tag a material as class A, B, or C, I need to do some computations as shown below.
First problem is, how can I sort the MATERIAL per GROUP based on their AMOUNT in DESCENDING ORDER? I'm thinking of creating a CONDITION of TOP N (N = 100,000 to be safe since we have thousands of materials) with reference to MATERIAL and GROUP. I did not try this yet but do you guys think this will work as shown above?
EDIT:
Tried using the CONDITION but it is not sorting the AMOUNT based on the MATERIAL NUMBER per GROUP. Maybe there is other way to achieve this?
EDIT:
The other problem is, how can I compute the NUMERATOR part? There is a CUMULATED option in the CALCULATIONS tab of a key figure in query designer but as far as I know it is only for DISPLAY PURPOSE. So even if I can see the CUMULATED value along the column, I still cannot compute the % part since the values shown is not the real value. In short, using it will not work. How do you guys think I can achieve the NUMERATOR part? I already have an idea about this but I need to do some back-end work. I'm trying my luck and hoping if this can be achieved in the query designer or if I can get simpler solution. 🙂
Amount = this is my key figure (CAN BE DONE)
Numerator = this is the cumulative value of all materials per group starting from the highest to the lowest value of amount
Denominator = this is the total amount of all materials per group (CAN BE DONE).
I think I can do the denominator part using CONSTANT SELECTION.
% = Numerator / Denominator (CAN BE DONE)
Class = material will be tagged as class A if it is part of the TOP 80%; class B if it is part of 80% - 95%; and class C for other 5%. (CAN BE DONE)
I think I can do the CLASS tagging using CELL. But if you have other suggestions, please say so. I did not try it yet since my problem first is how to compute the NUMERATOR part. 😄
Thank you so much.
Loed
create formula Numerator= [amount] but set cumul flag on in calcutation tab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah I reckoned you would say that 🙂
I have tried this and I think it looks good:
setup: Groep & Material Group (> show result rows)
Amount= first column of key figures
Nominator you can calculate it as in my previous post, but you are right it is useless in the whole calcul setup
Denominator is set as SUMCT 'Amount'
% is Amount %A Denominator
% Cumul is % with the cumul flag on
Can you try this?
I think I got your idea. So 3 colors for 0 to 80, 80 to 95, and 95 to 100? If yes, I found an error in the design. 😄
Your idea will work IF and ONLY IF I can sort the MATERIAL PER GROUP in DESCENDING order based on their AMOUNT. However, the query sorts the data in ALPHABETICAL ORDER or ASCENDING ORDER based on the layout of the characteristics, NOT BASED in the key figure. Do you have a way to do this SORTING?
No, the condition is sorting the key figure and because the material group and material are in the rows, it does it for each group as well, like you wanted. In the condition have no special setting applied, so it is basic behavior. I used a random BW-Cube. Make sure your condition is active!
for instance
Thanks mate.
Loed
I already made this work by doing the config in the back-end. I'm just trying my luck if I could also find a way in doing this in the report level. The ABC classification is also one of the ways to do this but I can't make it work when using 2 fields. But using it in 1 field, ABC classification is working great. Thanks to Anand for the idea, didn't know that it exists in BW. LOL! There are also some other tools in RSDMWB, I will also try to study them. Have a look at it Koen and tell me you made it work with 2 fields. 😄
Regards,
Loed
Hi,
if you can convince the business to use 1 - 2 - 3 in stead of A - B - C ... then you just need a calculated KF to have your result
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand,
Here are the steps I did.
First.
RSDMWB to create the model.
I saw these in the blog you have posted.
So I did assign the ff objects:
***I used Cumulated Percentage of Classified Object since I wanted to consider both of my classified objects..
A from 0 to 80 CLOSED
B from 80 to 95 OPEN ON LEFT
C from 95 to 100 OPEN ON LEFT
Second.
Created the APD.
QUERY -> ABC CLASS -> MASTERDATA
***I will be using the result of ABC class as the value of the CLASS infoobject, which is an attribute of MATERIAL NUMBER..
***My query contains GROUP and MATERIAL NUMBER in ROW and AMOUNT object in COLUMN..
Did I miss something?
Thank you.
Loed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Search for ABC Classification . Use T-Code RSDMWB and cread model and use in Analysis Process Designer(RSANWB)
https://blogs.sap.com/2005/08/10/customer-prioritization-using-abc-classification-model/
Regards,
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand,
I tried to use the ABC classification. However, it's not working for 2 or more reference characteristics? Is that correct? Or did I miss something?
In the blog that you have posted, it is only using CUSTOMER ID. In my case, if I only use MATERIAL, the ABC classification is working. However, I also need to consider the GROUP infoobject. How will I make it work? I already tried to have 2 CLASSIFIED OBJECT (material and group) but it is not working properly.
Any help?
Thank you.
Loed
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.