<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: convert IDOC data to XML format. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412289#M198493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the similar kind of requirement, and I have created the XML port and assigned that port in the partner profiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The XML file is getting generated on the application server on the given path in port, however, the file contents are not complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only contains the IDOC header information. Like, IDOC number, Clinet, IDOC basic type, Message type, Sender system, creation time, creation date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the data present in the segments of IDOCs is not getting displayed in the XML file generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please guide me, if there is anything extra setting needs to be done for this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anuja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jan 2011 09:04:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-25T09:04:20Z</dc:date>
    <item>
      <title>convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412282#M198486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have to convert the IDOC data generated in SAP for ORDER05 to XML format. If any one has worked on it please send the details. Also if this FM IDOCS_OUTPUT_IN_XML_FORMAT is to be used then please give the details of it as how it works and what paramters are required for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 12:17:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412282#M198486</guid>
      <dc:creator>pankajs_dwivedi</dc:creator>
      <dc:date>2006-06-14T12:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412283#M198487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; chk this also 'IDOC_XML_TRANSFORM'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 12:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412283#M198487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T12:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412284#M198488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDX_IDOC_TO_XML&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 12:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412284#M198488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412285#M198489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just pass the IDoc Document no in the FM - IDOC_XML_TRANSFORM.&lt;/P&gt;&lt;P&gt;it will transform the IDoc in XML format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 12:27:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412285#M198489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T12:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412286#M198490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can setup file port (t/code &amp;lt;b&amp;gt;WE21&amp;lt;/b&amp;gt;) for XML. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please ensure your partner profile pointed to this new XML port. In this case, the output will be in XML format automactically without doing any format conversion when you generate and output the sales order IDoc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 12:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412286#M198490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T12:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412287#M198491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj S Dwivedi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Follow the procedure&lt;/P&gt;&lt;P&gt;IDOC to XML Convertion using ALE Interface&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;1) Send an outbound IDOC data(MATMAS) to a flat file(XML) on client1(SENDER).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-  Create File Port (WE21) of XML Type for outbound file.&lt;/P&gt;&lt;P&gt;-  Specify the Physical directory and file under the Outbound File tab&lt;/P&gt;&lt;P&gt;-  Maintain Distribution Model (BD64) for sender -&amp;gt;receiver system.&lt;/P&gt;&lt;P&gt;-  Create Partner Profile (WE20) for logical system.&lt;/P&gt;&lt;P&gt;-  You can use this program RBDSEMAT (t/code BD10) to generate IDoc MATMAS file(s).  &lt;/P&gt;&lt;P&gt;_  Then you can FTP the file(s) to receiver system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Upload the flat file as an IDOC on the inbound sytem &lt;/P&gt;&lt;P&gt;which is Client2(RECIEVER).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-  Create File Port (WE21) for inbound file.&lt;/P&gt;&lt;P&gt;-  Maintain Distribution Model (BD64) for receiver -&amp;gt; sender system.&lt;/P&gt;&lt;P&gt;-  Create Partner Profile (WE20) for logical system.&lt;/P&gt;&lt;P&gt;-  You can use this program RSEINB00 to upload IDoc MATMAS file(s).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample scenario for idoc generation&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt;Sending System(Outbound ALE Process)&lt;/P&gt;&lt;P&gt;Tcode SALE ? for &lt;/P&gt;&lt;P&gt;a) Define Logical System &lt;/P&gt;&lt;P&gt; b) Assign Client to Logical System&lt;/P&gt;&lt;P&gt;Tcode SM59-RFC Destination&lt;/P&gt;&lt;P&gt;Tcode  BD64 ? Create Model View&lt;/P&gt;&lt;P&gt;Tcode  BD82 ? Generate partner Profiles &amp;amp; Create Ports&lt;/P&gt;&lt;P&gt;Tcode  BD64 ? Distribute the Model view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message Type MATMAS &lt;/P&gt;&lt;P&gt;Tcode BD10 ? Send Material Data&lt;/P&gt;&lt;P&gt;Tcode WE05 ? Idoc List for watching any Errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Receiving System(Inbound ALE )&lt;/P&gt;&lt;P&gt;Tcode SALE ? for &lt;/P&gt;&lt;P&gt;a) Define Logical System &lt;/P&gt;&lt;P&gt; b) Assign Client to Logical System&lt;/P&gt;&lt;P&gt;Tcode SM59-RFC Destination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tcode BD64 ? Check for Model view whether it has distributed or not&lt;/P&gt;&lt;P&gt;Tcode BD82 -- Generate partner Profiles &amp;amp; Create Ports&lt;/P&gt;&lt;P&gt;Tcode BD11 Getting Material Data&lt;/P&gt;&lt;P&gt;Tcode WE05 ? Idoc List for inbound status codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE IDOC Steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sending System(Outbound ALE Process)&lt;/P&gt;&lt;P&gt;Tcode SALE ?3 for &lt;/P&gt;&lt;P&gt;a) Define Logical System &lt;/P&gt;&lt;P&gt;b) Assign Client to Logical System&lt;/P&gt;&lt;P&gt;Tcode SM59-RFC Destination&lt;/P&gt;&lt;P&gt;Tcode BD64 !V Create Model View&lt;/P&gt;&lt;P&gt;Tcode BD82 !V Generate partner Profiles &amp;amp; Create Ports&lt;/P&gt;&lt;P&gt;Tcode BD64 !V Distribute the Model view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is Receiving system Settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Receiving System(Inbound ALE )&lt;/P&gt;&lt;P&gt;Tcode SALE ?3 for &lt;/P&gt;&lt;P&gt;a) Define Logical System &lt;/P&gt;&lt;P&gt;b) Assign Client to Logical System&lt;/P&gt;&lt;P&gt;Tcode SM59-RFC Destination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tcode BD64 !V Check for Model view whether it has distributed or not&lt;/P&gt;&lt;P&gt;Tcode BD82 -- Generate partner Profiles &amp;amp; Create Ports&lt;/P&gt;&lt;P&gt;Tcode BD11 Getting Material Data&lt;/P&gt;&lt;P&gt;Tcode WE05 !V Idoc List for inbound status codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message Type MATMAS &lt;/P&gt;&lt;P&gt;Tcode BD10 !V Send Material Data&lt;/P&gt;&lt;P&gt;Tcode WE05 !V Idoc List for watching any Errors&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP 1)a Goto Tcode SALE&lt;/P&gt;&lt;P&gt;	Click on Sending &amp;amp; Receiving Systems--&amp;gt;Select Logical Systems&lt;/P&gt;&lt;P&gt;	Here Define Logical Systems---&amp;gt; Click on Execute Button&lt;/P&gt;&lt;P&gt;	go for new entries&lt;/P&gt;&lt;P&gt;	-System Name : ERP000&lt;/P&gt;&lt;P&gt;	-Description : Sending System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        -System Name : ERP800&lt;/P&gt;&lt;P&gt;	-Description : Receiving System&lt;/P&gt;&lt;P&gt;	press Enter &amp;amp; Save &lt;/P&gt;&lt;P&gt;	it will ask Request&lt;/P&gt;&lt;P&gt;	if you want new request create new Request orpress continue for transfering the objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B) goto Tcode SALE&lt;/P&gt;&lt;P&gt;	Select Assign Client to Logical Systems--&amp;gt;Execute&lt;/P&gt;&lt;P&gt;	000--&amp;gt; Double click on this &lt;/P&gt;&lt;P&gt;	Give the following Information&lt;/P&gt;&lt;P&gt;	-Client : ERP 000&lt;/P&gt;&lt;P&gt;	-City : &lt;/P&gt;&lt;P&gt;	-Logical System&lt;/P&gt;&lt;P&gt;	-Currency&lt;/P&gt;&lt;P&gt;	-Client role&lt;/P&gt;&lt;P&gt;	Save this Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2) For RFC Creation&lt;/P&gt;&lt;P&gt;Goto Tcode SM59--&amp;gt;Select R/3 Connects&lt;/P&gt;&lt;P&gt;	Click on Create Button&lt;/P&gt;&lt;P&gt;	RFC Destination Name should be same as partner's logical system name and case sensitive &lt;/P&gt;&lt;P&gt;	to create the ports automatically while generating the partner profiles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	give the information for required fields&lt;/P&gt;&lt;P&gt;	RFC Destination : ERP800&lt;/P&gt;&lt;P&gt;	Connection type: 3&lt;/P&gt;&lt;P&gt;	Description&lt;/P&gt;&lt;P&gt;	Target Host : ERP000&lt;/P&gt;&lt;P&gt;	System No:000&lt;/P&gt;&lt;P&gt;	lan : EN&lt;/P&gt;&lt;P&gt;	Client : 800&lt;/P&gt;&lt;P&gt;	User : Login User Name&lt;/P&gt;&lt;P&gt;	Password: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	save this &amp;amp; Test it &amp;amp; RemortLogin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP 3) Goto Tcode BD64 -- click on Change mode button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  	click on create moduleview&lt;/P&gt;&lt;P&gt;	short text : xxxxxxxxxxxxxx&lt;/P&gt;&lt;P&gt;	Technical Neme : MODEL_ALV&lt;/P&gt;&lt;P&gt;	save this &amp;amp; Press ok &lt;/P&gt;&lt;P&gt;	select your just created modelview Name :'MODEL_ALV'.&lt;/P&gt;&lt;P&gt;	goto add message type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Model Name : MODEL_ALV&lt;/P&gt;&lt;P&gt;	sender : ERP000&lt;/P&gt;&lt;P&gt;	Receiver : ERP800&lt;/P&gt;&lt;P&gt;	Message type :MATMAS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	save &amp;amp; Press Enter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP 4) Goto Tcode BD82&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Give Model View : MODEL_ALV&lt;/P&gt;&lt;P&gt;	Partner system : ERP800&lt;/P&gt;&lt;P&gt;	execute this by press F8 Button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	it will gives you sending system port No :A000000015(Like)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP 5) Goto Tcode BD64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	select the modelview&lt;/P&gt;&lt;P&gt;	goto &lt;DEL&gt;&amp;gt;edit&lt;/DEL&gt;&amp;gt;modelview--&amp;gt;distribute&lt;/P&gt;&lt;P&gt;	press ok &amp;amp; Press enter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP 6) goto Tcode : BD10 for Material sending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Material : mat_001&lt;/P&gt;&lt;P&gt;	Message Type : MATMAS&lt;/P&gt;&lt;P&gt;	Logical System : ERP800&lt;/P&gt;&lt;P&gt;	and Execute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP 7)goto Tcode : BD11 for Material Receiving&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Material : 100-300&lt;/P&gt;&lt;P&gt;	Message Type : MATMAS&lt;/P&gt;&lt;P&gt;	and Execute --&amp;gt; 1 request idoc created for message type Matmas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	press enter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Here Master Idoc set for Messge type MATMAS--&amp;gt;press Enter&lt;/P&gt;&lt;P&gt;	1 Communication Idoc generated for Message Type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to the physical directory and check your idoc converted as an XML File.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck ...Reward me for the same !!!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashok.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 12:36:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412287#M198491</guid>
      <dc:creator>ashok_kumar24</dc:creator>
      <dc:date>2006-06-14T12:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412288#M198492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following FM:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDOCS_OUTPUT_IN_XML_FORMAT     &lt;/P&gt;&lt;P&gt;                                      IDX_IDOC_TO_XML                                          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDOC_XML_DISPLAY               &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDOC_XML_TRANSFORM             &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLEFRAME_IDOC_XML1&lt;/P&gt;&lt;P&gt;           &lt;/P&gt;&lt;P&gt;TABLEPROC_IDOC_XML1            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sameena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: sameena attarwala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 12:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412288#M198492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T12:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412289#M198493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the similar kind of requirement, and I have created the XML port and assigned that port in the partner profiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The XML file is getting generated on the application server on the given path in port, however, the file contents are not complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only contains the IDOC header information. Like, IDOC number, Clinet, IDOC basic type, Message type, Sender system, creation time, creation date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the data present in the segments of IDOCs is not getting displayed in the XML file generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please guide me, if there is anything extra setting needs to be done for this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anuja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 09:04:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412289#M198493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-25T09:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412290#M198494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know, how to attach PORT to Partner Profile...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 10:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412290#M198494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-25T10:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: convert IDOC data to XML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412291#M198495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this part of code :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DATA &lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;lo_idoc &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;REF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;cl_idoc_xml1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S31"&gt;* Create Idoc Object&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CREATE &lt;/SPAN&gt;OBJECT lo_idoc&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; docnum&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;iv_docnum&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_loading_idoc &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_building_xml &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;3&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &amp;lt;&amp;gt; &lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ID &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgid &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'E' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;NUMBER &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgno&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv1 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv2 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv3 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv4&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;RAISING &lt;/SPAN&gt;no_idoc_xml_loaded&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S31"&gt;* Convert to XML&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;lo_idoc&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;get_xmldata_as_string&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data_string &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ev_xml_code&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Kind regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Pascal&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 13:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-idoc-data-to-xml-format/m-p/1412291#M198495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-28T13:33:02Z</dc:date>
    </item>
  </channel>
</rss>

