<?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: Outbound Idoc Segment Hierarchy Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942119#M1965702</link>
    <description>&lt;P&gt;Hi Nawanandana,&lt;/P&gt;&lt;P&gt; Thank you for you response!! Issue got resolved.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ishwarya&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 11:22:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2019-05-20T11:22:50Z</dc:date>
    <item>
      <title>Outbound Idoc Segment Hierarchy Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942115#M1965698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;My requirement is to populate the child segments under standard segment E1EDK02 and qualf '014'. But after added my code, Idoc is getting failed with error '24' and the Idoc segments are all messed up (every segment appearing at hierarchy level 1) Please help with this as it's pretty urgent!. ( I Have created the segments in we31 and extended in proper place by using we30&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1684515-idoc.png" /&gt;&lt;/P&gt;
  &lt;P&gt;and I have checked in we19 ( Hierarchy level is appearing as required)&lt;/P&gt;
  &lt;P&gt;IF ls_zcputm IS NOT INITIAL.&lt;BR /&gt; CLEAR: ls_edidd_egts,ls_edidd_temp_tr00_egts.&lt;BR /&gt; ls_edidd_egts-segnam = lc_zcputm.&lt;BR /&gt; ls_edidd_egts-sdata = ls_zcputm.&lt;BR /&gt; ls_edidd_egts-hlevel = 3.&lt;BR /&gt; CLEAR : ls_edidd_temp_tr00_egts.&lt;BR /&gt; READ TABLE int_edidd INTO ls_edidd_temp_tr00_egts WITH KEY segnam = lc_e1edk02&lt;BR /&gt; sdata(3) = lc_014.&lt;BR /&gt; IF sy-subrc = 0.&lt;BR /&gt; lv2_index = sy-tabix + 1. &lt;BR /&gt; INSERT ls_edidd_egts INTO int_edidd INDEX lv2_index.&lt;BR /&gt; ENDIF.&lt;BR /&gt; ENDIF.&lt;BR /&gt; IF ls_ztr00_igso_qtca IS NOT INITIAL.&lt;BR /&gt; CLEAR: ls_edidd_egts,ls_edidd_temp_tr00_egts.&lt;BR /&gt; ls_edidd_egts-segnam = lc_ztr00_igso_qtca.&lt;BR /&gt; ls_edidd_egts-sdata = ls_ztr00_igso_qtca.&lt;BR /&gt; ls_edidd_egts-hlevel = 3.&lt;BR /&gt; CLEAR: ls_edidd_temp_tr00_egts.&lt;BR /&gt; * lv2_index = sy-tabix + 1.&lt;BR /&gt; READ TABLE int_edidd INTO ls_edidd_temp_tr00_egts INDEX lv2_index.&lt;BR /&gt; * WITH KEY segnam = lc_e1edk02&lt;BR /&gt; * sdata(3) = lc_014.&lt;BR /&gt; IF sy-subrc = 0.&lt;BR /&gt; lv2_index = sy-tabix + 1. &lt;BR /&gt; INSERT ls_edidd_egts INTO int_edidd INDEX lv2_index .&lt;BR /&gt; ENDIF.&lt;BR /&gt; ENDIF.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 11:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942115#M1965698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-15T11:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Outbound Idoc Segment Hierarchy Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942116#M1965699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You should debug the program, this might be happen because of additional line item or additional data which is no  segments like E1EDK01,  during the loop.&lt;/P&gt;&lt;P&gt;I guess you know how to debug the IDOC .(Reprocess IDOC program RSNAST0D, and Go to WE20 and find FM to debug its under process code)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nawa. &lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 13:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942116#M1965699</guid>
      <dc:creator>Nawanandana</dc:creator>
      <dc:date>2019-05-15T13:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Outbound Idoc Segment Hierarchy Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942117#M1965700</link>
      <description>&lt;P&gt;Hi Nawanandana,&lt;/P&gt;&lt;P&gt; I tried and i didn't find any additional line item during the loop and I can see the expected structure in we19 as well. Could you please suggest is there any other way to resolve this issue&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 09:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942117#M1965700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-17T09:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Outbound Idoc Segment Hierarchy Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942118#M1965701</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;According to me debug is only possible way to figure it out , kindly check in the custom program, are they pass hierarchy level properly.  try to change this ls_edidd_egts-hlevel= '03'.&lt;/P&gt;&lt;P&gt;kindly check this code  working properly or not .  INSERT ls_edidd_egts INTO int_edidd INDEX lv2_index .&lt;/P&gt;&lt;P&gt;I mean "lv2_index".&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nawa&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 14:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942118#M1965701</guid>
      <dc:creator>Nawanandana</dc:creator>
      <dc:date>2019-05-17T14:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Outbound Idoc Segment Hierarchy Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942119#M1965702</link>
      <description>&lt;P&gt;Hi Nawanandana,&lt;/P&gt;&lt;P&gt; Thank you for you response!! Issue got resolved.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ishwarya&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 11:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-idoc-segment-hierarchy-problem/m-p/11942119#M1965702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-20T11:22:50Z</dc:date>
    </item>
  </channel>
</rss>

