Append data and save in XML

hi all ! I have some data that is stored in a XML fine and since each SML is client based it can be edited according to everyone tastes. So my question is, can someone point me out how to append data and then saving it into the XML (hopefully without having to rewrite the whole XML document.
This is how Im retreiving my Data from the XML and my try at appending data, but I dont know if Im being succesfull because its not being saved:
String path = "C:/MedPro";
                File file = new File(path + "/XML/data.xml");
                DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
                DocumentBuilder db = dbf.newDocumentBuilder();
                Document doc = db.parse(file);
                doc.getDocumentElement().normalize();
                /* PARA ALIMENTAR LA AGENDA CON LOS DATOS DEL XML*/
                NodeList nodeLst = doc.getElementsByTagName("Agenda"); //Lista de Items para manejar la agenda
                for (int s = 0; s < nodeLst.getLength(); s++) {
                    Node fstNode = nodeLst.item(s);
                    if (fstNode.getNodeType() == Node.ELEMENT_NODE) {
                        Element fstElmnt = (Element) fstNode;
                        NodeList fstNmElmntLst = fstElmnt.getElementsByTagName("sub");
                        Element fstNmElmnt = (Element) fstNmElmntLst.item(0);
                        Node nod=fstNmElmntLst.item(0).appendChild(doc.createTextNode("Hola"));
                        /*NodeList fstNm = fstNmElmnt.getChildNodes();
                        System.out.println("Agenda : " + ((Node) fstNm.item(0)).getNodeValue());
                        lista_agenda.add(s, ((Node) fstNm.item(0)).getNodeValue());*/
                }Any help is appreciated.
Thanks a lot!
Edited by: juanmanuelsanchez on Oct 10, 2009 4:27 PM

juanmanuelsanchez wrote:
ok but is there a way to do it without having to rewrite the whole XML?short answer, no. xml, like many structured file formats, is not really amenable to "partial updating". the only way to "append" data to a file without rewriting it is to write to the end of the file. how will you maintain a valid xml format by only adding to the end of the file? i can't imagine the xml is that large seeing as you are using a DOM parser to read it, so i don't understand why you don't want to just rewrite the file.

Similar Messages

  • How to read csv Data and save it with no format changes

    Hi,
    At first I am not used to Diadem.
    I want to read in a csv file do some calculation with the data and save the changed data in the same csv file. A file as an example is attached (496888_edit.csv).
    Therefore I wrote this lines:
    Dim i
    Dim Delimiter
    Dim FilePath
    Dim FileParameters
    Delimiter = ";"
    Call DataFileLoad(FilePath,"CSV","Load")
    ' Do some calculations
    FileParameters = "<filename>"&FilePath&"</filename>"&"<delimiter>"&​Delimiter&"</delimiter>"
    Call DataFileSave(FileParameters,"CSV")
    After running that lines the csv file is looking like the other attached file (496888_after.csv)
    Because of some reasons which I could not explain Diadem is rounding the numbers. I want that both files look the same.
    What can I do?
    There might be another extension. Just to read in some columns, doing some calculations and after the calculation saving that columns in the file instead of the originals. (The csv files are much bigger like the two examples)
    Thanks,
    Jens 
    Attachments:
    496888_edit.csv ‏1 KB
    496888_after.csv ‏1 KB

    The only thing that can be changed in writing float64 values using the CSV plugin is the decimal point ('.' or ',').
    The format of the doubles is not rounded but the CSV writer only writes the relevant digits.
    It is using up to 15 digits which is the resolution of float 64. It would also switch to scintific writing if necessary.
    So there is no way to force only 6 digits and filling 0s are left out. So if you just fear that you loose precision that will not happen.
    (only the typical problems of epressing a 2 system binary value in a 10 system text string)
    If you are interested to have a fix float format the only solution is to write with VBS directly to a file doing formatting on your own, which is slow.

  • My ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.

    my ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.
    please help!  i am at a loss here.
    thank you, movie lady
    ibook g4

    The iBook does not have a backup (PRAM) battery. It only has the main battery and a small capacitor which maintains the settings long enough to do a battery swap. If the battery is dead, what you are seeing can happen.
    If the battery is not a problem (or even if it is), you could try resetting the PMU and see if that helps.

  • C# load xml data with attributes to datagridview; update data and save back to the xml

    Hi guys,
    i currently have this XML as data
    <DEALS>
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    </DEAL>
    <DEAL ID="23" ISBN="1-7988-1623-3" Screenplay="Joe Doe" Title ="Nothing Much" Director = "Listentome">
    <ALLOCATION DEMANDE="3300" CODE="72" PRICE="15.00">2500</ALLOCATION>
    </DEAL>
    </DEALS>
    I load the data with the code below:
    i use xDocument to load the DealData.xml and then put it in ToString.
    //outside of the form
    public static class XElementExtensions
    public static DataTable ToDataTable(this XElement element)
    DataSet ds = new DataSet();
    string rawXml = element.ToString();
    ds.ReadXml(new StringReader(rawXml));
    return ds.Tables[0];
    public static DataTable ToDataTable(this IEnumerable<XElement> elements)
    return ToDataTable(new XElement("Root", elements));
    //in the form
    private void button2_Click(object sender, EventArgs e)
    var xDocument = XDocument.Load("DealData.xml");
    string txtxml = xDocument.ToString();
    StringReader reader = new StringReader(txtxml);
    XDocument doc1 = XDocument.Load(reader);
    var res = doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").Descendants("ALLOCATION");
    dataGridView1.DataSource = res.ToDataTable();
    Now my question is:
    I would like to update the data from the DataGridview with the Attribute("ID").Value == "22" and save the data back to the XML.
    For example, after I load my data on the datagridview, we only pickup anything that is in the node
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    </DEAL>
    I updated the datagridview below with DEMANDE = 9000 CODE = 66 PRICE = 24.77 AND ALLOCATION = 1200
    I want be able to extract the data back in the xml as a child of the DEAL ID = "22"
    So that the XML file looks like this 
    <DEALS>
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    <ALLOCATION DEMANDE="9000" CODE="66" PRICE="24.77">1200</ALLOCATION> <-! this is the new line !->
    </DEAL>
    <DEAL ID="23" ISBN="1-7988-1623-3" Screenplay="Joe Doe" Title ="Nothing Much" Director = "Listentome">
    <ALLOCATION DEMANDE="3300" CODE="72" PRICE="15.00">2500</ALLOCATION>
    </DEAL>
    </DEALS>
    Is there a way to achieve that?
    I have been searching and reading in the books but i cannot find a solution for this.
    Thank you
    Please do not forget to click “Vote as Helpful” if the reply helps/directs you toward your solution and or "Mark as Answer" if it solves your question. This will help to contribute to the forum.

    I would think of something like the below, the id is passed as static you need to change this
    protected virtual void button1_Click(object sender, EventArgs e)
    //Get DataTable from DGV datasource
    DataTable dt = new DataTable();
    dt = (DataTable)dataGridView1.DataSource;
    string file1 = "<?xml version=\"1.0\" encoding=\"utf-8\" ?><DEALS><DEAL ID=\"22\" ISBN=\"0-7888-1623-3\" Screenplay=\"Mary Kaplan\" Title =\"Mr Gentleman\" Director = \"Jonathan Jones\"><ALLOCATION DEMANDE=\"5000\" CODE=\"72\" PRICE=\"25.00\">2500</ALLOCATION><ALLOCATION DEMANDE=\"7000\" CODE=\"75\" PRICE=\"35.00\">4000</ALLOCATION></DEAL><DEAL ID=\"23\" ISBN=\"1-7988-1623-3\" Screenplay=\"Joe Doe\" Title =\"Nothing Much\" Director = \"Listentome\"><ALLOCATION DEMANDE=\"3300\" CODE=\"72\" PRICE=\"15.00\">2500</ALLOCATION></DEAL></DEALS>";
    StringReader reader = new StringReader(file1);
    XDocument doc1 = XDocument.Load(reader);
    //Remove all elements related to the id being populated into the Grid
    doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").Descendants("ALLOCATION").Remove();
    //loop through datatable and create new xelement to be added to the xdocument
    foreach (DataRow dr in dt.Rows)
    XElement xe = new XElement("ALLOCATION",
    new XAttribute("DEMANDE", dr[0].ToString()),
    new XAttribute("CODE", dr[1].ToString()),
    new XAttribute("PRICE", dr[2].ToString()));
    xe.Value = dr[3].ToString();
    doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").FirstOrDefault().Add(xe);
    Fouad Roumieh

  • How to edit XML parsed data and save on iPhone app

    Hi,
    How to edit and XML retrieved data that is displayed on an iPhone app and save again in the same XML file using iPhone SDK.
    In other words I want to change the XML file data or edit and save.
    Thnx in advance.
    Regards
    Amit

    Hello amit,
    No, not at all. Surely you will parse your XML file using the NSXMLParser class. OK! i think i get it now, do you wants to change/modify the value of any tag in the XML file? For that you will be required to parse your XML file using NSXMLParser class, and fill out some data structure (according to the the XML format) do some changes into your data structure, and then write your XML to the file (according to the edited data structure) using the method i told u earlier. This is what my preferred method is, and i am pretty much sure that it is not a bad way to do this at all.
    Hope this clarifies some of your queries.
    Best regards,
    Obaid

  • Issue with being able to fill in data and save pdf forms in adobe reader

    Hi All,
    This is my first time posting on this forum so not sure what way to go about it so i'll just start by explaining my problem.
    I purchased adobe acrobat xi standard to create pdf forms(fillable forms) so that the receipents of these forms can open them in adobe reader, save them on their local drive and fill them in.
    However, when I uploaded them online(as they will be downloaded from an internal website) - when the forms are opened in the browser this error appears
    Currently when this error appears the client canno fill in their data or save it.
    Any help on this issue would be appreciated!
    Noel

    Thanks for replying pat - that was another question I have. Is there a way I can get a dialog box to pop up when they click on the forms button?
    Like the following;
    As at the moment, they would have to click the actual "save" icon - and the same error will appear on their local disk?

  • I have a problem during the collect data and save it in file with the HP8753C

    Hello,
    I'm using the "HP8753 collect and display data.vi" with the functionnality "save" in file (.txt or xls).
    When I'm using it to collect and save data one time to time, I have no problem. But when I would like to use it to collect and save several data with a structure "For", the HP8753 status will become blocked and the collect and save data in file is disable.
    The only function "collect data" with a structure "for" is Ok but will become not OK with the option "save" in file. Why, please ?

    Hello,
    Thank you for contacting National Instruments.
    It sounds like your instrument is "hanging" or "freezing" when you try to read and save data from it in LabVIEW.
    I took a look at the context help for that particular VI. It appears that if you attempt to read data from the HP8753 while it is also taking measurements, it can cause the instrument to hang. This may be the problem you are experiencing.
    Look over your program and ensure that the instrument is not trying to take new measurements as you read data from it in LabVIEW. Sequence structures may be useful in this regard. If you are still experiencing problems, however, let me know.
    Matthew C
    Applications Engineer
    National Instruments

  • How do I append data and sequence numbers to a *.csv file name?

    All,
    I am looking for an easy way to build a filename with the data and time included, as well as a sequential number between 1 and 999 in the following format:
    C:\TestDirectory\test_11-08-25_1551_1301_001.csv
    I have looked at using the Express function "Write to Measurement File" but I cannot see an easy way to include column headers as text into the output file.  Maybe someone could show me how to do that?
    Or, someone could point me toward another function that allows me to date and serialize the file name.  Any help would be greatly appreciated.
    I could code all this the old-fashioned, manual way, but I would rather find out if LabVIEW has built in functions that do this first.
    Thanks!

    Like this
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    Example.vi ‏13 KB

  • My 2 TB Time Capsule's memory is full because it will not automatically delete old files as it is supposed to, so it is giving me zero backup of my two computers now.  How can this be fixed so my Time Capsule deletes the old data and saves the new?

    My 2 TB Time Capsule’s memory is full because it will notautomatically delete old files as it is supposed to, so it is giving me zerobackup of my two computers now. How can this be fixed so my Time Capsule deletes the old data and savesthe new?
    Neither my local computer consultant nor I have been ableto change any of the settings in Time Machine to correct this problem.  Working with the choices in the TimeMachine, there does not appear that there is any way to change the frequency ofthe backups either, so, after a year has elapsed, the time capsule is full, andmy only choice appears to be to erase all the current data on the Time Capsuleand start over, something that I do not want to at all let alone repeat on anannual basis.  My questions are:
    What can be done to have my Time Capsule delete old filesas it is supposed to do, so it has memory available to allow my computers toback up? 
    Is this a software problem that can be fixed online or isdoes this require a mechanical fix of defective hardware?

    How much data is being backed-up from each Mac?  (see what's shown for Estimated size of full backup under the exclusions box in Time Machine Prefs > Options).
    Is there any other data on your Time Capsule, besides the backups?
    Most likely, there just isn't room.  Time Machine may be trying to do a very large (or full) backup of one or both Macs, and can't.  Since it won't ever delete the most recent backup, there has to be enough room for one full backup plus whatever it's trying to back up now, plus 20% (for workspace).
    Also see #C4 in Time Machine - Troubleshooting for more details.

  • Zip binary data and save zip file to disk at bsp

    Hi,
    I try to compress (zip) binary data (for example a picture) and then give it to a html page. I use the cl_abap_gzip=>compress_binary method and it seems to work. But when I save the zip-file to harddisk over the popup at the html - page, the file could not be opened. WinZip says that it is an unvalid archive.
    Can anybody help me?
    Here my example coding at the OnInitialization Event of the business server page:
    * event handler for data retrieval
    * local variables
    DATA: xsourcefile TYPE xstring.
    DATA: xzippedfile TYPE xstring.
    DATA: source_file_mime_type TYPE string.
    DATA: xzippedcontentlength TYPE i, xzippedcontentlengthstring TYPE
    string.
    * References
    DATA: o_mime_api TYPE REF TO if_mr_api.
    * processing
    * +++ Read File from MIME-Repository (binary) +++
    CALL METHOD cl_mime_repository_api=>if_mr_api~get_api
      RECEIVING
        r_mr_api = o_mime_api.
    CALL METHOD o_mime_api->get
      EXPORTING
        i_url              = 'SAP/ZGSD_SD_ADIS/test.gif'
    *    I_CHECK_AUTHORITY  = 'X'
      IMPORTING
    *    E_IS_FOLDER        =
        e_content          = xsourcefile
        e_mime_type        = source_file_mime_type
    *    E_LOIO             =
    *  CHANGING
    *    C_LANGUAGE         =
      EXCEPTIONS
        parameter_missing  = 1
        error_occured      = 2
        not_found          = 3
        permission_failure = 4
        OTHERS             = 5
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    * +++ create ZIP-File +++
    TRY.
        CALL METHOD cl_abap_gzip=>compress_binary
          EXPORTING
            raw_in                     =  xsourcefile
    *    RAW_IN_LEN                 = -1
    *    COMPRESS_LEVEL             = 6
          IMPORTING
            gzip_out                   = xzippedfile
            gzip_out_len               = xzippedcontentlength.
    * ... Länge Casten !
        xzippedcontentlengthstring = xzippedcontentlength.
    * ... Errorhandling
      CATCH cx_parameter_invalid_range . " Error-Handling
      CATCH cx_sy_buffer_overflow . " Error-Handling
      CATCH cx_sy_compression_error . " Error-Handling
    ENDTRY.
    * +++ Put ZIP-File in Response +++
    response->set_data( xzippedfile ).
    response->set_header_field( name  = if_http_header_fields=>content_type
              value = 'application/octet-stream' ).
    response->set_header_field( name  =
    if_http_header_fields=>content_length
              value = xzippedcontentlengthstring ).
    response->set_header_field( name  = 'Content-Disposition'
    value = 'inline;filename=test.zip' ).
    navigation->response_complete( ).
    Thanks Timo
    PS: I posted this question also at ABAP Forum.

    Hi,
    First you need to define your ext prog in SM69.
    It is simple though, specify:
    Command name: ZZIPBIN
    OS: (your os)
    System command: /yourpath/zzipbin
    Extra params allowed: checked
    Then you need to code this:
    data: table TYPE zeu_t_btcxpm.
    CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
        EXPORTING
          commandname                   = 'ZZIPBIN'
          additional_parameters         = param
          operatingsystem               = sy-opsys
          terminationwait               = 'X'
        TABLES
          exec_protocol                 = table
        EXCEPTIONS
          no_permission                 = 1
          command_not_found             = 2
          parameters_too_long           = 3
          security_risk                 = 4
          wrong_check_call_interface    = 5
          program_start_error           = 6
          program_termination_error     = 7
          x_error                       = 8
          parameter_expected            = 9
          too_many_parameters           = 10
          illegal_command               = 11
          wrong_asynchronous_parameters = 12
          cant_enq_tbtco_entry          = 13
          jobcount_generation_error     = 14
          OTHERS                        = 15.
    See also http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a8023505211d189550000e829fbbd/frameset.htm
    Eddy
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • Appending date and time to file created in UTL_FILE

    I am trying to create a log file of database (9i) updates using PL/SQL code and I am able to create a file using UTL_FILE utility and in file name I give name as 'log-'||sysdate||'.txt' and it successfully cerates log-22-NOV-05.txt file.
    My problem is adding time to it. I declared a varibale ws_var1 and capture time in it by below statement.
    select to_char(sysdate,"HH24:MM:SS') into ws_var from dual.
    SO when I try to add this to file name as 'log-'||sysdate||'-'||ws_var1||'.txt' the file that gets created is just two number such as 02.txt, 34.txt etc.
    I am not sure where the problem is but any help to create file name with date+time information is apperciated.
    Thx

    Why not just:
    'log-'||TO_CHAR(sysdate, 'DD-MON-YYYY-HH24MISS')||'.txt'
    SQL> select 'log-'||TO_CHAR(sysdate, 'DD-MON-YYYY-HH24MISS')||'.txt' from dual ;
    'LOG-'||TO_CHAR(SYSDATE,'D
    log-22-NOV-2005-170813.txt
    1 row selected.
    SQL>

  • Send from file to http server and save http/xml response to another file

    Hallo,
    is there anybody who made running simple think. Read xml file, send it to http server using plain HTTP adapter and then wait for response which is to be saved as another file?
    ThanX a lot.
    Honza Vrzak

    Hello Honza,
    I've made running these two asynchronous scenario. Maybe that might help you?
    1.a) FileAdapter picks up XML and sends it to XI2.0
    1.b) XI uses PlainHTTP-Adapter to sends the message to Webserver
    1.c) HTTPRequestHandler (written in C#) receives the XML and writes it to HD.
    2.a) JavaScript sending an XML to PlainHTTP adapter of XI2.0.
    2.b) XI sends the message to FileAdapter
    2.c) FileAdapter writes the XML to HD
    What you need is an synchrounus scenario and I think I remember that the fileadapter is not able to work synchrounus. So I think you have to combine these two scenarious to one.
    Regards Björn

  • Record, calculate and save data periodically

    Hi,
    I am working on a labview project. I have a continuous input data which is updated every 100ms. I need to calculate the 15 minutes average value, one hour average value of this input data and save this average values into excel file continuously. I have problem about how to calculate the 15 minutes average input data value. I have look through some example for parallel while loop, but my main problem is how to calculate the 15 minutes average values periodically and save it to the file. Thanks for your help.
    Fred

    You do not need parallel loops to calculate a running average. Just keep two arrays of old data in a shift register inside the same loop. The first array is 9000 points (15 min) and the second is 36000 points (1 hr).
    Append new data to the top of the array and delete any excess points from the bottom. Calculate the average on the entire array every time you add a point and write these values to other Excel columns.
    Michael Munroe
    www.abcdef.biz
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • How can I Add and save new row in data table?

    Hello All,
    I want to add new row in the jsf page with data and save it.
    I have data table with rows from database..
      <h:form id="test">
            <h:dataTable id="hh" value="#{MyBean.dataList}" var="list">
              <h:column>
              <h:outputText value="#{list.name}"/>          
              </h:column>         
              <h:column>
              <h:outputText value="#{list.lastName}"/>          
              </h:column>         
              <h:column>
              <h:outputText value="#{list.phone}"/>          
              </h:column>         
            </h:dataTable>
            <h:commandButton id="sd" action="#{MyBean.addNewRow" value="Add Row" />
            <h:commandButton id="save" action="#{MyBean.updateList" value="Save Data />
          </h:form>
    {code}
    i understand action with save to database, but still I could not find right way to add new row from jsf page.....
    I want add new row, add new name, lastname, and save it....
    Edited by: armen on Feb 20, 2009 12:39 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Thanks, but your example consist from too many parts and I could not join all components for understatnding all proccess.

  • Steps to plan  and save data in Workbook

    Hi all,
    Please provide me steps to Plan and save a data in a real time cube using workbook.
    I have gone through different articles in SDN and tried to relicate but failed to save the data.
    May be I am missing some thing, some steps. Please provide me with steps as giving links will not help me.
    Thanks
    Sunny

    Hi,
    You will have to follow the below steps to create a workbook which can save data in realtime cube.
    1. First create Aggregation level(mandatory for input ready query which can save data) in Planning Modeler.
        Aggregation level you will have to create on Reatime cube.
        Transaction code for Planning modeler is RSPLAN.
    2. After you have created aggregation level .
       -> Create Query in Query Designer on the Aggregation level.
    3. Make sure that you have made the setting for keyfigure as Input-ready.
        Also make sure to make you have set the Query Property as 'Start Query in Change mode".
       -> Then only query will be eligible for entering and saving the data on execution.
    4. Now when you execute the query in Bex Analyser and save it as Workbook.
    -> Data can only be entered and saved when the query open in input-ready mode.
    5. The best way to check in Bex analyser whether query is input-ready or not is
      -> In the query result layout , use Right lcik of Mouse -> then in the context menu
      -> you should see the following two options apart from other options
    Two options are:
      1. Transfer plan values
      2. Save values
    If you get these two options then query is input ready and you can enter data and save it in realtime cube using the
    Right mouse click -> Save values
    6. If query is not coming as input-ready then it means that not all charateristics are drilled down
       -> means that rows does not contains unique records.
    In that case you will have to drilldown to make each rows contain unique records.
    -> The best way is to restrict the characteristics with variable or single values in filter area.
    -> this will give you drilldown data and so the query will come as input-ready.
    Pls also check the link:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f234619e3c4c5de10000000a155369/frameset.htm
    Regards,
    Amit

Maybe you are looking for

  • XSLT Transformation service

    Does the livecycle ES workbench trial version have example process containing the XSLT Transformation service? I want to see the workflow with XSLT transformation involved. Thanks, Bing Wang

  • Editing footage/Importing Footage

    Hi everyone, Hope you are all getting on well with snow leopard as I. I am looking for a good way to store and edit footage on my MacBook Pro (specs are below). What I have available - - Sony AVCHD XR-520VE (MPEG-2 Recording - 16Mbit/Sec) - iMovie '0

  • DefaultServlet?

    I've figured out how to manipulate the welcome-file-list tag in web.xml for tomcat to bring up the desired web page if someone hits my site without specifying a page (e.g. www.mysite.com will take them to www.mysite.com/index.html). But, my index pag

  • ABout Exception

    Hello, Why it did not throw an exception? void mymethod() throws Exception() int x = 1; if (x == 0) throw new Exception(); try{ x = 0; catch(Exception e) System.out.println(e); }

  • Creating views on reports

    Hi     Why do we create and how do we create views on reports in SAP BI? Regards, Khan