How to display both " " and " " sign in report
Hello,
I have a query returns a report which has a field that contains both less than and greater than "<" ">" symbols. For example,
select
columnA||' {less than sign}'||columnB||'{greater than sign}' columnAlias
from tableA;The problem is that the report only display the value of columnA while columnB is ignored. My guess is that the "<"">" is the opening and closing brackets used in HTML, so when generating the report the text between the "<" and ">" are treated as a HTML tag.
Therefore, my question is: Is there a way to bypass it and display the value of the signs and field correctly?
Thanks in advance!
Apply the <tt>htf.escape_sc()</tt> function to the query output:
select htf.escape_sc(columnA || '<' || columnB || '>') columnAlias
from tableA;(Tip: use the HTML character entities *&lt;* and *&gt;* to display "<" and ">" on the OTN forums.)
Similar Messages
-
Hi Everyone, I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?
I have friends all over Europe, does it matter what number they use to call me? Nope! All incoming calls are free for me.
The only time you ever have to worry about which number is if you get charged for incoming domestic/international calls.
You can tag their number (work/home/iphone) and that may show on the CallerID accordingly.
It should show, John Doe
underneath, work/home/mobile
For example:
http://shawnblanc.net/images/img-0009-1.png -
How to display a value of one report in another report in obiee 11G
Hi,
I have Requirement, I created one report in that i have a columns Rank, Net price, list price and ..., so in prompt i have rank column and year column so if i enter rank as 5 and year it shows me top 5 ranks with net prices according to selected year in prompt, now i did a grand total on rank column to get total sum on net price, i got $12345 value for net price column . Now I created another report in this it shows sum of total year for net price with value $1234567, this value i got when i selected year 2011 in prompt i.e same prompt . Both this reports have same prompt in section 1 Prompt and in section 2 this two reports. Now i need to Display a pie chart with this two total values coming from two different reports in same pie chart. but i can't display both columns on same report. please help me
Thanks,
Pankaj
Edited by: Pankaj on Apr 2, 2012 4:20 PMAny Help Guys..
-
How to display a variable in the report?
hi all
i want to use one complex sql statement which will return only one value and i need to display it in report. i'm new to OBIEE. i thought of creating a repository variable to hold that value. but im not sure of how to display the variable in the report.
Any idea?
Your help is appreciatedHi where do you want to show that value in answers i mean in which part of answers, you want to show that?
see this
http://bischool.wordpress.com/2009/05/05/presentation-variable-values-in-report-titles-or-using-presentation-variable-in-dashboard-text-object-and-narrative-view-directly/
also see this to where and how to use variables in answers
http://shivabizint.wordpress.com/2008/10/02/oracle-bi-ee-variables-overview/ -
How can I print and email a report with a logo?
How can I print and email a report with a logo?
Is this possible??hi ravikant!
im talking about reports, not forms.
i bet se78 is for forms and oaer is for report.
because my logo is displayed on screen, using html-top-of-page.
but at the time of printing and email, internally, alv grid is converted into alv list, and alv list doesn't support having a logo.
That's my know-how of the situation.
Do you have a way with it???
Please advice.
Thanks a lot! -
How to display duplicate key in web report?
Hi Experts,
Can anybody tell me how to display duplicate key in web report?
I know in the Bex analyzer, we can allow the duplicate key to be dispalyed via the 'query property' by right click, and in the 'display option' tab, there is an option which named 'forbid duplicate key', if we don't select this option, the duplicate key will be dispalyed in the report result in BEx analyzer.
But how can I do this in Web report? Thanks in advance.
EileenHi,
<b>I know in the Bex analyzer, we can allow the duplicate key to be dispalyed via the 'query property' by right click, and in the 'display option' tab, there is an option which named 'forbid duplicate key', if we don't select this option, the duplicate key will be dispalyed in the report result in BEx analyzer.</b>
Do the same and execute report in web.You can able to see the same.
Cheers
Karthik -
How to display a percentage sign ( % ) after a text box in a screen
hi experts,
Can anybody tell me how to display a percentage sign ( % ) after a text box in a screen.Hi Ajay,
Try to use the [Position|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba7e235c111d1829f0000e829fbfe/frameset.htm] option of selection screen.
By using this you can place the text as a comment at a desired position on the selection screen.
The syntax would be like this :
SELECTION-SCREEN POSITION <pos>.
Regards,
Swapna. -
How do I edit and sign documents using adobe?
How do I edit and sign documents using adobe?
To edit a document you will need Acrobat Pro.
-
Hi All,
How to display the percentage sign in the planning form in an account..?? I've an account that already set as the percentage for the data type.
What I want is, when I type 50 in my cell, then in my form will be show 50%
Now, I can't see the % sign on my form.
Any Idea..??
Thanks.
Regards,
VieNI know it's an obvious one but has caught me once or twice before when I've changed many properties numerous times in one day: Make sure you've deployed since you last set the properties!
-
I have Adobe Pro online monthly subscription. I need to know how to fill in and sign forms already downloaded as PDF's
Hi Schoolcoach1,
Please see the following Help documents:
Acrobat Help | Filling in PDF forms
Acrobat Help | Signing PDFs with Adobe EchoSign Electronic Signature
Please let us know if you have additional questions.
Best,
Sara -
How to display date and time on jsf page
Hi,
how to display date and time on jsf page
we are using 11.2.0.0 jdeveloper on windows.
thanks
Edited by: user12187801 on 26-Jul-2012 01:42Your question is certainly lacking some information.
If you want a constantly updating date/time - then JavaScript is your best bet, and Google would find you examples like [url http://www.webestools.com/scripts_tutorials-code-source-7-display-date-and-time-in-javascript-real-time-clock-javascript-date-time.html]this
If you meant something else, then it's back to you to explain. -
How to display images and information
how to display images and information(e.g. like questions) on a jsp page that stored in a database
Look As far as i can see....
Utlimately every file could be expressed as a bytes buffer.
so say if you have a bean called Choice Bean which is expressed as
public class ChoiceBean{
private String choiceid;
private String choicedesc;
private byte image[];
public void setChoiceId(String choiceid){
this.choiceid = choiceid;
public String getChoiceId(){
return this.choiceid;
public void setChoiceDesc(String choicedesc){
this.choicedesc = choicedesc;
public String getChoiceDesc(){
return this.choicedesc;
public void setImage(byte image[]){
this.image = image;
public byte[] getImage(){
return this.image;
}QuestionList.java:
===============
public class QuestionList{
private List<ChoiceBean> choicelist;
/*Other member variable declarations*/
public List<ChoiceBean> getChoiceList(){
/*Custom code where you may build the list by querying the DA layer*/
return this.choicelist;
public int search(String choiceid){
int index = -1;
for(int i =0 ; i < this.choicelist.size() ; i++){
ChoiceBean cb = this.choicelist.get(i);
if(cb.getChoiceId().equals(choiceid)){
index = i;
break;
return index;
/* Other member method declarations */
}and you are retreving List<ChoiceBean> from DB using your query & have created a session attribute / <jsp:useBean> named ChoiceList
NOTE: sometimes your application server can go out of bounds as you are consuming a lot of memory by creating an arraylist object.
use the following methodology to display images & choices
sample.jsp:
=========
<jsp:useBean id="QuestionList" class="com.qpa.dao.QuestionList" scope="session"/>
<TABLE>
<%
/* QuestionList.getChoiceList() is a method which fetches data from the DB & returns it in form of List<ChoiceBean> */
List<ChoiceBean> choicelist = QuestionList.getChoiceList();
for(int i =0 ; i < choicelist.size() ; i++){
%>
<TR>
<TD><%!=choicelist.get(i).getChoiceId()%></TD>
<!-- calling servlet which renders an images in JPG format based upon given choiceid(unique field) -->
<TD><IMAGE src="ImageServlet?choiceid=<%!=choicelist.get(i).getChoiceId()%>"/> </TD>
<TD><%!=choicelist.get(i).getChoiceDesc()%></TD>
</TR>
<%
%>
</TABLE>
<%
session.remove("QuestionList");
%>
NOTE: usage of JSTL or any other custom built tag-libraries makes life more simpler in the following case
ImageServlet.java:
===============
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
byte buffer[] = null;
HttpSession session = request.getSession(false);
/*getting the QuestionList from the session*/
QuestionList ql = null;
String choiceid = new String("");
try{
choiceid = request.getParameter("choiceid");
/*getting the QuestionList from the session*/
ql = (QuestionList) session.getAttribute("QuestionList");
} catch(Exception exp){
if(choiceid.equals("") == false && ql != null ){
List<ChoiceBean> clist = QuestionList.getChoiceList();
assuming that you have created a serach method which searches the entire choice list and would give you
the index of that object which is being refered by unique choiceid and returns -1 if not found
int index = QuestionList.search(choiceid);
if(index != -1){
ChoiceBean cb = clist.get(index);
buffer = cb.getImage();
if(buffer != null){
// assuming that we have stored images in JPEG format only
JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(new ByteArrayInputStream(buffer));
BufferedImage image =decoder.decodeAsBufferedImage();
response.setContentType("image/jpeg");
// Send back image
ServletOutputStream sos = response.getOutputStream();
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
encoder.encode(image);
} else {
response.setContentType("text/html");
response.getWriter().println("<b>Image data not found</b>");
}However,i still feel there are few loopholes with this approach where Application Server can eat up a lot of heap space which may result in outofmemorybound exception.
Hope this might help :)
REGARDS,
RaHuL -
How to display Lines and Boxes in SAP Script
hi,
Can any one help me how to display Lines and Boxes in SAP Script.
Regards
kiranThe SAP printer drivers based on page-oriented printers use these commands when creating output whereas the line printers and non-supported page-oriented printers ignore these commands.
Syntax:/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
This command draws a box of the specified size at the specified position.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH determines the width of the box.
Default: WIDTH value of the SIZE command.
HEIGHT determines height of the box.
Default: HEIGHT value of the SIZE command.
FRAME determines the thickness of frame.
Default: 0 (no frame).
INTENSITY determines the box contents as a grayscale percentage.
Default: 100 (full black)
The other details I guess is provided by friends who have posted before me.
Regards,
K.Sibi -
How to display image and data in module pool screen?
Hi,
I want to display image and relevant data besides the image in module pool screen, I am using docking container to display the image.
Actually I am able to display image or data any one but not both.
one more thing I want to display multiple images and their data.
Please suggest some one if you have any idea.
Regards,
Dileep.You can try below way, I have used in report.
DATA: gc_docking TYPE REF TO cl_gui_docking_container, "#EC NEEDED "Docking Container
gc_split TYPE REF TO cl_gui_easy_splitter_container, "#EC NEEDED "Splitter
gc_top_container TYPE REF TO cl_gui_container, "#EC NEEDED "Top Container
gc_bottom_container TYPE REF TO cl_gui_container, "#EC NEEDED "Bottom Container
gc_document TYPE REF TO cl_dd_document, "#EC NEEDED "Document
gc_events TYPE REF TO lcl_event_class, "#EC NEEDED " Local Event Class
gc_grid TYPE REF TO cl_gui_alv_grid, "#EC NEEDED " ALV Class
" Creating Docking
CREATE OBJECT gc_docking
EXPORTING
ratio = c_95.
IF sy-subrc EQ 0.
* Splitting the Docking container
CREATE OBJECT gc_split
EXPORTING
parent = gc_docking
sash_position = c_10 "Position of Splitter Bar (in Percent)
with_border = c_1. "With Border = 1 Without Border = 0
ENDIF.
* Placing the containers in the splitter
gc_top_container = gc_split->top_left_container .
gc_bottom_container = gc_split->bottom_right_container .
* Creating Grid
CREATE OBJECT gc_grid
EXPORTING
i_parent = gc_bottom_container.
ELSE.
* Background job handling
CREATE OBJECT gc_grid
EXPORTING
i_parent = gc_docking.
ENDIF.
* Creating the document
CREATE OBJECT gc_document
EXPORTING
style = 'ALV_GRID'.
Regards,
Sameer -
How to display field information dynamically in reports
How to display field information, depending on the description in DOMAINS..dynamically in reports...
give an example.
ThanksHi
the text u should take into the internal table for that and
it should send into the ALV_GRID_DISPLY
SLIS_FIELDCATALOG_T_ALV-SELECTION_TEXT = " DOMAIN".
other wise u should set in the write statement
write : / ' '.
Maybe you are looking for
-
PDF Document Properties restrictions
I'm trying to open a pdf on an iPad with Adobe Reader running IOS 6.1 The document opens, but has a watermark (copyright notification from document creator) all over the document's pages. This does not happen on the Mac or PC version of Adobe Reader
-
i tried to resore my ipod 5 and the cable disconected and now its in recovery mode, how do i get it out?
-
LOV Refresh based on the business rule
My requirement is to refresh the LOV based on a value selected in another LOV. Say the LOV required to be refreshed as LOV2 and the LOV in which the value is selected and which triggers the LOV2 refresh is LOV1. Both the attributes of LOV1 and LOV2 a
-
Merge multiple spools into a new big spool (OTF) ???
Hi. I just want to know how to merge multiples otf (or spool) into a new big spool. All OTF are starting with something like that: //XZSIMM 046B 0000000000 IN01FZVINVOICE_BPB01 FIRST OPDINA4 P 144 240 1683811906000010000100000 When changing
-
have a macbook pro the fan wont stop running the keyboard light is not working and the it wont charge all happened all of a sudden what to do please.