How to pass variable to jump to query !
hello Experts !
i have a query with variable "Month". so when i run that , user enters the Month/year and it gives the results for "Employee ID" for that month/year.
i have also creted another query on dso, in order to get detail line item information abt " Employee ID" and join this query with the main one thru RRI.
in RRI , i have selected "Employee ID" as single value field for both the query. the problem is when i do GOTO from the first query , it does work and gives me the result, but it gives records corresponds to that "Employee id"for all the months and year.
How do i also pass "Month" - variable value along with that "Employee id" so that the second query only shows line item for that employee id for that selected month.
thanx
Hi,
The use of jump query is to get the detailed level information, for the key figure values which appears in main query.
This mainly happen when in your cube design you do not details information.
For example:
In your main query output you have :
division , company code , variable amount
Rec1)10, 1012,4000
Rec2)20,1001,5000
Now you want to know what are the document numbers involved to get the variable amount:
So now , you jump query output will be for record no 1.
Document number , variable amount
100001,500
100002,1000
100003,2000
100004,500
So now you can see that jump query is giving you the documents numbers which are total of 4000.
Once you have variable in main query , the jump will give details of those keyfigur values only.
In case of jump query you need not to have any variable , it will automatically take from parant query.
Though you can define varaible for jump also.
I hope it clear your doubt
Thanks
Mayank
Similar Messages
-
How to pass variable into lov sql query using like operator
hi.
i want to use a lov where i want to pass a variable using like operator.
my query is
select empno,name from table where empno like ':ed%';
my empno is A001 TO A199 AND B001 TO B199 so i want show either A% or B% empno
how can i do this ?
reagrdskindly press Shift+F1 at a time you face this error to see the exact Oracle error message.
and provide us with that detail
and its better if you start new topic for that error... because that will be new error,,,
-- Aamir Arif
Edited by: Aamiz on Apr 7, 2010 12:27 PM -
OBIEE 11g How to pass variable from one prompt to another prompt in dashboard page.
How to pass variable from one prompt to another prompt in dashboard page.
I have two prompt in dashboard page as below.
Reporttype
prompt: values(Accounting, Operational) Note: values stored as
presentation variable and they are not coming from table.
Date prompt values (Account_date, Operation_date)
Note:values are coming from dim_date table.
Now the task is When user select First
Prompt value “Accounting” Then in the
second prompt should display only Accounting_dates , if user select “operational”
and it should display only operation_dates in second prompt.
In order to solve this issue I made the
first prompt “Reporttype” values(Accounting, Operational) as presentation
values (custom specific values) and default presentation value is accounting.
In second prompt Date are coming from
dim_date table and I selected Sql results as shown below.
SELECT case when '@{Reporttype}'='Accounting'
then "Dates (Receipts)"."Acct Year"
else "Dates (Receipts)"."Ops
Year" End FROM "Receipts"
Issue: Presentation variable value is not
changing in sql when user select “operation” and second prompt always shows
acct year in second prompt.
For testing pupose I kept this presentation
variable in text object of dashboard and values are changing there, but not in
second prompt sql.
Please suggest the solution.You will want to use the MoveClipLoader class (using its loadClip() and addListener() methods) rather than loadMovie so that you can wait for the file to load before you try to access anything in it. You can create an empty movieclip to load the swf into, and in that way the loaded file can be targeted using the empty movieclip instance name.
-
How to pass Variable value to SWF file in Eclipse development
We are creating Widget file in Eclipse by using SAP Widget Foundation .
We included one SWF file in Widget & it is working fine.
But we are not able to pass the values to SWF file variables.?
How to pass variables to SWF file let us know.
Thanks & regardsWe are creating Widget file in Eclipse by using SAP Widget Foundation .
We included one SWF file in Widget & it is working fine.
But we are not able to pass the values to SWF file variables.?
How to pass variables to SWF file let us know.
Thanks & regards -
How to pass runtime parameters to Oracle Query from xMII server
Please can anybody help me that how to pass runtime parameter to Orcle Query from xMII server.
It works the same way as I described in this thread [How to pass runtime parameters to MySQL Query from xMII server]. It does not matter the datasource MII will work the same for all queries, at least for passing in parameters. How to write those queries and their datatypes will be the differences.
-
How to pass runtime parameters to MySQL Query from xMII server
Please can anybody help in How to pass runtime parameters to Orcle Query from xMII server
The answer is the same as for your other thread. The mechanism is the same regardless of the end database. The SQL syntax will be different for each database vendor depending upon which functions you are invoking. The main areas of difference between SQL Server, Oracle, DB2, etc. deal with dates (times also) and strings, but there are others as well.
Regards,
Mike -
How use integer variable as object in query
sir how use integer variable as object in query
see my code
Integer currentssgg = new Integer(tt.getValue().toString()); no error
//yy.setValue(currentss); no error
//yy.setValue(new Integer(tt.getValue().toString())); no eror
getSessionBean1().getTripRowSet().setObject(1,currentssgg); giv error
tripDataProvider.refresh();
and how use string variable same as method
please give me idea how use integer variable as object in query
thank's
aamir>> var mnu = 'menu1';
this[mnu].onRollOver = function(){
<<
Close, but it needs to be like this:
var mnu = 1;
this["menu" + mnu].onRollOver = function(){
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
How to pass variables between loaders
Hi,
I am trying to load an image, with descriptive text and a back button on the click of a thumbnail of the image. I am using a MovieClipLoader instance to do this.
Here are my problems:
1. I tried loading the image, with the text(which is within an external swf), using the same loader, but since I am placing them dynamically, depending on the dimensions of the image, I need to pass variables between the two. The image loader is taking longer than the text (obviously) but I need the dimensions of the image before I can place the text. How do I do that??
2. I tried using two loaders, with separate listeners, and the problem once again is that the text loads before the image, and is hence placed with default values instead of the values derived from the image. The code is within onLoadInit(). Is it possible for me to get the dimensions of the image from onLoadStart()???
3. There is a back button within the text.swf. I want the image and the text.swf to be unloaded when this button is clicked. How can I achieve that? Can I call loader.unloadClip(target), from within this? Will it recognize the variable?
4. Is there a much easier way to do this, which I am sadly unaware of?
Any help will be appreciated.Tried the onloadstart() function, but it gives target._width and _height as 0. So that is ruled out...any other suggestions?
-
How to pass variables to Skin applied with skinClass?
Hi all,
I'm experimenting with new skin for a SkinnableContainer, and I would like to pass variables to that skin to dynamically change some elements.
This is how I would like it to work, but it doesn't. Is there a way to make it work? (Or something similar... like defining new stylesheet-elements in the skin.)
<s:SkinnableContainer skinClass="skins.SkinnableContainerBackground" gradient1="0xFFF000" gradient2="0x000FFF>
<s:RichText id="rt1" width="400" height="200" />
</s:SkinnableContainer>
Skin:
<s:Skin xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:d="http://ns.adobe.com/fxg/2008/dt"
xmlns:ai="http://ns.adobe.com/ai/2008"
height="100%"
width="590">
<s:layout>
<s:BasicLayout/>
</s:layout>
<s:states>
<s:State name="normal"/>
<s:State name="disabled"/>
</s:states>
<fx:Metadata>[HostComponent("spark.components.SkinnableContainer")]</fx:Metadata>
<fx:Script>
<![CDATA[
[Bindable] public var gradient1:uint;
[Bindable] public var gradient2:uint;
]]>
</fx:Script>
<s:Group top="0"
bottom="0"
left="-11"
right="0">
<s:Group x="15"
top="0"
bottom="0"
id="kaft">
<!-- <s:filters>
<s:DropShadowFilter alpha="0.4"
blurX="6"
blurY="6"
distance="4.24264"
quality="3" />
</s:filters>
-->
<s:Rect width="586"
ai:knockout="0"
d:userLabel="kaft"
top="0"
bottom="0">
<s:fill>
<s:LinearGradient y="82.3125"
scaleX="585.975"
rotation="-0">
<s:GradientEntry color="{gradient1}"
ratio="0.466667"/>
<s:GradientEntry color="{gradient2}"
ratio="1"/>
</s:LinearGradient>
</s:fill>
</s:Rect>
</s:Group>
</s:Group>
<s:Group id="contentGroup"
left="20"
right="20"
top="10"
bottom="20">
<s:layout>
<s:BasicLayout/>
</s:layout>
</s:Group>
</s:Skin>ou can also define custom CSS styles:
MySkinnableContainer.as
[Style(name="gradientA", type="uint", format="Color", inherit="no")]
[Style(name="gradientB", type="uint", format="Color", inherit="no")]
public class MySkinnableContainer extends SkinnableContainer
public function MySkinnableContainer()
super();
MySkinnableContainerSkin.mxml
<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/halo"
xmlns:s="library://ns.adobe.com/flex/spark">
<fx:Metadata>
<![CDATA[
[HostComponent("MySkinnableContainer")]
]]>
</fx:Metadata>
<s:states>
<s:State name="normal" />
<s:State name="disabled" />
</s:states>
<s:Group bottom="0" left="-11" right="0" top="0">
<s:Group id="kaft" x="15" bottom="0" top="0">
<s:Rect width="586" bottom="0" top="0">
<s:fill>
<s:LinearGradient y="82.3125" scaleX="585.975" rotation="-0">
<s:GradientEntry color="{getStyle('gradientA')}" ratio="0.466667" />
<s:GradientEntry color="{getStyle('gradientB')}" ratio="1" />
</s:LinearGradient>
</s:fill>
</s:Rect>
</s:Group>
</s:Group>
<s:Group id="contentGroup" bottom="20" left="20" right="20" top="10" />
</s:SparkSkin>
styles.css
@namespace local "*";
local|MySkinnableContainer {
gradientA: #FF0000;
gradientB: #000FFF;
skinClass: ClassReference("MySkinnableContainerSkin");
main app:
<fx:Style source="styles.css" />
<local:MySkinnableContainer width="590" height="100%">
<s:RichText id="rt1" width="400" height="200" color="#000000" text="test" />
</local:MySkinnableContainer> -
How to put variable selection and the query result the same screen
Dear all,
how can I put the variable selection and the query result in the same screen? Please advise. Thanks.
Jin MingNot sure if you are saying you want the prompts on the same page as the results... however in 7.0 with BEx Analyzer, you can insert a text object from the design toolbar and assign it to the variable.... this way, lets say you run query for period 6, then the text object will display "6" on the same area where the query results are.
-
How to pass variable to SQLPLUS in a ksh script?
Hi,
I am writing a ksh script which will use sqlplus to run a sql and pass 2 variables as the SQL request. In the ksh script, I have 2 variables which are $min_snap and $max_snap holding 2 different numbers.
Inside the same script, I am using SQLPLUS to run an Oracle SQL script, which request to enter 2 set of numbers, one at a time. Normally running situation, I can enter the number from the keyboard, but since I am writing a script, I want to pass those numbers by passing variables in the script? How can I do it?
Please help!
here is my ksh script,
#!/bin/ksh
if [ "$1" = "" ]
then
echo "Usage : delete_snapshot.sh <db_name>"
exit
fi
export ORACLE_BASE=/oracle1/app/oracle
export ORACLE_PATH=.:/oracle1/app/oracle/product/8.1.7/tune
export ORACLE_HOME=/oracle1/app/oracle/product/8.1.7
export ORACLE_RDBMS=$ORACLE_HOME/rdbms/admin
export ORACLE_SID=$1
curr_time=`date +"%m/%d/%y %H:%M:%S"`
log_file=/home/mdbtuner/stats/sppurge/log/{$ORACLE_SID}_`date +"%Y%m%d"`.log
#echo $log_file
echo "****** Delete Snapshot for $ORACLE_SID at $curr_time ******" >> $log_file
#echo "****** Delete Snapshot for $ORACLE_SID at $curr_time ******"
#echo $ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID
cd /home/mdbtuner/stats/sppurge
$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << EOF > $min_snap
@min_snapid.sql
exit;
EOF
$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << EOF > $max_snap
@max_snapid.sql
exit;
EOF
echo $min_snap $max_snap
cd $ORACLE_RDBMS
#$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << EOF >> $log_file
$ORACLE_HOME/bin/sqlplus -S perfstat/perf$ORACLE_SID@$ORACLE_SID << !
@sppurge
$min_snap
$max_snap
exit;
#EOF
Thanks in advance!
Robert
Message was edited by:
user168Thank you for response, Paul.
Have you ever used statspack? or sppurge.sql?
When you run $ORACLE_HOME/rdbms/admin/sppurge.sql, it waits for user to enter losnapid and hisnapid manually from the keyboard.
My trouble is to have a script to delete old snapshot which are 3 weeks old. So I create min_snapid.sql and max_snapid.sql to hold two variables.
Based on your solution, I tried it but it doesn't work.
It returns the error messages as following....
Warning
~~~~~~~
sppurge.sql deletes all snapshots ranging between the lower and
upper bound Snapshot Id's specified, for the database instance
you are connected to.
You may wish to export this data before continuing.
Specify the Lo Snap Id and Hi Snap Id range to purge
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for losnapid: Using exit; for lower bound.
Enter value for hisnapid:
User requested Interrupt or EOF detected.
Enter value for hisnapid:
User requested Interrupt or EOF detected.
WARNING: LoSnapId or HiSnapId specified does not exist in STATS$SNAPSHOT
Enter value for hisnapid:
User requested Interrupt or EOF detected.
Purge of specified Snapshot range complete. If you wish to ROLLBACK
the purge, it is still possible to do so. Exitting from SQL*Plus will
automatically commit the purge.
------------------------------------------- -
How to pass variable in a function
I would like to ask how to pass the value "char" into the
"onSoundComplete" function? many thanks! many thanks!
_root.playVO = function(pageNum, char){
var myVO:Sound = new Sound();
myVO.loadSound("vo/vo" + pageNum + ".mp3", true);
_root.myVO.onSoundComplete = function(char){
_root.attachMovie("indicator", "indicator",
_global.curLevel++);
_root[char].mouth.gotoAndStop("mute");
_root.indicator.clickIndicator_btn.onRelease = function(){
_root.play();
_root.currentPage++;
_root.display(_root.currentPage);
this._parent.removeMovieClip();
}I don't think you can pass variables into the onSoundComplete
handler function. But you don't really need to as you've written
the code. You're passing it into the playVO function so it should
be availble to the onComplete handler (which you've written inside
playVO) without having to restate it. As long as you pass it in
when calling playVO (e.g. playVO(myVar);)
Hope that helps! -
How to pass variable value to field of standard sap transaction.
Hi Experts,
i want to pass the value of variable to field of standard sap transaction. but that field is not having the parameter ID. so please tell me how i pass the value to field.
thanks in advance.You might like to provide a few more details of which field and transaction you are trying to interact with... typical solutions involve user exits / BAdIs / Enhancements, or transaction variants, or building a BDC to part fill the screens of the Tcode you are calling.
Jonathan -
How to pass a Vector as a Query String to a URL
is there a way to pass a vector as a query string in a URL in Java. If so how?
thanks in advanceYeah may need some more detail, but if you are trying to pass the Vector object itself from one JSP/Servlet to another, you can simply put the object in one of the scopes like session or request then forward page on.
e.g.
FirstServletVector things = new Vector();
things.add("one thing");
things.add("another thing");
request.setAttribute("objThings",things);
getServletContext().getRequestDispatcher("/NextServlet").forward(request, response);SecondServletVector things = new Vector();
Object o = request.getAttribute("objThings");
if(o instanceOf Vector) things = (Vector)o;Hope that helps!! -
How to pass variable in the place of numeric value?
Hi,
my requirement is i want to validate the selection screen block width.
I have created tabbed selection screen.
i need in which variable tab lengh values will be stored
ex:-
selection-screen: begin of tabbed block MYTAB for 10 lines,
TAB (20) button1 USER-COMMAND push1,
TAB (20) button2 USER-COMMAND push2,
end of block MYTAB.
here in the above code i want to pass variable instead of directly numeric value as 10.
because based on some conditions i want to change the number of lines.
how to do this...plz urgent, i will give all the points to anybody who given good answer.
Thanks in Advance,
venkat nHi!
And that's why God created macros.
DEFINE seltab.
selection-screen: begin of tabbed block MYTAB for &1 lines,
TAB (20) button1 USER-COMMAND push1,
TAB (20) button2 USER-COMMAND push2,
end of block MYTAB.
END-OF-DEFINITION.
DATA: lv_lines TYPE i VALUE 10.
seltab lv_lines.
Regards
Tamá
Maybe you are looking for
-
My iphone switched off and when I turn it back on it wants to connect to itunes
My iphone switched off and when I turn it back on it wants to connect to itunes I was taing photo's and battery was half full - I switched it off and when I turned it on it says connect to itunes. I am not near my laptop?! What can I do
-
I am working with FrameMaker 10. There used to be a keyboard shortcut for moving the highlight to the first field in a dialog box. Without this command I do not know how to move the highlight to the field I want to modify. I assume the highlight i
-
I dont no what i put in itune questions
is this live chat if so thanks goodness i made an iturn account along time ago and i dont rememer putting in questions like what was your first animals name well i put it in and its not right to my account and the nickname de deny dehope hope couldnt
-
Hi all, I know this forum is probably more NetBeans friendly but I would like to do some programming for Android and was trying to make Eclipse work but it seems as it is not opening. I downloaded Eclipse and then extracted everything but when i went
-
what is unknown error(1) !!! it appears every time i tried to update and install iphone soft ware!!! Further, that error appears once the firmware installation is in process !!!