Include results in "Batch Report" instead of "UUT Report"

Hi all,
I have modified the ProcessSetup callback in TS 4.0 to perform a preliminary hardware test before I test 8 UUTs using the Batch model. Since it's a callback, the results are not recorded by default, so I store them into a global array of results. Then, I copy this array of results into my MainSequence results array.
The problem is that this means these preliminary test results will be recorded for UUT0 (if I use "One thread only" synchronization") or for all UUTs (if I use the batch model synchronization). How can I add the results of my ProcessSetup test to the "Batch results" section of the results page instead of the "UUT Results" sections? The test is checking the shared hardware and therefore applies to all UUTs. I'd rather not have it repeated for each UUT or make it look like it only applies to the first UUT.
Thank you,
Chris
Solved!
Go to Solution.

Tomahawk,
Al is correct that if you were using HTML or ASCII report formats, you could override the ModifyReport... Callbacks to get what you want. Unfortunately, with XML Reporting, you can not use the ModifyReport... Callbacks. In order to accomplish the functionality you would like to see while continuing to use the XML report format, you will need to modify the BatchReport Callback as well as the XML style sheet that you are using.
In TestStand 4.2 we created tutorials and provided better documentation for our XML Style Sheets. With a little bit of effort, I'm confident that with TestStand 4.2 you would be able to achieve your goal.
I would suggest taking a look at the Customizing TestStand Style Sheets topic of the TestStand 4.2 Help (available online). Unfortunately, the TestStand 4.0 XML Style Sheets do not have the same quality of documentation as the TestStand 4.2 Style Sheets so you will not have commented sections in the 4.0 Style Sheets as the Help explains.
For this particular case, you would want to modify the BatchReport Callback to store the data that you want to place in your Batch Report section. Then, you would need to modify the Batch Report section of the XML Style Sheet with the appropriate XPath to display that data in the Batch Report.
Manooch H.
National Instruments

Similar Messages

  • Discoverer viewer displaying all the reports instead of one report

    Hi Team,
    I have created one menu and attached 4 reports to that.after that that menu is attached to the main menu.This menu is attached to the one xyz responsibility.
    Now i am facing the problem is : After logging to the responsibility,i clicked on individual report ,but it is not displaying only one report.It is showing all the reports in the discoverer viewer.
    Can you please help me in this issue..

    Please post the details of the application release, database version and OS.
    I have created one menu and attached 4 reports to that.after that that menu is attached to the main menu.This menu is attached to the one xyz responsibility.
    Now i am facing the problem is : After logging to the responsibility,i clicked on individual report ,but it is not displaying only one report.It is showing all the reports in the discoverer viewer.Please review these docs and verify that you have completed all the steps.
    How to Create a Link to a Discoverer Workbook in Apps R12 [ID 471303.1]
    How to Create a Link to a Discoverer Workbook in Apps11i [ID 278095.1]
    Thanks,
    Hussein

  • Display my report instead of standard report

    Hi,
    How can I display my smartform report for PO in PO transaction. Currently it shows standard report.
    Also, please tell me how to develop PDF report for PO and display that in PO transaction.
    Plz help.
    Regards,
    Sriram

    this is done thru Customizing, Materials Management, Purchasing, Messages, Assign Form and Output Program for Purchase Order ([OMFE|https://forums.sdn.sap.com/search.jspa?threadID=&q=OMFEpurchaseordersmartforms+pdf&objID=&dateRange=all&numResults=15&rankBy=10001])
    You should also look for [SAP Best Practices|http://help.sap.com/bestpractices]. (/SMB40/MMPO_A and /SMB40/MMPO_L)
    Regards
    Raymond

  • I want to change serial number in the Batch report and in the special UUT report

    I use Batch Model, sequential mode.
    I want to change serial number in the Batch report and I want to change UUT serial number in each TestSocket report.
    I overrided ModifyReportHeader, I did
    Parameters.UUT.SerialNumber = "....."
    but the serial number changed only in the Batch Report, not in UUT Report. How can I change serial number in UUT Report too?

    Marta,
    There is actually a ModifyBatchReportHeader in addition to the ModifyReportHeader that you already used.  That would be the first thing to do.
    After that, I think I need a more detailed description of what you are trying to do (perhaps with screenshots) in order to be able to help effectively.
    Josh W. | National Instruments | Applications Engineering
    Josh W.
    Certified TestStand Architect
    Formerly blue

  • Modify Batch Sequence to generate two reports per UUT with different names.

    I have a special situation for the batch model.
    Each UUT consist of two separate products that must be tested as a single unit.
    I can run each UUT and generate a test report for each.  - aka. The standard use case works great.
    However we are keeping records using this method. So I need a separate copy with a different name for each run.
    The idea behind this is that we might have a running history for each half of the UUT. Since the two halves will probably never meet again.
    I have looked at the BatchModel.seq and read some of the documentation, however I am having a hard time figuring out what is going on.
    I assume the Highlighted Items above are where the UUT Reports are generated. I do not however know the mechanism for giving them the names from the Report Options->Report File Pathname menu or how to change it between those points in time. Also is there any tricks to getting duplicate Report with a diffrent path put into this setup.
    Any links to relevant information would be useful. Thanks
    Solved!
    Go to Solution.

    Just copy those two steps and between them and the copies have another step that is just a Statement.  In there you can change the report path by setting parameters.TestSocket.ReportFilePath to the new path.
    Ideally what you would do is have the client set it by using a callback.  So your code would look like this:
    Write UUT Report
    Write UUT Report (on the fly)
    Set Report Path Callback (override in client OR statement step)
    Write UUT Report
    Write UUT Report (on the fly)
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • CoA results from batch, specs from inspection plan

    Hi there,
    I've a problem with my certificate of analysis (coa). I want to do the following. I perform inspections on my semi finished. With the certificate profile i can print these results on the coa for a finished product. I select the results origin from production chain. But i now want to print the specifications that are present in the inspection plan for the semi finished. But SAP only allows inspection spec origin 03 here.
    Is there a possible way to print results for semi finished products on the report of a finished product. For the result it doesn't matter if it comes from QM or batch classification. But the specifications are only stored in the inspection plans.
    Thanks.

    I want to print the result and spec from MIC 50005 which is in my inspection plan for a raw material.
    In my profile i've the follwing
    MIC 50005
    Result origin 03 inspection/ batch from production chain
    Insp spec origin 01 ins. spec from QM.
    At the materials button. In the first tabel Data origin fro characs from insp i mention the material number from the raw material including the inspection type.
    Still nothing is printed while there was an inspection lot for the batch of the raw material...

  • How to generate PDF report directly instead of RPT report by using JRC ?

    Hi,
    Good Day !
    How to generate PDF report directly instead of RPT report by using Crystal Reports XI Release 2 Java Reporting Component (JRC) in desktop (Swing thick-client) ?
    My GUI program will generate a RPT report, then i can export to PDF file, this is ok, no problem.
    BUT
    i want it direct to generate a PDF report, not a RPT report.
    The code like below (2 java files)
    ClassA.java
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc.open(XXX, 0);  
    ParameterFieldController paramFieldController = reportClientDoc.getDataDefController().getParameterFieldController();
    paramFieldController.setCurrentValue("", "XXX", DomainClass.getXXX());        
    new ReportViewerFrame(reportClientDoc);
    // End of ClassA.java
    // Begin ReportViewerFrame.java
    public class ReportViewerFrame extends JFrame
           //Initial window frame properties.
         private final int XPOS = 80;
         private final int YPOS = 60;
         private final int WIDTH = 760;
         private final int HEIGHT = 550;
         private ReportViewerBean reportViewer = new ReportViewerBean();     
         private ReportClientDocument reportClientDoc = new ReportClientDocument();     
         public ReportViewerFrame(ReportClientDocument reportClientDoc) throws    Exception
              //Initialize frame properties.
              this.setResizable(true);
              this.setLocation(XPOS, YPOS);
              this.setSize(WIDTH, HEIGHT);
              this.setTitle("Crystal Report Java Viewer");
              //Add GUI components to the frame including the ReportViewerBean.
              addComponents();
              //Add GUI listeners to the frame.
              addListeners();
              //Set the report that the ReportViewerBean will display.
              this.reportClientDoc = reportClientDoc;
              reportViewer.setReportSource(reportClientDoc.getReportSource());     
              reportViewer.init();
              reportViewer.start();
              //Display the frame.
              this.setVisible(true);     
    How to set the export option to PDF base on existing code ?
    Where can i download this package/jar ?
    regards

    Please find a console app that you can extend it to a JFrame app by importing the relevant swing package:
    //Crystal Java Reporting Component (JRC) imports.
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.lib.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    //Java imports.
    import java.io.*;
    public class ExportReport {
         static final String REPORT_NAME = "ExportReport.rpt";
         static final String EXPORT_FILE = "C:\\myExportedReport.pdf";
         public static void main(String[] args) {
              try {
                   //Open report.               
                   ReportClientDocument reportClientDoc = new ReportClientDocument();               
                   reportClientDoc.open(REPORT_NAME, 0);
                   //NOTE: If parameters or database login credentials are required, they need to be set before.
                   //calling the export() method of the PrintOutputController.
                   //Export report and obtain an input stream that can be written to disk.
                   //See the Java Reporting Component Developer's Guide for more information on the supported export format enumerations
                   //possible with the JRC.
                   ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
                   //Release report.
                   reportClientDoc.close();
                   //Use the Java I/O libraries to write the exported content to the file system.
                   byte byteArray[] = new byte[byteArrayInputStream.available()];
                   //Create a new file that will contain the exported result.
                   File file = new File(EXPORT_FILE);
                   FileOutputStream fileOutputStream = new FileOutputStream(file);
                   ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());
                   int x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());
                   byteArrayOutputStream.write(byteArray, 0, x);
                   byteArrayOutputStream.writeTo(fileOutputStream);
                   //Close streams.
                   byteArrayInputStream.close();
                   byteArrayOutputStream.close();
                   fileOutputStream.close();
                   System.out.println("Successfully exported report to " + EXPORT_FILE);
              catch(ReportSDKException ex) {
                   ex.printStackTrace();
              catch(Exception ex) {
                   ex.printStackTrace();
    As to the relevant jar(s) deployment refer to this link (Java Reporting Component Configuration):
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/JRC_SDK/jrc_java_dg_doc/doc/jrcsdk_java_dg/WorkingWithJRC2.html#1004391
    Cheers

  • Modify UUT report file name

    Hello,
    I use TesStand 3.1 in Batchmode with 4 Testsockets and generate a XML Testreport for every UUT with the serial number in the file name.
    I leave the "Enter UUT Serial Number" dialog boxes at the begin empty.
    After that i read out the Serial Number of my UUTs at the runtime via CAN and use the "PostUUT-Callback" to modify the "Parameters.UUT.SerialNumber".
    Because of that the UUT Serial Number appears in the Report Header.
    But the report filename is always "Report[NO_UUT_SERIAL_NUM0][date][time].xml".
    Is it possible to modify the "UUT Serial Number" in the Report File Name, too?
    Thanx for your answers!
    Greetz ALIEN

    We modify the report name to include error count, Model, build, etc. but it requires that the Report be complete at that point (file no longer locked by TestStand). 
    In order to do this, you'll need to create a Sequence (with no Process Model) to call the test sequence using Subsequence call with the "Run Sequence in a New Execution" selected in the "Specify Module", Multithreading selection ring.
    There may be other ways to do what you're attempting, but this gives you freedom to rename the file. 
    Mike

  • How to delete the payroll result by batch? have any program to do this?

    Hi,
    how to delete the payroll result by batch? have any program to do this?

    With standard payroll deletion (PU01), SAP  will not allow payroll results to be deleted if it already reaches certain steps of payroll process (e.g. Pre-DME, DME); instead, you would have to do payroll a void or payroll reversal. This utility doens't check for that, and only delete payroll results based on the criteria given. This therefore could cause inconsistency in production if your payroll process already surpasses certain steps.
    Rgds.

  • TESTSTAND 2013 中的UUT report 参数路径

    我在用TestStand做测试时,需要自己制作一个Excel报表,里面要用到UUT Report 中Execution Time 和UUT Result 两项的结果,这两项的参数路径分别是什么

    在插件中,你会得到的执行时间和UUT的结果。然后你可以把那些到Excel使用LabVIEW或代码模块。
    希望这会有所帮助,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Result page shows Script instead of result

    Post Author: KSK
    CA Forum: WebIntelligence Reporting
    Hi ,
    While running a report i see the script or html code instead of BO report result. Did anyone had same issue? if so please send me the solution.
    Any reply with solutions will be greatly appreciated.
    Thanks
    KSK

    Post Author: amr_foci
    CA Forum: WebIntelligence Reporting
    i had this only one time before, i've restarted my server and didnt see it again

  • Custom report instead of standard standard report "EAMWRREP" from OAF

    Hi All,
    I have a requirement to fire a custom report instead of standard standard report "EAMWRREP" from OAF.
    Screen -> EAM Self Service Maintenance -> Work Orders -> Search Work Orders -> Print Work Order
    Standard page ->WorkOrderRepPG 120.2
    Standard Controller -> WorkOrderRepCO
    I have extended the standard controller to override the call
    as shown below :
    Standard WorkOrderRepCO :
    oapagecontext.putParameter("p_DataSourceCode", "EAMWRREP");
    oapagecontext.putParameter("p_DataSourceAppsShortName", "EAM");
    Extended :WorkOrderTestCO
    oapagecontext.putParameter("p_DataSourceCode", "USS_EAM_WO_OAF");
    oapagecontext.putParameter("p_DataSourceAppsShortName", "XP2P");
    The custom report gets fired with header and footer but with NO DATA.
    The custom report is a simple RDF+XML report (RDF data model + XML template)
    with just query SELECT wip_entity_name from wip_entities where wip_entity_id = : WipEntityId
    Can some one please let me know how to pass parameters to a report likne mine??
    Regards,
    Ambika Ramachandran

    Try the OA Framework Forum

  • When to use webdynpro for developing reports instead of ABAP Editor in R/3

    Hello Frends,
    I am new to Webdynpro ABAP. I just wanted to know when we should used webdnpro ABAP for developing reports, instead of using ABAP Editor in R/3. If you can give me the details it will be helpful.
    Thanks,
    Regards.

    Hi navnetha,
      As mishbah told you , that there is no hard and fast rule for reporting throught  webdynpro.It all depends on client requirement .Now if you want to develope alll the reports by using webdynpro without your clients request , then you need to explain the advantages of webdynpro reporting above abap reporting.
    for e.g.  Webdynpro reports can run on browser, They can be posted on portal, Easy handling and maintenance and reusability.
    Other than this i guess if you can show some business profit to the client, then i think every client would like to go for webdynpro reporting.
    regards
    PG

  • How to Include JAVA script code in SAP BI7 web Reporting?

    How to Include JAVA script code in SAP BI7 web Reporting?

    In nw2004s there is a new web item called "Script" web item which lets you add javascript code. When you add javascript code in this web item, you don't need the opening and closing <script> tags...
    Hope it Helps
    Chetan
    @CP..

  • In list view: Why don't searches include results from the Collections field? Why won't the Collections column sort properly?

    In list view: Why don't searches include results from the Collections field? Why won't the Collections column sort properly?

    I create a new index on column2, (INDEX_N3)
    and change SQL to
    select 1 from table T1 where
    T1.COLUMN_002 = '848K 36892'
    This time INDEX_N3 will be used.
    but change SQL to
    select 1 from table T1 where
    T1.COLUMN_002 = '848K 36892'
    and T1.COLUMN_004 = '1000'
    The explain plan will show full scan.
    Why?
    Thanks.

Maybe you are looking for

  • How do i reinstall Adobe Creative Cloud  on Mac book air ?

    itsays You are running an operating system that After Effects no longer supports. Refer to the system requirements for a full list of supported platforms.

  • Need suggestion on making career decision

    Dear Friends, Problem Background  : Want to make the most of my previous SAP Technical Experience and work in a marketing role. Experience/Qualification: Bachelor of Technology (Computer Science) 4.5 years of experience in SAP ABAP HCM MBA in Marketi

  • Has anyone verified jdk1.3.1_19 has the new DST rule as Sun advertizes?

    Hi Everyone, Has anyone verified that jdk1.3.1_19 does not actually have the new Daylight saving time rule mandated by Congress starting 2007 although Sun claims that it does? I tried jdk1.3.1_18 and jdk1.3.1_19. They do not have the new DST rule. I

  • URGENT: connection to system landscape Directory (SLD) could not be openend

    Hi , information: when login as adminstrator yesterday, it asked for a new password & i given a new password to the administrator Error in portal: Failed to resolve JCO destination name 'WD_GPMS_RFC_METADATA_DEST' in the SLD My Findings 1) http://...

  • Bursting problem :: AIX :: NullPointerException

    Hi, I got stucked with BI publisher, and I didn't find solution. We run OBIEE on AIX, and I tried bursting on a simple query. The dataset: select id,name from company The bursting query: select      d.id KEY,      'New Template 1' TEMPLATE,      'RTF