<?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: Adding segments in idoc. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780165#M1585347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Wolfgang Valtin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the exit EXIT_SAPLEINM_011 to add the missing segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2011 18:50:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-04-11T18:50:04Z</dc:date>
    <item>
      <title>Adding segments in idoc.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780161#M1585343</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 have a requirement to add segments that have not changed along with the changed segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;line item 1 has been changed so the line item segment is sent. I would need also the long text associated to the line item 1 to be sent along with it even if the long text has not been changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking at the exit EXIT_SAPLEINM_011 but can see how I can add a segment in this area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to be able to see witch segment are going to be sent to be able to know witch segments to add.&lt;/P&gt;&lt;P&gt;Is there a flag or indicator that will tell me witch segments are going to be sent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MY partner type LS is PARTNER_PI with outbound ORDCHG using idoc type ORDERS01 and message control EF ZNEM ME11 and the change is checked. ZNEM is type 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 13:54:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780161#M1585343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T13:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding segments in idoc.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780162#M1585344</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;in the EXIT_SAPLEINM_011 - exit you get the table dint_edidd .&lt;/P&gt;&lt;P&gt;There are all segments of the idoc which will be sent.&lt;/P&gt;&lt;P&gt;It's the last exit located where the idoc-data is completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think you would have to read this table and to manipilate it.&lt;/P&gt;&lt;P&gt;Be careful - the exit is also in use for other MM-Idocs than ORDCHG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 14:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780162#M1585344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T14:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding segments in idoc.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780163#M1585345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to be able to see witch segment are going to be sent to be able to know witch segments to add.&lt;/P&gt;&lt;P&gt;Is there a flag or indicator that will tell me witch segments are going to be sent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check these badi's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDOC_DATA_MAPPER - Preparing Internal Data Mappng&lt;/P&gt;&lt;P&gt;IDOC_DATA_INSERT - for inserting segements - &lt;/P&gt;&lt;P&gt;IDOC_COPY_MANAGE - BAdI for Modifying the Outbound IDocs that can be Copied&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 16:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780163#M1585345</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-03-11T16:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding segments in idoc.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780164#M1585346</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 am trying to use IDOC_DATA_INSERT without succes.&lt;/P&gt;&lt;P&gt;Here is what I am doing.&lt;/P&gt;&lt;P&gt;A point in the right direction would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE data LINES lv_counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_line_new-SEGNUM  = lv_counter.&lt;/P&gt;&lt;P&gt;lv_line_new-COUNTER = '000'.&lt;/P&gt;&lt;P&gt;lv_line_new-SEGNAM  = 'E1EDPT1'.&lt;/P&gt;&lt;P&gt;lv_line_new-SDATA   = 'F01 F  FR'.&lt;/P&gt;&lt;P&gt;append lv_line_new to new_entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_line_new-SEGNUM  = lv_counter.&lt;/P&gt;&lt;P&gt;lv_line_new-COUNTER = '000'.&lt;/P&gt;&lt;P&gt;lv_line_new-SEGNAM  = 'E1EDPT2'.&lt;/P&gt;&lt;P&gt;lv_line_new-SDATA   = 'totototototot'.&lt;/P&gt;&lt;P&gt;append lv_line_new to new_entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have_to_change = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no changes to the idoc.&lt;/P&gt;&lt;P&gt;What am I doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The segments I need to add are the ones for the long text of the line item of a purchase order.&lt;/P&gt;&lt;P&gt;So I need to add the segment E1EDPT1 and E1EDPT2 even if they have not changed by the user in me23n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 18:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780164#M1585346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-18T18:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding segments in idoc.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780165#M1585347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Wolfgang Valtin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the exit EXIT_SAPLEINM_011 to add the missing segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Curtis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 18:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-segments-in-idoc/m-p/7780165#M1585347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-11T18:50:04Z</dc:date>
    </item>
  </channel>
</rss>

