Report Plugin: ATML 2.02 need 2 report files how to Generate Names

TestStand 2012 SP1, have setup 2 Result Processing.  The issue is the informaton needed for the Report Filename and Directory are not known until later in the flow (after entering Part Number and Serial Number).  TestStand doesn't generate the correct filename, due to the data not being available, and because the data isn't available the Generate By Expression isn't functioning.
I have gotten the Generate By Expression working, but only by adding it to the ReportGenerator.seq.  To continue with this approach, how to I determine which report is being generated so I can have 2 file names/locations?

I had to add into the NI_ReportGenerator.seq, Model Plugin - UUT Start because the variables are not available until after the data is entered in Batch Start.
2 CCAs being tested as 1 UUT: 
Parameters.ModelPlugin.PluginSpecific.Options.ReportFileBatchModelExpression ="\"<ClientFileDir>\\\\..\\\\Data\\\\"+ Parameters.UUT.ModuleType +"\\\\"+ StationGlobals.JSFPNR.TestType +(Parameters.UUT.ModuleType ==""?"Reports\\\\<UUT>\\\\":"\\\\Reports\\\\<UUT>\\\\")+ Parameters.UUT.ModuleType +"_MSN[<UUT>]-TR2_"+ StationGlobals.JSFPNR.TestType +"_PN["+ Parameters.UUT.PartNumber +"]_"+ Parameters.UUT.ModuleType +"_MSN["+ Parameters.UUT.SerialNumberB +"]-TR2_"+ StationGlobals.JSFPNR.TestType +"_PN["+ Parameters.UUT.PartNumberB +"][<FileTime>][<FileDate>]<Unique>.<FileExtension>\"" 

Similar Messages

  • Developer Report 10g - How to generate directly a file ( pdf, html, text etc. )

    hi all gurus,
    this is my first ever post, I am new in the development area and facing a problem.
    I am using Developer 10g, calling report through a Form Module and want to Directly save in file name specified but failed. My code to call report mentioned below for your ready reference. NO Parameter using in Report Module.
    This showing report on Screen instead of giving output file, user have to use Save As command and also there is no file name which I sent to Report Module.
    ---------------------------------- START of CODE -----------------------------
    Declare
      rep_obj         REPORT_OBJECT;   
      v_rep           VARCHAR2(100); 
      rep_status      VARCHAR2(20); 
      v_rep_server    app_server_objects_detail.OBJECT_VALUE%type;
      v_p_action      app_server_objects_detail.OBJECT_VALUE%type;
      v_rep_getjobid  app_server_objects_detail.OBJECT_VALUE%type;
      v_rep_killjobid app_server_objects_detail.OBJECT_VALUE%type;
      v_rep_obj_path  app_server_objects_detail.OBJECT_VALUE%type; 
    BEGIN 
      --------------------------------- setting app server object properties ---------------------------------
      for rec in ( select object_code,object_value
                     from   itmis.app_server_objects_detail
      loop 
         if rec.object_code=1 then
            v_rep_server:=rec.OBJECT_VALUE;
         end if;
         if rec.object_code=11 then
            v_rep_obj_path:=rec.OBJECT_VALUE;
         end if;
         if rec.object_code=19 then
            v_rep_getjobid:=rec.OBJECT_VALUE;
         end if;
         if rec.object_code=20 then
            v_rep_killjobid:=rec.OBJECT_VALUE;
         end if;
         if rec.object_code=21 then
            v_p_action:=rec.OBJECT_VALUE;
         end if;
      end loop;    
      rep_obj := find_report_object('SHORT');  --- report name
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_EXECUTION_MODE,BATCH); 
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_COMM_MODE,SYNCHRONOUS);
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_DESTYPE,FILE);
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_DESFORMAT,:TEXT_BLOCK.REP_FORMAT); -- Form's Text Field
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_SERVER,v_rep_server);
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_DESNAME,:TEXT_BLOCK.FILE_NAME);  -- Form's Text Field
      SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_OTHER,'paramform=no'||
                                                      ' P_SERVERNAME='||v_rep_server||
                                                      ' P_ACTION='||v_p_action);
      set_report_object_property(rep_obj,REPORT_FILENAME,v_rep_obj_path||lower('short.rdf'));
      v_rep := RUN_REPORT_OBJECT(rep_obj);
      rep_status := REPORT_OBJECT_STATUS(v_rep);
      WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
        LOOP
          rep_status := report_object_status(v_rep);
        END LOOP;
      IF rep_status = 'FINISHED' THEN
          WEB.SHOW_DOCUMENT(v_rep_getjobid||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_server,'_blank');
          WEB.SHOW_DOCUMENT(v_rep_killjobid||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_server,'_blank');
      ELSE 
        message('Error when running report', Acknowledge);  
      END IF; 
    EXCEPTION
       WHEN OTHERS THEN
            show_err_msg;
    END;
    ---------------------------------- END of CODE -----------------------------
    Please help where I made mistake.
    Regards.

    thanks for reply.
    but how I can do it? report runtime should call and when it will complete then one can save but again how ? will you please give me an example. I do not want the user to see the output instead report should save in a location which is in  SET_REPORT_OBJECT_PROPERTY(rep_obj,REPORT_DESNAME,:TEXT_BLOCK.FILE_NAME); 
    Please consider, I already have mentioned that I am new in this area. I tried google to search but failed. some PDFs downloaded but nobody has mentioned there to use WEBUTIL package to save this report output.
    Regards.

  • Reporting mechanism on HTML report file, using TestStand 2012 SP1

    Hi,
    I am using TestStand 2012 SP1, where the reporting mechanism is configured to be in HTML format.
    I am not getting the full report of the sequence file which is executed, however I get a part of it printed on the HTML file.
    The following are the configured "Report options",
    ===========
    Contents Tab:
    ===========
    Report Format : HTML Document
    Default Numeric Format : %$.13f
    Include Step Result: Checked
                  Result Filtering Expression : Result.Status=="Failed"
                  Include Test Limits : Checked
                  Include Measurements : Checked
                  Include Arrays : Insert Table
                  Filter : Include All
    Include Execution Times : Checked
    On-The-Fly Rporting and Only Display Latest Results : Checked
    Select a Report Generator for producing the Report Body : DLL
    ===========
    Report File Pathname Tab:
    ===========
    Generate Report File Path : Checked
           File Name/Directory Options : Specify Report File Path by Expression
           Report File Path (Sequential Model) :
                            StationGlobals.TopLevelReportPath
                            +RunState.ProcessModelClient.AsPropertyObjectFile.​DisplayName+"Report_[<FileDate>]<Unique>.<FileExte​nsion>"
    Please let me know a solution to this problem.
    Thanks,
    Dharani

    Jason,
    Thankyou for replying.
    Yes, I need only the steps which had failed to print on the report file.
    The problem what I am facing is, if there are 10 failed steps, the report is not printed for all.
    Also the order of printing is not correct for the first step and the last step which is printed on the report file.
    I had used "Post Expression" for printing data for all the failed steps. Normally these post expressions should be printed beneath the step in the report file.
    However,
    1) For the first step which is printed on the html file, the post expression gets printed just above the step and also it gets printed beneath the step.
    2) For the last step which is printed on the html file, the post expression is not printed beneath the step.
    Please let me know if i need to provide some more information.
    Thanks,
    Dharani

  • Report File Path Directory

    How can i get the definitive report file path in teststand V3.0

    Hi,
    The report file path is generated inside of the process model. If you look at the Test UUTs entry point inside of the SequentialModel.seq, you will see a C/C++ Adapter step called "Determine Report File Path". After this step executes, the variable Locals.ReportFilePath inside of the entry point contains the full path to where the report will be saved. Let me know if this is what you are looking for.
    Ryan

  • Open report file generated from AfterReport trigger fails

    Hi,
    I generate reports files using rwrun.exe.
    In order to know if my report file has been generated without error, I call TEXT_IO.FOpen(..., 'r') into my afterreport to see if any file has been generated.
    It works fine under win2000 but not under Solaris 5.8.
    The report file is generated but for some strange reason TEXT_IO.FOpen( ) generates a non oracle exception -302000.
    Any idea about what happens and how to fix that?
    Thanks,
    Manu

    Hi Sripathy,
    Thanks for your answer.
    In the afterreport trigger, I just open my file as read only to see if it's there.
    The process has just created the file, so, it should be able to open it just to read.
    Anyway, I checked the rights on the file and they are Ok.
    Actually, I think it's a problem with the OS because sometimes, it works fine and the next report, it fails.
    Maybe the file is still "locked" by some other process as I try to read it.
    That's a pain to not be able to check if the report went fine from the afterreport trigger.
    Manu

  • Have Adobe Captivate 6 (not interested in upgrading)- Struggling to publish a simulation in a format that QMP can pickup - QMP needs a qml file. previous versions had no problem all had tick boxes for QMP in the Quiz - Reporting Settings but this version

    Have Adobe Captivate 6 (not interested in upgrading)- Struggling to publish a simulation in a format that QMP can pickup - QMP needs a qml file. previous versions had no problem all had tick boxes for QMP in the Quiz - Reporting Settings but this version does not have. If i publish to Flash QMP does not see the file.

    Re:
    The quiz review button is inconsistent - sometimes it shows the ticks and crosses other times it doesn't - did you find a solution? I'd dearly like to be able to tidy up the ticks!
    Thanks
    Sharon

  • Need report to list the system name, client status, client version, OU name info for a particular collection of systems

    Hi Friends,
    Need report to list the system name, client status, client version, OU name info for a particular collection of systems.
    Please help as it would be appreciated much as i am not familiar with creating custom reports in SCCM. Thanks.
    Regards,
    Thangaraj

    Select v_R_System.Name0, v_R_System.Client_Version0, v_RA_System_SystemOUName.System_OU_Name0,
    case when v_R_System.Client0 = '1' then 'Client is Installed'
    else 'Client Not Installed'
    end as 'Client Status'
    FROM v_R_System JOIN v_RA_System_SystemOUName ON v_R_System.ResourceID = v_RA_System_SystemOUName.ResourceID WHERE System_OU_Name0 LIKE '%HR'
    John Marcum | Microsoft MVP - Enterprise Client Management
    My blog: System Center Admin | Twitter:
    @SCCM_Marcum | Linkedin:
    John Marcum

  • Getting Report File Path location at execution in TestStand 2012 and later

    I need to include PNG pictures into my TestStand Report (HTML, XML, ATML).
    When report generation was made through plugins (before TestStand 2012), it was easy to get report file location during execution through variable RunState.Root.Locals.ReportFilePath in order to save PNG files near the report file (in same directory).
    I didn't find yet an easy an simple way to do the same in TestStand 2012 with Result Processing Plugins.
    Any idea ?
    Remarks :
    Since this functionnality has to be included within MESULOG TS+ last version which is a TestStand Add-on, I cannot modify Report Options, Process Model or include a callback (like GetReportFilePath.
    In need ReportFilePath within a Custom Step Type which cannot wait for PostUUT or ReportGeneration to save its PNG files.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

    jiggawax,
    Thank you for you quick answer.
    RunState.Root.Locals.ModelPluginConfiguration.Plug​ins[<plugin index>].PluginSpecific.Options.Directory is valid only if  
    RunState.Root.Locals.ModelPluginConfiguration.Plug​ins[<plugin index>].PluginSpecific.Options.DirectoryType is set to "SpecificDirectory".
    It seems that I cannot get the complete ReportFilePath before "UUT Done" plugin entry which is after MainSequence execution.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

  • I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    Close ... before going for a specific Cisco app ... lets find out some details:
    Host we need more details:
    What is your server environment (Windows Server, or Mac OS X Server, or Linux)?
    What security is implemented in your environment - as what is restricted (RDP for all or specifc credentials on all machines? Are you part of local admin group to the server you wish to connect)?
    Does your environment Support CISCO IPSec connection? If so use Settings> VPN and IPSec tab to enter VPN details, if not then go with above suggestion. IF your restricted to RSA then either built in VPN settings or 3rd party app for RSA would suffice.
    Finally, there are many RDP applications out there I use "Mocha RDP Light" (free minimal ads when launched not when connecting).

  • In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File

    Post Author: bhaveshbusa
    CA Forum: Crystal Reports
    In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File. When the application calls ReportDocument.Load(reportFileName). This
    tries to connect to the database using the connection information embedded in
    the "reportFileName". This was only realised on checking the ODBC Trace
    Log. The connection itself is not a problem. The problem is that the embedded
    connection information is related to OLD production system. And failed
    connections had raised some concerns.
    Note: I am using
    SetDataSource to populate the data for the report. So I don't need the
    connection.
    Is there any way I
    can disable this auto-connect?
    Thanks and
    regards,
    Bhavesh

    960738 wrote:
    I need a help in answering one of the issue encountered last week.
    I have created a database link and tried to access the information from a table using the program written in another language. The password provided was incorrect for that user while creating database link. So we expected that,while retrieving the data, Database connection has to be errored out as password provided is incorrrect.
    But unfortunately, user account was locked out. When i checked with DBAs they mentioned that it tries to connect 16 ports with in a min of time.we were shocked as it STOPS another scheduled jobs with that user. and affects production badly.
    As per the program, it has to connect only one time and yesterday we tried to execute the program in DBAs observation and it errored out as expected. Didn't tried for multiple ports.
    Now the question is, WHY the database connection established 16 times last week and caused user account locked. DBAs are unable to answer it. Any EXPERTs opinion on this would greatly appreciated.
    I have verified managing ports in oracle documentation, it was mentioned that if one port is busy it will try to connect to another port in the range of ports mentioned during the installtion. DBAs verified ports related file and it was blank. and they are not agreeing with this reason. Please HELP me in finding the correct REASON for this.
    is it a NETWORK issue or issue with DATABASE SERVER only?
    Thanks
    SSP
    Edited by: 960738 on Sep 22, 2012 9:13 PMDBLINK is 100% oblivious to the fact any port exists.
    DBLINK only contains username, password & TNS Alias.
    can you post actual SQL & results?

  • Access Denied to report file on Windows Server 2003 Enterprise

    Hi,
    I have a deployment problem for which I am out of ideas. I have an ASP.NET web site deployed on a server running Windows Server 2003 R2, sp2.  It makes extensive use of Crystal Reports, including both displaying them and e-mailing them to specified recipients as PDF files. It all works great.
    Now I need to port the web site to a different server, running Windows Server 2003 Enterprise, sp1. The reports display fine as long as I am not trying to convert it to PDF for e-mailng. When it gets to the following line in my code:
    MemoryStream memStream = (MemoryStream)rptDoc.ExportToStream(ExportFormatType.PortableDocFormat);
    It reports the following error:
    Access denied.Error in File JobDetails {DC64A5D3-9DD7-4E4C-90F5-A08731409B29}.rpt:
    Access to report file denied. Another program may be using it.
    I finally got it to work by granting Modify permission to Everyone for the c:\Windows\Temp folder. Obviously this is not a good practice.  Granting Full Control  to the IUSR_servername account did not solve the problem on Windows Server Enterprise, although it did the trick on R2.
    So the question is, which account needs which permission to the Temp folder to enable the PDF to get written?
    Thanks.
    Dan

    What ever account the app is running under will need read / write permissions on the temp folder. Your working server should be a good place to look to see how the premissions were set there. The same will apply to any other server(?).
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How to generate a row in report to compute total?

    Hi:
    I need help to generate a report. In an accounting report, I need to make sum for each client regarding outstanding balance. The format of report is following:
    invoice#, invoice date, invoice amount, paid amount paid date, write off, outstanding balance
    Client Name: Baker Express / Debtor Name: Kurt Weiss inc.
    137308001, 04/18/2012, 438.07, 537.07, 06/05/2012, , (99)
    137308002, 04/18/2012, 100, 90, 06/05/2012, 10,
    client Total: total payment:627.07, total outstanding balance: (99)
    another client and debtor pair
    My question is how to generate total payment and total outstanding balancefor every pair of client and debtor. And there are multiple pairs. I tried to use group by, but how can I display every invoice tuple as well in the report?
    Any help would be appreciated.
    Sam

    One method would be to use ROLLUP in your SQL
    http://www.oracle-base.com/articles/misc/rollup-cube-grouping-functions-and-grouping-sets.php

  • How to generate interactive report in alv

    hi,
      how to generate interactive report in alv,for this what are the requirements,
    give me one sample report.
                                                 thankyou.

    Hi,
    Chk these helpful links..
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    Simple ALV report
    http://www.sapgenie.com/abap/controls/alvgrid.htm
    http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
    ALV
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Go thru these programs they may help u to try on some hands on
    ALV Demo program
    BCALV_DEMO_HTML
    BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
    BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
    BCALV_GRID_DEMO Simple ALV Control Call Demo Program
    BCALV_TREE_DEMO Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO
    BC_ALV_DEMO_HTML_D0100
    Regards
    Anversha

  • How to generate a report in pdf from a stored proc

    Hi, i need guidance on how to generate a report in pdf from an oracle stored proc.
    The environment is oracle 10gas + 10gdb.
    On a specific event, a PL/SQL stored procedure is called to do some processing and at the end of the processing to generate report which has to be sent to the printer (and optionally previewed by the user).
    Can anyone assist me with this?

    Hi ,
    One 'simple' way is by using the DBMS_SCHEDULER db package and the procedure CREATE_JOB(....) using as job_type the value 'EXECUTABLE'...
    Read for further info in 'PL/SQL Packages and Types Reference'.
    If you have access to OEM ... you can configure this there using wizard.....
    Other way is to use the External Procedure call capabiblity of Oracle DB Server...:
    http://www.oracle.com/pls/db102/ranked?word=external+procedure+call&remark=federated_search
    My greetings,
    Sim

  • How to generate a report in Excel with multiple sheets using oracle10g

    Hi,
    I need a small help...
    we are using Oracle 10g...
    How to generate a report in Excel with multiple sheets.
    Thanks in advance.
    Regards,
    Ram

    Thanks Denis.
    I am using Oraclereports 10g version, i know desformat=spreadsheet will create single worksheet with out pagination, but my requirment is like the output should be generated in .xls file, and each worksheet will have both data and graphs.
    rdf paperlayout format will not workout for generating multiple worksheets.
    Is it possible to create multiple worksheets by using .jsp weblayout(web source) in oracle reports10g. If possible please provide me some examples
    Regards,
    Ram

Maybe you are looking for

  • Custom installation using XE

    Basic installation of SOA Suite does not seems to work, I don't why. I have tried Custom installation using XE Database which works but Apcahe Web Server is throwing exceptions in installation phase (when installation process tries to launch unmanage

  • Read a excel file and split its sheets to seperate file ?

    Dear all : How to split a excel file into several file, each have one sheet.my code is as below,thanks: import org.apache.poi.hssf.usermodel.*; import java.io.*; import java.util.*; import org.apache.poi.poifs.filesystem.*; public class Extractxls {

  • Purging EOIO messages with status "Holding" at the adapter level in XI.

    Hi, I want to purge a set of messages (some 800) with status "Holding" at Adapter level in RunTime Workbench. I have gone through the blog "/people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework which

  • Can you attach a game system to a macbook?

    I'm trying to figure out if there is some kind of adapter for any game system so that one is able to hook up the game system to a macbook. Thanks!

  • InDesign PS file for booklet printer spreads

    The PS file InDesign CS6 generated to use to import into Acrobat for printer spreads has pixelated halftones. Is this a problem with InDesign CS6? Does it contain a post script driver?