Data is not converting in XML format in output while download in report

Hi All,     While downloading the report in XML format value '&' is not changing its XML format '&amp', but showing in debug mode and sam thing while download its not showing in output. showing in debug like; MS NA - DCS Tooling & Automation but in output showing the data like:  MS NA - DCS Tooling & Automation because of this getting issue. Please help me out . Thanks and Regards Sankil

In that case, it is correct.
Try replacing & with & before downloading xml in case you want & to appear as & in web browser view.

Similar Messages

  • Which are function modules used to convert into XML format in SAP 4.6c Ver

    which are function modules used to convert into XML format in SAP 4.6c Ver

    Hi,
    check this program , I think this will help you
    TYPE-POOLS: ixml.
    TYPES: BEGIN OF xml_line,
    data(256) TYPE x,
    END OF xml_line.
    data : itab like catsdb occurs 100 with header line.
    data : file_location type STRING.
    data : file_name like sy-datum.
    data : file_create type STRING.
    file_name = sy-datum .
    file_location = 'C:\xml\'.
    concatenate file_location file_name into file_create.
    concatenate file_create '.XML' into file_create.
    DATA: l_xml_table TYPE TABLE OF xml_line,
    l_xml_size TYPE i,
    l_rc TYPE i.
    select * from catsdb into table itab.
    append itab .
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
    EXPORTING
    I_FIELD_SEPERATOR =
    I_LINE_HEADER =
    I_FILENAME =
    I_APPL_KEEP = ' '
    I_XML_DOC_NAME =
    IMPORTING
    PE_BIN_FILESIZE = l_xml_size
    TABLES
    i_tab_sap_data = itab
    CHANGING
    I_TAB_CONVERTED_DATA = l_xml_table
    EXCEPTIONS
    CONVERSION_FAILED = 1
    OTHERS = 24
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD cl_gui_frontend_services=>gui_download
    EXPORTING
    bin_filesize = l_xml_size
    filename = file_create
    filetype = 'BIN'
    CHANGING
    data_tab = l_xml_table
    EXCEPTIONS
    OTHERS = 24.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    write : 'INTERNAL TABLE DATA IS SUCCESSFULLY DOWNLOADED TO LOCATION', file_create .
    Thanks.

  • Idoc be converted into XML format

    Hi,
    Can  idoc be converted into XML format? If yes guide me the path , how to do?
    Thanks
    Avi

    <b>Hi,
    we can .
    Follow the link
    http://www.erpgenie.com/sap/sapedi/Conversion%20of%20IDOCs%20to%20XML%20format.pdf</b>
    Thanks
    Manju
    <u><b>Don't repeat the Questions</b></u>

  • How can we transfer huge amount of data from database server to xml format

    hi guru
    how can we transfer huge amount of data from database server to xml format.
    regards
    subhasis.

    Create ABAP coding
    At first we create the internal table TYPES and DATA definition, we want to fill with the XML data. I have declared the table "it_airplus" like the structure from XML file definition for a better overview, because it is a long XML Definition (see the XSD file in the sample ZIP container by airplus.com)
    *the declaration
    TYPES: BEGIN OF t_sum_vat_sum,
              a_rate(5),
              net_value(15),
              vat_value(15),
             END OF t_sum_vat_sum.
    TYPES: BEGIN OF t_sum_total_sale,
            a_currency(3),
            net_total(15),
            vat_total(15),
            vat_sum TYPE REF TO t_sum_vat_sum,
           END OF t_sum_total_sale.
    TYPES: BEGIN OF t_sum_total_bill,
            net_total(15),
            vat_total(15),
            vat_sum TYPE t_sum_vat_sum,
            add_ins_val(15),
            total_bill_amount(15),
           END OF t_sum_total_bill.TYPES: BEGIN OF t_ap_summary,
            a_num_inv_det(5),
            total_sale_values TYPE t_sum_total_sale,
            total_bill_values TYPE t_sum_total_bill,
           END OF t_ap_summary.TYPES: BEGIN OF t_ap,
            head    TYPE t_ap_head,
            details TYPE t_ap_details,
            summary TYPE t_ap_summary,
           END OF t_ap.DATA: it_airplus TYPE STANDARD TABLE OF t_ap
    *call the transformation
    CALL TRANSFORMATION ZFI_AIRPLUS
         SOURCE xml l_xml_x1
         RESULT xml_output = it_airplus
         .see the complete report: Read data from XML file via XSLT program
    Create XSLT program
    There are two options to create a XSLT program:
    Tcode: SE80 -> create/choose packet -> right click on it | Create -> Others -> XSL Transformation
    Tcode: XSLT_TOOL
    For a quick overview you can watch at the SXSLTDEMO* programs.
    In this example we already use the three XSLT options explained later.
    As you can see we define a XSL and ASX (ABAP) tags to handle the ABAP and XML variables/tags. After "

  • Internal table data 1E2 automatically convert to scientific format

    Dear all,
    I have been searched for solution moths from the forums and tried all possible methods, but still no way to solve my above problem.  I found a way to solve it partially for us, but may be very helpful for others who meet similly case like mine, so I posted here.
    my problem is when I export my internal table data to Excel, the Cell data with 1E2 auto becomes 1.00E02, and 1E8 becomes 1.00E08, we need it to be 1E2 and 1E8 in excel.
    you can recreate my problem by
    1,  input 1E2 into your Microsoft Excel, then Enter, it will auto change into scientific format. which is we do not want.
    2, use any of your SAP system open any table as long as there is a Char (>3) field in that table. add some
    data entry in that field in the form "any amount (<15) of numeric 1 to 9"E"any one or two numeric 1 to 9". such as, 123E2, 1234E12 etc. then save this table's data to local file spread sheet, or use any FM to download it to a Excel file, when you open this
    file by Excel, the cell with above form will display as scientific. but
    if you put three or more numeric after the "E", such as 123E123 it will
    display correctly.
    what I have done:
    I searched in SCN for similar thread:
        Export to Excel 2007 - item number problem
        Exceding the limit of numbers in Excel at target side
        Excel download cell format problem
        Formating as Text in excel through SAP
        Converting of amount field into excel file through GUI DOWNLOAD
        Data downloaded to excel gets converted to exponential format.
        Problem with Excel download   and scientific number
        Re: Issue in displaying numbers in Excel?
        CSV Flat File Data Problem (Number converting to Scientific Notation)
    Tested accordingly, But none of these works in our case. because our
    ultimate receiver of email attachment will be external third party, we cannot ask
    them to change anything in their Excel.
    Search Microsoft help about Excel, http://support.microsoft.com/kb/214233,
    and it says this "Automatic Number Formatting" is a normal behaviour of excel.
    no way to turn it off, the "work-around" way that Microsoft provides is not suitable for our
    case.
    We test CL_iXML recently arrording to weblog http://wiki.sdn.sap.com/wiki/display/Snippets/FormattedExcelasEmailAttachment
    it successful controled the format. so this could be a solution for others whose internal table size is small. but our 2MB internal table bocome 6MB when converted to xml file attachment, which cannot be received by our end user's mail box. too big.
    So please advise your ideas.
    Many thanks in advance!
    Peter Ding
    Thank you very much for your time!

    Hi,
    You can achieve this by describing the spreadsheet in XML with the help of the DOM classes.
    The later releases of Excel can read and save spreadsheets as XML, providing your release supports this you can achieve it.
    Check out the following Wiki
    [Excel - XML|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/exporting%2bdata%2bto%2bexcel%2b-%2bxml%2bto%2bthe%2brescue]
    Regards,
    Darren

  • Converting to XML format

    Hi...
         I am having the Input file like as shown below.
    <Node>
    <Company>SAP</Company>
    <NAME>RAM</NAME>
    <END-Node>
    I need to convert the above into file into the below xml format.
    <?xml version="1.0" encoding="UTF-8" >
    <Node>
    <Company>SAP</Company>
    <NAME>RAM</NAME>
    </Node>
    Can you please help in this issue?
    Thanks in advance
    Leela

    Hi Leela
    This source file cannot be read using normal ways. Use of XMLAnonymizerBean will not help as this is not an XML file and no name space present.
    You can read this file using FCC
    DT_Source
    Root
       Input
    and FCC parameters
    Root.fieldNames input
    ignoreRecordsetName true
    Root.fieldSeparator 'nl'
    After reading this you need to use a Java mapping. As this is having < tags and its not XML file Graphical and XSLT cannot handle this.
    Get the values in Java mapping as company and name variable and append it to target like this
    StringBuffer xml = new StringBuffer();
                   xml.append("<?xml version='1.0' encoding='UTF-8'?>");
                   xml.append("<ns0:MT_TstTarget xmlns:ns0="http://host.com/TestCase3">");
                   xml.append("<Node><Company>").append(company).append("</Company>");
                            xml.append("<Name>").append(name).append("</Name></Node>");
                   xml.append("</ns0:MT_TstTarget>");
    But as said above....... getting input file corrected is best solution
    Thanks
    Gaurav

  • Converting Sequence (XML format presaved) to my CUSTOM format?

    Hi Experts!
    I need Teststand Style Sheet for  XML. (e.g. TAGS explanation when you saved your sequence in XML's format)
     For example when I saved TestStand's sequence at XML format previously I got: __________________________________________________​___________ Main classname='Objs' valueflags='4194304'><value lbound='[0]' ubound='[]'/></Main><Setup classname='Objs' valueflags='4194304'><value lbound='[0]' ubound='[]'/></Setup><Cleanup classname='Objs' valueflags='4194304'><value lbound='[0]' ubound='[]'/></Cleanup><GotoCleanupOnFail classname='Bool' valueflags='4194312'><value>false</value></GotoCleanupOnFail><RecordResults classname='Bool' valueflags='4194312'><value>true</value></RecordResults> __________________________________________________​___________ I would like to know what EVERY of tags (<value>,<Main>,<GotoCleanupOnFail> ….and many others) means??? e.g. you can say that <value> is a tag that responsible for the LOOP value.    I need to deal with tags because I want from the present XML saved sequence to build my custom sequence in my CUSTOM format (e.g. TO CONVERT TestStand’s sequence to other format)
    Any ideas? any suggestions?
    Thank you!!!
    Thank you & Best Regards
    *I use LabVIEW 8.X & TestStand 3.5/4.0.1 versions only
    Solved!
    Go to Solution.

    TestStand does not support saving sequence files in other formats than the predefined formats (ini, binary and xml). So you have two different choices:
    a) Write a tool which converts one of the sequence file types into your custom format. This enables you to export the sequence to custom tools, but needs quite some work.
    b) Use "Sequence File Translator".  You can find info on this in the TestStand Reference Manual in chapter 15.
    Regarding b) i want to tell you some more things here in this post:
    - You can use it only to important any format into TestStand, not the other way round. So this is designed for customers who create sequences outside of TestStand but want to use it in TestStand for execution.
    - It requires the knowledge of the file layout you want to convert. You have write an DLL as described in the manual.
    - Changes done to the sequence within TestStand will never be saved back into the original file. You can save the sequence in a new TestStand sequence file though.....
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Convert into XML Format

    Hi all,
    Can anyone tell how to convert the data in R3 to XML format.
    thanx,
    krish

    same thread.
    Re: function module to covert  internal table to xml format
    for more reference.
    ABAP to XML with several internal tables
    Re: Convert to XML format

  • Displaying "N/A" in report fields where Number data is not valid using a formatting formula

    Post Author: Horizon57
    CA Forum: General
    I have many reports which are populated by "Number" data. However, there are certain charts and tables where the number data is not appropriate and the summation of such data does not add value to the report. In these instances I would like to display "N/A", however the formula I am using keeps giving me an error that I need to use a "Number" data type. Please note this is a formatting formula.
    Formatting Formula
    DO{TREND.EPTP1} = 'N/A' AND{TREND.EPTP2} = 'N/A' AND{@Trend %}    = 'N/A'  WHILE {TREND.POS2} = 'TOTAL';
    Can anyone assist me with displaying "N/A"?

    Post Author: V361
    CA Forum: General
    Try this
    DOtotext ( {TREND.EPTP1} ) = 'N/A' ANDtotext ( {TREND.EPTP2} ) = 'N/A' ANDtotext ( {@Trend %} )    = 'N/A'  WHILE {TREND.POS2} = 'TOTAL'; 

  • .csv files exported not converting to Tabular format jdev patch 6908968

    After jdeveloper patch 6908968 on 12.0.6, the data is copied into an Excel .csv file but the entire data is copied to the single cell/column.
    Developed an OAF page which has the standard Oracle Export Functionality for one of our requirements. When exporting from the OAF page, it is creating a .csv file(as expected) , but the data is not copied to individual cells. The whole data is going to one cell rather than into individual columns.
    According to Bug 4699555 you can use one of the following workarounds :-
    a. change "List separator" value from ";" to "," in the Regional Options,
    b. in Excel, after opening the .csv file, go to "Data" -> "Text to Columns ...",
    choose "comma" as the delimiter in the wizard.
    c. instead of Opening the file, Save it with .txt extension open MS Excel and open the saved file and specify delimited + comma as the delimiter during the text import process.
    The workarounds work, however this is not acceptable as there are 380,000 users. This worked as expected with 11.5.10 and not with upgraded R12. 12.0.6 with jdeveloper patch '6908968' for developing the OAF page with jdeveloper export button option.
    Is there a setup step missing or that changed for R12 and the column delimiter?

    You MAY want to think about a product that will read the output from your DVD player and convert to DV AVI
    Matt with Grass Valley Canopus in their tech support department stated that the model
    110 will suffice for most hobbyist. If a person has a lot of tapes that were played
    often the tape stretches and the magnetic coding diminishes. If your goal is to encode
    tapes in good shape buy the 110, if you will be encoding old tapes of poor quality buy
    the model 300
    Both the 110 and 300 are two way devices so you may output back to tape... if you don't
    need that, look at the model 55
    http://www.grassvalley.com/products/advc55 One Way Only to Computer
    http://www.grassvalley.com/products/advc110 for good tapes, or
    http://www.grassvalley.com/products/advc300 better with OLD tapes

  • Convert in xml format

    how to download any report in xml. directly thru code.
    means if a report is run report should be download in xml format.
    any fuction module ???
    points will be awarded.

    Hi check this one ......
    *& Report  ZTEST_XML2                                                  *
    REPORT  ZTEST_XML2                              .
    TYPE-POOLS: ixml.
      TYPES: BEGIN OF xml_line,
              data(256) TYPE x,
             END OF xml_line.
      DATA: l_ixml            TYPE REF TO if_ixml,
            l_streamfactory   TYPE REF TO if_ixml_stream_factory,
            l_ostream         TYPE REF TO if_ixml_ostream,
            l_renderer        TYPE REF TO if_ixml_renderer,
            l_document        TYPE REF TO if_ixml_document.
      DATA: l_element_flights TYPE REF TO if_ixml_element,
            l_element_airline TYPE REF TO if_ixml_element,
            l_element_flight  TYPE REF TO if_ixml_element,
            l_element_from    TYPE REF TO if_ixml_element,
            l_element_to      TYPE REF TO if_ixml_element,
            l_element_dummy   TYPE REF TO if_ixml_element,
            l_value           TYPE string.
      DATA: l_xml_table       TYPE TABLE OF xml_line,
            l_xml_size        TYPE i,
            l_rc              TYPE i.
      DATA: lt_spfli          TYPE TABLE OF spfli.
      DATA: l_spfli           TYPE spfli.
      START-OF-SELECTION.
      Fill the internal table
        SELECT * FROM spfli INTO TABLE lt_spfli.
      Sort internal table
        SORT lt_spfli BY carrid.
      Start filling xml dom object from internal table
        LOOP AT lt_spfli INTO l_spfli.
          AT FIRST.
          Creating a ixml factory
            l_ixml = cl_ixml=>create( ).
          Creating the dom object model
            l_document = l_ixml->create_document( ).
          Fill root node with value flights
            l_element_flights  = l_document->create_simple_element(
                        name = 'flights'
                        parent = l_document ).
          ENDAT.
          AT NEW carrid.
          Create element 'airline' as child of 'flights'
            l_element_airline  = l_document->create_simple_element(
                        name = 'airline'
                        parent = l_element_flights  ).
          Create attribute 'code' of node 'airline'
            l_value = l_spfli-carrid.
            l_rc = l_element_airline->set_attribute( name = 'code' value =
    l_value ).
          Create attribute 'name' of node 'airline'
            SELECT SINGLE carrname FROM scarr INTO l_value WHERE carrid EQ
    l_spfli-carrid.
            l_rc = l_element_airline->set_attribute( name = 'name' value =
    l_value ).
          ENDAT.
          AT NEW connid.
          Create element 'flight' as child of 'airline'
            l_element_flight  = l_document->create_simple_element(
                        name = 'flight'
                        parent = l_element_airline  ).
          Create attribute 'number' of node 'flight'
            l_value = l_spfli-connid.
            l_rc = l_element_flight->set_attribute( name = 'number' value =
    l_value ).
          ENDAT.
        Create element 'from' as child of 'flight'
          CONCATENATE l_spfli-cityfrom ',' l_spfli-countryfr INTO l_value.
          l_element_from  = l_document->create_simple_element(
                      name = 'from'
                      value = l_value
                      parent = l_element_flight  ).
        Create attribute 'airport' of node 'from'
          l_value = l_spfli-airpfrom.
          l_rc = l_element_from->set_attribute( name = 'airport' value =
    l_value ).
        Create element 'to' as child of 'flight'
          CONCATENATE l_spfli-cityto ',' l_spfli-countryto INTO l_value.
          l_element_to  = l_document->create_simple_element(
                      name = 'to'
                      value = l_value
                      parent = l_element_flight  ).
        Create attribute 'airport' of node 'from'
          l_value = l_spfli-airpto.
          l_rc = l_element_to->set_attribute( name = 'airport' value =
    l_value ).
        Create element 'departure' as child of 'flight'
          l_value = l_spfli-deptime.
          l_element_dummy  = l_document->create_simple_element(
                      name = 'departure'
                      value = l_value
                      parent = l_element_flight ).
        Create element 'arrival' as child of 'flight'
          l_value = l_spfli-arrtime.
          l_element_dummy  = l_document->create_simple_element(
                      name = 'arrival'
                      value = l_value
                      parent = l_element_flight ).
        Create element 'type' as child of 'flight'
          CASE l_spfli-fltype.
            WHEN 'X'.
              l_value = 'Charter'.
            WHEN OTHERS.
              l_value = 'Scheduled'.
          ENDCASE.
          l_element_dummy  = l_document->create_simple_element(
                      name = 'type'
                      value = l_value
                      parent = l_element_flight ).
        ENDLOOP.
        IF sy-subrc NE 0.
         MESSAGE 'No data into db table ''spfli'' type 'E'.
    please run program
    ***''SAPBC_DATA_GENERATOR'' with transaction ''SA38''' TYPE 'E'.
        ENDIF.
      Creating a stream factory
        l_streamfactory = l_ixml->create_stream_factory( ).
      Connect internal XML table to stream factory
        l_ostream = l_streamfactory->create_ostream_itable( table =
    l_xml_table ).
      Rendering the document
        l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                              document = l_document ).
        l_rc = l_renderer->render( ).
      Saving the XML document
        l_xml_size = l_ostream->get_num_written_raw( ).
        CALL METHOD cl_gui_frontend_services=>gui_download
          EXPORTING
            bin_filesize = l_xml_size
            filename     = 'c:\temp\flights.xml'
            filetype     = 'BIN'
          CHANGING
            data_tab     = l_xml_table
          EXCEPTIONS
            OTHERS       = 24.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Regards,
    Prasad.

  • Trouble importing some shapefile data and Not converting with Planner Geometry

    Hello,
    We have a Small shapefile projected in EPSG:4326 which are clipped from a BIG shapefile by QGIS.
    But this Small shapefile not converting into SQL by Shape2Sql with planner geometry, while converting with Geography option.
    Note: BIG Shapefile converting correctly!
    Please assist us asap, so that we can move further in our project.
    Thanks in advance!

    Hi folks,
    About the ring-ordering requirement in geography: There's a blog entry about it here:
    http://blogs.msdn.com/b/isaac/archive/2007/10/29/geography-and-ring-orientation.aspx and another one here by the same author:
    http://blogs.msdn.com/b/isaac/archive/2008/04/06/the-unexpected-too-large-polygon.aspx. Note that things are a bit different in SQL Server 2012 WRT what SQL Server does with polygons that are the "wrong" ring order, because SQL Server 2012 and
    above supports polygons bigger than a hemisphere. Pre-SQL2012 these will cause errors. Planar geometry data type in SQL Server doesn't have this behavior because it's not related to the earth at all (e.g. you can use ANY SRID with the same result). The easiest
    way to think about it is: "Does your polygon represent Iceland or does it represent everything on earth that is not Iceland?". (
    http://www.sqlskills.com/blogs/bobb/the-other-fullglobe-feature-in-sql-server-denali/) This is why polygon ring-order matters with a geography datatype...
    About Shape2SQL: This is a 3rd party offering and a don't think the author is actively working on it, or AFAIK still supporting it. So, if it produces no errors, or if it doesn't produce the results you want, it's a black box WRT figuring out why. I've used
    it in the past for some simple shapefiles but it has idiosyncrasies. I've not seen the case where it produces no errors and/or no output (no table) before. You can try contacting the author (http://sharpgis.net/page/Shape2SQL) or
    using a different program to load the data.
    Trying something like ogr2ogr (part of an open-source spatial offering that allows import into SQL Server) or one of SAFE software's offerings (e.g.
    http://www.safe.com/solutions/for-databases/microsoft-sql-server/loader-edition/, SAFE also has a 30-day trial download, be sure and get the SQL Server edition) would be helpful because this would at least isolate the problem to something Shape2SQL
    is doing or something QGIS is doing in the output.
    At this point I'm wondering if the clipping function in QGIS is writing a shapefile with some "shapefile feature" that Shape2SQL doesn't support (or support correctly). But that's just a wild guess...trying one of the other import programs will
    possibly get you going in the right direction.
    Another choice is to post something to QGIS support (http://www.qgis.org/en/site/forusers/support.html) or on StackExchange as they suggest (http://gis.stackexchange.com/?tags=qgis) to
    see if anyone else has run into a similar problem.
    If you get any SQL Server spatial errors from Shape2SQL or any SQL Server spatial-specific error messages, feel free to followup here.
    There isn't any SQL Server supported solution for loading shapefiles into SQL Server tables, although interestingly the spatial feature of SSRS (and maybe PowerMap in SQL Server's BI offerings) support using shapefiles directly. That won't help you with
    this problem, however. 
    Hope this is helpful, Bob

  • How to Extract the data from the database to XML Format

    Hi All,
    RepositoryItem userItem = getProfileRepository().getItem("user747", "user");
    String userAsXML = GetService.getItemAsXML(userItem,"profileMapping.xml");
    While searching, I got the above snippet. But i don't have any idea about to execute it. Can any one help me out.

    if you want to export all the repository data into an xml, you can use export
    C:\ATG\ATG 9.1\home
    bin\startSQLRepository -m ModuleName -export all outputfilename -repository pathtorepository
    C:\ATG\ATG9.1\home
    bin\startSQLRepository -m MotorPriseJSP -export all users.xml -repository /atg/userprofiling/ProfileAdapterRepository
    this will export all profile data from MotorPriseJSP to users.xml. Make sure you point correct datasource while executing this comamnd.
    Hope this helps !!!
    Thanks,
    Rajesh Akavaram

  • Name_in(date field) is converted in which format

    using name_in with a date parameter is automatically converted to dd-mon-yyyy character format. How to change this returning format?

    Can you please give us some more information . I mean elaborate your question
    using name_in with a date parameter is automatically converted to dd-mon-yyyy character format. How to change this returning format?
    in my library
    IF par_param_block IS NOT NULL THEN
    GO_BLOCK(par_param_block);
    ls_first_item := par_param_block||'.'||NAME_IN('system.current_item');
    ls_current_item := NAME_IN('system.current_item');
    --Dynamically get parameters from PARAM block (from forms)
    --pass on ITEM NAME / ITEM VALUE in (From the PARAM block into  the sy_print form - as parameters !!!!)
    i := 0;
    LOOP
    IF GET_ITEM_PROPERTY(par_param_block||'.'||ls_current_item, ITEM_TYPE) IN ('LIST', 'TEXT ITEM', 'RADIO GROUP', 'CHECKBOX') THEN
    i := i + 1;
    ADD_PARAMETER(pck_report_pl, 'PL'||i, TEXT_PARAMETER, ls_current_item);
    ADD_PARAMETER(pck_report_pl, 'PV'||i, TEXT_PARAMETER ,
    NAME_IN(par_param_block||'.'||ls_current_item));
    --- for date fields the name_in returns the date in this format dd-mon-yyyy ----
    END IF;
    NEXT_ITEM;
    ls_current_item := NAME_IN('system.current_item');
    EXIT WHEN ls_first_item = par_param_block||'.'||ls_current_item;
    END LOOP;

  • Report is not displayed in xml format.

    Hi,
    We have a test station based in teststand 4.1 and labview 8.6 code modules.
    From one day to another, the xml report is blank, no character is displayed. That in Operator interface or sequence file execution in teststand editor.If the report format is changed to ASCII or HTML, then runs OK.
    The first step taken was to reload the directories "Cfg\*.ini" and "teststandmodels\Stylesheets\*.xls" from another test station that runs ok. Not solved.
    The second option was to uninstall and reinstall teststand. Also not solved the problem. Then I suposse that this problem is caused for a file or parameter that is not dependent of Teststand, but I don't really know.
    Any suggestions would be appreciated.
    Regards,
    Bergidum.

    Thanks for your help Sendia,
    Yes, I have already tried Computer mother test and all type of reporting options. Only ASCII and and HTML report formats generate visible results.
    Also on-the-fly-reporting is my option by default.
    Before format and reinstall the operating system (windows XP) and reinstall the NI package, I would like to know the origin of the malfunction because there are other five test stations working properly, but if the same problem appears in a new station, then to know the solution.
    Thanks for your attention,
    Bierzo.

Maybe you are looking for