<?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: Using an idoc segment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4837000#M1131528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2008 21:06:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-12T21:06:44Z</dc:date>
    <item>
      <title>Using an idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836992#M1131520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an extension of ORDERS02 called ZORDERS1.  In ZORDERS1 I am trying to fill in the segments E1EDPA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a case statement in my user exit that creates the idoc and it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;case int_edidd-segnam.

when 'E1EDPA1'.
* code to fill the segment&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for some reason int_edidd-segnam never equals E1EDPA1.  When I look at ZORDERS1 in WE30 I can see that E1EDPA1 exists within the idoc.  So what do I need to do to get SAP to recognize that I need to fill that segment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 20:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836992#M1131520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T20:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using an idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836993#M1131521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt, Did u check in the Idoc Reduction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 20:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836993#M1131521</guid>
      <dc:creator>former_member187255</dc:creator>
      <dc:date>2008-11-18T20:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using an idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836994#M1131522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The segment exists and I am not trying to reduce it.  I'm try to have RSNAST00 and my user exit fill it in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to this.  This is my first time attempting to add data to a segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is:&lt;/P&gt;&lt;P&gt;How do I tell RSNAST00 that it needs to include E1EDPA1 within E1EDP01 so I can use my "Case" statement to fill the segment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 21:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836994#M1131522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T21:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using an idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836995#M1131523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two possible explanations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Segment E1EDPA1 is not yet filled in your user-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) You need to LOOP over the segment itab until you reach segment E1EDPA1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: ls_edidd    TYPE edidd.

  LOOP AT int_edidd INTO ls_edidd
            WHERE ( segnam = 'E1EDPA1' ).
   ... " your coding here
  ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&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, 18 Nov 2008 21:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836995#M1131523</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-11-18T21:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using an idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836996#M1131524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Part of the process RSNAST00 does is it builds an internal table with each segment (int_edidd-segnam).  Everytime a segment is proposed it checks my user exit to see if I have some code that will fill in the segment fields.  My problem is that SAP is not proposing E1EDPA1 and therefore it is not appearing in the int_edidd table.  I'm trying to figure out what I need to do so the internal table will include the segment I need to fill (E1EDPA1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 21:41:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836996#M1131524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T21:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using an idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836997#M1131525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is that you are using a wrong user exit, thus not hitting the condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 21:44:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836997#M1131525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T21:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using an idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836998#M1131526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My first mistake was trying to use the wrong idoc segment E1EDPA1 instead of our custom segment Z1EDPA1 that was already in place.  Secondly, I needed to find the correct user exit for my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 20:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836998#M1131526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T20:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using an idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836999#M1131527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the ORDERS IDoc an inbound or outbound?? Because they use different user exits to fill in the extended segments.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 20:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4836999#M1131527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T20:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using an idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4837000#M1131528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 21:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-an-idoc-segment/m-p/4837000#M1131528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T21:06:44Z</dc:date>
    </item>
  </channel>
</rss>

