<?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 Problem with Shared Buffers in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-shared-buffers/m-p/8376188#M1642425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My development worked fine with shared buffers, but I cannot use that now because the quality and production environments are multi-server. Is there an effective way to move the data?&lt;/P&gt;&lt;P&gt;So far I have two possible solutions: a custom database table to use as a buffer, or writing to a file and then reading it. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason the code worked well in Development Box is that it uses single server. Quality and Production has more than one server and the update task is not guaranteed to happen in the same server as the transaction. That might explain why it updated once(Iu2019m assuming mb1c was open before the change was transported) when bapi_transaction_commit was added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel Basora&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Nov 2011 17:40:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-01T17:40:27Z</dc:date>
    <item>
      <title>Problem with Shared Buffers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-shared-buffers/m-p/8376188#M1642425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My development worked fine with shared buffers, but I cannot use that now because the quality and production environments are multi-server. Is there an effective way to move the data?&lt;/P&gt;&lt;P&gt;So far I have two possible solutions: a custom database table to use as a buffer, or writing to a file and then reading it. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason the code worked well in Development Box is that it uses single server. Quality and Production has more than one server and the update task is not guaranteed to happen in the same server as the transaction. That might explain why it updated once(Iu2019m assuming mb1c was open before the change was transported) when bapi_transaction_commit was added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel Basora&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 17:40:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-shared-buffers/m-p/8376188#M1642425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-01T17:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Shared Buffers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-shared-buffers/m-p/8376189#M1642426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you may consider ABAP shared objects using transactional Areas and propagation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactional Areas are specified at design time using transaction SHMA. &lt;/P&gt;&lt;P&gt;Propagation is done via invalidation using the PROPAGATE methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:
  root type ref to zcl_my_area_root,
  hdl type ref to zcl_my_area.
  hdl = zcl_my_area=&amp;gt; attach_for_write( ).
  create object root area handle hdl.
  hdl-&amp;gt;set_root( root ).hdl-&amp;gt; detach_commit( ).
  zcl_my_area=&amp;gt; propagate_instance( ).
  commit work.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 21:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-shared-buffers/m-p/8376189#M1642426</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-11-01T21:17:49Z</dc:date>
    </item>
  </channel>
</rss>

