<?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: BAPI_MATERIAL_MAINTAINDATA_RT not updating table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648852#M1763903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have 'X' in the proper X tables?&lt;/P&gt;&lt;P&gt;For example, if yo want to change something in CLIENTDATA, then you have to put X's in the right fields in CLIENTDATAX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also are you checking the value of RETURN?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that's not it, you might want to let us see a snippet of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2013 16:40:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-14T16:40:48Z</dc:date>
    <item>
      <title>BAPI_MATERIAL_MAINTAINDATA_RT not updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648849#M1763900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I have beeing trying to find the solution for this stange problem,&lt;/P&gt;&lt;P&gt;I have this BAPI : BAPI_MATERIAL_MAINTAINDATA_RT which i ma using&amp;nbsp; to update the table.&lt;/P&gt;&lt;P&gt;now the issues is when i run the IDOC that does this update, it is not updating the table every time, instead it does it at some random time.&lt;/P&gt;&lt;P&gt;But when I go into debug mode, it does updates the table every time.&lt;/P&gt;&lt;P&gt;I konw the debugg has something called implicit commit which updates it.&lt;/P&gt;&lt;P&gt;after the BAPI call I have call BAPI_TRANSCATION_COMMIT with wait = 'X' and once with wait = '5' as well.&lt;BR /&gt;also tried using wait up to 5 seconds insted of above call &amp;amp; tried commit and wait too &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1700/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but its of no use.&lt;/P&gt;&lt;P&gt;It does not updates the table, it does but at very random time, but in dubug it always does.&lt;/P&gt;&lt;P&gt;Is that any soultion to this problem?&lt;/P&gt;&lt;P&gt;Any help is highly apreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 12:01:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648849#M1763900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-14T12:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_MAINTAINDATA_RT not updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648850#M1763901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhijeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you catching any errors that may be returned from the BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI documentation states that the updates are done synchronously.&amp;nbsp; Therefore you should see no delay in the updates.&amp;nbsp; However, all changes will be "rolled-back" if any error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you checking the RETURN parameter from the BAPI?&amp;nbsp;&amp;nbsp; Have you looked for messages in the Application Log (SLG1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From BAPI documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;"The data transferred is updated synchronously; that is, not using an update &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;task. This is necessary because this method is also used in distribution by &lt;A _jive_internal="true" href="https://answers.sap.com/thread/SAPEVENT:DOCU_LINK\DS:GLOS.Application_Link_Enabling"&gt;&lt;STRONG&gt;Application Link &lt;BR /&gt;Enabling&lt;/STRONG&gt;&lt;/A&gt; (ALE), where asynchronous updating cannot be supported in &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;inbound processing because the processing status of the assigned &lt;A _jive_internal="true" href="https://answers.sap.com/thread/SAPEVENT:DOCU_LINK\DS:GLOS.IDoc"&gt;&lt;STRONG&gt;IDocs&lt;/STRONG&gt;&lt;/A&gt; cannot otherwise be set &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;reliably.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;If a serious database error occurs during synchronous updating of the &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;application data, a rollback for all database changes made so far is triggered &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;in the method. If the method is called in a commit unit together with other &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;methods, the database changes of the previously executed method calls are also &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;rolled back as a result. The rollback is necessary to prevent database &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;inconsistencies due to only part of the application data being updated &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;correctly.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Any information or error messages that are issued while the data is being &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;processed are recorded in the application log. If you want to view these &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;messages, a commit must be performed after this method is called so that the &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;data in the application log is written to the database. Even if the structure &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;RETURN returns an E-type (error) message in field TYPE, a commit must be &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;performed so that the application log is written. In the event of an error, the &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;method itself ensures that the data is reset correctly. The commit is also &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;necessary to trigger the updating of the classification data because the update &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;module for the classification data is registered by means of PERFORM ON COMMIT &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;and is started only by a COMMIT WORK."&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 16:36:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648850#M1763901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-14T16:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_MAINTAINDATA_RT not updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648851#M1763902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you calling the BAPI with update task? Check the BAPI documentation that has the below statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The data transferred is updated synchronously; that is, not using an update task. This is necessary because this method is also used in distribution by &lt;A _jive_internal="true" href="https://answers.sap.com/thread/sapevent:DOCU_LINK\DS:GLOS.Application_Link_Enabling"&gt;Application Link Enabling&lt;/A&gt; (ALE), where asynchronous updating cannot be supported in inbound processing because the processing status of the assigned &lt;A _jive_internal="true" href="https://answers.sap.com/thread/sapevent:DOCU_LINK\DS:GLOS.IDoc"&gt;IDocs&lt;/A&gt; cannot otherwise be set reliably.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 16:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648851#M1763902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-14T16:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_MAINTAINDATA_RT not updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648852#M1763903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have 'X' in the proper X tables?&lt;/P&gt;&lt;P&gt;For example, if yo want to change something in CLIENTDATA, then you have to put X's in the right fields in CLIENTDATAX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also are you checking the value of RETURN?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that's not it, you might want to let us see a snippet of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 16:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648852#M1763903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-14T16:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_MAINTAINDATA_RT not updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648853#M1763904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Thank you for your suggestions,&lt;/P&gt;&lt;P&gt;finally the table is being updated,&lt;/P&gt;&lt;P&gt;used Wait upto 5 seconds.&lt;/P&gt;&lt;P&gt;I dnt know why it didnt worked before.&lt;/P&gt;&lt;P&gt;I commented the Commit work statement and then tried It worked.&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1700/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you once again.&lt;/P&gt;&lt;P&gt;Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 18:20:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648853#M1763904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-14T18:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_MAINTAINDATA_RT not updating table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648854#M1763905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of issuing a wait, you might want to look into checking the locks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 20:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-maintaindata-rt-not-updating-table/m-p/9648854#M1763905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-14T20:13:22Z</dc:date>
    </item>
  </channel>
</rss>

