<?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: How to upload idoc data ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-upload-idoc-data/m-p/7532845#M1561686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rachel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would use the XML format to export and import your IDoc data (e.g. upload via fm IDOC_XML_FROM_FILE).&lt;/P&gt;&lt;P&gt;The XML-IDoc is quite readable for proficient users who need to modify its contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a simple &lt;EM&gt;XML diff&lt;/EM&gt; analysis between the original and modified XML-IDoc will show you every change in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jan 2011 06:59:24 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2011-01-11T06:59:24Z</dc:date>
    <item>
      <title>How to upload idoc data ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-upload-idoc-data/m-p/7532843#M1561684</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;&lt;/P&gt;&lt;P&gt;I have downloaded idoc in text file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. for this i have passed the document number in IDOC_READ_COMPLETELY.&lt;/P&gt;&lt;P&gt;2. from the above i got the control records and data records .&lt;/P&gt;&lt;P&gt;3. i have appended both in  internal table.&lt;/P&gt;&lt;P&gt;4. then i have downloaded in flat file.&lt;/P&gt;&lt;P&gt;5. the user requirement is the downlaoded file can be modified and again i need to upload.&lt;/P&gt;&lt;P&gt;6 . my question is how to read the uploaded data in flat file.( all data comes in one column , how to separate control record and data record)&lt;/P&gt;&lt;P&gt;7. how to know what data has been updated in flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to resolve the above prob..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code :&lt;/P&gt;&lt;P&gt;data :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_data TYPE ZTABLE  ,      "(line type char (1063)&lt;/P&gt;&lt;P&gt;wa_data LIKE LINE OF IT_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     MOVE-CORRESPONDING WA_IDOC_CONTROL TO WA_EDI_DC40.                             " control record&lt;/P&gt;&lt;P&gt;          WA_EDI_DC40-TABNAM = 'EDI_DC40'.&lt;/P&gt;&lt;P&gt;          WA_EDI_DC40-IDOCTYP = WA_IDOC_CONTROL-IDOCTP.&lt;/P&gt;&lt;P&gt;          WA_itab = WA_EDI_DC40.&lt;/P&gt;&lt;P&gt;          APPEND WA_itab TO IT_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          LOOP AT IT_EDIDD INTO WA_EDIDD.                                          " data record&lt;/P&gt;&lt;P&gt;            MOVE-CORRESPONDING WA_EDIDD TO WA_EDI_DD40.&lt;/P&gt;&lt;P&gt;            WA_itab= WA_EDI_DD40.&lt;/P&gt;&lt;P&gt;            APPEND WA_itab TO IT_itab&lt;/P&gt;&lt;P&gt;          ENDLOOP.&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;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 13:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-upload-idoc-data/m-p/7532843#M1561684</guid>
      <dc:creator>former_member321825</dc:creator>
      <dc:date>2011-01-10T13:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload idoc data ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-upload-idoc-data/m-p/7532844#M1561685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you either haven't downloaded it correctly or the user isn't maintaining the integrity of the file.  If you keep the CRLF's intact, then it's not an issue.  The upload and read should be easy, whether it's local or from the app server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 19:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-upload-idoc-data/m-p/7532844#M1561685</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-01-10T19:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload idoc data ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-upload-idoc-data/m-p/7532845#M1561686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rachel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would use the XML format to export and import your IDoc data (e.g. upload via fm IDOC_XML_FROM_FILE).&lt;/P&gt;&lt;P&gt;The XML-IDoc is quite readable for proficient users who need to modify its contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a simple &lt;EM&gt;XML diff&lt;/EM&gt; analysis between the original and modified XML-IDoc will show you every change in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 06:59:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-upload-idoc-data/m-p/7532845#M1561686</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2011-01-11T06:59:24Z</dc:date>
    </item>
  </channel>
</rss>

