Restricted Key Figure in Query Designer
Hi,
I have defined a Input-Variable on the Characteristic 0PURCH_ORG (Purchasing Org.) in the Query Designer.
This Variable is Mandator and represents "Selection Option". Means, the user has to give the Input-Varaible for ex. 0010...0011.
Now my requirement is to define a restriced key figure where these Purchasing Org. from Input-Variable must exclude
in the restriced key figure. I cannot exclude the Input-Varaible in restriced Key Figure as it represents "Selection Option".
I tried to define a Customer-Exit Variable (Selection Option) on the Characteristic 0PURCH_ORG which should exclude the Input-Variable.
But the ABAP-Code for Customer-Exit Variable doesn't work.
Any clue, how I can solve this problem?
Thanks
Hi Moha Nan,
A variable of the type selection option can not be excluded therefore a variable exit is your only option. What is the current ABAP you have written and why doesn't it work? Maybe we can find the issue with the coding.
You need one variable of the type selection option and another one to read the first variable and reverse the option sign (from include to exclude).
Regards,
Alex.
Similar Messages
-
How to copy restricted key figures in query designer ?
hi,
i have created a query in query designer (BI 7.0).
How can i copy existing restricted key figures ? i can't find anything. i always have to create a new one, and then i have to do all the things like 'details of selection' etc.... manually. that CANNOT be, there MUST be a way to copy those key figures.
any ideas ?
best regards, MartinHi Martin,
Restricted key figures can be stored on the infoprovider basis . For which right click on the key figure (left hand side pane ), Select the necessary key figure and assign the restriction through characteristics combination, and give it a restriction and save it . Next tiem when you create query on the same info provider it should appear in the left hand side as readymade reusable piece .
Hope that helps.
Regards
Mr Kapadia -
Currency translation for a restricted key figure in Query designer
Dear Experts,
In my query i am using a restricted Keyfigure (ZRKF1 which is reusable). I have to change the currency translation key of the restricted Key Figure from zcur1 to zcur2. I am not able to edit zrkf1 Currency translation in the properties( It is in gray colour) ,while i can do it for a normal keyfigure. if i edit zrkf1 then other queries will be affected. How should i solve this? Can i copy and paste the zrkf1 to zrkf2 in order to use zrkf2 with currency translation zcur2 in my query ? How can i coy and paste restricted key figure?
Thanks,
RiyaHello Riya
I think you can't change the currency transaltion type for RKF... to change it in RKF just make the changes in the KF which you have used in RKF....
If you don't want to change the CURR translation type in KF1 than copy it paste it (KF2)and change in that KF2...now u can use KF2 in restricted KF...
Thanks
Tripple k -
Building a new Cube Vs Restricted Key figure in Query - Performance issue
Hi,
I have a requirement to create a OPEX restricted key figure in Query. The problem is that the key figure should be restricted to about 30 GL Accounts and almost 300 Cost centers.
I do not know if this might cause performance issue in the query. At the moment, I am thinking of creating a new OPEX cube and load only those 30 GL Accounts, 300 cost centers and Amount. and include OPEX in multiprovider in order to get OPEX
amount in the report.
whats the best solution - creating OPEX restricted key figure or OPEX cube ?
thanks,
BhatI think you should go for cube as all the restrcited key figure are calculated at OLAP runtime so it will definitely affect the query performance.There are a lot of costcenter for which you have to restrict it so definitely during the runtime of query it will take a lot of time to fetch tha data from infoprovider.Its better that you create a cube with the restrictions and include it in MP.It will definitely save a lot of time during query execution
Edited by: shyam agarwal on Feb 29, 2012 10:26 AM -
Sort data by key figure in Query Designer
Hi Gurus,
Is it possible to sort a query according to a key figure from Query designer?
ThanksUsing condition TOP N is the solution
-
Creating a resticted Key Figure in Query Designer (3.5)
Hello, hope your all well!
I'm trying to create a restricted key figure that's related to the publication date of one of our titles.
I've tried to create a Structure that shows one text result if the publication date is the same or greater than 01.01.2008 and another if it's less. However, in my results it seems to be bringing two results for each line, one with each text result.
Could anyone point my in the right direction?
Have a fantastic weekend,
RhysSorry, I'm new at this; what do you mean by inputs?
I'm trying to create something in the query designer that displays one text result if the result is lower than a certain number and another if higher,
Hope that makes sense.
Take care!
Rhys -
How to search for Key Figures in Query Designer 7.0?
Hi,
in BEx Query Designer 3.5 there was a search function to look after key figures or characteristics. Is there a search function in Query Designer 7.0?
Thanks.Hi,
QD 3.x version has "Find" option to identify the KF and Characteristics,but the same is not available with QD 7.x.
Reason could be:
With QD 7.x,just by typing the starting letters of KF or Characteristics by Keyboard itself,it will highlight you the entries.Hence there is no explicit Find option provided.But in case of QD 3.x,they gave it explicitely.
Rgds,
Murali -
Calculated Key Figures in Query Designer - translation
Hello Experts,
I created a few Caclulated Key Figure in the Query Designer. They have a GUID and a text description.
I would like to know:
1) How these CKF are represented in ABAP on the system and where I can find them - some database table ?
2) If I want the description to be available in many languages how can I handle this ?
Thanks a lot
RadoCheck this
Tables analysed by analyze_rsz_tables
Khaja -
Aggregation ---Settings of KF(Key Figure) in Query Designer
Hi,
What is the impact of the following setting in the query result
Query Designer>KF Definition>Edit-->Aggregation (TAB)
Exception Aggregation-->MAximum and
Ref Characterstic
ThanksHi,
To enable the calculation of key figures, the data from the InfoProvider has to be aggregated to the detail level of the query and formulas may also need to be calculated. The system has to aggregate using multiple characteristics. In regard to a selected characteristic, the system can aggregate with another rule for each key figure (exception aggregation).
http://help.sap.com/saphelp_nw04s/helpdata/en/75/21054da1392649948e5b94e4fc4bce/frameset.htm
Exception aggregation ?
http://help.sap.com/saphelp_nw04s/helpdata/en/43/53717c223a1bcde10000000a1553f7/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/47/4d6d902dbb22c5e10000000a42189d/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/47/5dfdca3ea9427fe10000000a42189d/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/e0173f5ff48443e10000000a114084/frameset.htm
Rgs,
I.R.K -
Error in total of Key figure in query designing
Dear Friends,
I am new at query designing & am stuck in a problem.
I have a CKF named Load in the column.
When I select District & Complaint No.in rows the result is some 100 rows and upon exporting the result in excel & summing up load the total comes out to be right..............................
BUT in web browser when i choose only District in the row and the result is a single row the sum of load displayed is incorrect.............wht cn b the possible reason of this??
Thnx in advance.Hi Dear, i asume every districwise total also calculated. pls check onemoretime.
Regards
Amulu -
Can't change a Restricted Key Figure technical name in QD BEx 7.1.0
A few days ago I created a new Restricted Key Figure in Query Designer and it was autopopulated with a default technical name. So I immediately changed it to 'ZRNPVORDINTFACTPPP_FY'.
Now, today, I realized that the 'F' in the technical name is a typographical error and I need to remove it. I clicked the Restricted Key Figure on the left from within the list and clicked the Change/Display pencil icon in the properties window, but the Technical Name field is still greyed out. Also tried right clicking and selecting Edit, but same problem.
Would removing all instances of where the figure is used in the query and other queries allow me to change it? Could it be a user rights issue?
As always, thanks for the help!Hi,
After creating a RKF , you cannot change its technical name.
If the RKF has a lot of restrictions and creation of another similar RKF is a big process ,
you can create a copy of the same through transaction RSZC.
In RSZC , give the source and target cube name as the name of the multiprovider on which your query is built,
select restricted keyfigure ,click on execute , in the list which comes after execute find your KF 'ZRNPVORDINTFACTPPP_FY'
and click on transfer/copy option available.Change the technical name as you want and then click on execute. A similar keyfigure with the desired technical name will be created in query designer ,global keyfigures .
Replace the same with your Old keyfigure in report. -
Query Designer restricted key figures using a prompt value
Hallo Experts,
I would like to restrict key figures after user has beeen prompted to enter a date. I have 2 key figures:
a) KF1, Date1
b) KF2, Date2
User should be prompted to select a specific date: e.g. 01/2011. After selecting/entering the prompted date value, it should be given to date objects for intance Date1=01/2011 and Date2=01/2011.
How could I achieve it in Query Designer without using customer_exit function? Reason is that non-experienced users will use this report and they should not be confronted with complex query. Do you have any idea?
Many thanks
MamaduHi,
I assume that you need to restrict the value of keyfigures by date based on user input data on variable selection screen.
First create one user input variable on your date field say for eg calday.
Now restrict your KF1 with calday and choose that vairable which you created.
For second KF2 which seems to me need to be restricted with offset of +1 based on the date entered by the user.
So restrict this KF2 with calday and use the same variable with offset of +1
I just misunderstood you ned calmonth or day because in requirement you have given month but you are calling it as date.
If its month then replace calday with calmonth..
Hope it helps.
Regards,
AL:
Edited by: AL1112 on Dec 21, 2011 9:42 AM -
Error CL_RSD_MULTIPROV in Query Designer while restricting Key Figures
Hello,
I am trying to create Query on Multiprovider in Production envirnoment.
I drag key figure in row and try to restrict it to Product Hierarchies as I don't want to create restricted Key figure.
While Saving Query I am getting following Error Massage.
'System error in Program CL_RSD_MULTIPROV and Form GET_PART_IOBJNM_CMP-01'.
When I save Query without giving any restriction in Key Figure . I could save it.
Please suggest in above error.
Thanks and Regards,Hi,
Check the note 1090490.
hope this helps,
Regards,
Rama Murthy. -
Do i have to select all the key figures when i design a query off of a cube
Do i have to select all the key figures when i design a query off of a cube? i have three keyfigures on the top of the three keyfigures it says calculated keyfigure. kind of lost dont know what to do. please let me know.
Thanks!
YorkNo, you have to select at least one.
Calculated keyfigure (CKF) means it's a formula of two or more other keyfigures. You can select, right-mouse click, display properties and you see how it is composed.
Under calculated keyfigures you see all available keyfigures of the infoprovider you build the query on. Just move them by drag-and drop from the left to the right into the columns.
You can have also restricted keyfigures (RKF). This means a keyfigure is restricted by one or more characterstics and their values.
Hope you got an idea.
Regards,
Juergen -
BEx Query-Problem opening query showing restricted key figure is inactive
Hi all,
While activating the Query we are getting error , the object is missing in active version ?
And also it is not allowing to open the query how to activate the query element now?
Also restricted key figure is inactive and how to activate the query in background ?Hi,
I have never heard of query activation, we simply create the query and save it. I don't know which activity you are referring to but try to open your query through RSRT and check what is the error it shows?
And before that make sure that your Infoprovider is in active state.
Regards,
Durgesh.
Maybe you are looking for
-
Since I upgraded to OSx 10.9.3, there are certain emails in my OUtlook that i cannot delete. as soon as i click on the email and hit the delete key, i get an error and Outlook must be closed and restarted. this has happened since i upgraded to the ne
-
Over 12 minutes required to merely OPEN a .rpt file in Crystal Reports version 8.5
Post Author: Rob Kramar CA Forum: General Background: Our division has 3 networked, but geographically dispersed, plants; each plant runs MS SQL Server and Crystal Reports on local servers. A rather complex (version 8.5) Crystal Reports .rpt file (m
-
Can we wrap the code written in Oracle Forms
Can we wrap the code written in Oracle Forms or in Reports.......... Edited by: user12889416 on 3/01/2011 21:08
-
How to customize approval process in ChaRM
Hello experts In standard ChaRM scenario, the change manager will authorize the change and then different change transactions get created and processed. But if we want to have multiple people approve the change request, there is no standard configura
-
Any one know if the HP Deskjet 2512 All-in-One Printer and the Deskjet 1000 have the same internal gears and printing mechanisms ? The 1000 is a pure printer with no scanner, copier etc. The 2512 visually looks the same as the 1000 but does scans, et