InfoView - How to Restrict values of Month Dimension Combo Box
Post Author: alexrox
CA Forum: Publishing
Product: Business Objects Enterprise XI R2
Version: XI R2
Patches Applied:
Operating System(s): Linux RHEL 4 x86
Database(s): Oracle 10gR2
Error Messages:Steps to Reproduce:
Hello, we are using Business Objects Enterprise XI R2 in the company I work, and we are facing a problem in some web intelligence reports.Our BO version is in Spanish, so maybe I do not translate some BO terms properly into English.
We have the "Time" class in the Universe we use, and in that class, we have the "month" dimension.
When we create some reports in InfoView, we can use the "month" dimension to display the results of that month (dragging and dropping that dimension in the "Analysis Context" Area).
The user can choose values in the "month" dimention through a combobox in the "analysis context" area. The problem is that Infoview allows the user to select the value "all the values" of that dimension, I mean, all the months, so that the results of the report are according to the "automatic aggregation" calculated of the values of that dimension (all the months).
But, we do not want to allow the user to select that value (all the values) of that dimension, because it causes that the report displays incorrect results (we have some percentages that have incorrect values in the aggregation, for example). I hope that you understand the problem I have tried to explain.
My question is how can we restrict so that the combo box (of the month dimension at the analysis context area ) does not allow to select "all the values"?
Is it possible? If so, do we have to make a change in the universe or is it a restriction of the web intelligence repport?
Thank you very much!
Alejandro Usero Ruiz
Post Author: jsanzone
CA Forum: Publishing
Alejandro,
In your posting, quote "(we have some percentages that have incorrect values in the aggregation, for example).", I'm wondering if you are calculating the percentages within your universe or not? I.e. do you have a universe object that in essence is doing the math? If so, I might suggest that you not do it this way (even though in total aggregation calculations this will produce a valid result), but in disaggregate calculations (during the users "slicing and dicing") the percentages are not re-calculated by the BusObjects tool because it thinks that the data it received from the SQL output is good to go, and this is where the incorrect values in the aggregation start to show up. We had this problem too, so we ceased from calculating at the universe level and built a local variable to the report, thus BusObjects will recalcuate the percentage properly for each level of aggregation that user selects. The downside to this approach is that every report that has percentage calculations will require the local variable to be built for that report. Even users who build their own reports will have to build their own local variable to compute the percentage for their reports. The upside is that the calculations will be correct every time.
Similar Messages
-
How to restrict values of Dimensions in Webi report prompt
Hi
I need to create a WebI report for a set of Business users. We have several thousands of Agencies. Business Users want to see only the agencies they work with (about 100) in the prompt. This way they need not go through thousands of agencies they dont work with. I tried to use List Of Values option but that didnt give me desired result. Please let me know how to restrict values in prompt to few values from the n number of values available in database.
Thanks in advance.Hi,
there is no such step-by-step!
I would encourage you to consult documentation and search for terms 'row level restriction' in the help guides.
Practice makes perfect
Good luck
H -
How to restrict values displayed using a select-options
Can someone please tell me how to restrict values displayed using a select-options.
Example- in my table I have 100 entries. However when the user will click on the required field- I want to be display only 25 options based on a given value of another field in the table.
Thanks,
Mahesh.get the screen value for the selectd field using the fm
DYNP_VALUES_READ.
for that value filter the internal table values and pass the table to f4 help of the field.
below code will help u
write the f4 help for the field.
At Selection Screen on value request *
F4 help for Corporate
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_CORP.
Get Corporates for selected division
PERFORM GET_CORP.
PERFORM F4HELP_CORP.
*& Form GET_CORP
Get the corporates for the selected division
There are no interface parameters to be passed to this routine
FORM GET_CORP .
Table for conglomerate
DATA:
LT_CONG LIKE STANDARD TABLE OF FS_CORP,
Fields of current screen
LFS_DYNPREAD TYPE DYNPREAD,
Table for current Screen fields
LT_DYNPREAD LIKE STANDARD TABLE OF LFS_DYNPREAD.
LFS_DYNPREAD-FIELDNAME = 'P_DIV'.
APPEND LFS_DYNPREAD TO LT_DYNPREAD.
Get selection screen value for division
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = SY-REPID
DYNUMB = SY-DYNNR
TABLES
DYNPFIELDS = LT_DYNPREAD
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11.
IF SY-SUBRC EQ 0.
READ TABLE LT_DYNPREAD INTO LFS_DYNPREAD INDEX 1.
IF SY-SUBRC EQ 0.
P_DIV = LFS_DYNPREAD-FIELDVALUE.
ENDIF. " IF SY-SUBRC EQ 0
ENDIF. " IF SY-SUBRC EQ 0
REFRESH T_CORP.
Get the conglomerate for the selected division
SELECT KUNNR " Conglomerate
FROM KNVH
INTO TABLE LT_CONG
WHERE HITYP EQ C_HITYP
AND VKORG EQ C_VKORG
AND VTWEG EQ C_VTWEG
AND SPART EQ P_DIV
AND DATAB LE SY-DATUM
AND DATBI GE SY-DATUM
AND HKUNNR EQ SPACE.
IF SY-SUBRC EQ 0.
SORT LT_CONG BY KUNNR.
DELETE ADJACENT DUPLICATES FROM LT_CONG
COMPARING KUNNR.
Get the corporates for the selected conglomerates
SELECT KUNNR " Customer Number
FROM KNVH
INTO TABLE T_CORP
FOR ALL ENTRIES IN LT_CONG
WHERE HITYP EQ C_HITYP
AND VKORG EQ C_VKORG
AND VTWEG EQ C_VTWEG
AND SPART EQ P_DIV
AND DATAB LE SY-DATUM
AND DATBI GE SY-DATUM
AND HKUNNR EQ LT_CONG-KUNNR.
IF SY-SUBRC NE 0.
CLEAR: SSCRFIELDS.
MESSAGE I531(0U) WITH TEXT-005.
STOP.
ENDIF. " IF SY-SUBRC NE 0
ELSE.
CLEAR: SSCRFIELDS.
MESSAGE I531(0U) WITH TEXT-004.
STOP.
ENDIF. " IF SY-SUBRC EQ 0
ENDFORM. " GET_CORP
*& Form F4HELP_CORP
F4 help for corporate
There are no interface parameters to be passed to this routine
FORM F4HELP_CORP .
F4 help for corporate
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'KUNNR'
DYNPPROG = 'Z_EXCESS_USAGE'
DYNPNR = '1000'
DYNPROFIELD = 'P_CORP'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = T_CORP
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC EQ 0.
Do nothing
ENDIF. " IF SY-SUBRC EQ 0
ENDFORM. " F4HELP_CORP -
How to Add/Concatenate to a text field, values selected in a combo box
I have a combo box form field that allows the user to select a value from a list and click on an Add button. The Add button should add/concatenate the vaue selected to a text field in order to create a list of values selected. I'm not sure how to do this using Javascript in Acrobat? I know I need to add the javascript to the Add button's Mouse Up action. Any help would be greatly appreciated. Thanks!
Thanks so much - it works!
>>> "Gilad D (try67)" <[email protected]> 9/25/2013 9:16 AM >>>
Re: How to Add/Concatenate to a text field, values selected in a combo box created by Gilad D (try67) ( http://forums.adobe.com/people/try67 ) in JavaScript - View the full discussion ( http://forums.adobe.com/message/5712118#5712118 )
Let's say the text field's name is "Text1", and the combo is called "Combo1". You can then use this code as the MouseUp script of the Add button:
var f1 = this.getField("Text1");
var f2 = this.getField("Combo1");
if (f1.value=="") f1.value = f2.value;
else f1.value = f1.value + ", " + f2.value;
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5712118#5712118
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5712118#5712118
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5712118#5712118. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in JavaScript by email ( mailto:[email protected].com ) or at Adobe Community ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=3286 )
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
How to disable smartcut toolbar or sections combo box?
Dear firends,
How to disable smartcut toolbar or sections combo box?
regards
SiyavuşI am doing this from button OnClick now!!! but it not work for OnStartup document?!
var x=document.getElementById("pageSelect")
x.disabled=true
regards
siyavuş -
How to restrict value of materila in a PR created from PS to 1 Rupee
Hello Gurus,
While creation of material PR from P, system is picking value either info record or material master. How can we restrict value of materila in a PR created from PS to 1 Rupee?
NagarajHi,
On costing variants(OPL1)->valuation varient u can define which would be picked for planing, there give top priority for "Plan price 1"
To get plan price 1, you have to update on material master(mm02) on costing 2 tab as 1 rupee for all required materials.
hope this would help
regards,
SL -
How to restrict values of characteristics in Bex
Hi All,
I want to restrict values for a particular characteristics starting from ZABC* in Bex without writing CMOD ABAP code
For Ex
ZABC123
12656
ZABC234
So in the report o/p shd be
ZABC123
ZABC234Hi Roshan,
I don't understand well your issue, but I will try to answer to you with two possible solutions anyway.
You can use the variable not in the characteristic filter but in each index. For example, if you have two indexes to be displayed in your column structure, try to filter them with the characteristic value variable. In this case you can probably see all of the characteristic values but for only ones that start from ZABC* you can see KFs values.
According to an another my supposition, you can use an exception (there is a dedicated tab when you restrict your characteristic). You can find more informations reading the following link:
http://help.sap.com/SAPhelp_nw70/helpdata/en/43/21b4cd14cd06f4e10000000a422035/content.htm
Hope it helps.
Best regards.
Simone. -
How load value in system fom Combo box
Hi,
I want load some value(like aaa,bbb)in Item Master data form-Item groups Combo box.
How to do this one?.
Regards,
SivaHi Siva,
Instead of adding data into combobox plz insert data into OITB table then system will shows all values in Item master
data groups combobox.
By
Firos -
I am working in access 2013 to update a database first created in Access 2003. It has been saved as an accdb but I have the same problem in earlier versions.
I have a Tab Control subform in my MainDataEntry form which has 5 different tabs. Each Tab has its own set of text boxes and combo boxes for data entry. At the top of the MainDataEntry form there is a Text box [Text393], which has a drop down with
the 5 TAB names, [Mobile Device],[Computer],[Loose Media],[Network] and [Original Device]. When I select one of these values in the Text box, I would like to automatically set focus on the first Textbox or ComboBox inside the corresponding TAB.
I have tried to do this using the MacroBuilder inside the "After Update" Property for the Text or Combo box that is on the MainDataEntry Form using "If" and "Else If" statements for the "GoToControl" action, however
I seem to be able to only get one Tab to work. I have tried several different variations of this, putting the If statement first and the action argument second...putting all arguments inside a group, or not grouped....nothing seems to work. What am I
doing wrong?
EXAMPLE:
If [Text393]=[Mobile Device] Then
GoToControl
Control Name Combo471
Else If [Text393]=[Computer] Then
GoToControl
Control Name Bios_Date
Else If [Text393]=[Loose Media] Then
GoToControl
Control Name Combo659
Else If [Text393]=[Network] Then
GoToControl
Control Name User Name
Else If [Text393]=[Original Device] Then
GoToControl
Control Name Combo814
End IfIn the Macro Builder's AfterUpdate event for [Text393]:
GoTo Control
Control Name =Forms!MainDataEntry.Controls(Text393.Value).Name
To ensure that the first control on each tab receives the focus, set that control's Tab Index property to zero (0). -
How do you set an array of combo boxes to a specific value?
I have an array of combo boxes that I would like to set to a specific value. When I tell my program to set them it only sets the combo box that I most recently changed and none of the others.
I've attached a small vi that demonstates the problem.
Thanks,
--Ben
Solved!
Go to Solution.
Attachments:
ComboBoxProblems.vi 12 KBYour property node is for only one combo box (you can see this on the label and also by double clicking to go to UI element).
If you want to change all of them then either follow previous suggestion or create a property node for the array and not just one of the combo boxes. -
Value not visible in combo box
Hi all,
I have a control bar with 5 combo boxes.
As the user set the value on a box the others are refined to
include only those items that are relative to the user selection.
All works well with one exception in one list the value is
present bu not visible.
Has anyone encountered this before and does anyone know how
to correct it?
Thanks in advance for any help.Duh.
In the one case where the item fails to show I was not
casting the value as a string.
Casting solved the issue. -
How can I set the size of combo boxes on a toolbar
Hi, I am trying to use setMinimumSize of a combo box on a toolbar, It doesn't seem work. The code as following? Can anyone tell me how I can do it ?
JComboBox sw = New ComboBox();
sw.setMinimumSize(new Dimension(10,10));
Thank you.
Scottuse the method preferred size of the JComponent superclass of the combos:
setPreferredSize
public void setPreferredSize(Dimension preferredSize)
Sets the preferred size of the receiving component. If preferredSize is null, the UI will be asked for the preferred size. -
Populate 2nd combo box based on value selected in 1st combo box
I am still using Acrobat 6 though I may be upgrading soon to Acrobat 8. I have a form with two combo boxes, the first "state" has values of MN and WI. Based on which value the user picks I would like to populate a "county" combo box with lists of counties that we deal with.
Thanks,
GeneOne can set the option and export value using an arry:<br /><br />// document level script<br />// Master List of Lists <br />// Each entry in this object listeral is the name of a State <br />//Manually enter the State Names into the state field combo box <br />// The associated value is the item list, where each item is a name value pair, [<County> and [county code, zip code]] <br /><br />// state: ["county name", ["county code", "zip code"]]<br />var oStateNames = {MN: [["-", ["", ""] ], <br /> ["St. Louis", ["MNStl", "55001"] ], <br /> ["Carlton", ["MNSCrl", "55002"] ], <br /> ["Pine", ["MNPin", "55003"] ],<br /> ["Cook", ["MNCok", "55004"] ] <br /> ], <br /> WI: [["-", [" ", " "] ],<br /> ["Douglas", ["WIDou", "55005"] ] ,<br /> ["Bayfield", ["WIBay", "55006"] ],<br /> ["Burnette", ["WIBur", "55007"] ],<br /> ["Ashland", ["WIAsh", "55008"] ]<br /> ]<br /> }; <br /><br />//SetCountyEntries() on keystroke entry in state field <br />function SetCountyEntries() <br />{ <br /> if(event.willCommit) <br /> { <br /> // Get the new counties list from the Master List <br /> // Since the selection is being committed, <br /> // event.value contains the State name <br /> var lst = oStateNames[event.value]; <br /> // Clear the county list if there are no counties for the selected state <br /> this.getField("ee.address.county").clearItems();<br /> this.resetForm(["ee.address.code", "ee.address.zip"]);<br /> if( (lst != null) && (lst.length > 0) )<br /> this.getField("ee.address.county").setItems(lst); // set opiton and export value<br /> } <br />} <br />// end document level script<br /><br />For the combo box "ee.address.county" one can create an array from the export value to populate the county code and zip code<br /><br />// custom keystroke for county combo box<br />if(event.willCommit & event.value != "") {<br />// split county and zip codes<br />var aCodes = this.getField(event.target.name).value.split(",");<br />this.getField("ee.address.code").value = aCodes[0];<br />this.getField("ee.address.zip").value = aCodes[1];<br />}<br />// end custom key stroke code
-
How to hide certain items in a Combo Box
I've two Combo Box(CB). First CB contain 4 items(drop-down menus) and the 2nd CB contain 12 items.
I want that when I select one of the items from Combo Box1, then only 4 out of 12 items from Combo Box2 should be visible. So actually I want first combo Box to act as filter. Could this be done using the AS3 code.I don't think there is any way to hide items, but you can rewrite he items basd on the selectedIndex value of the cbHeight combobox. In the code below, each element of the weightData array is an array of objects.
import fl.data.DataProvider;
var weightData:Array = new Array();
weightData.push([{label: "100"},{label: "110"},{label: "120"},{label: "130"}]);
weightData.push([{label: "200"},{label: "210"},{label: "220"},{label: "230"}]);
weightData.push([{label: "300"},{label: "310"},{label: "320"},{label: "330"}]);
function heightSelected(evt:Event):void
var hSelected:int = evt.target.selectedIndex;
var dp:DataProvider = new DataProvider(weightData[hSelected]);
cbWeight.dataProvider = dp; -
How to enable group label selectable on combo box?
When we use the combo box, we can group the items as following
group 1
item 1 1
item 1 2
group 2
item 2 1
item 2 2
How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
ThanksWhen we use the combo box, we can group the items as following
group 1
item 1 1
item 1 2
group 2
item 2 1
item 2 2
How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
Thanks
Maybe you are looking for
-
How to do that when you open a new tab to appear like the start page after opening the browser?
-
How do I select an alarm song without it playing?
First off I live in a dorm with two other people. Occasionally when I go to set my morning alarm I find myself needing to choose a new song (once I've gotten used to a song I can sometimes sleep through it). However upon selecting the song my phone c
-
Project Online External User Access
Hello, I'm testing the Project Online Preview and I would like to share the deliverables list on a project site with an external user (a client for example); so I configured the site collection with Project Web App to the "Allow external users who ac
-
I used SuperCal on all my previous PowerBooks to calibrate their display, but it is not working correctly on MBP. What do you guys use?
-
Refresh/reload Swing components???
Hi all, I am having a problem with using a Swing frame ... I am calling a command line program on the click of a button in the frame. But as soon as the button is clicked, the swing frame is paused .. the button stays pressed as long as the program e