<?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: 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/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557150#M2007295</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;So do I need to have in the debugger the name of the extension to avoid the error? Do I have to add this in we57? When I was debugging the user exit this value is empty and I don't know how to make that the extension is in that header field. &lt;/P&gt;</description>
    <pubDate>Sun, 14 Nov 2021 17:08:39 GMT</pubDate>
    <dc:creator>former_member588188</dc:creator>
    <dc:date>2021-11-14T17:08:39Z</dc:date>
    <item>
      <title>Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557145#M2007290</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I have checked several posts related to the same error. I modified it and it is still giving me the same error message. So hopefully you can help me.&lt;/P&gt;
  &lt;P&gt;I have created an extension of a segment.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1993751-extension.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;After that I am added the code in the user exit ZXEDFU02. The code appends the value in the table just at the end of segment E1EDP26. &lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1993752-idoc1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Even if I did all that, I get the message that the segment cannot be identified.&lt;/P&gt;
  &lt;P&gt;Please help me with this issue. I watched videos on youtube, I was doing step by step everything. And it shows the error.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 10:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557145#M2007290</guid>
      <dc:creator>former_member588188</dc:creator>
      <dc:date>2021-11-14T10:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557146#M2007291</link>
      <description>&lt;P&gt;The IDoc Control Record must refer to the extension ZINVOIC26, I guess there must be a user exit so that you can fill the extension name.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 11:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557146#M2007291</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-11-14T11:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557147#M2007292</link>
      <description>&lt;P&gt;Hi Sandra, &lt;/P&gt;&lt;P&gt;do you mean in WE82? It was already done and not working. &lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 12:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557147#M2007292</guid>
      <dc:creator>former_member588188</dc:creator>
      <dc:date>2021-11-14T12:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557148#M2007293</link>
      <description>&lt;P&gt;Please use the COMMENT button for comments, questions, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 16:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557148#M2007293</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-11-14T16:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557149#M2007294</link>
      <description>&lt;P&gt;The IDoc Control Record is the header of the IDoc (like the segments are the body of the IDoc), in table EDIDC. The concerned field is CIMTYP.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 16:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557149#M2007294</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-11-14T16:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557150#M2007295</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;So do I need to have in the debugger the name of the extension to avoid the error? Do I have to add this in we57? When I was debugging the user exit this value is empty and I don't know how to make that the extension is in that header field. &lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 17:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557150#M2007295</guid>
      <dc:creator>former_member588188</dc:creator>
      <dc:date>2021-11-14T17:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in IDoc (segment cannot be identified)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557151#M2007296</link>
      <description>&lt;P&gt;A custom segment in an IDoc is valid only if the IDoc has its control record referring to an extension which contains this custom segment (in your case, extension ZINVOIC26 contains Z1EDP26).&lt;/P&gt;&lt;P&gt;So, additionally to ZXEDFU02, you must also implement ZXEDFU01:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONTROL_RECORD_OUT-CIMTYP = 'Z1EDP26'.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 14 Nov 2021 18:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-idoc-segment-cannot-be-identified/m-p/12557151#M2007296</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-11-14T18:46:44Z</dc:date>
    </item>
  </channel>
</rss>

