Display pass or fail in Report based on return value
Hi,
I'm trying to integrate TestStand with TestComplete using the ActiveX/COM server adapter. I have the COM setup so that TestStand can call a test in TestComplete and have TestComplete return a string value (true|false) to TestStand.
Now I need to get the TestStand report to display "pass" or "fail" text for this sequence call, based on the return string from TestComplete.
Is there someplace in Expressions or Post Actions that I can state and how:
return value "True" = pass
return value "false" = fail
Thanks.
Solved!
Go to Solution.
Hi,
Option 1.) Use a String Value Test. The Limits.String would be 'True'. This would be the easiest because you already returning strings from your ActiveX call. You could make your ActiveX calls a String Value Test.
Option 2.) Use a Pass/Fail Step. You could set the returned string to a local variable and then create another Pass/Fail step that would have the Pass/Fail criteria as Locals.StringReturned == 'True'
These are two options that hopefully can get you started....
Thanks,
PH
Similar Messages
-
Display Error Message in BW Report based on Customer Exit Variable
Hi
I need to display an error message in the BW report based on the value of a customer exit variable - i was able to do this successfully in BW3.5 using the below code.
WHEN 'ZUPN'. "Here ZUPN is the customer exit variable
IF i_step = 1.
<check for condition -- if successful, variable flag = 1, else variable flag = 0>
IF flag = 0.
MESSAGE e157(00). "Error Message
ENDIF.
ENDIF.
I have upgraded my system to BI 7.0 now. Whenever the variable check is not successful, it displays a blank screen instead of the error message in the report. Please advice if we need to change the code and how ??Bhanu,
Thanks for u r reply.This warning message appears every time i execute the report through portal.
Any idea ?
Regards
Mano -
Pass parameter to ssrs report based on cube
hi folks:
I am working on a weekly report based on cube. Users are able to pull out data by themselves using excel. Now they want this to be scheduled to run on a weekly basis via SSRS. The date hierarchy (date.calendar) is like this: Year -> Quarter
-> Month -> Week
I want users to be able to pick any week (only one week) they want and run the report. I understand I need to create a parameter @week .
The problem is how to populate this parameter @week in mdx since the source is a cube db.
Any idea?
Thanks
Hui
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --Thanks Charlie, your solution is pretty close now. When I try out the shareddataset via cube, I found the following statement in the query via query designer:
WHERE ( [Checkoutdate].[Fiscal Year Calendar].[Week].&[23]&[2014]&[2]&[6] )
23 is the week no, 2014 is the year, 2 is the quarter and 6 is the month. I intend to create 4 parameters so that users could pick year, quarter , month and week.
The question here is the sequence, do I have to strictly follow the sequence [week - year - quarter - month] or it doesn't matter?
SELECT {STRTOMEMBER("[Date].[Calendar Weeks].[Calendar Week].&["+@Week+"]&["+@Year+"]&["+@quarter+"]&["+@month+"]
")} ON 0
or can I go like this as it's more intuitive:
SELECT {STRTOMEMBER("[Date].[Calendar Weeks].[Calendar Week].&["+@year+"]&["+@quarter+"]&["+@month+"]&["+@week+"]
")} ON 0
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN -- -
Need to supress main report based on shared value comes from subreport
Hi,
I have a database that is used in both main report and subreport. On main report I have column a,b ,c, d,e,f to display in detail section, the subreport (column c, g,h etc) is also displayed on detail section, the link between main report and subreport is column a,b and a formula based on the value of c. So the link is within one database, some records link with other records and display both matching records on one line(especially column c shows one value in main report and another value in subreport). That's why I need subreport and I can display the report correctly.
Here is my question: if one record in main report couldn't find a match in subreport (subreport is blank), then I would like to show this record; if one record in main report does find a match in subreport, I don't want it to show(need to be supressed). I can define a shared variable to flag whether the subreport is blank or not, but this shared variable has to be placed under the section of subreport in main report and I don't know how to supress the upper detail section with subreport in it.
Any help would be appreciated!
HelenHi
In this case you need to insert the same sub report twise.
Example :
Detail a--Insert the sub report and go in sub report suppress all sections and using shared variables bring the value to main report.
Detail b -- based on detail a sub report suppress the main report records
Detail c-- Your actual sub report will display the values.
Note : use the same links for your detail 'a' sub report which you are using for detail 'c' sub report.
Thanks,
Sastry -
What is this message in report based on "return SQL"
After changing some parameter value in one report based on "function return SQL body"", we get:
Invalid set of rows requested, the source data of the report has been modified.
reset pagination
We get this notice without error....just link "reset pagination" (*http://server:port/pls/htmldb/f?p=100:203:2666560392386347:NO::RP) which leads to error:
Error No checksum was provided to show processing for a page that requires a checksum when one or more request, clear cache, or argument values are passed as parameters.
Any help ?
THX!
Message was edited by:
FunkyFound out...
Originaly one search field was POPUP LOV type. Later we change them to "Text Field", bud LOV definition remains ...regardles it points to LOV which was not in use now.
When remove LOV reference and delete the definition ...all works like a charm... -
Change source (sql) of interactive report based on column value?
I've got an Interactive report displaying 10 columns. What I'd like to do is show different columns depending on the value of the first column. All the rows in the result will have the same value in the first column.
If value in column 1 (on any row) = 'aaaa' then
display columns 1,2,3,4, 9, 10
If value in column 1 (on any row) = 'bbbb' then
display columns 1,2,3,4, 7, 8
If value in column 1 (on any row) = 'cccc' then
display columns 1,2,3,4, 5, 6
Should i somehow make the sql query dynamically change or can I use apex to dynamically hide the columns I don't want in the interactive report?
Appreciate if you could point me in the right direction...
/AHello Andy,
You can solve that in your SQL query:
select col1, col2, col3, col4
, case col1
when 'aaaa' then col9
when 'bbbb' then col7
when 'cccc' then col5
end newcol5
from tableYou may have to use to_char or to_number conversions when the datatypes of the col5,7 and 9 are different.
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-) -
Display an exception on one keyfigure based on the value of another key fig
Hello all,
How to run a exception based on some condition i.e
i want to highlight the sales(key figure) which r less than the average sales..
where sales and average sales r keyfigures...
i also created a cal key fig which has has value 1 if sale > avg sale...
i.e How do i display an exception on one keyfigure depending on the value of another keyfigure??
plz reply its urgent...
thnx in advance...Hello Ajay, did you got an answer for your problem? I'm interested...
Thx Masen
Edited by: Masen-Fuad Marei on Nov 25, 2009 6:26 PM -
Display hperlink in report based on column values
Hi,
I have a requirement to make report column as hyperlink column with the condition that
1 . If report column values is 0 then on '0' hyperlink should not display.
2 . In other values hyperlink should display.
Please help me to achive this.
Thanks & Regards,
Priyaselect decode ( col1, 0, null, '{a href="f?p=&APP_ID.:XX:'||'&SESSION.'||'::::ID:'||col1||':YES" }Go{a}' as Link, col2, col3 from table
XX is your linked page number.
Replace { to <
and
} to > -
Calling multiple sub-reports based on the values in a column in the main report
All,
Say, I have a main report with 4 parameters and 8 columns in it's tablix, there is 1 column in this main report that can have 3 values, say A,B,C. If the user clicks on "A", he will be directed to Subreport A, clicks on "B", he will be
directed to Subreport B and if he clicks on "C", then he'll be taken to Subreport C. All works fine when I call subreport A and B from that column, because both of them have the 4 parameters that we can map back to the parameters of the main report
in the "Go To Report" section.
Now, for Subreport C, I'll need to map all those 4 parameters + I will also need to map the parameters in my Subreport C to the FIELDS in the main report. Subreport C has 8 parameters, so 4 of them get mapped to the parameters of the main report and
the other 4 get mapped to the fields in the main report.
Now, when I call the Subreport C from my main report, that runs fine, but, I get an error when I try to call my other subreports A and B. The error says "Parameters in the subreport are not defined", probably because it tries to map the fields
in the main report to the non-existing parameters in mu Subreport A and B.
Any ideas/suggestions/workarounds would help a lot. Also, if someone can point me to a link where multiple subreports are being called from the column of a main report would be a great help too.One simple solution would be to add the additional 4 parameters to subreports A and B. Just don't use them.
I assume you are calling the subrebort using Go to report action property of the tablix cell control. Try switching to Go to URL. Then use expression builder to dynamically create your url:
="http://YourReportServer/Reports/Pages/Reports.aspx?ItemPath=%2fYour%2fReport%2fPath%2fReport"+Fields!Column1.Value+"&Parameter1Name="+Parameters!Param1.Value+"&Parameter2Name="+Parameters!Param2.Value+"&Parameter3Name="+Parameters!Param3.Value+"&Parameter4Name="+Parameters!Param4.Value+IIf(Fields!Column1.Value="C","&Param5="+Fields!F1.Value+""&Param6="+Fields!F2.Value+""&Param7="+Fields!F3.Value+""&Param8="+Fields!F41.Value,"")
Now this is a rather long formula which is why I prefer just adding the other 4 parameters to all of the subreports but this expression opens the report from the url and only when Column1 field is "C" does it also pass the additional 4 parameters.
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek. -
How to filter reports based on Prompt values
Hi All,
I have requirement in dash board.
in my dash board it contains two reports which is having same column with different values.i.e.,
one report contains Input method column with CSS value,
another report contains Input method column with SFF value
and i have dashboard prompt for INPUT METHOD column.
when i need to select CSS value in prompt the first report should enable(display).second report should disable.
when i need to select SFF value in prompt the second report should enable(display).first report should disable.
But problem is when iam prompting values the 2 reports displaying same report only.Can any give solution for this one. how to solve this prob?
Thanks in Advance response .
NaveenHi,
Follow the steps from this link. I hope it will be helpfull
http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
Phani. -
Report based on parameter values
Morning all,
I have to create a report which includes Account Number, Account Name, Sales prices. There has to be two optional parameters, Account number (Static) and Product Description (Dynamic).
I have setup the report with Account Number (Grouped), Account Name. The report works fine, when a user selects a particular account number, the report produces fine.
Things I would like to do and know about:
1: when it comes to sales price, it should reflect to what user has selected under Product Description parameter.
for example if the user has selected Supra, Supra KNT, Rimless, Metal etc from the description parameter, the report should only show those selected prices according to the account number (showing descriptive field value).
2: Additionally, if user chooses all of the options from the drop down menu (multiple selection dexcription parameter) then the report should show all the prices according to the description (showing the description field value).
The problem in this case which I think would be is because the description values are quite alot, I mean more than 25 values and if a user selects multiple values, lets say all, how would Crystal adjust that into a report?
Example of a report
Parameters
=============
Account Number:
Description: Supra, Supra KNT, Metal, Plastic, Rimless, Rimless KNT (multiple selection)
Report Layout
============
Account Number --- Account Name --- Supra - Supra KNT - Metal - Plastic - Rimless - Rimless KNT
(Where Supra to Rimless KNT options are chosen by Descriptive parameter value - if not chosen then report will only show account number and account name).
If however only Supra is selected then the report would look like this
Report Layout
============
Account Number --- Account Name --- Supra
Any ideas how to achieve this kind of report? I have setup the report in a landscape so that we can fit as many description values as possible but I only managed to show 9, rest goes over the page.
The report in the end has to be exported to excel so I don't mind if it goes over a page.
Regards
JehanzebJehanzeb,
You do want to use cross tabs...
Have your database query produce a table with the following columns:
Account Info (Number & Name)
Product Description
Sales
e.g.,
Select AcctNo + " - " + AcctName as AcctInfo,
ProdDesc,
sum(Sales) as Sales
from SalesTable
group by AcctNo, AcctName, ProdDesc
Then use record selection to limit the data to the selected products.
Yes, the layout of a cross tab is a bit strange, in that the design of the cross tab only shows one column for the data, but the table will expand with the underlying data. If 4 products are selected, there will be 4 columns of sales numbers. When setting up the cross tab, make the AcctInfo field the row header, and the ProdDesc field the column header, and the Sales field the table cell value.
HTH,
Carl -
How to display the results in order by based on search value
Hi All,
how to display the results in the below order.
CREATE TABLE TEST( SONGID NUMBER, TITLE VARCHAR2(200))
INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
SELECT *FROM TEST WHERE INSTR (TITLE, 'MADONNA') > 0
output:
SONGID TITLE
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
11 CICCONE, MADONNA (CA)
12 DALLIN, MADONNA LOUISE/STOCK
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
16 MIRWAIS AHMADZAI, MADONNA
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
18 MADONNA (CA),CICCONE
Expected output :
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
...if user searches with 'MADONNA' , I have to display the results like title starts with 'MADONNA' first then rest of the records.
Please let me know is it possible to display the results in that order.
Regards,
RajasekharThis may be a bit more accurate:
SQL> SELECT *
2 FROM TEST
3 WHERE INSTR (TITLE, 'MADONNA') > 0
4 ORDER BY INSTR (TITLE, 'MADONNA')
5 ,TITLE
6 ;
SONGID TITLE
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
12 DALLIN, MADONNA LOUISE/STOCK
11 CICCONE, MADONNA (CA)
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
16 MIRWAIS AHMADZAI, MADONNA
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA) -
Can i filter a report based on a value of a navigational attribute?
Hi all,
i need to filter a report and the characteristic i need it's a navigational attribute that is already present in the infocube, can i use it as a filter or i need to add a new characteristic to the ic?
thank youHi
You can use navigational attributes to filter your report. When you switch on the navigational attributes at the cube level, the X table or Y table will be connected to the star schema of cube.
Navgational attributes behave like a characteristic in the report. You can create variables, filter etc on navgational attributes.
Hope it helps.
Regards
Sadeesh -
I want to display invoice details(MIRO) in REPORT
Hi,
i am new for abap can any one please send code for to display miro details in a report based on below logic.
Pass the RSEG-BELNR & RSEG-GJAHR joined together into BKPF-AWKEY to get the MIRO Doc date BKPF-BUDAT, vendor invoice number BKPF-XBLNR& Vendor invoice date BKPF-BLDAT.
Pass the RSEG-BELNR & RSEG-GJAHR joined together into BKPF-AWKEY to get the BKPF-BELNR & BKPF-GJAHR to pass this into BSEG-BELNR BSEG-GJAHR to get the BSEG-LIFNR, BSEG-DMBTR, BSEG-ZTERM corresponding to the vendor code.Set the option PRINT OBJECT ON to First Page, I think this might resolve your problem.
-
Filter Report based on Apex_item.select_list
I have question for you here.
I have a page where I create some page items with apex_item.select_list_from_query based on a hidden item.
So for example sometimes it creates 3 select lists and another time it creates 2 select lists. That works fine.
But now I want to filter a report dynamically based on the selected values in these select lists.
Does anyone have a solution to do this?Yes I understand that you have to know more about the table structure. So I translate that part of the datamodel in English for you and you can see it by the url below:
http://i48.tinypic.com/349dp4g.jpg
So it is a many to many relationschip between Article and ArticleOptions and the Values table contains the article id and article option id, who are together the primary key.
And of course the values table contains the corresponding value.
So if you can see in the datamodel a article group can contains multiple articleOptions, therefor I had to create dynamically the select lists based on the number of articleOptions of that group. That works! And thanks to your help I can filter the article list based on the selected value in a select list. But the problem is that when I have 3 select lists I have to filter the report based on the values in the 3 select lists.
For example the first select list is articleOption Colour and contains the values blue,white,black. I select black, the report have to show only the articles who have te colour black. And the second list for example contains the articleOption storage with the values 150gb,250gb,500gb.I select 500gb. The report only have to show articles who contains the colour black and a storage of 500gb.
Maybe you are looking for
-
Writing video to dodgy "Document and Settings" folder
Minor problem that I've come across when generating video using JMF: On Windows, if the output location is in the users home directory, the video gets written to a copy of that directory with spaces replaced by % characters! e.g. C:\Documents and Set
-
How do I drag and drop multiple objects in a mask?
I've been working on a flash simulator to show what our night vision product would look like in the dark. I have been successful in making it work with the following code below. Yet I cannot add a "reticle" image (or symbol) to the draggable mask t
-
Fax output with Medium 7 in the condition record
Hi all, Have any one tried the below scenario? I want to send the fax output to my sold to party.I want to Select the medium as 7 instead of 2 in the condition record and when I double click the line I have an option to select the fax number as recip
-
Every ID i add on here doesnt work...it keeps telling me that the ID is incorrect. I will find another site if they do not want my money.
-
Download and install java - help
hi all, i am just entering into the world of java. i need some help in downloading and installing java. i found a lot of downloads like j2sdk and jdk6update7 and some more. i downloaded both and installed one and tried to run a sample program. in jdk