<?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 read IDOC data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005990#M710280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all my friends,&lt;/P&gt;&lt;P&gt;I am new on ABAP development.&lt;/P&gt;&lt;P&gt;now, i am trying to read IDOC data into SAP-SD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me to share your experience, documents, sample code !&lt;/P&gt;&lt;P&gt;many thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Quoc Luc Nguyen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2007 09:16:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-07T09:16:34Z</dc:date>
    <item>
      <title>read IDOC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005990#M710280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all my friends,&lt;/P&gt;&lt;P&gt;I am new on ABAP development.&lt;/P&gt;&lt;P&gt;now, i am trying to read IDOC data into SAP-SD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me to share your experience, documents, sample code !&lt;/P&gt;&lt;P&gt;many thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Quoc Luc Nguyen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 09:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005990#M710280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T09:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: read IDOC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005991#M710281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Quoc Luc Nguyen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls provide more info:&lt;/P&gt;&lt;P&gt;Is the IDoc in your ECC (or R/3) system or r u trying to bring it from outside/another system to your system?&lt;/P&gt;&lt;P&gt;If it's in your system, r u trying to process it through the standard way or do u want to read its content?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Igal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 12:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005991#M710281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T12:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: read IDOC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005992#M710282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Igal,&lt;/P&gt;&lt;P&gt;I am using ECC system.&lt;/P&gt;&lt;P&gt;i am trying to import IDOC file from other system (non-SAP system).&lt;/P&gt;&lt;P&gt;i want o read content of IDOC file, then i will import data into my system (ECC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank for your time !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 14:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005992#M710282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T14:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: read IDOC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005993#M710283</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 follow up this link and it will provide u the basic knowledge of performing it step by step:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://saptechnical.com/Tutorials/ALE/ALEMainPage.htm" target="test_blank"&gt;http://saptechnical.com/Tutorials/ALE/ALEMainPage.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u find it useful den go give points also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ric.s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 05:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005993#M710283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T05:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: read IDOC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005994#M710284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Quoc Luc Nguyen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still did not understand if the IDoc is now in your ECC - can find your idoc in WE05?&lt;/P&gt;&lt;P&gt;If not and it's in another system or on your file system then u should configure an ALE scenario (search for ALE scenario, u'll find tons of detailed info) or use tools such as lsmw.&lt;/P&gt;&lt;P&gt;If u found it, the idoc data is stored in 2 tables: edidc - for control data (number, status, partners/ports etc) and edid4 (as of ver. 4.0 and higher) for the actual data (its content). The best way to get the data is to use FM EDI_SEGMENTS_GET_ALL (u have 2 use EDI_DOCUMENT_OPEN_FOR_READ b4 and EDI_DOCUMENT_CLOSE_READ after) by the idoc number. The data is returned in the table IDOC_CONTAINERS which is also by the same logic as in db table EDID4: the data is concatenated in field SDATA, by the structure that is written in field SEGNAM (in your data declaration create a structure of the type of what's written in SEGNAM and then move SDATA to it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward points if helps&lt;/P&gt;&lt;P&gt;Igal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Nov 2007 09:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-idoc-data/m-p/3005994#M710284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-11T09:22:00Z</dc:date>
    </item>
  </channel>
</rss>

