on 04-21-2015 4:06 PM
Hello, good morning!
I need to create a routine but i don't have any experience in ABAP so i'm stuck.
I have a key figure that makes a time calculation, but i can't use in my query as the user wants to so I need to "convert" that key figure into a characteristic... as there's no way to do that, i came up with the Idea of creating a routine that makes the calculation needed.
Below the requirement:
-Client needs a report that shows a Date Range, #Document generated below 15 minutes, #Document generated above 15 minutes.
#Document is a characteristic, and i'm not able to restrict it with my key figure (that's why i thought of a routine)
So, i created a new InfoObject type Char which will be populated with the records of the Key Figure. Once it is "a copy" of my KF, i can make an IF statement that will look like " IF char > 15, THEN 'X', ELSEIF 'Y' " so that the report will be as required. But I don't even know how to declare my variables and how to "copy" the data because it's not like PMMTIMDIF = PMMTIMCHAR.
I'll appreciate your help!
Thank you
Hi Fernanda,
You can do it with the help of "exception aggregation" in BEx designer.
Please refer below links and search for options for "Exception aggregation"
Example of Exception Aggregation: Enhanced Counting - Business Intelligence - SAP Library
Examples of Exception Aggregation: Last Value and Average - Business Intelligence - SAP Library
Thank you,
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fernanda,
Can you explain your problem with sample data?
Regards,
Loed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.