<?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: Inbound Idoc processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-idoc-processing/m-p/3232251#M771045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pedro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's necessary to have MAT1 and MAT2 segments in this order you should add a dummy segment in between:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+Seg_header (custumer number)&lt;/P&gt;&lt;P&gt;+++Dummy segment (occurs 0-n)&lt;/P&gt;&lt;P&gt;++++Seg_item1(material information)&lt;/P&gt;&lt;P&gt;++++Seg_item 2(material information)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to keep the structure as it is you should first add all the MAT1 segments and then the MAT2 segments.&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2008 14:04:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-07T14:04:37Z</dc:date>
    <item>
      <title>Inbound Idoc processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-idoc-processing/m-p/3232250#M771044</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;&lt;/P&gt;&lt;P&gt;i define a new idoc type where several segments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+Seg_header (custumer number)&lt;/P&gt;&lt;P&gt;++++Seg_item1(material information)&lt;/P&gt;&lt;P&gt;++++Seg_item 2(material information)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calling function  FM&lt;/P&gt;&lt;P&gt;IDOC_INBOUND_ASYNCHRONOUS with the following data, the IDOC is created sucessfully:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer A, and material information MAT1 and MAT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+A&lt;/P&gt;&lt;P&gt;++++MAT1&lt;/P&gt;&lt;P&gt;++++MAT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When trying to double the lines inside segment Header the error code 60 is raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;+A&lt;/P&gt;&lt;P&gt;++++MAT1&lt;/P&gt;&lt;P&gt;++++MAT2&lt;/P&gt;&lt;P&gt;++++MAT1(for a diferente material)&lt;/P&gt;&lt;P&gt;++++MAT2(for a diferent material)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone knows what's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works if i put the following (but i don't want this scenario, because if i have 30 materials for the same customer i will repeat 30 times the header data):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+A&lt;/P&gt;&lt;P&gt;++++MAT1&lt;/P&gt;&lt;P&gt;++++MAT2&lt;/P&gt;&lt;P&gt;+A&lt;/P&gt;&lt;P&gt;++++MAT1(for a diferente material)&lt;/P&gt;&lt;P&gt;++++MAT2(for a diferent material)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pedro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 13:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-idoc-processing/m-p/3232250#M771044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T13:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inbound Idoc processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-idoc-processing/m-p/3232251#M771045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pedro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's necessary to have MAT1 and MAT2 segments in this order you should add a dummy segment in between:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+Seg_header (custumer number)&lt;/P&gt;&lt;P&gt;+++Dummy segment (occurs 0-n)&lt;/P&gt;&lt;P&gt;++++Seg_item1(material information)&lt;/P&gt;&lt;P&gt;++++Seg_item 2(material information)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to keep the structure as it is you should first add all the MAT1 segments and then the MAT2 segments.&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 14:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inbound-idoc-processing/m-p/3232251#M771045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T14:04:37Z</dc:date>
    </item>
  </channel>
</rss>

