<?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 Possible import from shared buffer problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/possible-import-from-shared-buffer-problem/m-p/7088648#M1506926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi/Hola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In English :-):&lt;/P&gt;&lt;P&gt;The scenario of the problem is this:&lt;/P&gt;&lt;P&gt;  I created some fields in a standard transaction (iw32) using a user exit exit. This exit I keep some information in a buffer with export to shared buffer, and when the user saves, in a badi running on an update process (when the commit occurs), called workorderupdate-update, I make the import from shared buffer and collect the information to save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to work fine on development machines, but in production has not always been so. It seems that when SAP is configured with a single server, always works fine, but when configured with multiple servers (I guess to balance workload), does not always work correctly, sometimes not recording data. Looking for debug seems to always work and there is no error in the program, so all I can think of is thinking that the import does not work well when I have more than one server. Is this possible? Is it possible that the export is made to shared buffer on a server and that doing the import is in another and not find it?, I mean no, but that's all I can think of for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I appreciate any suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En español &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; :&lt;/P&gt;&lt;P&gt;  El escenario del problema es este:&lt;/P&gt;&lt;P&gt;  He creado unos campos en una transacción estandard (iw32) con una exit. En esta exit me guardo cierta información en un buffer con export to shared buffer, y en una badi que se ejecuta en un proceso de actualización (cuando se produce el commit), llamada workorderupdate-update, hago el import form shared buffer y recojo la información para grabarla.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esto parece funcionar bien en máquinas de desarrollo, pero en productivo se ha visto que no siempre es así. Parece que cuando SAP está configurado con un único servidor, funciona siempre bien, pero cuando está configurado con varios servidores ( supongo que para balancear carga de trabajo ), no siempre funciona correctamente, hay veces que no se graban los datos. Viéndolo por debug parece que siempre funciona y no hay error en el programa, así que lo único que se me ocurre es pensar que el import no funciona bien cuando tengo más de un servidor. ¿Es esto posible? ¿Es posible que el export to shared buffer se haga en un servidor y que al hacer el import esté en otro y no lo encuentre?, pienso que no, pero es lo único que se me ocurre de momento.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Agradezco cualquier sugerencia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jul 2010 14:57:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-08T14:57:41Z</dc:date>
    <item>
      <title>Possible import from shared buffer problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/possible-import-from-shared-buffer-problem/m-p/7088648#M1506926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi/Hola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In English :-):&lt;/P&gt;&lt;P&gt;The scenario of the problem is this:&lt;/P&gt;&lt;P&gt;  I created some fields in a standard transaction (iw32) using a user exit exit. This exit I keep some information in a buffer with export to shared buffer, and when the user saves, in a badi running on an update process (when the commit occurs), called workorderupdate-update, I make the import from shared buffer and collect the information to save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to work fine on development machines, but in production has not always been so. It seems that when SAP is configured with a single server, always works fine, but when configured with multiple servers (I guess to balance workload), does not always work correctly, sometimes not recording data. Looking for debug seems to always work and there is no error in the program, so all I can think of is thinking that the import does not work well when I have more than one server. Is this possible? Is it possible that the export is made to shared buffer on a server and that doing the import is in another and not find it?, I mean no, but that's all I can think of for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I appreciate any suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En español &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; :&lt;/P&gt;&lt;P&gt;  El escenario del problema es este:&lt;/P&gt;&lt;P&gt;  He creado unos campos en una transacción estandard (iw32) con una exit. En esta exit me guardo cierta información en un buffer con export to shared buffer, y en una badi que se ejecuta en un proceso de actualización (cuando se produce el commit), llamada workorderupdate-update, hago el import form shared buffer y recojo la información para grabarla.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esto parece funcionar bien en máquinas de desarrollo, pero en productivo se ha visto que no siempre es así. Parece que cuando SAP está configurado con un único servidor, funciona siempre bien, pero cuando está configurado con varios servidores ( supongo que para balancear carga de trabajo ), no siempre funciona correctamente, hay veces que no se graban los datos. Viéndolo por debug parece que siempre funciona y no hay error en el programa, así que lo único que se me ocurre es pensar que el import no funciona bien cuando tengo más de un servidor. ¿Es esto posible? ¿Es posible que el export to shared buffer se haga en un servidor y que al hacer el import esté en otro y no lo encuentre?, pienso que no, pero es lo único que se me ocurre de momento.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Agradezco cualquier sugerencia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 14:57:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/possible-import-from-shared-buffer-problem/m-p/7088648#M1506926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-08T14:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Possible import from shared buffer problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/possible-import-from-shared-buffer-problem/m-p/7088649#M1506927</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 think it has nothing to do with servers and load balancing, when things are going well in debugger its becoz of the wait time that you take to hit the F8 key its working fine... so try keeping a wait time of say 1 second and see if it works, if not make it 2 and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 15:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/possible-import-from-shared-buffer-problem/m-p/7088649#M1506927</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2010-07-08T15:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Possible import from shared buffer problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/possible-import-from-shared-buffer-problem/m-p/7088650#M1506928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOu're correct in that multiple servers can cause a problem...shared objects/memory are limited to user context at worst, server at best, but there are some good tools:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider transactions SHMM, SHMA (Shared Objects) with propagate or research use of INDX-type tables...export to the INDX-type, import from INDX-type....  this gets around the multiple server problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 17:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/possible-import-from-shared-buffer-problem/m-p/7088650#M1506928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-08T17:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Possible import from shared buffer problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/possible-import-from-shared-buffer-problem/m-p/7088651#M1506929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I did not read correctly the help documentation relating to export / import. The documentation says that it is within the scope of each application server, or so I understand, so finally I'll change the "export to shared buffer to indx(st)" to "export to database indx(st)". I guess that will solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 11:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/possible-import-from-shared-buffer-problem/m-p/7088651#M1506929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T11:11:56Z</dc:date>
    </item>
  </channel>
</rss>

