Showing variables
Hi all!
I have a project that checks a variable to see the value to determine what to do next.
On the main stage, I have the following set in CompositionReady:
sym.setVariable("current_page","edgePhone_mainAnim");
I check this variable on th navigation buttons to determine what page is currently showing and set the "called" symbol to show:
var current_page = sym.getVariable("current_page");
if (current_page != "") {
do something here...
else {
do something else here...
sym.setVariable("current_page", "design_sym");
How can I "show" the variable content so I can what is being passed in the variable?
Could I add something like this and would it show in the browser:
sym.$("status").html("current_page: sym.getSymbol(\"current_page\")");
Or is there some "trouble shooting" code to display all hte calls or such?
Thanks!
James
try this :
alert(current_page);
Zaxist
Similar Messages
-
Hi All,
I would like to know what is the purpose of "Show Variable Personalization" in the WEB BEx.
I am in BI 7.
Regards, FedericoHi ,
Personalization: You can personalize single variables or all variables in a Web application.
This means you assign the value(s) to a variable permanently or until you remove the
personalization. Personalization means you do not have to enter the value(s) for a
variable over and over again.
Please check this link
http://help.sap.com/saphelp_nw04/Helpdata/EN/5b/0f853bc306900be10000000a114084/content.htm
-Mayuri -
Not showing Variable screen in Workbook - Refresh
Hi BW Experts,
I am working on BI 7.0
When I try to refresh Workbook in Analyzer it is refreshing the query giving current data, but it is not showing Variable screen.
What should I do to open variable screen when I click on Refresh button in Workbooks.
Kindly advise.
Ram,You should click the 'refresh variable values' button.
Also switch on the 'process variables on refresh' in the workbook properties. -
How can i set the dynamic text box to show variable value?
In AS2, I can make a dynamic text box set a var name, when i
use button set/change the var value, this textbox can show the
value also.
but In AS3, dynamic text box can't add var name. than how can
i do it now?Set an instance name for the dynamic textfield. Then, to
populate the textfield with the value of a variable, use:
textFieldInstanceName.text = variableName -
Flash Builder 4.5 for PHP - show variable from PHP in app
I have searched for hours and I can't figure this out…
Is there a way to somehow "echo" my PHP code in my MXML file ?
I know you can't echo something from PHP to MXML, so here's what I have done :
I get my informations from my database, I need to show an image and its title, so I put the following code in a variable :
<mx:Image id="laniraBlanche" x="25" y="65" width="210" height="126" source="'.$row->image_mini.'" click="selectLaniraBlanche()" rollOver="seePicture()" rollOut="outPicture()" /> <s:Label x="25" y="155.85" text="'.$row->nom.'" width="210" textAlign="center" height="37" fontSize="19" backgroundColor="#676666" verticalAlign="middle" fontFamily="Georgia" color="#FFFFFF" click="selectLaniraBlanche()" rollOver="seePicture()" id="laniraBlancheTxt" rollOut="outPicture()" />'
Then, I return that variable.
I find the function where my var created is returned from the "Data/Service" tab, I am on Design mode on Flash Builder, and I "drop" my function where I want my image and text to show on my app.
I tryed dropping it in a "group", it doesn't show anything. I tryed several other options, and nothing worked.
So my question is, how could I have this code created in PHP show on my application ?
Thank you for your helpI also have Flash Builder 4.5 for PHP and the ANT view does not show when going to Window -> Show View --> Other. I could not find it in any of the folders.
However, I was able to add it by hitting Command 3 (CTRL 3 on PC) and typing Ant. -
How get Query Monitor (RSRT1) to show variable input screen
Hi,
I'm trying to test a query that has variable input and I can't get the variable input screen to give me a chance to input variables. Since this is key to debugging this query, I need it to recognize my input variables.
Help!
Thanks
SuzanneHi,
In rsrt, enter the query name -> select query display as HTML -> In the big text box that appears below it type "variable_screen=x", without quotes and it should show you the variable screen.
Thanks,
Sri. -
InfoSet in BW 3.x - shows variable calendar day (SAP Exit)
Hi,
I have created a infoset using a Left Outer Join and when I run the report it shows a variable called Calendar Day (SAP Exit). The infoset is not using any temporal joins or time dependency.
i am not too sure why the vairable is automatically showing in the report. Note this is a 3.x infoset.
Thanks,
LeoYes, i havent added it to the report. I actually created a brand new report with two fields in it (no variables) and the calendar day vairable is still shown.
-
Bookmark shows Variable Screen when Query use a Prequery
Hi Guys,
i have a Problem. I have a Query which use a Prequery. i can execute the Query on Web and save this by Bookmark. If i open the Bookmark the Variablescreen was displayed. Usually when i open a query without prequery and save the bookmark the query result was displayed.
Has anyone an Idea or solution for this problem?
Thx.Hi Steffi,
Did you resolve the problem with the bookmark and the variable screen? I saw the same problem on a 3.5 system but cannot reproduce the problem on a 7.0 system. On which system did you see the problem? Did you solve it and how?
Regards
Sebastian -
Web Template with Query Views not showing Variable Screen
Hi, I have a Web Template using 3 Query Views based on a single query. The Query has 2 mandatory variables (CALMONTH and VERSION). When I execute the Web Template it does not prompt with the Variable Screen, and presents the report with the Variables that were in place when the view was saved/created. I'd like the Variables to appear.
1. Is this the correct behavior?
2. Is there any documentation that might describe this behavior.
3. Should I just copy the query and create 3 queries instead?
Note: I did a search in SDN and found lots of similar threads, but nothing exact. Also, I know about forcing the variable screen, but I thought I shouldn't have to do this.
Thanks!k forget the view, when you run the main query... do you get a pop up for variable screen,. yes or no?
if you dont then try to run another query and see if you get the variable screen as well. if you dont then its a bug. if you do then something is wrong in your query and its having an issue, but if you do get the screen on your query then it is a setting in your web template not in your query.
you can also try to run the query in RSRT backend ... -
Variable value not showing in sql developer tool
HI,
I am using sql developer tool. when i take mouse in variable name at debugging its not showing variable value and instead showing variable name data type and owner. but in past i have used sql developer tool where when i take mouse on variable at debugging mode it shows the varable value. please tell me is there any issue in sql develper tool currently i am using.
sql developer version 2.1.0.63Sorry - but I doubt if you will get much help for that ANCIENT version of Sql Developer.
My best suggestion is to download the current version and see if you still have the problem. There have been HUNDREDS of bug fixes since that version you are using.
Oracle SQL Developer Downloads
Take note that the current version REQUIRES a much higher JDK version than what you may be using. And do NOT try to install the new version on top of the old one.
Install the new version into a totally new folder. You will be ask if you want to import your settings from your current version. -
Show date variable in WAD Template.
HI,
I want to be able to show the date variable in WAD template. To do this I used the info field web item. This web item has the option to show variables which is great, but unfortunatly for me it also shows all the other variables I am using. I can not see anywhere where I can restrict it to only show the date variable.
Does anyone know how I can do this or is it something I would have to do query side.
Regards
ForhadHi Forhad,
Yes you can show the date var alone, for this you would have to choose the specific date var under Data Binding -> List of Text Elements to display -> Text Element Type = Variable Value, Variable = (select the date var from the available list).
You may also turn off the Static Variables & Dynamic Variables if required.
--Priya -
Variables in aging report for PLD
Hi,
I am looking to find a list of the variables for a PLD aging report in SAP 8.8, the Excel I found doesn't list report starting with the code AGE...... In fact I am looking for the variable for the project number and the project name. The system information shows variable 41 but when I run the report I get an error.
Thank you for your help
JacHi,
Welcome you post on the forum. I believe there is only one excel file for PLD available for a certain version.
If the variable is not in this file, you will be out of luck.
The system variable showed under system info is not the same as in the PLD.
Thanks,
Gordon -
URGENT: Not seeing the variable Pop-up for Button , on web template in WAD
Hi gurus,
In IP I have a standard plan function for 'Copy', which has a few variables defined on the funciton itself (as to be changed):
Version from:
Version to:
Order from:
Order To:
Fiscal year from:
Fiscal year to:
All of the above variable are created with the following parameters:
Variable input: Optional (have also tried madantory)
Ready for input: is flagged.
Variable represents: Single value.
No default entry.
No personalized data.
Now in WAD, I create a button group for this function by selecting the Command, 'Executing Planning Function (simple)', manually entering my plan function technical name next to 'Command specific parameters', and selecting the dataprovider created for the filter I created in IP, and finally flagging the 'Display variable' button.
The problem is, on the web template the variable screen does not appear when I click on the function button. It executes the function in the background without giving me the pop-up for variable selection. And obviously since the variables have no default values, nothing is processesed.
I've tried this with planning sequence instead, and still wont give me the variable pop-up screen..
I've actually explicitlet entered the variables on the 'Parameters for Command screen', the same screen where you enter the filter for databinding and well as the function.
It still wont work (no variable pop-up screen).
Is this issue related to the support pack. We're on SP12 right now?
If not, do any of you gurus have any ideas? Big points will be rewarded for this.
ThanksIn the parameterization of the command, there is an option 'show variable screen'. I am not sure if you have mentioned this clearly, but have you checked this option?
-
How to print global variable in smart form table cell
hi,
i have smartform and i insert table in it, i also have set global variable, i want to show variable in table cell.
regards
shahid raisHi Shahid Rais
You can use this global variable that has been declared in anywhere as you like.
For displaying global variable in table lines, You can first set the column and row of the table by using the table tab in table node . Then, u can decide either the variable u want to used will be placed on header, main, or footer. After that, right click on one of the table part, and choose create table line. After choosing the correct line type as already been declared in the table painter, just simply right click on the table cell, and then create text node.
You can now enter your variable by using "insert field".
And don't forget the & & signs before and after your variable name.
Regards,
William Prawira -
Variable Screen Does Not Display in Bex Web Analyzer after first time
We recently upgraded from BW 3.1 to BW 7.0 (without upgrading specifically to 3.5). We are having a problem with our Web Bex Analyzer not showing the variable screen although the variable screen is displayed successfully when running the same query from the Bex Analyzer. Based on feedback from other posts regarding similar topics, we modified the 0analysis_pattern template to ensure that Display Variable Screen was checked on. We are finding that when we open the Web Bex Analyzer and do a New Analysis, the first query we try to run will always have the variable screen displayed successfully. Any susbsequent queries we try to run by clicking on New Analysis in that same open window will not show the variable screen and will start executing open ended. This is occurring regardless of whether the query has mandatory or optional variables and we have confirmed that there is no personalization set for the variables being used. We have tried it with several different queries and the results are consistent. The first query you run shows the variable screen successfully and any queries run after that do not. Any help in resolving this would be greatly appreciated as we have exhausted our resources researching and troubleshooting this problem.
We did open an OSS note and heard back from SAP. We made the recommended setting, see their response below, but as they stated, it will only show variable screens for queries that have at least one mandatory variable entry after the first query is opened.
Response from SAP:
Please check if the following setting is made within your template --
In the 'Standard Actions' of the Web Template, do you have the setting
'Action Before First Display' set to OPEN_VARIABLE_DIALOG
The behaviour of the variable screen is different if you use mandatory
variables and optional variables. If you have only optional variables,
the Display Variable does not force the variable screen.
Also, using the parameter VARIABLE_SCREEN=X only influences the
web application at STARTUP. This would not come into affect when you
use the 'New Analysis' button. This button resets the dataprovider so
this would not affect the variable screen and would not redisplay the
variable screen as you require.
Maybe you are looking for
-
I'm rather new to using labview and I having an issue with a test Data Aquisition lab I'm trying to setup using a Keithley 6221 AC/DC current source and a basic PCI M-series NI-DAQmx. First of all, I'm looking to update the current value on a power
-
I have just installed Adobe Reader 10.1.3. For some reason the Reader is not working with my Outlook or My Documents. Is there something I must do to integrate? I can preview the files, but cannot open them.
-
How to remove leftover torrent files...
I am trying to back up my mac but everytime the back up starts a message comes up saying that 'unable to access vampiros de habana torrent' I will attach a screenshot. I just cannot seem to remove this, I tried using terminal but all that I have left
-
How do I get actionscript animation to video?
I have a flash movie with actionscript animation that I need to convert to video. How can I do it? Every time export it to video from Flash (8 pro) I get nothing but stills. I have a number of mx transitions that would take forever to convert to time
-
** lost multi clip ability...
Hi I seemed to have lost multi clip ability... I have a multi clip in timeline, i dbl click its in the viewer showin two feeds. Yesterday when I synced I could play the timeline and the viewer would follow. I cannot do this today, not sure why also m