Idoc-xml to Idoc

Hi,
Sender is a 'party' which generates an Idoc. Some of the fields from this idoc has to be fetched by XI and passed to the receiver R/3 system.
Requirement :
Party -
> Idoc-xml -
>XI--> Idoc--
> R/3
                       (XI - Adapter Sender)      ( IDOC Recevier Adapter)
1) what are the initial setting to be done in Xi & R/3 systems?
2) Any authentication details of the party is needed? ( as the XI sender adapter doesn't have many parameters to eneter in comm channel)
Also, here party is an 'R/3 system', who sends the data as an Idoc.
3) How should i convert the idoc to Idoc-xml?  In other words how would i create my source DT,MT and MI ?
Appreciate Ur comments,
Thanks,
Raggy

Hi,
Here are the answers pointwise.
1) what are the initial setting to be done in Xi & R/3 systems?
Initial settings are Port and partner configuration in both XI and R/3 systems. You have to configure the RFC destication also.
2) Any authentication details of the party is needed? ( as the XI sender adapter doesn't have many parameters to eneter in comm channel)
Also, here party is an 'R/3 system', who sends the data as an Idoc.
Why are you using XI - adapter???any specific reason?
If party is an R/3 system then you can use IDOC adapter and if not then you can use FILE adapter to pick up the IDOC-XML file.
3) How should i convert the idoc to Idoc-xml? In other words how would i create my source DT,MT and MI ?
You do not need to convert the idoc to idoc-xml. IDOC adapter will do it automatically.
IDOC will act as a MT and also as a MI.
Hope it clarifies your doubts.
Br,
Madan Agrawal

Similar Messages

  • Help in creation of XML file for IDOC postings

    Hi All,
    Need help if anyone has knowledge/experience in creating XML files for IDOC processing.
    We need to design an input file (in XML format) for creation of IDOCu2019s for purchase Invoices through Interface.
    We have an existing input file, which is working correctly.  We are trying to modify this existing input file for a new Tax Code (Non-deductible inverse tax liability).   This tax code is working fine for manual postings.   But, through IDOC, tax postings are not correctly triggering.
    Could you please confirm if any one has experience on this, so that I can share more details for resolving.
    Thanks & Regards,
    Srini

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • Send/Receive IDOCs (XML) from/to SAP R/3 with XI-SOAP without XI!

    Dear SAP specialists,
    (BACKGROUND) We are using the Microsoft BizTalk Adapter for SAP 1.0, developed on top of the SAP DCOM Connector (we are using the version 6.20 Patch Nr. 177), with Microsoft BizTalk Server 2002 SP1 in order to send and receive IDOC via the tRFC transport protocol. We are using the Microsoft BizTalk Adapter for SAP 1.0 since February 2002, and today we are exchanging more than 25,000 IDOC/day with this architecture.
    When we migrate our SAP R/3 system to the version 4.7 with WAS 6.20, I was very enthusiastic about the possibility of sending the IDOC in XML via the standard HTTP transport protocol, because it would considerably simplify my architecture, i.e. no need of any (expensive) adapter any more! But, I had to realise that the quality of service exactly once will not be there anymore with HTTP as it exists with tRFC. Then, we carry on using the tRFC transport protocol with the adapter.
    (QUESTION) But recently, I followed the SAP Course TBIT40 XI Foundations and I learn that:
    1.     On one hand, the XI-SOAP protocol supports the quality of service exactly once by the usage of a message GUID within the XI-SOAP envelope;
    2.     On the other hand, all mySAP solutions using WAS 6.20 (or higher) carry a “small” Integration Engine (with XI-SOAP as the “native” transport protocol).
    Then, my question is: << Is it possible to exchange IDOC (XML) directly with an SAP R/3 4.7 (WAS 6.20) via the XI-SOAP transport protocol using the “small” Integration Engine embedded into it, with the quality of service exactly once? >>
    Many thanks in advance and best regards,
    Patrice Krakow

    Hello Patrice
    We have same issue. Is it possible to use IDoc (XML) directly with SAP 5.0 with SOAP (HTTP) without XI?
    Since your que is three years old, I'm sure you must have found some method for this.
    We'll highly appreciate your help.
    Regards: Gaurave

  • Regarding receiver determination problem in IDOC-XI-XML file scenario

    Dear All ,
    In IDOC-XI-xml file scenario , I have configured SLD , IR . But in ID , after file adapter , reciever agreement configuration when I am doing receiver determination configuration I am not able to insert mapping program in configuration overview of receiver determination as I am not getting "New Specific" option in mapping .
    Can anybody suggest what could be the reason behind this .
    Thanks in Advance
    Prabhat

    Hi PRabhat,
    In RCVR determination, you need to select the party & service (as appropriate) save the obeject
    then refresh the configuration overview of recr det.
    then you can see the partner/service
    then you can open it & add the necessary objects.
    Regards
    Vishnu

  • Problem in creatinga sales order idoc into XML file in the same appl server

    Hai....friends....
    I am tring to send an  sales order as iDOC  to a xml port in the same application server....
    1. have created a xml port with path..\usr\sap\RRM\SYS\global\.
    2. assigned it to logical system.
    3.Have a RFC destination of TCP/ip(LOCAL_EXEC)
    but in bd64 after creating  model view when i am generating partner profiles  a tRFC PORT has been automatically created.
    then finally the IDOc has been created but its saying....IDOC CANNOT OR SHOULD NOT BE SENT...
    Pls help me regarding this...
    thx,
    ram

    Hi Thanks for your updates,
    But I got the same error, while pass the data from abap into XML.
    error message,what I am getting is
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'file:///C:/tempcustomers.xml'. Line 1, Position 1
    #<?xml version="1.0" encoding="utf-16"?>
    Thanks
    Gowrishankar

  • Howto transform a Sales Order (idoc) into xml file and download it?

    I need to tranform a Sales order into an xml file such that I could download the file onto my disk. I try to transform an IDOC.
    I do the following from an example and I get an xml document on screen but I do get get any file downloaded:
    DATA: document TYPE REF TO if_ixml_document.
      document = g_ixml->create_document( ).
      DATA: ostream TYPE REF TO if_ixml_ostream.
    ostream = g_stream_factory->create_ostream_uri(
      system_id = 'file://C:\test.xml' ).
      DATA: renderer TYPE REF TO if_ixml_renderer, rc TYPE i.
    renderer = g_ixml->create_renderer( ostream  = ostream
                                          document = document ).
      rc = renderer->render( ).
      document->render( ostream = ostream  recursive = ' ').
    Is there something else I should do? Is there another approach for transforming a sales order to an xml file.
    The R/3 4.6 system is used.
    Thank you
    -eglese-

    Hi Eglese,
    Another option could be to use XML port configured for the IDOC and use the XML files generated be extracted from Web Dynpro using a file download UI element.
    Thanks and Regards,
    Sam Mathew

  • XML IDoc file to IDOC .

    Hi,
    I am receiving XML idoc (Orders05) file from 3rd party to PI system , PI needs to create sales order IDoc ( Orders05) in ECC system. 
    1) Do I need to create source structure for XML IDoc file ? If yes should I create the structure as Orders05 ?
    2) How to map line items of xml file to Orders05 IDoc line items ?
    Please help.
    Thanks - Vinay.

    Hi Vinay,
    Please see Mikes reply in this thread. You may follow the same procedure:
    XML to FlatFile IDOC
    Regards,
    ---Satish

  • How to send PR & PO data for materials through IDOC in XML

    Hi Experts,
    I am looking for a solution to send open PR & open PO related data for diffrent materials through as IDCO in XML file.
    Scenario is i have to show a report in a 3rd party system for open PR & open PR that too will come after selection some materials. That means select a materials & it will show all the open PO & related data in a report.
    The rough idea for the solution i got is I can save the data in XML file in the system. For this i have to send IDOC. but the problem is there is no message type for PR. IF i am not wrong i can extend the MATMAS05 for a segment that will have PR related info.
    Now what to do with that how to send the IDOC do i need to create another report to send IDOC or i can send the extended one through BD10. I tried it but it shows error message "0 communication idoc sent" so I dont no y such error is coming i think i am not filling the extended idoc. But again my QUestion is how to do that. If anyone have any other solution Please help me out of this.
    Regards,
    Nik

    Hi Alpesh,
    Thanks for your reply.
    My requirement is bit different. i have to send Open PR data for diffrent materials. In a 3rd party application user will search for few materials which will generate a report that will show the PR related data for those material.
    Same thing i have to do for PO & Sales order also.
    Can u please help me to provide the solution how can i proceed for it. U have given the Message type & a bapi how it will help in my issue?
    I got a suggesion from someone that extend message type matmas for PR, PO, SD related data & send the idoc. but i am confused how to pass that much data ina single IDOC.
    Regards,
    Nik

  • Sending Idocs from SAP-R/3 to XI, bundle and map them to one XML-file

    Hi All,
    We need to send IDoc's (DEBMAS06) from R/3 to XI and  bundle and map them to a single xml-file. Please help us with your suggestions on how to proceed using a simple solution (probably need of BPM).
    Regards,
    Theo

    Hi Theo,
    there is an example in SAP Library: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm">Collecting and Bundling Messages - One Interface</a>. Plz post us your detailed quetions.
    Regards,
    Udo

  • How can I convert IDoc in XML format w/DTD into a string?

    I want to send by e-mail outbound IDoc in XML format with its document type definition (DTD).
    I want to be able to get the same output result into a string than the XML file IDoc port type with DTD activated.  I have created a FM (based on SAP "OWN_FUNCTION") assigned to an IDoc port of type ABAP-PI that executes the following processing steps:
    1-Extract outbound IDoc information to get the sender & recipient mail addresses (EDP13 / EDIPHONE tables).
    2-Convert & Transform IDoc data into XML string using FM IDX_IDOC_TO_XML.
    3-Prepare and send e-mail with XML attachement using FM SO_NEW_DOCUMENT_ATT_SEND_API1.
    I cand generate the e-mail with the XML file attachement but FM IDX_IDOC_TO_XML does not convert the IDoc with proper formating and DTD.
    What should I use to accomplish the IDoc conversion to XML w/DTD into a string?
    Should I use XSLT tools ?
    How does that work?
    Thank you
    Carl

    muks wrote:
    Use decimal string to number
    Specifically, you can define a constant with a different datatype on the input on the lower left if you need a different datatype (e.g. U8, I64, DBL, etc) Are all your values integers or do you also need to scan fractional numbers? In this case, you should use "fract/exp string to number" instead.
    LabVIEW Champion . Do more with less code and in less time .

  • Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interfa

    Hi
    i am try do
    Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface
    With The help of SDN Contribution
    link----
    ( have look on it)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4943f2b7-0a01-0010-37af-faff35b2f08c
    I am getting error in
    Partner system as HTTPLOG and "Execute" to check the results
    Error is --  Port could not be created
    RFC destination HTTPLOG Not specified for system HTTPLOG
    any 1 have any idea  if plzzzzzzzz...........
    Thank u
    Ram

    Hello .
      we are also in  process of implementing the same
    could you share the knowledge pl?
    1)is it a separate add on with ALE to saphr
       or using ECC ??
    2)can u share the configuration part ??
    we are trying it on webas as addon 3.0 .

  • How to get IDOC schema in XML

    Please tell me how to get an Idoc schema into XML from SAP.
    I want all the details of an Idoc, i.e Segments and fields in one file.
    Quick response will be appriciated.
    Thanks
    Kiran

    WE60 enter the IDoc type then menu path Documentation->XML Schema. This may depend on what version of SAP you are on.

  • How to Push the into SAP ( XML data converted into IDOC )

    Hi
    i am getting XML file from Non SAP system.I need to push XML data into SAP on daily basis with out using XI as the middleware.
    I know if i get text file will use BDC's or LSMW. But i am getting data in XML format and then i need to converted into IDOC format and stored in to sap data base tables.
    Thanks for advance.
    srini

    Is the XML an IDOC-XML or custom XML that you need to post as an IDOC??
    If it is IDOC-XML you need to defined XMLFile port to process the IDOC-XML without any mapping.
    If it is a custom XML, parse the XML data into an internal table (as required) & continue with BDC or IDOC posting as you wish.
    Check for XML parsing programs..
    -Siva Maranani

  • HTTP 500 Error while using XML HTTP Port for idoc

    Hi,
    I am trying to send CRM idocs via XML Http instead of usual t-rfc.
    After standard idoc - pi configs i get the below error.
    transferring the IDoc by HTTP, the return code with the message '500Error during parsing of SOAP header' has occurred.
    In BD87 I get the below error.
    The target address was: http://yyyyyy.XXX.local:800X/sap/xi/engine?type=entry
    I get the http 500 error as:-
    Check whether the IDoc can be sent again.
    It is unfortunately not possible to determine automatically whether the IDoc has in fact arrived in the target system and the error occurred afterwards
    Any idea on how to trouble shoot or resolve this.
    Regards,
    Anirban

    Hi Anirban,
      Follow the below links for troubleshooting.
    Troubleshooting  File-to-IDOC Scenario in XI.
    The specified item was not found.
    Regards,
    Leela

  • IDOC_XML_FROM_FILE Error while loading XML as IDOC to ECC 6.0

    I have successfully converted IDOC to XML file.
    Getting Error while converting XML back to IDOC in ECC 6.0 using function: IDOC_XML_FROM_FILE
    Segment EDI_DS40 is not defined.....I am really not sure about the error as this idoc was previously posted to the same ECC 6.0...
    Exception       SEGMENT_ERROR
    Message ID:          EA                         Message number:           721
    Message:
    The segment EDI_DS40 is not defined.
    Secondly is there a way to load XML file via WE19?
    Tx
    Salman

    Thanks alot Oliver for taking a stab...
    I created the XML file from within SAP by using the functionailty of this function module:-
    IDOC_XML_TRANSFORM
    I created my ZIDOC_XML_TRANSFORM and just added file download facility in that the rest is the same as the orignal function.
    Is there any way for me to supress generation of ED_DS40 segements in the XML file??

  • Creation of IDoc XML very slow compared to IDoc Flatfile

    Hi everyone,
    I did a test in our ERP6 system and created IDoc files for a few invoices. The result is that the creation of a XML Idoc is 22x slower than the creation of a flatfile Idoc. The creation of one large IDoc file with 1000 invoices took ~15 seconds as flatfile and ~5:30 minutes as XML. So the choice between flatfile or XML is really a performance question for me. Is that normal? I expected a difference but not that much.
    Can I speed up the XML creation anyhow? XML is better to process and I really want to use it, but I can not with this bad performance...
    Thank you!
    Regards
    Andreas

    So the choice between flatfile or XML is really a performance question for me. Is that normal?
    Yes, it is normal. For every byte of data in xml file, it needs to create multiple bytes of structures according to XML format.
    But, i am wondering, why u need to go for xml, when there is no PI installed.
    Because, end output file is always in flatfile format.

Maybe you are looking for

  • Help with buttons in gui

    I need to create first, last, next, and previous buttons in my gui. I have them in there (in the code), but only one button shows up (instead of four), and it has "first" overlapped with the "previous" button. The "next" and "last" don't even show up

  • How to copy value from one frame to another frame

    Hi, I am new to swing prgramming . I have created a menu called " TopFrame " and it contains toplevel menu item "select" and select Menu contains subitems "firstframe", "secondframe", "thirdframe" and "Exit". When i click select->firstframe it displa

  • How to view objects off the canvas?

    is there a way to see the objects that are off the black center canvas, that are sitting on the gray "artboard" (like one can see in indesign or illustrator)? i'm working with objects that start off the canvas and then follow motion paths onto the ca

  • Testsuite execution in Oracle SOA test framework

    All, soa suite version: 11.1.1.4 Requirement: I have set of testcases for a testsuite 'acceptance'.  I'm trying to run the test suite using ANT by invoking 'ant-sca-test.xml'.  I noticed that the order of running the test cases are not the same.  Eac

  • HD and PAL-M or Pal only

    Hi, I have been thinking about HD a lot. The thing is: If I buy a HDV camera, Can I work with both NTSC and PAL. I have been working with FCS2 but still very new on it. So can I capture my movies on HDV camera and brodcast it on a country that works