Additional Results - ASCII Report Format

Hello All,
When using "Additional Results", and having an ASCII Report Format, how do you increase the "Name" beyond 26 characters?
Its like there are 2 invisible columns, to accomodate for "Name" and "Value to log", but you can only use a 26 character Name, before you enter the second column.
Any ideas?

Hey kalachnik,
This can be done, but it might take a bit of modification.
The first thing I did was add the ReportOptions callback to my sequence file. In that callback, I added a Statement step with the following expression: Parameters.ReportOptions.LabelSize = 60    . This allows names up to 60 characters long in the results. 
However, the downside to this is that the Value to Log of the additional results will no longer line up with the result of normal steps, such as an Action step. Since this makes the report difficult to understand, we should probably increase the space between the name and value columns for all report results. That will require modifying the report generation sequence.
1) Go to Configure > Result Processing, click the Options button for the report, and on the Contents tab, set the report generator to Sequence instead of DLL. This allows us to make changes in a TestStand sequence file to affect the report generation.
2) Navigate to <TestStand>\Components\Models\TestStand Models and open reportgen_txt.seq. This is the sequence file which controls ASCII report generation. Find the sequence called PutOneResultInReport_lmpl. This sequence puts a single result line into the report.
3) One of the steps is "Get Gap String", and it has a statement of the following form: Locals.GapBetweenNameAndResult = Locals.StepNameLength >= 30 ? " " : Left("                               ", 30 - Locals.StepNameLength). This statement indents the result by 31 spaces if the step name is longer than 30 characters, or by 30-(length of step name) if the name is shorter than 30 characters. We need to change those thresholds.
4) Set the expression to the following: Locals.GapBetweenNameAndResult = Locals.StepNameLength >= 60 ? " " : Left("                                                             ", 60 - Locals.StepNameLength).  I changed both instances of "30" to "60", and changed the blank string from 31 spaces to 61. This will cause the results to be indented further, which makes the Name column wider on the report.
This should do it, and of course you can tweak the actual values for your specific needs. You might also consider using one of the other report formats, such as XML or ATML. These formats are a bit more dynamic and can more easily handle longer names. I hope it helps, and let us know if you have any more questions about it!
Daniel E.
TestStand Product Support Engineer
National Instruments

Similar Messages

  • Reporting format Issue .. Result  row Count Display...URGENT!!!!

    Hello All,
    Need solution for my issue in reporting,
    This is my Report format
    Date              A/c number   Kf1   Kf2 Kf3
    01.06.07            123         10    20   0
                       234          20    30   30
                       456          50    0  25
                       789           0   25   0
                       Result       80   75  55  
    01.07.07            124         10    0  10
                        134         30   30  30
                        457         40    0   0
                        788         0   25  10
                       Result       80   55  50
    Now my requirement is to display Count in the result row as
    Date             A/c number    Kf1  Kf2 Kf3
    01.06.07        123            10   20   0
                    234            20   30  30
                    456            50    0  25
                    789             0   25   0
                    Result          3    3   2  
    01.07.07        124            10    0  10
                    134            30   30  30
                    457            40    0   0
                    788             0   25  10
                   Result           3    2   3
    and to be more precise this is my requirement
    Date        Kf1  Kf2 Kf3
    01.06.07     3    3   2
    01.07.07     3    2   3    
    I made key figure Calculate Result as Count <> 0 and Calculate single value as Supress Result for each key Figure and A/c Number No display I got result like this showing all data as blank, however the rows will exist.
    Date          Kf1  Kf2 Kf3
    01.06.07                                                                               
    3    3   2  
    01.07.07                                                                               
    3    2   3
    But I need my result should be like this
    Date        Kf1  Kf2 Kf3
    01.06.07     3    3   2
    01.07.07     3    2   3   
    How can I Acheive this either by work Book Or  by Query ,
    Please help me
    Thanks for all ur support in advance
    Sai.

    Hello Boujema,
    I Created formula variable replacement path  in the same way you mentioned but this is irrespective to KF giving the Characteristic Account Number count...
    Hello All,
    please go through my requirement
    this is my report
    Date        AC no  Kf1 Kf2
    01.06.07     XXX   10  12
                 yyy   15  10
                 zzz    5   0
               result  30  22
    If I remove Ac no from this it gives me a result as summation
    Date        Kf1 Kf2
    01.06.07    30  22
    In the same way the KF should give me count of the accounts
    Date        Kf1 Kf2
    01.06.07    3    2
    But I am getting now as If I mention Count<> 0 in KF properties
    Date        Kf1 Kf2
    01.06.07     1    1
    If I place Account Number in report which I dont want to Then i will get count
    Date        AC no  Kf1 Kf2
    01.06.07     XXX   10  12
                 yyy   15  10
                 zzz    5   0
                Result  3   2
    Hope you understand my requirement and come up with any solution.
    Thanks for your help,
    Sai.

  • How insert additional results from "SequenceFilePostStep" callback on the report

    I'm trying to insert a value processed on "SequenceFilePostStep" callback on the report. But every try I did, using additional results, didn't work well.
    Anyone knows how to include the value processed after every step on the report?
    Thanks

    Please try the following :
    In the "SequenceFilePostStep" copy the processed data to a stationglobal or fileglobal variable.
    In the calling step properties add this variable in the additional result (properties-->additional results).
    I checked with TS 13 it reports properly.
    Since the "SequenceFilePostStep" is an engine callback probably it may not support updating the report .
    Hope this helps.
    Ravi

  • Additional results doesn't work with multi-line string dat

    I observed an erratic behavior with "Additional Results" in TestStand 2010. The problem statement is as follows:
    1. I have a variable "Locals.FirstName"
    2. I have another variable "Locals.LastName"
    3. Concatenate these two strings with a line feed or a new line character (Locals.FirstName+"\n"+Locals.LastName) and display it in a XML report. 
    Approach:
    1. Using "Statement Expression" I concatenate two strings and print the result using "Additional Results"
    2. For verification I display it using "Message Popup" step type. The formatting is as desired in "Message Popup". However, the new line characters appear as "Spaces" in XML report.
    Tracing Of this Erratic Behavior:
    1. I passed the concatenated string to LabVIEW VI and passed it to "Step.Result.ReportText" variable to log it in XML report. The same string which didn't appeared properly using “Additional Results"of "Statement Expression” step now appears proper in XML report.
    I have attached the sequence file for reference. Ensure that Report option is set to XML before executing this sequence.
    Can anyone justify this behavior and suggest the correct approach??
    Thanks !
    Attachments:
    Erratic Behavior Of Additional Results.seq ‏8 KB
    Tracing Of Erratic Behavior.vi ‏9 KB

    Amit -
    Here is a modified version of the TestStand 2010 Horizontal.xsl style sheet that corrects the issue you have mentioned. Note that leading and trailing "\n" characters will still be stripped out, and all "\r" characters will be stripped out.
    Hope this helps.
    Manooch H.
    National Instruments
    Attachments:
    horizontal_modified.zip ‏22 KB

  • Additional Results option ignores \n

    When including Additional results in my test stand sequence file, i save the complete listing of a text file to this option.
    Problem is, in the result file(html) it displayes it without any carriage returns and line feeds...resulting in a very messy display.
    Can this be fixed in some way?
    Goose
    Solved!
    Go to Solution.

    morngoose -
    The issue is that the text is displayed as is in the HTML file, so since HTML files ignore \n characters and presume them to be just whitespace, the linefeeds do not appear in the display version of the report. We are aware of this side affect and have not yet decided how to address this within TestStand.
    A workaround would be to replace all \n characters or \r\n characters with <br /> by using the SearchAndReplace expression function as shown below. The only issue is that if you wish to log to database or use other report formats (txt), the <br /> will be logged instead of the \n. 
    SearchAndReplace(Locals.VarWithText, "\n", "<br />", 0, True) 
    Hope this helps...
    Message Edited by Scott Richardson on 06-18-2009 10:47 AM
    Scott Richardson
    National Instruments

  • 3.0 Shared Component - Report Format - all PDF

    Greetings,
    Details
    I have been working with the REPORTS - REPORT QUERIES section of APEX 3.0
    The testing I have been doing is very simple, but I am running into a bit of a stumper.
    I have created 4 report queries on the EMP table (SELECT * FROM EMP) that all use the same REPORT LAYOUT. The RTF file which is the template is a very simple - show all columns and rows for the EMP table (14 rows).
    I have set each of the 4 report layouts to a different format.
    1 - PDF
    1 - EXCEL
    1 - WORD
    1 - HTML
    I am NOT using the ITEM to dynamically set the format.
    I can TEST each of the reports in the shared component area, and they test OK with a success rate of 75%.
    The EXCEL format does not export correctly. (using Excel 2002 on the client) It is a bit of a mess. (Works in the XML publisher template builder on the client.. so the format is not the issue.)
    More curious is the behavior when I put this application. I have created a LIST of the 4 report formats. All 4 return the PDF format when used.
    To see the Application:
    http://apex.oracle.com/pls/otn/f?p=34096
    Question Summary:
    1 - Has anyone run with and tested the RTF style report layouts out to Excel?
    2 - The approach described usees 4 report queries against 1 layout. Is this a VALID use of the report functionality?
    3 - Why would all the reports try to use PDF when they test in the correct formats?
    Best Regards and Thank You.
    -- Tim

    Tim,
    The Excel output is not strictly XLS, it's actually HTML formatted in a way that Excel understands and through setting the MIME-types we make it open in Excel. I have to try reproducing your specific problem with Excel 2002. If you could send me your RTF layout and the end-result ([email protected]), I can take a look.
    Your approach using 4 different queries with the same layout is perfectly fine. Ideally of course, you would not have to replicate them same query four times, so we are considering a shared query concept for future version of Application Express.
    You specific problem with the output format being PDF at runtime appears to be a bug, I'll investigate further. Meanwhile one work-around would be to use a report region instead. If you're using the same SQL query as the source, you can associate the same report layout (on the report print attributes page). You could also create a "container" page for that report region, that's never actually called by the end user, and then have a button pointing to the URL below for printing. It would then work just like your report queries, only that you now would get the requested format:
    f?p=&APP_ID.:[REPORT PAGE ID]:&SESSION.:FLOW_XMLP_OUTPUT_R[REPORT REGION ID]
    so if your app ID is 34096 and your "container" page e.g. 99, and on page 99 your report region ID would be 1234567890, then use this URL as the button target:
    f?p=&APP_ID.:99:&SESSION.:FLOW_XMLP_OUTPUT_R1234567890
    Hope this helps,
    Marc

  • Additional Results not present in Properties in TestStand 4.0

    Hi,
    I wish to use a multimeter to record current values in my TestStand 4.0
    test sequence. I was using TestStand 4.1 and the results were recording
    fine to my report. I had checked the Additional Results option, but this
    option is not present in 4.0. Where can i find this option to record the
    value into my report?
    I had been using TestStand 4.1 but have had to go back to TestStand 4.0
    because some modules i wish to use are not supported in TestStand 4.1 yet.
    Thanks
    Solved!
    Go to Solution.

    If you use numeric limit steps to evaluate the measured value, the result will be part of the report except you deselected "include measurements" in the report options.
    This is anyways the recommended way to include measurement values in your report.
    You can add additional results by using the "ReportText" variable in the Step.Result-Container. Just use a postexpression to convert your measurement value to a string and set this to the ReportText (something like: "Result.ReportText = str(locals.mymeasurement)").
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Report format getting disturbed

    I have a master frame, and a repeating frame. Whenever my repeating frame returns more than 10 records, the text paragraphs beneath get pushed into the next page, which turn pushes the text paragraphs in the other page to the next page.
    The net result is the formatting gets messy. What is the right way of doing such report i.e. a report where you have a repeating frame followed by multiple paragraphs of text.
    Thanks a lot.

    Navneet
    That will solve the problem only for the first page. In second page lets say I have 4 records left to be print. After printing those 4 records, I will still find my text losing its formating because the text has to adjust itself depending on the numbers of records printed on the second page.
    Any solutions?

  • How can I unload data to ASCII fixed-format or delimited files,

    Hello,
    SQL*Loader loads data from ASCII fixed-format or delimited files. Is there such utility to unload data from Oracle database ?
    Agnieszka

    No. The Export utility will dump data out but not into an ascii file.
    Do you need the whole database or just some table or result of a query set?
    Check out the ULT_FILE package - this will allow you to write some SQL code which will do the job you want.
    Cheers,
    R

  • Filter steps with empty results from report

    Hi,
    At the moment, my result filtering expression is Result.Status != "Done" && Result.Status != "Skipped", so it removes all steps which are only "Done" or "Skipped". With my current filtering expression, any step with the "Done" status will not be displayed in the report even if there are "Additional Results". I would like to improve this by filtering only if there is not result.
    This means that I would like to log in the report any step which returns a value including values added in "Additional Results".
    Is there any way to achieve this ? I've been looking in the RunState but I was not able to find there the additional results are stored.
    Thanks !
    Alex

    You can also check if AdditionalResults is empty or not:
    GetNumElements(Result.AdditionalResults) > 0
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Include array of data in additional results

    It seems not to be possible to use array of data in additional results? Anyone who knows if this correct?
    Regards
    Vagn

    Hi,
    I tried your example, the first step I am seeing the extra result and when I add some values to your local I see them as well.
    The second step doesn't because you haven't specified anything to report.
    Regards
    Ray
    Regards
    Ray Farmer
    Attachments:
    Additional Results test.seq ‏6 KB
    Additional Results test_Report[11 58 17][28 01 2009].zip ‏3 KB

  • Additional Results Condition Not Working Correctly For Parameters

    TestStand 2014
    Trying to log a parameter only if the step status is "Failed" won't log the parameter when the step actually fails.  However, variables with the same condition will log just fine.
    The attached sequence demonstrates this.  Basically I have a subsequence that returns a random number and a string as parameters.  I use the random number to evaluate against my limits for the test call.  I want to log the string parameter only if the step fails.  So I set it as an additional result and set the condition to
    Step.Result.Status == "Failed"
    The data never shows on the report.
    But when I put an explicit additional result with the same local variable and put the exact same condition it shows on the report when the step fails.
    I'm baffled as to why parameters won't log with this condition but explicit additional results work just fine with the same condition.
    Any thoughts?
    Thanks,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Solved!
    Go to Solution.
    Attachments:
    ParameterWontLog.seq ‏7 KB

    The condition for the parameter's additional result is evaluted before the sequence call's status is set to failed. The 'out' parameter additional results are probably being evaluated right after the code module call, so if the the step's status isn't changed by the code module call, then it will still be "Running".
    I can see how it would be nice if it worked the way you are asking, but keep in mind for in/out parameters it's typically the same expression/variable in both the 'in' and 'out' additional result, so the time at which the result is logged is important. It has to be done before the code module call for 'in' parameters and after the code module call for 'out' parameters in order to accurately reflect the state of the variables at those points in time. I think the intent is that the additional result for parameters should reflect the state of the variables at the point in time immediately right before the call for 'in' parameters and immediately after the call for 'out' parameters. Thus if you want to conditionally log a value based on the status (where the status is not changed directly by the code module), then using a regular additional result like you discovered is probably the best way to go.
    Perhaps for out parameters we could delay logging until the very end, but that might result in a change in behavior if the variable state changes again before that. If you would like for us to consider that or have another idea for how to handle this better please let us know or perhaps post something to the Idea Exchange.
    Another possibility is that we could temporarily log the results before and after the code module call, but then not evaluate the condition until the very end and throw out the logged result if the condition is false. That might still cause a change in behavior though if the "Value to Log" expressions have side-effects.
    Hope this helps clarify things.
    -Doug

  • Sap BO Report Format

    Hi,
    Can some one tell me how I can change a scheduled report format in BO so that it can be delivered to the customer in .xls format instead of .xlsx format.
    Thanks....

    Hi,
    Please follow the steps to create custom format:
    1. Right-click the cell(s) to which you want to apply a custom format.
    2. Select Format Number.
    The "Number Format" dialog box appears.
    3.In the Format Type list, select the format category that corresponds to the data type in the selected cell.
    4.Select the Custom check box.
    Text boxes appear for you to type your custom format(s).
    5.Select a format listed in the Properties pane, and then edit the selected format by typing additional characters in one or more text boxes.
    For example, if you want to create a custom format for Number values, type the custom format you want in the Positive, Negative, and Equal to Zero boxes. If you want to create a custom format for Boolean values, type the custom format you want in the True and False boxes.
    6.Click Add.
    You cannot delete or edit custom formats. To change a custom format, you need to create a new custom format and apply the new format to the selected cell(s). Any custom formats not applied to cells in a document are deleted automatically when you close the Web Intelligence Java Report Panel.
    Try this link for details:
    http://www.ds.uillinois.edu/docs/Formatting_in_BusinessObjects.pdf

  • Payment Advice to Vendor Report Format

    Dear Sap Guys,
      This is the First time i am posting my queries i am currently in client place.
    I would like to get report format for Payment Advice to Vendor Report Format
    And
    Asset Accounting Documents with Depreciation configuration

    Dear Rupa,
    Please send me a test mail: [email protected]
    Will send the relevant asset accounting documents with Dep config.
    Regards,
    Sreeni.
    +919986032960.

  • Where to find Crystal Report Formats for SAP B1 8.8 (India Localization) ?

    Hi Experts,
    do anybody knows Where to find Crystal Report Formats for SAP B1 8.8 (India Localization) ?
    For example
    Sales Register
    Purchase Register
    Journal Register
    Sales Analysis - Crystal Report
    Purchase Analysis - Crystal Report
    Check Register - Crystal Report
    Production register
    Pending Sales Order
    Outstanding Receivable
    Outstanding Payable
    BankBook
    CashBook
    General Ledger
    BP Ledger (Customer / Supplier)
    Trial Balance
    Balance Sheet
    Profit & Loss Statment
    Cash Flow statment
    Excise reports
       RG 23 A Part I
       RG 23 A Part II
       RG 23 C Part I
       RG 23 C Part II
       Daily Stock Account
       RG 1
       ER 1
       etc....
    Documets Layout
       Incoming Payment
       Outgoing Payment
       Journal Entry
       Transaction Journal Report - Crystal Report
       Sales Quotation
       Sales Order
       Sales Delivery
       Sales Return
       Sales Invoice (A/R Invoice)
       Purchase Order
       Goods Receipt PO
       Purchase Goods Return
       Purchase Invoice (A/P Invoice)
      Inventory Transfer
      Inventory - Goods Receipt
      Inventory - Goods Issue
    Best Regards,
    Samir Gandhi

    Hi Neetu,
    Do you wish that at all customer site all concern involved in implemtation do the same work ?
    I believe ERP is meant for single entry system, and it should be true for implementation also, why to invest man hours for the same task ?
    I expect it standard reports should be released by SAP, so that speed of implementation improve, we have more nos. of satisfied customers.
    customised reports is all together different and it is understood that it is needed to be developed after study the exact requirement.
    Best Regards,
    Samir Gandhi

Maybe you are looking for

  • How do I open clipboard on windows 7

    someone has posted a url I need on my clipboard but I do not know how to open clipboard on windows 7

  • Camera icon in mms grayed out on iphone 4

    The camera icon is grayed out. I believe it was ok and working befor. Any ideas why this happened and how to bring it back?

  • ADF Mobile HR Sample

    Hi all im new of this... I've been working on the adfmobile sample HR which creates a sqlite DB but I´m not able to connect with the HR data base i try to connect with a main class because when i deploying the emulator don't show me anything .. so wh

  • Welcome to Business Objects

    Hello and welcome to Business Objects, now a SAP Company ! We proudly present our new forum for Business Objects technologies related questions. The Business Objects forum will give you the possibility to share ideas, opinions and information with ot

  • Title tool VideoFrameFactory error message and crashing

    I have located a few mentions of this error among other users, but no Adobe response and no clear solution. In PP CS6, I am now getting a an error message every time I open the title tool: ../../src/VideoFrameFactory.cpp-78. About half the time it al