<?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: EDI: Syntax error in IDoc (segment cannot be identified) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/edi-syntax-error-in-idoc-segment-cannot-be-identified/m-p/2477315#M557751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi skk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you ! It works now .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2007 10:14:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-03T10:14:43Z</dc:date>
    <item>
      <title>EDI: Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/edi-syntax-error-in-idoc-segment-cannot-be-identified/m-p/2477313#M557749</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 created a basic type 'ZWXWIDOCTYPE' with 2 Segment type: 'ZWXWIDOC2' and 'ZWXWIDOC' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i run my program to create idoc files , it gives me an error (see with tcode  we02 ),&lt;/P&gt;&lt;P&gt;here is the error text : &lt;/P&gt;&lt;P&gt;________________________begin of text ____________________________________&lt;/P&gt;&lt;P&gt;EDI: Syntax error in IDoc (segment cannot be identified)&lt;/P&gt;&lt;P&gt;Message no. E0078&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;The segment ZWXWIDOC2 does not occur at the current level of the basic type ZWXWIDOCTYPE (extension ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error can have several reasons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The segment ZWXWIDOC2 is assigned to a group whose header segment does not occur.&lt;/P&gt;&lt;P&gt;The segment ZWXWIDOC2 does not exist in the syntax description of the basic type ZWXWIDOCTYPE (extension ).&lt;/P&gt;&lt;P&gt;The sequence of segments in the group in which the segment appears is incorrect.&lt;/P&gt;&lt;P&gt;Previous errors ('mandatory' segment or group missing) may be due to this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;Please check the IDoc or the syntax description of the basic type ZWXWIDOCTYPE (extension ).&lt;/P&gt;&lt;P&gt;_____________________end of text _______________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some of my program :&lt;/P&gt;&lt;P&gt;____________________ begin of program  _________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;control_dat-mestyp = 'ZWXWIDOCMSG'.&lt;/P&gt;&lt;P&gt;control_dat-idoctp = 'ZWXWIDOCTYPE'.&lt;/P&gt;&lt;P&gt;control_dat-rcvprt = 'LS'.&lt;/P&gt;&lt;P&gt;control_dat-rcvprn = p_logsys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gen_segment = 'ZWXWIDOC'.&lt;/P&gt;&lt;P&gt;select * into corresponding fields of gen_data&lt;/P&gt;&lt;P&gt;from ekko where ebeln = ebeln .&lt;/P&gt;&lt;P&gt;  int_edidd-segnam = gen_segment.&lt;/P&gt;&lt;P&gt;  int_edidd-sdata = gen_data.&lt;/P&gt;&lt;P&gt;  append int_edidd.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gen_segment = 'ZWXWIDOC2'.&lt;/P&gt;&lt;P&gt;select * into corresponding fields of gen_data2&lt;/P&gt;&lt;P&gt;from ekpo where ebeln = ebeln .&lt;/P&gt;&lt;P&gt;  int_edidd-segnam = gen_segment.&lt;/P&gt;&lt;P&gt;  int_edidd-sdata = gen_data2.&lt;/P&gt;&lt;P&gt;  append int_edidd.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;____________________end  of program  _________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 09:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/edi-syntax-error-in-idoc-segment-cannot-be-identified/m-p/2477313#M557749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T09:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: EDI: Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/edi-syntax-error-in-idoc-segment-cannot-be-identified/m-p/2477314#M557750</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;after adding those segments you need to release it.&lt;/P&gt;&lt;P&gt;check it menu you can see the release option, you need to release it.&lt;/P&gt;&lt;P&gt;then only it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer the link&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=3611132&amp;amp;messageID=1232098" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=3611132&amp;amp;messageID=1232098&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 10:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/edi-syntax-error-in-idoc-segment-cannot-be-identified/m-p/2477314#M557750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T10:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: EDI: Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/edi-syntax-error-in-idoc-segment-cannot-be-identified/m-p/2477315#M557751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi skk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you ! It works now .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 10:14:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/edi-syntax-error-in-idoc-segment-cannot-be-identified/m-p/2477315#M557751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T10:14:43Z</dc:date>
    </item>
  </channel>
</rss>

