<?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_PROJECT_MAINTAIN commit problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950298#M391499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the BAPI_PROJECT_MAINTAIN call, if SY_SUBRC = 0, &lt;/P&gt;&lt;P&gt;call BAPI_COMMIT (or BAPI_TRANSACTION_COMMIT), to ensure that the database is updated. After this, you can trigger the next program using submit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2007 04:33:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-21T04:33:53Z</dc:date>
    <item>
      <title>BAPI_PROJECT_MAINTAIN commit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950297#M391498</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'm creating my projects thru BAPI_PROJECT_MAINTAIN which is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creation of project, I'm submitting one program to create the partners assingment to this newly created project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for this I have to use the statement Wait upto 5 seconds, otherwise it creates the project but  doesnot creates partner assignments, hardcoding wait statement may create problems in future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I should code to recognise whether project data is updated in databases or not. so as per that wait logic i can trigger the another program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 03:39:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950297#M391498</guid>
      <dc:creator>abhishek_katti</dc:creator>
      <dc:date>2007-02-21T03:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PROJECT_MAINTAIN commit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950298#M391499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the BAPI_PROJECT_MAINTAIN call, if SY_SUBRC = 0, &lt;/P&gt;&lt;P&gt;call BAPI_COMMIT (or BAPI_TRANSACTION_COMMIT), to ensure that the database is updated. After this, you can trigger the next program using submit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 04:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950298#M391499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T04:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PROJECT_MAINTAIN commit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950299#M391500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As Sajan says, use  BAPI_TRANSACTION_COMMIT or use COMMIT AND WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 04:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950299#M391500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T04:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PROJECT_MAINTAIN commit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950300#M391501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends, Thanks, But I used both methods still it is giving the problems. As commit and Wait is not used for any bapi transaction update it is not waiting for project creation &amp;amp; updation in database it immediately triggers my external program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for any other solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 04:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950300#M391501</guid>
      <dc:creator>abhishek_katti</dc:creator>
      <dc:date>2007-02-21T04:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PROJECT_MAINTAIN commit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950301#M391502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;I'm just facing the the same crazy thing.&lt;/P&gt;&lt;P&gt;did you get a solutionen to avoid this 5 sec wait&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Sep 2009 10:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain-commit-problem/m-p/1950301#M391502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-06T10:38:32Z</dc:date>
    </item>
  </channel>
</rss>

