Transfer XML data to BW.

Hi
I am trying to transfer XML data to BW. after creating and activating infosource and data source
When i try to create "BW Data source with SOAP connection".
It gives "ERROR WITH DATA SOURCE REPLICATION" message.
anybode can tell whats the problem.
Shivanjali

Hi
I found the answer for my query...
1) the data that we try to upload in InfoPackage should be in form of XML.
2) their should right objects in InfoObject ... same as XML
Thanx
Shivanjali

Similar Messages

  • How to transfer XML-Data into a WebDynPro-Application?

    An external partner has a calling interface that sends a HTTP-Redirect to a specific application-url and transfers all the data in one POST-Parameter.
    The value of this POST-Paramater (CALLINTERFACE) consists the XML-Data.
    <form id='InterfaceData3' method='post' action='/ProduktFrontController/Start'>
    <textarea cols="80" rows="30" name='CALLINTERFACE'><?xml version="1.0" encoding="UTF-8"?>
      <authentifizierung version="1.0">
           XML-Data.....
      </authentifizierung>
    <br>
    <p><input id='button1' type='submit' name='Button' value='Absenden'></p>
    </form>
    Standard-Java:
    In our Java-Application we can read the POST-Value (XML-Data) via the HTTPServletRequest-Object/Instance.
    WebDynPro-Java:
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    String xmlData = request.getParameter("CALLINTERFACE");
    In WebDynPro for ABAP I couldnt find a equivalent solution /technic to read the POST-Parameter-Value.
    So I have to write a lot of annoying 'glue-code':-(      (HTTP-Request-Handler for reading, Shared Memory / Objects for transfer to WebDynPro ABAP),
    (Remark: It's no solution to transfer XML-Data via a URL-Parameter because it is too big (> 1 KByte) and the external partner doesn't support this option!).
    My questions:
    1) What technics for transfering Data (not only 2 or 3 Parameter) form external web-applications into WebDynPro ABAP applications does SAP support?
    2) Is it possible to reach the calling HTTP-Request from WebDynPro-ABAP? (MayBe via ABAP-Callback-Functions)
    Sincerely
    Steffen

    Hi,
    thank you for your answers:-)
    In conclusion the result is:
    1) There is no "direct" way to read POST-Parameter in WebDynPro ABAP
    => You have to write a wrapper in BSP or an ICF -  HTTP_REQUEST_HANDLER
      (A  ABAP-Class that implements the Interface "IF_HTTP_EXTENSION"
         that reads the POST-Parameter-Value and transfers the value into a reachable localtion for WebDynPro-Abap.
    2) For parsing the XML-Data I can use for example STRANS tcode or  Simple Transformations
    3) For transfering the Data between the BSP / the Request-Handler and WebDynPro for ABAP, I can use for example SharedMemory, Shared Objects.
    Regards
    Steffen
    Edited by: Steffen Spahr on Jul 19, 2011 8:35 AM
    Edited by: Steffen Spahr on Jul 19, 2011 8:55 AM

  • How i can transfer XML data from internet to SAP R/3?

    Hi all,
    I have an issue to catch data from internet (perticular website) in xml format and i want to update that xml data format into SAP R/3 database. so how i can do that?
    Can I do directly or i should use any third party tools?

    Hi Deepak,
        Refer these two weblogs,
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
    I hope, this will solve your problem
    Regards,
    Deviprasad

  • Transfer of nested XML data to BW

    Hi there Experts
    I am trying to transfer XML data to BW.  I have done the worked example in the “How to … send XML Data to BW” document and it’s all working fine. 
    The problem with the example is that the data is in a “flat” format without any nested loops.  So for one Vendor 4711 and two materials “gizmo” and “widgets” the data structure essentially looks like this:
    <DATA>
         <item>
              <VENDOR>4711</VENDOR>
              <MATERIAL>gizmo</MATERIAL>
         </item>
         <item>
              <VENDOR>4711</VENDOR>
              <MATERIAL>widget</MATERIAL>
         </item>
    <DATA>
    Now, since we have a fair bit of data, rather than creating one new line (item) for each combination of VENDOR and MATERIAL we want to set up a nested structure in XML that can be read in BW, something along the lines of
    <DATA>
         <item>
              <VENDOR>4711</VENDOR>
                   <MATERIAL>gizmo</MATERIAL>
                   <MATERIAL>widget</MATERIAL>
         </item>
    <DATA>
    Unfortunately, all attempts have failed so far to create such a structure and admittedly I know very little about XML to begin with.  Any ideas?
    Thanks and greetings from Hamburg!
    Christian

    Hi ,
    You mentioned that you have sucessfully configured to load the XML data into BW.
    Even I also tried to configure by refering to the "How to" document, but am not sucessfull. Could you please help me in this regard.
    I configured the .dll files, but still am getting the
    error "Automation server can't create the object".
    Could you send me the step by step procedure..
    The operating system we are using is the Windows XP.
    Even i searched the SDN, couple of them replied, its not sucessfull.
    Thanks in Advance,
    Prathima Suram

  • Tranferring XML data to the B1 System

    Hi,
    Iam very new to the B1 system..
    Iam looking to transfer the data from the XML file to the B1 system.
    to make it clear, the requirement is i have a purchase order coming from one system and it is saved in the server..the data in the XML file will have to be shown in the B1 system as a sales order..
    Please any one can help on this ASAP.
    Thanks,
    Bhaskar.

    Bhaskar,
    The forum that you have posted your question in is for questions related to the SAP Business One Integration to SAP NetWeaver.  You question seems more generic as to how to import XML into SAP Business One.
    One way of doing this would be to create a small program using the Business One SDK.  You can search the SAP Business One SDK Discussion Forum as well as look at the SDK documentation that comes with the product.  If you converted the XML data to text, you could use the Data Transfer Workbench.  There are different options that you have.
    Eddy

  • Xml data to abap internal table

    I'm presently working on a interface where data in abap internal table is converted into xml format and placed in the frontend and vice versa.
    I'm through with the first part and in secodn part also I'm able to transfer the data from frontend to Document Object Model(DOM) by parsing but finally am not able to put it into an internal table.
    Please help (Urgent).
    Thanks and regards,
    S.K.Tripathy

    Hi sitakant,
    1. itab --- > xml
       xml ---> itab.
    2. This program will do both.
       (just copy paste in new program)
    3.
    REPORT abc.
    DATA
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    DATA : BEGIN OF itab OCCURS 0,
    a(100) TYPE c,
    END OF itab.
    DATA: xml_out TYPE string .
    DATA : BEGIN OF upl OCCURS 0,
           f(255) TYPE c,
           END OF upl.
    DATA: xmlupl TYPE string .
    FIRST PHASE
    FIRST PHASE
    FIRST PHASE
    Fetch Data
    SELECT * FROM t001 INTO TABLE t001.
    XML
    CALL TRANSFORMATION ('ID')
    SOURCE tab = t001[]
    RESULT XML xml_out.
    Convert to TABLE
    CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'
      EXPORTING
        i_string         = xml_out
        i_tabline_length = 100
      TABLES
        et_table         = itab.
    Download
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filetype = 'BIN'
        filename = 'd:\xx.xml'
      TABLES
        data_tab = itab.
    SECOND PHASE
    SECOND PHASE
    SECOND PHASE
    BREAK-POINT.
    REFRESH t001.
    CLEAR t001.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename = 'D:\XX.XML'
        filetype = 'BIN'
      TABLES
        data_tab = upl.
    LOOP AT upl.
      CONCATENATE xmlupl upl-f INTO xmlupl.
    ENDLOOP.
    XML
    CALL TRANSFORMATION ('ID')
    SOURCE  XML xmlupl
    RESULT tab = t001[]
    BREAK-POINT.
    regards,
    amit m.

  • Use of PL/SQL to populate table columns from XML data file

    I'm trying to find the easiest way to transfer data from a flat file that is in XML format into a traditional Oracle table. Not retaining the XML but actually map an XML element to a column so standard SQL, Forms, Reports, etc can access like it was created using a Form.
    Example: Table A has column names Tom, Dick and Harry and the XML file has elements Tom, Dick and Harry and I just want a function that maps and inserts/loads the data into Table As individual columns.
    The process needs to be easily initiated by an end user. The user gets the XML data file via an email attachment and needs to do something like a Concurrent Request to pull in the file and load it. Using PL/SQL would be great.
    I appreciate any help that can be provided.

    Hi,
    HELP!!!!!
    We are having the same problem and we are using oracle 10ir2.
    We create an object type (sql type globally not in a package):
    CREATE OR REPLACE TYPE G_EX AS OBJECT
    ( EX_ID NUMBER ,
    EX_CON VARCHAR2 ( 100 ) ,
    EX_L VARCHAR2 ( 30 ) ,
    EX_T VARCHAR2 ( 4000 ) );
    CREATE OR REPLACE TYPE G_EX LIST AS TABLE OF  GEX AS ;
    then we insert data through a bulk collect within the package with the table declared of this array of object types:
    v_table G_EX _LIST:= NULL;
    SELECT G_EX (ex_id
    ,ex_con
    ,ex_l
    ,ex_t )
    BULK COLLECT INTO v_table
    FROM exs_lookup;
    I am using the syntax (below) but it gives PL/SQL: ORA-00902: invalid datatype
    sometimes not always:
    SELECT G_EX ( ex_id
    ,ex_con
    ,ex_l
    ,ex_t )
    BULK INTO v_data_record
    FROM TABLE (v_table)
    WHERE ex_id = p_key;
    where p_key - is a number type
    and v_data_record is a G_EX object type.
    I was wondering if anyone else encountered a similar problem, and knows what we may have done wrong. Since we dont understand why this piece of code is throwing this ora-00902 errors occasionally not always.
    Also, if we restart the database up once this errors occurs it appears to stop throwing this ora_00902 error for a lenght of time. Then it comes up with the ora-00902 error again (why?)
    thanks

  • Issue in loading XML data in BW delta queue

    Hello All,
    My requirement is to stage small amount of XML data in SAP BW. For doing so, i have followed below steps...
    1. Create File data source
    2. Define Myself data source using file data source with Function module
    3. Initialize load process without no data transfer
    4. Using SOAP RFC service, Load xml records in delta queue.
    Now in step number 4, i am unable to open the SOAP RFC service using which we can select the xml file.
    Any help in this regard will be highly appriciated.
    Thanks
    Ketan

    SOAP/RFC service is already activated. Only problem i am facing is as below.......
    1. Created HTML page by copying html snipest
    2. On created HTML page, select XML file as an input and URL of SOAP service which is pointing out to the application server
    3. When i press "Send recordset" button, HTML page throws "Java script" error and data is not being pushed to BW delta queue....
    Please share your ideas to resolve this issue.
    Thanks in advance,
    Ketan

  • How to populate the webservice XML data in to Table  ODI- Webserice invoke

    Hi,
    I have multiple work orders in my oracle db table, That means multiple WorkOrder_Item_ID's are there in my source table. When I start transfer the data from source to Target using ODI , I need to get the information of multiple Work order Item_IDs from the Webservice response data ( XML data) of another system by calling ODI Webservice Invoke in ODI and insert the same Webservice XML response data in my source table in the corresponding Item_ID's.
    My First question : How can I take the data from Webservice XML and put in to correspoding Item relevent data in to Source Table
    Second question: How can I send the multiple work order item ID at the same time to the Webservice and insert the relevant item data in to Source table using ODI.
    Finally this combined soure table data should be moved to Target table in ODI.. That I know.. How to do it.
    Can any one please give answers for the above said two questions.
    Thanks,
    Rajesh
    Edited by: user11226287 on Oct 30, 2009 4:40 AM
    Edited by: user11226287 on Nov 1, 2009 10:44 PM
    Edited by: user11226287 on Nov 1, 2009 10:59 PM

    I find some words in the implementation guide, it says:"To collect data from your non-Oracle ERP systems or your trading partners' systems,you model each non-Oracle ERP system or trading partner as an Oracle Applications organization and store their setup and transaction data there".
    But I can't find where to model the application organization for the legacy system.
    anyone can give some clues? Thanks in advance.

  • Option to load XML data into BI 70

    Hi All,
    I have read some postings on forums and also have read the "HOW TO load XML data in BW" guide. I am confused when I read the SAP online help documentation for loading XML data .
    Question : Out of the 3 options listed below which option is best suited for loading XML data into BW . XML file is going to be provided by 3rd party company ?
    Thanks and appreciate any input .
    Smith .
    Here is what I found for BI 70 EHP1 help :
    http://help.sap.com/saphelp_nw04s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Data is generally transferred into SAP BW by means of a data request, which is sent from SAP BW to the source system (pull from the scheduler). You can also send the data to SAP BW from outside the system. This is a data push into SAP BW.
    A data push is possible for various scenarios:
    ●     Transferring Data Using the SOAP Service SAP Web AS
    ●     Transferring Data Using Web Services
    ●     Transferring Data Using SAP XI
    In all three scenarios, data transfer takes place using transfer mechanisms that are sufficient for Simple Object Access Protocol (SOAP); the data transfer is also XML-based.
    The SOAP-based transfer of data is only possible for flat structures. You cannot transfer hierarchy data.

    Hi,
    I feel you can go with 2nd option. But still wait for some more inputs from Experts........
    Regards,
    Suman

  • XML Data Transfering Incorrectly (XDP)

    We have a relatively simple workflow that transfers schema data from one form to another. Both forms are XDPs so we simply use a setValue to transfer the data (from form 1 to 2):
    Location: process_data/form2/object/data
    Expression: process_data/form1/object/data
    We are having an issue where form 2 will not populate correctly unless run with Acrobat 9. We have investigated the issue and it seems that when the XML data is being transfered, the dataset somehow doubles. We set up variable loggers to track each of the datasets shown above and each one contains an extra set of nodes. One of those nodesets contains all of the form data and the other is just empty.
    We believe the problem is that unless run in Acrobat 9, the blank set of nodes comes first. Acrobat only tries to read the first set, assuming it contains the form data, and finds none. For whatever reason, in Acrobat 9, the empty nodeset comes second so the form can render with the data.
    Am I incorrect in thinking that the empty nodeset should not be there? Assuming that, I have determined that the problem either has to be how we are transfering the data from XDP to XDP or it could be related to the schema binding in form1. Some of the form1 data is bound directly from the form and some from fragments used in the form, but I can't seem to find any mistakes with the bindings.
    Does anyone have any feedback or ideas on how to solve this? We are on a tight time budget so quick feedback would be greatly appreciated. Thank you so much!

    Both of those ideas produced the same thing.  It is however, slightly different from what I had before.  The two you provided created the set of nodes with the data in them (as usual) but instead of an empty nodeset, it created an empty top level node ( ).  Acrobat still seems to look there and won't recognize the data.
    Are there any other possible configurations?

  • Internal table to XML data in Application Server

    Dear Experts,
    I have converted the internal table data into XML format using CL_XML_DOCUMENT class and CREATE_WITH_DATA - method. Here I have to upload this XML converted file in the given application server path. Kindly suggest me some methods or class, other options to do this.
    I need to upload the XML file in to specified application server path. Kindly give some ideas.
    Regards,
    Sakthi

    I guess you want to transfer XML document type ref to IF_IXML_DOCUMENT (which is instantiated with this method and stored in attribute M_DOCUMENT ) to a file on application server. Is that right?
    If so please refer below program you should get the idea
    DATA: gr_ixml TYPE REF TO if_ixml,
          gr_ixml_doc TYPE REF TO if_ixml_document.
    gr_ixml = cl_ixml=>create( ).
    "here you have the same kind of XML document
    "as the one created with method CREATE_WITH_DATA
    gr_ixml_doc = gr_ixml->create_document( ). 
    DATA  gr_ixml_element TYPE REF TO if_ixml_element.
    CALL METHOD gr_ixml_doc->create_element
      EXPORTING
        name = 'JOBS'
      RECEIVING
        rval = gr_ixml_element.
    CALL METHOD gr_ixml_doc->append_child
      EXPORTING
        new_child = gr_ixml_element.
    CALL METHOD gr_ixml_element->set_attribute
      EXPORTING
        name  = 'OBJID'
        value = '566677890'.
    "serialization
    DATA g_encoding_type TYPE string.
    DATA g_stream_factory TYPE REF TO if_ixml_stream_factory.
    DATA gr_encoding TYPE REF TO if_ixml_encoding.
    g_stream_factory = gr_ixml->create_stream_factory( ).
    gr_encoding = gr_ixml->create_encoding( byte_order = 0
                                           character_set = 'UTF-8' ).
    DATA b_xml TYPE xstring.
    DATA gr_ostream TYPE REF TO if_ixml_ostream.
    gr_ostream = g_stream_factory->create_ostream_xstring( b_xml ).
    CALL METHOD gr_ostream->set_encoding
      EXPORTING
        encoding = gr_encoding.
    CALL METHOD gr_ixml_doc->render
      EXPORTING
        ostream = gr_ostream
        recursive = 'X'.
    DATA g_resize TYPE i.
    g_resize = gr_ostream->get_num_written_raw( ).
    data ex_tab type table of x255.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer                = b_xml
      tables
        binary_tab            = ex_tab.
    "now open file on application server
    OPEN DATASET dset FOR OUTPUT IN BINARY MODE.
    "and transfer ex_tab to dset
    Regards
    Marcin

  • XML data Upload in BW ( Webservice issue)

    I am following the SDN document of 'How to load XML data into BW' and followed the steps till 19 and 26( BW3.5 need to skip steps in between).
      As mentioned I have followed the steps to create the web service properly. However while testing I am getting certain errors.
    1>     Option 1 :  Go to transaction  wsconfig  display the webservice  Zsendxmldatatobw_1 è select and display è click the button      Execute the webpage for the webservice  http://fmsap562.fm.intel.com:50100/sap/bc/srt/rfc/sap/Zsendxmldatatobw_1
    It says that the requested resources not found although I have checked that this services as well Soap Runtime service(srt) is activated as well.
    I suspect that the webservice created by me is for some reason not visible from the web browser
    Can any body help beyond this point.
    Thanks
    Arunabha

    Hi arun,
    From BW side you have to create XML Data Source and you have to activate data transfer to delta queue. And after that you create web service and realease it in SOAP run time environment.
    Check this weblog on XI-BI Integration, it will give you good idea of creating XML datasource and actiavting delat queue.
    /people/kamaljeet.kharbanda/blog/2005/09/16/xi-bi-integration
    The document which you are reading is for sending an XML data to BW using XI, it will give you idea abt configuring XI and creating ABAP proxy and as you are trying through web services, so its of no use.
    Rest you can check in detail in above weblog
    Regards,
    Kamaljeet
    Message was edited by: kamaljeet singh

  • Read/get xml data (string)

    Hi
    I have a XML string that I get from a TCP transfer, I have attached a received string.
    I have no experience in reading XML data, I have tried looking in the forums and some of the examples in LV, but I cannot get it to work, so I hope that someone could help me out. All I need to get from the XML data are the names e.g. Station1 and Station2 perhaps putted into a string array. If so it wouldn't hurt to get all the rest parameters and attributes as well. I thought about doing some string searches to get what I need, but thought again that it might be easier/better in some way to take advantage of the data being arranged as XML.
    Hope that someone can help.
    Thanks in advance
    Best regards
    Simon
    LabVIEW 8.6 / 2009 / 2010
    Vision Development Module 8.6 / 2009 / 2010
    VBAI 3.6 / 2010
    Attachments:
    testmap.txt ‏1 KB

    Hi all
    falkpl wrote:
    The easy way is if you know that this string is not changing much you treat it as a formated string and parse it using simple string functuions
    ie first parse %s and %s The two slashes will cancle the escape clause of the string parser.  Repete this process to get each station and attributes.
    The harder way is to use an activeX or .net XML parser.
    Paul
    I am not sure what you mean about the parser, well I get the concept, but is there a specific string function that can do that for me?
    I got something working with the Match Pattern vi, please the attached. This actually works for my current needs, but I still would be able to get data from more complex XML data.
    Hi A.K. and J.K.
    Thank you for the link.
    EasyXML looks like a nice and handy tool for handling XML data. I ran in too some problems though when running the VI Package Manger. When I check the network for new packages it says that there was an error, please check the network connection or settings. I have internet connection (I am writing this post ) and I am not using a proxy server. What could be wrong and how do I install EasyXML then, is there another way?
    Best regards
    Simon
    LabVIEW 8.6 / 2009 / 2010
    Vision Development Module 8.6 / 2009 / 2010
    VBAI 3.6 / 2010
    Attachments:
    my_get_xml_data.vi ‏15 KB

  • Error in loading XML data in BW delta queue

    Hi All
    My requirement is to stage small amount of XML data in SAP BW 3.5. For doing so, i have followed the steps specified in How to send XML data to BW
    Link for "How to send XML data to BW"
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/21d8aa90-0201-0010-5e83-a3798b9a5ee0
    1. Created File data source
    2. Defined data source using file data source with Function module
    3. Initialize load process without no data transfer
    4. Using SOAP RFC service, Load xml records in delta queue.
    Now in step number 4, i have created the following
    1. Created the html code
    2. On created HTML page, select .CSV file as an input and URL of SOAP service which is pointing out to the application server
    3. When i press "XML Send recordset" button, HTML page throws "Java script" error and data is not being pushed to BW delta queue
    Any help in this regard will be highly appreciated.
    Thanks
    Yeshwant

    Hi All
    My requirement is to stage small amount of XML data in SAP BW 3.5. For doing so, i have followed the steps specified in How to send XML data to BW
    Link for "How to send XML data to BW"
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/21d8aa90-0201-0010-5e83-a3798b9a5ee0
    1. Created File data source
    2. Defined data source using file data source with Function module
    3. Initialize load process without no data transfer
    4. Using SOAP RFC service, Load xml records in delta queue.
    Now in step number 4, i have created the following
    1. Created the html code
    2. On created HTML page, select .CSV file as an input and URL of SOAP service which is pointing out to the application server
    3. When i press "XML Send recordset" button, HTML page throws "Java script" error and data is not being pushed to BW delta queue
    Any help in this regard will be highly appreciated.
    Thanks
    Yeshwant

Maybe you are looking for

  • Using other software other than i tunes?

    Can i use other software other than itunes?. If so ,do i need to use the updator before connecting and synching with other software such as windows media player?.

  • Bursting Engine with custom WebDAV Delivery Manager Java Program

    I have developed A custom WebDAV delivery manager and need to call it when the using the bursting engine. Is there a sample that can show me where to palce the information. I have logged a tar but they asked me to post here to see about getting an ex

  • Macbook possible virus

    my daughter is having issues surfing web on macbook. intially all runs well but after visiting a couple of sites the computer seems to slow down to a near standstill causing her to have to reboot. any pointers?

  • Set an undefined Loaded variable's alpha to 0

    Hi, I'm trying creating a flash navigation bar that can be edited via a simple text file. I'm able to load my different variables properly but i also want to give the user the ability to remove links. I can simply leave the variable from the text fil

  • Element/ Node supression in message mapping

    Hi, Source Structure ID (Mandatory) FName (optional) Target Structure EmpID (mandatory) EmpName (optional) In my mapping, i mapped FName to EmpName. Since FName is optional,when i have an XML file that does not contain Name element my message mapping