No results, reports selecting
Hi.
I have three reports A, B and C. I'm used this approach
[http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/|http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/]
to select report.
When i select report that have no results, then it's shows nothing. Do you know how i can show the No results message?
Thanks in advance.
I know exactly what you're talking about. What you are experiencing is exactly how OBIEE is supposed to function. So to get what you want, you need to tweak Venkat's solution. This is what you need to do:
Let's focus on Report C. You can repeat this procedure for the other two reports if you wish.
1) Put Report C in its own section and turn on Guid. Nav. for the section to display the section (and report) when the report returns rows. (This step you already have.)
2) Drag another section directly below the one above in step 1).
3) Drag a Text object to this section. In the text box, type this HTML:
<center><font color="red"><h3><b>This report returned no records.</b></h3></font></center> 4) Check the "Contains HTML markup" box.
5) Now for this section, check the Guid. Nav. link, but unlike in step 1) check the box "if the report returns no rows."
Now when Report C returns no rows, you will actually get a message.
Similar Messages
-
Allow users to select Fields that the resulting report would be sorted on
Is it possible to make available to the users some specific fields from the database that they would be allowed to select themselves which fields they would like the resulting report sorted upon?
The suggestion that was provided seems to have worked. But right now I have a situation where I would like to give the users the option to select the desired sort order from 6 different fields.
Invoice Date
Due Date
TransDate
PO Num
Invoice No
Status.
Right now I have a Sort Parameter created
Then I also have a Sort Formula generated as follows.
If {?SortField} = "DueDate" Then {APMASTER.DUE_DATE}
Else
If {?SortField} = "TransDate" Then {APMASTER.TRANS_DT}
Else
if{?SortField} = "InvDate" Then {APMASTER.INVDATE}
as soon as I attempt to add another line to this formular that would be for the Invoice No as shown below.
Else
if{?SortField} = "InvNo" Then {APMASTER.INVNO}
I keep receiving a "A date-Time is required here" I am assuming it must be because CR is not allowing me to create a formula and/or parameter that is using a mixture of Date and Text fields.
If you have any suggestion for a work around, it would be appreciated. -
Need to create link to Word Doc in blob column in search results report
I got the Oracle Text boolean search of word documents in a blob column of a table working.
Now I need to be able to create a link in the results report.
I know that Oracle creates a link for each document in the column when you attach a file, I just need to know what the link should be to allow users to open the document in the search results report.
Right now the application is set to do a search in the attached word documents, and in the results window it shows the names of the people who match the search, but it won't allow me to create a link to their resume in the results report.
the name of the table is CONTRACTOR_LIST and the blob column is RESUME.
How would you go about creating a simple link to the word file in the results window?
Here is the code for the query
select score(1) relevance, Name, Resume
from contractor_list
where CONTAINS (resume, :P1_SEARCH, 1) > 0
order by 1 desc
That works, but I can't get it to link to the resume file.
Here is the code I'm using for the link
javascript:popupURL("#RESUMEL#")
This just give me an error page and the the link is
http://server-namer:8080/apex/[datatype]
the error is
Bad Request
The HTTP client sent a request that this server could not understand.
Thanks again!
Edited by: gjones77 on Dec 2, 2008 6:14 AM
Edited by: gjones77 on Dec 2, 2008 7:08 AMIt is within the table I believe (I'm not a DBA or a developer) since I created a BLOB column and then used the file browse feature to allow users to attach a resume to the table in order to be able to perform a search of the attached documents.
I'm just having a hard time pointing the link in the search results report to the document in the blob column.
The information on that page is great if you're trying to create a link to the document on the initial report.
But I created a query using Oracle Text to run a report that does a boolean search of the attached word documents in the table.
When it displays the search results, it doesn't create a link to the document and I can't figure out how to do it.
Here's a link the the instructions I used to create the initial search report with Oracle Text, mind you I only created the index and query, I didn't add in all the link data since they're using documents on websites and I'm using documents in a table.
http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
If you can help me with this I'd really appreciate it.
Thanks again.
Greg
Edited by: gjones77 on Dec 2, 2008 8:14 AM -
PS report: multible selection for report selection criteria
Is there a possibility to define multible selections in the report selection variables of a PS hierarchy report?
I tried to define them via
CJE6 -> EDIT -> General data selction
and entered valiables in the FROM column and the TO column. But when I execute the report it will not show multible selction, but only single selection. Also, I did not find a SAP standard report which has multible selection in the report selection criteria screen.
I found the multible selections only in the DB profile selection screen and the dynamic selection, but that is not the solution I am searching for.
Can anybody kindly help me with this?E.g. S_ALR_87013532
here you can see multible selection in the DB profile selection group, but not in the report selection group. I would like to use multible selection in the report selection group, as mentioned above.
I am aware of the possibility of creating a new DB profile, but this is only my option B. -
Hiding Screen fields in a Report selection screen
Hi Experts,
I have a requirement to hide/disable screen fields in a report selection screen when the user clicks on some radio buttons .
Here is the scenario,
1) There are 4 radio buttons four radiobuttons in one group on the selection screen:--
Block no:1
PARAMETER: r_not TYPE c RADIOBUTTON GROUP a1 DEFAULT 'X'.
PARAMETER: r_prgs TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_remv TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_noresp TYPE c RADIOBUTTON GROUP a1.
2) Based on the user clicking/selecting the radio buttons no.2,3 nad 4 i need to hide some fields in the other selection block
in the selection screen.The parameters are as follows:
Block no:2( These fields need to be hidden/disabled)
PARAMETER: r_occ(3) TYPE c OBLIGATORY DEFAULT '1'.
PARAMETER: r_and TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_or TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_days(3) TYPE c OBLIGATORY DEFAULT '1'.
ThanksContd.....
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM.
"When Customer button is clicked set flag 1
WHEN 'FC01'.
L_FLAG = '1'.
"When Sales Order button is clicked set flag 2
WHEN 'FC02'. "Sales order
L_FLAG = '2'.
"When Execute button is clicked set flag 4
WHEN OTHERS.
L_FLAG = '4'.
ENDCASE.
AT SELECTION-SCREEN OUTPUT.
CASE L_FLAG.
WHEN '1'. "When Customer button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '2'. "When Sales Order button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL2'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '3'. "When Refresh button is clicked
LOOP AT SCREEN.
"Set the all Blocks as active
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3' OR SCREEN-GROUP1 = 'BL1'.
SCREEN-ACTIVE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN OTHERS."When Execute button is clicked
"Set the Sales order and Customer Block as inactive
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDCASE.
ENDFORM. -
Dynamic Action based on Interactive Report Select List Value
I'd like to perform a Dynamic Action when a user selects one of 3 options from a Select List within an Interactive Report:
select APEX_ITEM.SELECT_LIST(
p_idx => 3,
--p_value => deptno,
p_list_values => 'Copy;Copy,Delete;Delete,Export to PDF;Export to PDF',
--p_attributes => 'style="color:red;"',
p_show_null => 'YES',
p_null_value => NULL,
p_null_text => '--Select--',
--p_item_id => 'f03_#ROWNUM#',
p_item_id => 'P6_IR_SELECT_LIST',
p_item_label => 'Label for f03_#ROWNUM#',
p_show_extra => 'YES') "Actions"
from dual;
When building the Dynamic Action, I chose the following values from the Advanced wizard
Event: Select
Selection Type: DOM Object
DOM Object: P6_IR_SELECT_LIST
Condition: Equal to
Value: "Delete"
True Action: Execute Javascript Code: Alert('Here');
Doesn't seem to be firing...can anyone help?
Thanks in advance,
JohnHi,
I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
Try using a javascript expression instead, like this:
$v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
Luis
Edited by: Luis Cabral on Feb 29, 2012 4:45 PM -
How can we read the screen field values from the report selection screen wi
Hi expart,
How can we read the screen field values from the report selection screen with out having an ENTER button pressed .
Regards
Razzuse this code...
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
**Read the Values of the SCREEN FIELDs
CALL FUNCTION 'DYNP_VALUES_READ' -
Add a button in report selection screen
Hi Experts,
I want to add a userdefined button in report selection screen....so far i have written code like this,...
TABLES : sscrfields.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-010.
PARAMETERS: P_ID LIKE ZBAPITABLE-ID,
P_NM LIKE ZBAPITABLE-NAME.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-020.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (11) TEXT-001 FOR FIELD R1.
PARAMETERS: R1 RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (10) TEXT-002 FOR FIELD R1.
PARAMETERS: R2 RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (10) TEXT-003 FOR FIELD R1.
PARAMETERS: R3 RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (10) TEXT-004 FOR FIELD R1.
PARAMETERS: R4 RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B2.
SELECTION-SCREEN: FUNCTION KEY 1.
MOVE 'SAVE' TO sscrfields-functxt_01.
If i use code like this button was added in application tool bar
but in my selection screen i have two blocks ....in first block i have input fields, and in second there is set of radio buttons...Just below that i want to put one button ....how it is possible...
can anyone plz help me?
Regards,
veena.Here's th docu link:
[Pushbuttons on the Selection Screen|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/frameset.htm]
Regards,
Clemens -
How to get result of select query from oracle in VC
Dear All ,
I have a application in oracle which insert the data in the oracle database table.
Now i want to show all the data that has been inserted into the database table in my VC application but i don't know how to handle select query in VC.
Regards
KrishanHi Goivndu
Thanks for your reply .
I know all those things.
I have created the system & alias for my backend oracle system.
I can also see all the stored procedure that are there in my oracle system.
I just want to know how to write a select query in a stored procedure .
you can insert data , Update data through oracle procedure but i don't think there is any way to get the result of select query in stored procedure .
If you know any way to do that please do let me know .
Regards
Krishan -
Date range as variable values in report selection
On a report selection screen, how can we save range values as variant?
For example, S_ALR_87012341, I want to save the values of from- and to- dates for posting date using dynamic date calculation as selection parameter.
From date: current date u2013 365 days
To date: current date
I can only put one value at a time but not both. Any value I input to the Name of Variable field, it is populated as a from-date value
How can we put both names of variable for the from- and to- dates to the variant attributes?Hi,
For the example you gave, choose Variable 'Current date - xxx,current date + yyy' , enter 365 and 0 for xxx and yyy and save the variant. When you call up that variant, you will see both 'From' and 'to' are populated.
Regards,
Ming -
How do you make report selection variant the default selection varaint?
Hello all,
I know how to create a Selection Variant for reoprts and I know how to create a User Variable that defaullts field values for a specific user. But can anyone tell me how do you have a specific Report Selection Variant Default for everyone? I know this one is probably staring right at me but I'm not seeing it. Your help would be greatly apreciated.
Thanks,
DanBhatia,
That will only hold the data for that specific user. You can also do that via "user variables". What I would like to know is how do you get it to be the default for All users.
I am investigating the possibility of using t-code SE38 and changing the Values on the existing variants to contain the default data we'd like to see. I'd much rather create just one Variant per report and have that be the default variant.
Anyone have any ideas?
Thanks,
Dan
Edited by: Daniel Goodhart1 on Oct 7, 2009 11:03 PM -
Report Selection Formula Error with Crystal Reports 2008 SP3 Fix Pack 3.5
Hello,
My name is Carlos, and I would like to report a defect found in the Crystal Reports 2008 SP 3 Fix Pack 3.5 Runtime that is affecting the majority of our reports. As well, I would like to ask if there is a simple workaround that does not involve updating hundreds of reports.
The issue is that the runtime engine incorrectly returns the report selection formula. I have included sample code showing what I mean.
To reproduce;
1. Create a simple report that has a date range filter like:
({Orders.Order_Date} >= {?START_DATE})
AND ({Orders.Order_Date} <= {?END_DATE})
2. Create a test app as follow that loads a report using the following code:
ReportDocument rpt = null;
try
rpt = new ReportDocument();
rpt.Load("TestReport.rpt");
this.txtMessage.Text = string.Format(
"ReportSelectionFormula:{0}{1}",
Environment.NewLine,
rpt.RecordSelectionFormula);
catch (Exception ex)
this.txtMessage.Text = ex.ToString();
3. Install Crystal Reports 2008 SP3 Fix Pack 3.5 Runtime [https://smpdl.sap-ag.de/~sapidp/012002523100006341772011E/cr2008fp35_redist.zip]..
4. Execute the app.
At this stage, the screen shows
ReportSelectionFormula:
( ( NOT {Orders.Order_Date} >= {?START_DATE} ) AND ( NOT {Orders.Order_Date} <= {?END_DATE} ) )
The expected value is:
ReportSelectionFormula:
( ( {Orders.Order_Date} >= {?START_DATE} ) AND ( {Orders.Order_Date} <= {?END_DATE} ) )
If we were to repeat the same test above but use the Crystal Reports 2003 SP3 runtime (i.e. no Fix Pack), which can be dowloaded from [https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip], we would get the correct report selection formula. A side-effect for this incorrect report selection formula is a runtime exception complaining about an errorkind and a boolean being expected.
Do you know if there is any workaround that I can apply in code, perhaps a different Fix Pack? Is there a Fix Pack expected to be released soon? It is not practical for us to update our reports and use a different style in the record selection formula because we have many such reports, and our customers probably have even more.
Thank you.
-Carlos.Already a known issue, here's the [KB 1584095 - A boolean NOT is added at the beginning of a record selection formula when the report is loaded by the Crystal Reports .NET SDK |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533383334333033393335%7D.do]
-
Object text not coming in report selection screen
Hi,
i have an object task type for which text has been loaded.this is included in one reports selection screen.But in F4 only kee is displayed and not text.If check button is pressed text is displayed besides key.Also text doesnt come after report is executed.
please help.
Thanks,
Prasanna N.Hi Prasanna,
In the Query Designer goto the properties of the required object that you want to display key and text for it, Select the Key and Text Display option. Then you can see in report key and text for that object.
Hope this helps.
Veerendra. -
Problen in report selection screen
Hi ,
I had a problem in the report.In the report selection screen user asking to keep page no option.So when they select the page no in the selection screen,so from that page number report out put should display.
how to do this.
Thanks,If you generating the LIST using the classical approch you cah use the SCROLL LIST keyword for this purpose.
Like:
DATA: L_PAGENO TYPE I.
L_PAGENO = 3.
START-OF-SELECTION.
DO 100 TIMES.
WRITE: / SY-ABCDE.
ENDDO.
SCROLL LIST INDEX 0 TO: PAGE L_PAGENO.
TOP-OF-PAGE.
WRITE: 'Top-of-page'.
Regards,
Naimesh Patel -
ECCS : custom characteristics into standard report selection screen
Hello guys,
I have added a custom characteristic which is also a subasignment to the EC-CS module.
This field now appears into the standard report selection screen as expected.
I want to define this field as a mandatory selection field, do you know if this is possible? (exemple of standard report CX34A)
Thank you in advance for your help
best regards
Pascal.Hi Thereza,
This field is already flaged
I have found the following solution : create a variant and assign it to the standard transcation with transaction SE93..
Best regards
Maybe you are looking for
-
My time machine quit backing up 2 weeks ago. How can I fix it?
-
Pravilion dv7 series hard drive replaced after recovery disc fail
I tried to use the recovery portion of my hard drive when my Pavilion dv7-4173 US laptop failed to operate. After trying the recovery portion of the hard drive several times I got a error message saying the bootmgr was missing. I Tried using the Re
-
How to disable Check for Updates in Lightroom 4.1
Can some one help me out please. Working on lightroom 4 failing to disable updates
-
Save Multiple Finder Window Arrangements?
Is it possible to save Finder Window arrangements? I would like to save different sets of Finder Window layouts and switch between them? (Mavericks) thx
-
CMS for Dreamweaver designed site
HI, I designed an 8 page website for a friend with dreamweaver cs3 and he would like to access the pages himself to make text changes from his own PC. Is there a CMS that he can download and use to change text and images on a website desinged with CS