How to set query title or heading
Hi,
How can I set the query title or query heading. And also how can I creat text variable for query description.
Thank you
Joe
Hi Joe,
First, you can define query description when you first time save it. Then you can change it in query properties. But in the latter case the query description will be changed during the run time. When you select the query when you open it, the description will be original.
Best regards,
Eugene
Similar Messages
-
How to set height of JTable Header ?
How to set height of JTable Header and set the text to another size ?
You can set the font of the header as you can for any component. The font will dictate the preferred height of the header. If you don't like the preferred height, you can set that as well.
// add table to a scroll pane or the header will not appear
JTable table = new JTable(...);
container.add(new JScrollPane(table));
// get a reference to the header, set the font
JTableHeader header = table.getTableHeader();
header.setFont(new Font(...));
// set the preferred height of the header to 50 pixels.
// the width is ignored by the scroll pane.
header.setPreferredSize(new Dimension(1, 50));Mitch Goldstein
Author, Hardcore JFC (Cambridge Univ Press)
[email protected] -
How to set query parameters to i5Grid
Hello Everyone,
I am working on creating i5Charts.
I mapped query template and display template to i5Chart template but I need to pass the query parameters dynamically.
How to set query parameters to i5Grid?
Pls help with syntax.
Thanks.
Regards,
MinakshiHi Minakshi,
Yes you can try the first 2 options listed by Rohit, the 3rd one however is not supported.
The below syntax should work for you:
1. gridObject.getQueryObject().setRowCount(<Value>);
2. gridObject.getQueryObject().setParameter("RowCount", <Value>);
You can check the documentation at the following link:
http|s://<host>:<port>/XMII/JSDOC/i5ChartAllClasses.html
You could also use the script assistant to check for the JS methods.
Regards,
Ria -
How to set window title using cfdocument format="FlashPaper" ?
Does anyone know how to set the the browser window title when using:
<cfdocument format="FlashPaper">
#docContent#
</cfdocument>
The variable docContent is a fully formed html document, complete with <head> and <title> elements, yet <cfdocument> doesn't pick up the title I've specified. I'm wondering if anyone has done this before???
Thanks!Yes, I tried that, but <cfdocument> replaces any content that I add. I cannot view the source for the page, but at least according to FireBug, when I view the page contents, I get:
<html>
<head>
<title>print.cfm - print.cfm (application/x-shockwave-flash Object)</title>
</head>
<body marginwidth="0" marginheight="0">
<embed width="100%" height="100%" type="plugin" src="http://127.0.0.1/tss/print.cfm?id=expeditions_staff&start=1" type="application/x-shockwave-flash">
</body>
</html> -
How to set the title of pages created in Webcenter Spaces?
Hi
I need to set the title of the pages created in webcenter spaces. How can i do that? By default when i create the page in webcenter spaces the page name with which i created the page is coming up on the browser tab. But i want the browser title to be different from the page name. Is there a way to do this? I tried with using javascript and setting "document.title" but it works only partially. That is when the page is loading it shows the text that i have set using javascript but it doesnot remain persistent. As soon as the page loads it again resets back to the name of the page :(
I also tried adding html markup on to the page in edit mode and tried giving in the <title> tag but it is not getting applied, as soon as i click on apply it just refreshes the page and my changes are gone.
Please i need some help around this asap as it is critical.
ThanksThanks for the reply Jaap.
It was really helpful. But i need further help on this.
I need to change the browser title based on the tab selected. And here the tabs on spaces page is actually coming from a custom task flow. Any idea how can i achieve this? And there is no page refresh involved.
Some help on this please.
Thanks -
How to set Query SQL Statement parameter dynamically in Sender JDBCAdpter
Hi All,
I have one scenario in which we are using JDBC Sender Adapter.
Now in this case,we need to set Query SQL Statement with a SELECT statement based on some fields.
This SQL statement is not constant, it would need to be changed.
Means sometimes receiver will want to execute SQL statement with these fields and sometimes they will want to execute it with different fields.
We can create separate channels for each SQL statement but again that is not an optimum solution.
So ,I am looking out for a way to set these parameters dynamically or set SQL statement at Runtime.
Can you all please help me to get this?Shweta ,
<i>Sometimes receiver will want to execute SQL statement dynamically</i>....
How you will get the query dynamically? Ok Let me assume, consider they are sending the query through file, then its definitely possible. But u need BPM and also not sender JDBC receiver adapter instead, receiver JDBC adapter.
SQL Query File ->BPM>Synchronous send [Fetch data from DB]--->Response -
>...............
Do u think the above design will suit's ur case!!!!
Best regards,
raj. -
How to set the title of an urxvt window?
Hello,
I have read the manpage and FAQ on the urxvt website, but my problem persists:
When I try to set the title of an urxvt window, for example:
$ urxvt -title test
then the new window shows for a second the title "test" and then switches to "username@hostname:~".
Yes, I have
case $TERM in
xterm*|*rxvt*|Eterm|eterm|rxvt-unicode|urxvt)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
esac
in my .bashrc.
But I think, the explicit command line option "-title" should break the .bashrc, right?
The default setting by .bashrc is intentional, but in this specific case I would like to set the window title by hand.
How can I do that?
Last edited by indianahorst (2011-06-22 11:01:34)I would recommend that you not use the PROMPT_COMMAND to set your bash prompt at all. Use the PS1 environment variable. By using PROMPT_COMMAND, you are invoking a subshell each time you hit return; which is most likely unnecessary.
In fact, you are probably already setting PS1 in your .bashrc; and that is what is changing your window title. You can set PS1 to a different value, and then it will not reset your window title with each command.
Just set PS1 in your .bashrc to:
PS1="[\u@\h \W]\$ "
You can see a more complete list of the available \u, \H, etc. options here.
If you do wish to reset the urxvt window title by setting PS1, do the following:
PS1="[\u@\h \W]\$ "
PS1="\[\e]2;\u \W\a\]$PS1"
Edit: As I look at this a little closer, I see that your PROMPT_COMMAND is indeed setting your window title. You could change it to the following:
PROMPT_COMMAND='echo -ne "${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}"'
But I would still not use PROMPT_COMMAND and just set PS1 instead.
Last edited by rockin turtle (2011-06-23 03:53:57) -
How to set and pass a Header Varible in Jsp
Hi ,
I am using Headervariable login module(which takes user id form http header variable) for single sign on.
I configured the login module stack. But to test i need a jsp from which i can pass the user id in http header.
to test if i am able to set the user id in http header , i have written 2 jsps
1. Header.jsp
In this , i am setting the user id
response.addHeader("UserId" ,"user1");
and i am posting it to HeaderResult.jsp
2.HeaderResult.jsp
In this, i am tryng to rretrieve it By using
request.getHeader("UserId");
But i am not geeting any value.
Can i set user defined header variables?if not, can i set the standard http header variabes,
Please help me with the code.
Thanks,
LakshmiHi Deltev,
Yes it will be lost, should i use request.servervariable(Http_userid)?
The Headeresult.jsp is only to test if i am able to set the header .
Actaully ,from Header.jsp i am calling the portal(Login module stack configured to HeaderVaribleLogin).
the poratl expects the userid from Http Header from jsp i need to send this in header.
How do i do this. I am missing something while passing the userid in header.
Please lete me know.
Thanks,
Lakshmi -
How can set window title programmatically
how to set the window title programmatically
for example the main vi i have a combo box which stores some names
exp: abc
bcd
cde
then it will pass the data to another vi all the names use the same vi to display the data
i want the window title to be the name of particular name user selected.
can anyone help me?Hi jeyanthi,
attached you will find an example.
Hope it helps.
Mike
Attachments:
Unbenannt 2_LV80.vi 13 KB -
How to set page title at runtime
Hi,
I'm doing a simple Visual web JFS application that has 2 pages.
Could you tell me how to set the second page title at runtime based on the input in the first page?
now I always have the 'http://localhost:8080/myApp/faces.Page1.jsp' on the tab when it goes to second page.
thanks!I am not at all familiar with JSF, but if it was JSP, I'd use this.
[http://www.w3schools.com/TAGS/tag_title.asp] -
How-to set the title of a View
Hi,
I'm a very newbie of Obj-C and InterfaceBuilder.
From three days I'm fighting with my iPhone app to set the title of a view.
I've the MainWindow.xib with a UITabBarController; each tabbar's viewcontroller is on a separate xib (i.e.: the GUI of every button of the tabbar is on a different xib file).
In IB I set up the top bar property to Translucente etc... In Xcode, in the viewDidLoad I set the self.title to something... but the top bar is never shown!!
I also tried to set self.navigationItem.title... but nothing...
To see the top bar do I have to use a NavigationController inside every "button" of the tab bar?? Or is the top bar property of IB not working??
Thanks to all...Wenwen,
View Function dropdown "standard view" is just making the ALV to display the ALV standard configuration (so it will display the ALV the way is designed).
now if you want to change that to your OWN VIEW you just need to click in the SETTINGS (ALV TOOLBAR at the right end) and then configure your ALV the way you want to be display. After that click SAVE AS and you can name the VIEW to your own and also you can click INITIAL VIEW checkbox in order to display always that for youl.
Please note that this is a user base personification so this will be only available for you.
if you want to have your own view for every user then you need to enhanced the ALV in a POST-EXIT method and do not allowed user personification.
you can disable user personification at the application level in the parameters tab.
hope this help!
Jason PV -
How to set the default screen header structure of PA30?
Hi,
I am not talking about the screen header of a particular infotype, e.g. IT0002. I have managed to change the header for any infotype by changing the structure of relevant screen header modifier.
The question is, how to change the screen header at the initial screen of PA30?
Because all settings in table V_582A_B are with an infotype number. No idea about how to change the default sreen header.
thanks in advance.PA20 / PA30 Initial screen always maps to screen header '00' even if it's not in V_582A_B. Therefore, if you have an infotype currently maps to screen header '00' and plan to have initial screen header to be different than the header of this infotype, you'll need to re-configure this infotype to map to a different screen header.
Rgds. -
How to set column title for CL_SALV_TREE
Dear all,
I am using CL_SALV_TREE to create a report. But, some unexpected problem comes up. I have used below code to set the title for each column:
LR_COLUMNS = GR_TREE->GET_COLUMNS( ).
LR_COLUMN = LR_COLUMNS->GET_COLUMN( 'FIELDNAME' ).
LR_COLUMN->SET_LONG_TEXT( 'Long Text' ).
LR_COLUMN->SET_MEDIUM_TEXT( 'Medium Text' ).
LR_COLUMN->SET_SHORT_TEXT( 'Short Text' ).
But, it seems that above code does not take effect when report is running. The title for column remains the info of ABAP Dictionary. Is anyone can help me to resolve this problem? It's very urgent for me!
Looking forward to receiving your replies! Thank you very much!
Justin,Hello Justin
I copied the sample report <b>SALV_DEMO_TREE_FUNCTIONS</b> (available on IDES ECC 5.0) and added the following coding to routine <i>set_columns_technical</i>:
[code]&----
*& Form set_columns_technical
text
FORM set_columns_technical.
DATA: lr_columns TYPE REF TO cl_salv_columns,
lr_column TYPE REF TO cl_salv_column.
lr_columns = gr_tree->get_columns( ).
lr_columns->set_optimize( abap_true ).
lr_columns->set_column_position( columnname = 'PRICE'
position = 1 ).
change a column's alignment
TRY.
lr_column ?= lr_columns->get_column( 'CURRENCY' ).
lr_column->set_alignment( if_salv_c_alignment=>right ).
"$Comment: added coding
DATA:
ld_short TYPE scrtext_s,
ld_medium TYPE scrtext_m,
ld_long TYPE scrtext_l.
ld_short = 'Short'.
lr_column->set_short_text( ld_short ).
ld_medium = 'Medium Col Text'.
lr_column->set_medium_text( ld_medium ).
ld_long = 'Long Column Text'.
lr_column->set_long_text( ld_long ).
"$Comment: added coding
CATCH cx_salv_not_found. "#EC NO_HANDLER
ENDTRY.
...[/code]
At least the new short text is displayed on the ALV tree. I assume that you have to be very careful and scrupulous in choosing the correct data types for the method calls.
Regards
Uwe -
How too set query print layout parameters?
Hello,
simple task:
1. Open "Query Print Layout...": SBO_Application.ActivateMenuItem("4868")
2. Handle new reports form: SBO_Application.Forms.ActiveForm (I know, the better solution should be get form with proper TypeEx and highest TypeCount, but now it doesn't matter)
3. Select row with required report: m.Columns.Item(0).Cells.Item(row).Click(BoCellClickType.ct_Regular, 0)
4. Run printing: SBO_Application.ActivateMenuItem("519")
5. Handle new parameters form: ???
How can I get newly created form containing report parameters (TypeEx "4000")? I wanna set proper parameters and click "OK" to show printed report. Doesn't work handling:
- FORM_LOAD in ItemEvent
- MenuEvent for "519" (is only BeforeAction
- PrintEvent (executed after accepting parameters)
- ReportDataEvent (passed FormUID belongs to reports list, not parameters)
In each event I've listed all forms and there is no form titled "Query - Selection Criteria" with expected TypeEx.
Is there any way to achive this?when you activate print preview of printing on selected User Query Layout, you can cacth the ET_FORM_LOAD event of formTypeEx =4000
It is working. Please note if you do not have this event, you may check your filters (?)
Then you can populate your values. Based on my experience the click ok button is not working.
Tip: Search the forum in year 2009 i have posted there sample codes
Regards
J -
How to Set UserId in Http Header for SSO?
Hello All,
I have a requirement to set the userid into the HTTP Header so that i can use the "Header Variables for User Authentication" module provided by SAP to achieve the SSO .
Could some 1 let me know how can I achieve this? I know abt the HTTPServlet.setheader() method, But i need to set it using my JAVA application. Is there any way to set the HTTP Header using Java. I have already done a lot of googling, but havent got any results.
I am sure that, there must definitely be a way in which we can add the user id into the HTTP header, in all the results, they tell abt adding it using the HTTP Servlet or PHP and so on, but i need to add it from JAVA.(setting REMOTE_USER as "mysapuserid")
I have already added the "HeaderVariableLoginModule" in my login stack in the 2nd position, as per
http://help.sap.com/saphelp_nw04/helpdata/en/8f/ae29411ab3db2be10000000a1550b0/frameset.htm
Any pointers will be helpful,
Meghana
Edited by: Meghana Phadke on Apr 14, 2008 2:49 PMHi
As I understand, your java application is an EP client, check framework HttpClient :
http://hc.apache.org/httpclient-3.x/
http://hc.apache.org/httpclient-3.x/tutorial.html
Hope this help
Jakub Krecicki
Maybe you are looking for
-
please help me, this is stupid but some how i cannot manage to connect the tv (LG LCD) as a display computer recognises it but TV shows "no signal"
-
Digital output went out after I upgraded...
My Apple TV was working correctly. Until the software update... Did the software update, and now I don't get a signal from the digital out connector. Already: - checked Settings -> Audio/Video -> Dolby Digital Out. It was on. - used the same cable wi
-
Force download of Office document in a manner that works for anonymous users.
Hello, We have SharePoint 2013 with Office Web Apps server. A large portion of our site is accessible by the public. In a couple of places, we have Word documents linked, and we would like the behavior in these spot instances to be to download the
-
Brand New iMac randomly shuts off!! Help!!
I have no idea why this is happening. I've been using macs for 5 years now, had every generation iMac and not a single problem. My new Penryn chipset iMac 20" randomly shuts off!!! Why is this happening? Possibly a power supply issue? I've cleared th
-
Html links target another movieClip in same movie
OK, here's what I am trying to do. I have figured out how to read in an html file and format it (somewhat) with CSS in flash. I need to have the links in the html open in a separate movieClip, etc. on the same page. Picture one column of html text wi