Need WebI prompt values to reflect values in cube, not values in a LOV file
While building the prompts for my reports, the values that appear when refreshing my prompt are that which are in a LOV repository file. These values do not reflect what is in the cube and may confuse a user. I am wondering how to get a full list (possibly broken out into pages) of what is in my backend cube. I have tried going into Universe Designer and unchecking "Associate a List of Values", but I am still receiving only a partial list. Any input is appreciated.
Hi,
Please anyone suggest me the solution on this. it's a quite urgent.
Thanks in Advance
Nag.
Similar Messages
-
The jar size value in the Application Descriptor does not match the real ja
Hi,
when i creat obfuscated package for my application It's posing the
Error preverifying class A
Class loading error: Wrong name
The jar size value in the Application Descriptor does not match the real jar file size.
It's perfectly working for all the other applications .I tried to change the jar size in the jad file but it's not working.Yes, the obfuscator does not change the size value after finishing. You have to do it yourself.
Mihai -
Annual Depreciation Values appear in BW, but Posting Period Values do not
Hello All,
I'm using two BW cubes for fixed asset reporting. They are:
1) 0FIAA_C02 - Period Values
2) 0FIAA_C04 - Annual Values and Transactions
The 0FIAA_C04 cube (Annual Values and Transactions) ties back to R3 for every key figure, including annual depreciation. However, the 0FIAA_C02 cube (Period Values), ties back for most key figures, but does not for any of the depreciation key figures. In fact, all depreciation key figures are zero in this cube for any month. All of characteristics and key figures are fine in 0FIAA_C02.
Any suggestions as to why the 0FIAA_C02 cube display zero for all depreciation values regardless of month or key figure?
Thank you.Please maintain the batch characterisitcs for the material at the time of Goods receipt for this material.
Or maintain the batch chracteristics in the PO.
Thanks & Regards
Kishore -
WEBI prompt based on bex variable suppress not assigned hashtag value in LOV
Hi,
is it possible to suppress the "Not assigned (#)" value from the list of values in a webi prompt based on a bex variable?
This "Not assigned" value is something BW specific, BW adds this to each characteristic automatically?!
WEBI:
RSRT:
It needs to work in WEBI, not only in RSRT, and the filtering of data still needs to work.
For rsrt it works, when you exclude the not assigned value in "Filter > Characteristic Restrictions" and use the bex variable in/through "Filter > Default Values", but this does not work in WEBI, because the BEX Query Data is not filtered on the in the prompt selected value.
Thanks.
Regards
DavidThanks David for a quick reply !
I could manage to avoid # values in WebI prompt using BAdI implementation, here is the brief:
Problem:
WebI report prompt (which shows BEx variable) list of values shows blanks or # . Rrequirement was to avoid these blanks or #
Environment:
BW 7.3
BO 4.0
BW Cube > BEx Query > OLAP Connection > WebI report
Solution:
InfoObject Level1 in BW had # values in masterdata, this could not be deleted since it was in use with other Cubes.
Vaurable Var_Level1 displays # when pressed F4 running BEx query and in list of values in WebI report prompt.
I implemented BAdI on Level1 info object and variable Var_Level1.
Steps to implement BAdI are as in following link
BEx Query - Control the values which are shown on F4
Used following code to elimitate #.
METHOD IF_RSR_VARIABLE_F4_RESTRICT~GET_RESTRICTION_FLAT.
DATA: l_s_range LIKE LINE OF c_t_range.
DATA: l_var_range LIKE LINE OF i_t_var_range.
DATA: IT_MZLEVELS TYPE TABLE OF /BIC/MZLEVELS,
WA_MZLEVELS LIKE LINE OF IT_MZLEVELS.
DATA: L_ZLEVEL1 TYPE /BIC/OIZEVEL1.
IF i_vnam EQ 'ZV_LEVEL1'.
SELECT /BIC/ZLEVEL1
FROM /BIC/MZLEVELS
INTO CORRESPONDING FIELDS OF TABLE IT_MZLEVELS
WHERE OBJVERS = 'A'.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
SORT IT_MZLEVELS BY /BIC/ZLEVEL1.
DELETE ADJACENT DUPLICATES FROM IT_MZLEVELS COMPARING /BIC/ZCLV1GP.
DELETE IT_MZLEVELS WHERE /BIC/ZLEVEL1 = ''.
l_s_range-iobjnm = i_iobjnm.
l_s_range-sign = 'I'.
l_s_range-option = 'EQ'.
LOOP AT IT_MZLEVELS INTO WA_MZLEVELS.
l_s_range-low = WA_MZLEVELS-/BIC/ZLEVEL1.
APPEND l_s_range TO c_t_range.
ENDLOOP.
ENDIF.
ENDMETHOD. -
WEBI Prompt with preset values
Hello All,
I have a requirement to create a prompt in WEBI which would display like below..
"Dollar Denomination"
This should have a preset of values
"1"
"1000"
"1000000"
When user executes the WEBI, the prompt should allow to select one value from the list of three values.
I tried creating a prompt in query filter using" In List" option, but the default values are not populated. If I click "Set default values" and enter the three, those three values are selected by default.
I want uses to select one of the value from these three values given above.
Thanks
KarthikHello Rohit,
Thanks for your reply. I tried both the suggestions but failed with errors
In Universe, I created a dimension under the section "Key Figures" and named it "Dollar Denomination"
and my formula for that was
@Select(Key Figures\Dollar Denomination) In List @Prompt('Select Unit:','N',{1,1000,1000000},mono,constrained)
It fails with parsing "Parsing Failed: Invalid Definition(UNV0023)
With WEBI:
I created a query filter with "Dollar Denomination" (that was blank dimension in the universe) and selected "Equal to" and selected as "Prompt" -> Clicked on the little question button and selected the following
Prompt properties:
Checked:
Prompt with list of values
Keep last values selected
Check "Set default values"
and keyed in
Ones
Thousands
Millions
I click on "..." button and could see that there is a prompt
"Enter Dollar Denomination" : Ones;Thousands; Millions
and Ones is selected on the right hand side.
But when I deselect it and type Thousands in search conditon, it fails with database error MDX query with member....
Sorry, I could not attach any screenshot with this message, but both failed..
any other suggestions would be appreciated..
Thanks
Karthik -
How to detect how many LOV values user selects on a WEBI Prompt
Hello Gurus,
Is there a way to identify how many LOV Values the user selects on a Webi prompt that allows multiple value selection?
For EG: If I have a webi and there's a prompt called State on the WEBI and the user selects "Utah", "Ohio" and "Texas" from the LOV and runs the query; is there a formula I can use to get the value as 3 (no.of selections)? If that's not possible, is there a way to find out if the user has selected more than 1 value?
Thanks,
RCHello,
From what I know there is no direct way of figuring it out. But here is a little trick.
Create a variable to capture the user response. Lets call it - State Prompt
It should display the values like this: Utah;Ohio;Texas
Next, get the length of the response string by using the length function.
=Length([State Prompt]). It should give you 15 in our above example.
Now, create another variable [let's call it - Replaced State Prompt] where you use Replace function, to replace/remove the ";" from the response string.
=Replace([State Prompt];";";"")
Next, get the new length of the new response string by using the length function.
=Length([Replaced State Prompt]). It should give you 13 as it removed two ";".
Now, do a subtraction and add 1 to get the count.
Overall it should be something like this-
=Length(UserResponse("Enter State")) - Length(Replace(UserResponse("Enter State");";";""))+1
Hope this helps.
Gaurav -
Default value of BeX customer Exit variable not Displayed in WeBI??
Hello Experts,
We are stuck with a problem where WeBI report is created on top of BeX query and we are not able to see the default value of Bex Customer exit variable in WeBI run. Here is the complete scenario:
1. One restricted KF is created in BeX, restricted with Customer exit variable on net Due date. And this variable is mandatory, ready for input, and Default value in calculated is user exit as current Week's Monday.
2. So, by default KF data should be restricted to Monday of current week, if user does not change this value.
3. Now, WeBI report is created on top of this Bex query, and all is working fine, i.e. we are getting variable as Prompt in WeBI, but Default value is not shown while Running the Webi Report.
So, need your inputs on the same, if default values from BeX in WeBI is supported or not? If yes, why this is happening, and how to resolve it?
Please notice, the restrcition is in KF only, it is not a separate restrcition on Net Due date in Filter area or in Defualt area of BeX
and we are on SAP BW 7.1 and BOXI 3.1 SP4.
Regards,
Vipul
Edited by: VIPUL GOYAL on Nov 23, 2011 9:44 PMHi,
See 1285993 - Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe
WebI will prompt when executed, but the default values calculated by the user exit - do not appear.
Note: If the BEx variable has property 'ready for input' set / enabled, then its WebI prompt shows ok, but no default value appears.
Cause
This behaviour expected 'by design' (in the context of the product's current limitations) as explained in the online guide below:
Please refer to Chapter 7, page 44, document link here: http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_sap_olap_universes_en.pdf
Characteristic variable > processing type > Customer Exit is "Supported, without user entry"
--> This should be understood as meaning "User will not be shown a prompt"
regards,
H -
Prompts visible on the basis of the selected value of initial prompt
I have some reports in which multiple queries option is provided at UI by using no of prompts.. Now some of the prompts are visible on basis of the selected value of initial prompt. That means If value of prompt A is x than prompt B is displayed and if value of prompt A is y than Prompt C is displayed, which of the prompt(B or C) is displayed depends on value of prompt A.
how can we achieve this.Kindly help
prompts visible on basis of the selected value of initial promptHi,
This isn't possible at report level. If you mounted your reports on a dashboard, your dashboard prompt could contain prompt a, b and c. Users can then choose to populate any of the prompts they require rather than having to hit "next prompt" all the time.
Thanks
Oli @ Innoveer -
Setting Fields value via reflection
I'm starting from a c# code:
internal void RefreshFromObject(object objFromUpdate)
if (this.GetType()==objFromUpdate.GetType())
PropertyInfo[] fieldsFrom = objFromUpdate.GetType().GetProperties();
PropertyInfo[] fieldsThis = this.GetType().GetProperties();
for(int idxProp=0; idxProp<fieldsFrom.Length;idxProp++)
if (fieldsThis[idxProp].CanWrite && fieldsFrom[idxProp].CanRead)
fieldsThis[idxProp].SetValue(this, fieldsFrom[idxProp].GetValue(objFromUpdate,null),null);
else
throw new ObjectTypeNotValidException("Object type from which update current instance not valid. Use same type.");
Now I have to translate it in Java:
Class clazz = objFromUpdate.getClass();
Class thisClazz = this.getClass();
do {
Field[] fieldsFrom = clazz.getDeclaredFields();
Field[] fieldsThis = thisClazz.getDeclaredFields();
try {
fieldsThis[idxProp].set(thisClazz, fieldsFrom[idxProp].get(clazz));
catch (IllegalAccessException iaccEx) {
System.out.println("IllegalAccessException");
catch (IllegalArgumentException iaccEx) {
System.out.println("IllegalArgumentException");
clazz = clazz.getSuperclass();
thisClazz = thisClazz.getSuperclass();
} while (clazz != null && clazz != Object.class);
My problem is that I don't know if the field type is one of primitive, for which I should use the particular setters and getters.
My questions are:
1) is there in Java a more elegant way to set fields values via reflection?
2) how can I know if a field i changable (equivalent to the method CanWrite of c#?
Thanks a lot to each one that will answer me.
MarcoHi georgemc,
thanks for replying. I-m new with java forum, so I don't know if it is correct the code tags...
Anyway... the problem is that the Field of reflected object could be both of Object types or primitive types. So I cannot use the general method "set" when changing Field's value.
Maybe somebody else had the same problem...
Seems in C# it is a very easy thing... not in java :(
Marco
Class clazz = objFromUpdate.getClass();
Class thisClazz = this.getClass();
do {
Field[] fieldsFrom = clazz.getDeclaredFields();
Field[] fieldsThis = thisClazz.getDeclaredFields();
try {
fieldsThis[idxProp].set(thisClazz, fieldsFrom[idxProp].get(clazz));
catch (IllegalAccessException iaccEx) {
System.out.println("IllegalAccessException");
catch (IllegalArgumentException iaccEx) {
System.out.println("IllegalArgumentException");
clazz = clazz.getSuperclass();
thisClazz = thisClazz.getSuperclass();
} while (clazz != null && clazz != Object.class); -
Make dimension values shown reflect other dimension filter values
I have created a cube and uses access this cube in an Excel pivot table. Is it possible to make values shown for one dimension display only the values valid, if I have selected another dimension's value that would limit the values that should
show under the first dimension? I tried linking the dimensions together with a key and that did not appear to do the trick. I also tried using dependsondimension in properties for the other dimension, but that did not work either. Is
there something I am missing that makes the cube only display the values in a dimension that apply when another dimension's value is filtered?@Naveen - I am linking to the proper measure and am seeing the correct measure values.
@KR Jurgen - I'm not finding a spot to set the scope to NULL. I would, but some people need all the values.
Here's an example. I have company 1 and 2. Company 1 has item A and Company 2 has item B. They both have sales of $1. There is a company dimension and item dimension. When I filter by company 1, I see sales of $1.
The problem is, when I select the list of items from the item dimension, I still see item B. If I put the items in the row, I only see item A. The ideal situation would be to have only item A show when I select the list of items from the item
dimension. Is there some way to accomplish this?
Thank you both for your responses. -
I am trying to load any 9.0.3 firmware on my UCM 5.0.4.2000-1 server. Every newer firmware I load throws the following error. I have verified the MD5 is correct and also downloaded the file several times with the same result. I can load the same firmware file on another UCM server and it loads fine. Any ideas?
Thanks in advance!
Error Message:
The selected signed file could not be authenticated. The file might have been tampered with or an error might have occured during download. Please verify the MD5 hash value against the Cisco Systems web site: 9b:b6:31:09:18:15:e7:c0:97:9f:e6:fe:9a:19:94:99
Firmware File: cmterm-7970_7971-sccp.9-0-3.cop.sgn
UCM version: 5.0.4.2000-1Thanks for your reply. We have a lab environment where I maintain UCM 5.0, 5.1, 6.0, 6.1, 7.0, 7.1 and 8.0 servers each running the latest released firmware for our QA testing team. I have downloaded and installed the latest device packages but find that if I try to install any firmware newer then 8.3.1 on either 5.0.4 or 6.0 i start getting MD5 hash authentication errors. It looks like 9.0.3 firmware should work on UCM 5.0 and 6.0 so I am lost as to why I can't seem to update any firmware for any model phone if it is newer then version 8.3.1 on either 5.0 or 6.0. while 5.1 and 6.1 work without issues. Maybe it is just a bug. I mostly wanted to see if anyone else has experienced this or if it is just me.
-
Transaparent partition formula value not reflect in trgt cube
Hi All
I created transaparent partition data is reflecting in the trgt cube but we are calculating member formula for srce cube that values are not reflectin in the trgrt cube I excute design aggregation for srce db still its not reflecting the value s of calculated member, Any help would be appriciated.;
thanksTanku
we are using formula in that formula we are using thre dimension crossing
1 flow
2 indicator
3 period
I am patitioning @idescndents(2009) its not showing
second i tried this @idescndents(2009) @ idescendents(indicator)
third i tried this also @idescndents(2009) @ idescendents(indicator)@idescendents(flow)
we have the formula for flow dimension
srce and trgt have the all are same dimns , evrything is same , but its not reflecting int to trgt
plz help on this formula value is it reflect in trgt????
Thanks -
Hi all,
I am new to BO and I am working in BO XI R3.
I have to create a WEBI report which will have two prompts.
1.first prompt is based on AMOUNT column in my report eg: Amount(LOV): $55000
2.second prompt is not based on any column in the report or universe. but it should accept the value from the user eg: Range value: $3500
The result should show all the rows that are having Amount>= $51500 (i.e $55000-3500) and Amount<=$58500 (i.e $55000+3500)
Can any one suggest what steps I need to follow in webI or designer to get this type of results.
Thanks!
Edited by: undefined on Dec 14, 2009 5:07 AMThanks for your reply
I tried these steps.
1. I created an object Named "Range Value" and put @Prompt('Enter value','N',mono,free,not_persistent,) in where condition in the universe.
2. In webi report I dragged this "Range Value" object in the query filter panel and selected it as prompt and put prompt message as 'Enter value'.
3. After I run the query I am getting an error as "A database error occured. The database error text is: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.. (WIS 10901)".
4. I tried to change the prompt message in query filter as 'Enter a range value' and run the query. this time it prompted me with 2 prompt messages
a.Enter value (the Prompt message which I gave it in the object in the universe):
b.Enter range value(the Prompt message which I gave it in the query filter panel):
5. when I entered same values in both the prompts again it was throwing me the same above error.
6. Later I tried to put 'Enter a range value' prompt as optional and then run the query. this time I entered value in only one prompt and it worked. BUT the problem is that it shows 2 prompt Messages.
7. I repeated same procedure to create another prompt "Enter Amount" and the same thing happen 2 prompt messages
a."Enter Amount"
b."Enter Amount value"
How can I avoid showing 2 prompt messages for one object?
I avoided that and created all below variables in the webI report
a.v Amount = ToNumber(UserResponse("Enter Amount"))
b.v Range = ToNumber(UserResponse("Enter value"))
c.v Max Amount = v Amount + v Range
d.v Min Amount = v Amount - v Range
now when I was trying to filter the report with Max Amount and Min Amount I am not able to select the variable in the WEBI filter panel. It only gives me LOV of that columns.
Where I am going wrong?
how can I avoid 2 prompt messages for one object and how to filter the amount with min and max values.
Can you please explain me more in detail.
thanks,
Edited by: undefined on Dec 15, 2009 5:58 AM
Edited by: undefined on Dec 15, 2009 5:59 AM -
Webi @Prompt create MDX error
We are running a Web Intelligence report on an Universebased on a SAP BI7.0 query , when i use prompt filter result, it return MDX error. If i swich back to constant value , no errro occur. Please help...
This is the error message,
A database error occured. The database error text is: The MDX query SELECT { [Measures].[D3FGYPFVIEMBV1Z91MAAZTTSA] } ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [0CALMONTH].[LEVEL01].MEMBERS, { [0VENDOR__0COUNTRY].[Aruba] } ), [0PLANT].[LEVEL01].MEMBERS ), [0MATERIAL__0MATL_GROUP].[LEVEL01].MEMBERS ), [0MATERIAL MC0].[LEVEL01].MEMBERS ) ON ROWS FROM [0PUR_C01/QR_0PUR_C01_TOPN] SAP VARIABLES [!V000004] INCLUDING [0ITM_CAT].[0] [!V000002] INCLUDING [0CALMONTH].[200204] : [0CALMONTH].[200912] [!V000003] INCLUDING [0PLANT].[0101] [VAR_TOPN] INCLUDING 10 failed to execute with the error Value Aruba for characteristic 0VENDOR__0COUNTRY unknown. (WIS 10901)
The universe is connect to BW query and this BW query have filter within. When parameter prompt, i need to select filter containt at BW query and webi filter.
[0VENDOR__0COUNTRY].[Aruba] is the prompt webi filter
i have test webi prompt by connect to BW infocube, its works. -
Can we toggle the display of Key/Text in Webi prompt?
Gurus,
We have a BOBJ 4.0 and BW 7.1 system. We have developed a webi report on top of BW BEx query. We have created 3 variables in BW BEx Query and they appear as prompts in webi. The prompt variables in webi display both the key and text when the list of values are refreshed. The business wants to see the key first and the text later on the webi prompt. I have tried modifying the BEx query to say just 'Key' or 'Key and Text' but none seems to have any effect on webi.
I have attached the screenshot from our webi prompt which displays all the material text first and the material number (key) next to it. Is there any option of bringing the key first and the text later in the webi prompt? Creating a universe or creating the prompts directly on the webi report is not an option at this time.
Any help is greatly appreciated! Points will be rewarded!
Thanks,
G.Hi Nirupa,
I am sorry if I wasn't clear in my requirement. The requirement is to have the Key display first and then the text next to it. If you see the attached screenshot, in the highlighted area, we have the text first and then the key next to it.
I tried making many changes to the BEx variable and the BEx Query but this order of text first and key next in the prompts does not seem to change. Is there a way to change this behavior of the webi prompts? Again, all the 3 prompts are created on BEx query designer as variables and there are no variables created on webi.
Maybe you are looking for
-
please help me set my password and id name for my ipad its not fair i bought it from a person for a high price and apple wont help you out. but you can reset anyother computer by your self with no problem
-
Hi, I´m trying to install Oracle 9i on a PC with Suse 9.2. when I put the first CD it comes with this error: Initializing Java Virtual Machine from /tmp/OraInstall2006-05-04_11-13-11PM/jre/bin/java. Please wait... Error occurred during initialization
-
Canon GL2 and Belkin 800/400 9-pin to 4-pin firewire cable not working!!!
I have my Canon GL2 connected to my I-Mac OSX version10.7.3 with a Belkin 800/400 9-pin to 4-pin firewire cable and the computer is not acknowledging the camera or firewire cable. Trying to get footage into Final Cut Pro 10 off mini dv tape.
-
Rotating Image with Fade Effect
Ok looking to rotate an image with a fade effect; below is a rotating image code. (Wanting this effect to be transitional and smooth. Transparency? Opacity?) <script language="JavaScript"> <!-- function adArray() { for (i=0; i*2<adArray.arguments.len
-
Can I use an ipad2 at home without having a PC and email address