<?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: Inside Customer_function, container is loaded automatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inside-customer-function-container-is-loaded-automatically/m-p/7887658#M1595488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, the Idoc loading function and customer-exits function belong to different function group, so the container with the same name in these two funcitons are not the same one. This lead to the error.&lt;/P&gt;&lt;P&gt;Your advice is right and can solve this problem, thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jun 2011 02:43:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-02T02:43:30Z</dc:date>
    <item>
      <title>Inside Customer_function, container is loaded automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inside-customer-function-container-is-loaded-automatically/m-p/7887656#M1595486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I encounter a strange issue, can't figure it out. &lt;/P&gt;&lt;P&gt;Basically I load inbounding idoc to create a new Sales Order.&lt;/P&gt;&lt;P&gt;1. I load Idoc A to create sales order A in WE19, after SO A creation, I keep it on WE19 initial screen.&lt;/P&gt;&lt;P&gt;2. Then I create another session and the same to load idoc B to create Sales order B.&lt;/P&gt;&lt;P&gt;3. During Sales Order B createion, I debug it, outside customer-function EXIT_SAPLVEDA_001, internal table container xe1edpt2 is initial which is cleard by system program for every Idoc loading.&lt;/P&gt;&lt;P&gt;    But don't know why once it is inside customer-function EXIT_SAPLVEDA_001, Idoc A's corresponding data is loaded into xe1edpt2 automatically, and of course when my code is reached in EXIT_SAPLVEDA_001, Idoc A and Idoc B's data are all in xe1edpt2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it must be related to memory, but I don't know the reason:&lt;/P&gt;&lt;P&gt;1. Before program reach EXIT_SAPLVEDA_001, xe1edpt2 is initial.&lt;/P&gt;&lt;P&gt;2. there is no local xe1edpt2 in  EXIT_SAPLVEDA_001, it is global container.&lt;/P&gt;&lt;P&gt;3. When program reaches EXIT_SAPLVEDA_001, last Idoc's data will be automatially loaded into table xe1edpt2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is really strange. Is there anybody encounter this issue before? What is the reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 10:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inside-customer-function-container-is-loaded-automatically/m-p/7887656#M1595486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T10:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inside Customer_function, container is loaded automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inside-customer-function-container-is-loaded-automatically/m-p/7887657#M1595487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Derek,&lt;/P&gt;&lt;P&gt;bit of a longshot, but a guess from me is&lt;/P&gt;&lt;P&gt; (SAPLXVED)xe1edkt2  is filled with the previous IDOC data&lt;/P&gt;&lt;P&gt; (SAPLVEDA)xe1edkt2  is empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programs SAPLVEDA and SAPLXVED do not share the data one with other&lt;/P&gt;&lt;P&gt;so that clearing/refreshing the internal table xe1edkt2 in the standard&lt;/P&gt;&lt;P&gt;coding (SAPLVEDA) does not lead to clearing/refreshing the table in the&lt;/P&gt;&lt;P&gt;customer-specific coding (SAPLXVED).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve the problem you have to clear/refresh this table in the&lt;/P&gt;&lt;P&gt;customer coding (SAPLXVED) by yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Paul Q&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 12:38:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inside-customer-function-container-is-loaded-automatically/m-p/7887657#M1595487</guid>
      <dc:creator>paul_quinn</dc:creator>
      <dc:date>2011-05-27T12:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inside Customer_function, container is loaded automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inside-customer-function-container-is-loaded-automatically/m-p/7887658#M1595488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, the Idoc loading function and customer-exits function belong to different function group, so the container with the same name in these two funcitons are not the same one. This lead to the error.&lt;/P&gt;&lt;P&gt;Your advice is right and can solve this problem, thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 02:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inside-customer-function-container-is-loaded-automatically/m-p/7887658#M1595488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-02T02:43:30Z</dc:date>
    </item>
  </channel>
</rss>

