<?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 calling bapi_network_maintain and wait up to 1 second in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731556#M1300012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!. We are calling bapi_network_maintain in our development as_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi_network_maintain (...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi_network_maintain (...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First we tried to use bapi_transaction_commit  with wait = X and we had locks problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After we tried to use wait up to 1 second instead bapi_transaction_commit and in our development system worked. But now we transport the report to our test system and it doesn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you imagine a wait up to 2 second is not the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also we saw that bapi_network_maintain has in its code commit included but not all of them are with wait option. So we don't know if this could be a problem but we thinks more people could have our same issue!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleaaaaaseeeeee, help!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2009 10:42:21 GMT</pubDate>
    <dc:creator>ediciones-sm_usuariogenri</dc:creator>
    <dc:date>2009-05-27T10:42:21Z</dc:date>
    <item>
      <title>Problem calling bapi_network_maintain and wait up to 1 second</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731556#M1300012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!. We are calling bapi_network_maintain in our development as_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi_network_maintain (...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi_network_maintain (...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First we tried to use bapi_transaction_commit  with wait = X and we had locks problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After we tried to use wait up to 1 second instead bapi_transaction_commit and in our development system worked. But now we transport the report to our test system and it doesn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you imagine a wait up to 2 second is not the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also we saw that bapi_network_maintain has in its code commit included but not all of them are with wait option. So we don't know if this could be a problem but we thinks more people could have our same issue!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleaaaaaseeeeee, help!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 10:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731556#M1300012</guid>
      <dc:creator>ediciones-sm_usuariogenri</dc:creator>
      <dc:date>2009-05-27T10:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling bapi_network_maintain and wait up to 1 second</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731557#M1300013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try as follows:-&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_NETWORK_MAINTAIN'&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     RETURN                            = itab_return&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      i_method_project                  = itab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS = 35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 10:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731557#M1300013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T10:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling bapi_network_maintain and wait up to 1 second</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731558#M1300014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai,&lt;/P&gt;&lt;P&gt;as the data base locks are not released and u r trying to call again the bapi ,&lt;/P&gt;&lt;P&gt;there is no need to use separate transaction commit for the same , just instead of using save method use saveand wait method , and instead of callign separately why dont u call mulitple networks with single bapi call, &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;m.a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 10:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731558#M1300014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T10:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling bapi_network_maintain and wait up to 1 second</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731559#M1300015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a long history.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to change dates for all networks in a project. So we realised only dates are correct if we call bapi_network_maintain twice. We send a message to SAP and they tell us is caused for our customizing. For me is not a correct behaviour because in online transaction it works fine, but arguing with SAP is very hard, so finally we put two calls and it works. The problem is we have to put wait up to 1 second between calls to bapi_network_maintain and it seems one seconds are not always enough...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggggg!!!! sometimes simple things in abap become so difficult....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!!!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 07:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731559#M1300015</guid>
      <dc:creator>ediciones-sm_usuariogenri</dc:creator>
      <dc:date>2009-05-28T07:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling bapi_network_maintain and wait up to 1 second</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731560#M1300016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai ,&lt;/P&gt;&lt;P&gt;you are right u face a problem for this, due to customising automatically dates are fetched based on project profile , and u have to update it again, we too faced the same problem as actual dates were not updated when activites were created as the dates were assigned due to customisin so again we called the bapi to update the dates , so u have to wait till the earlier data is written in data base,&lt;/P&gt;&lt;P&gt;and if for the same if u try in debug it will run successfully even though u ditn maintian any wait,&lt;/P&gt;&lt;P&gt;so u haev to provide wait statement between two calls and it depends on how much data u r writing in sap, we were able to write around 2000 to 5000 activities at a time, u cn aprovide wait up to 5 seconds which will be fien enough&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;m.a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 08:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-bapi-network-maintain-and-wait-up-to-1-second/m-p/5731560#M1300016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-28T08:11:49Z</dc:date>
    </item>
  </channel>
</rss>

