<?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: Relationship between BAPI_GOODSMVT_CREATE and BAPI_TRANSACTION_COMMIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437736#M1648270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI  Ghosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no relation between bapi_goodsmvt_create and bapi_transcation_commit . But we should call bapi_transcation_commit after using standard bapi, because these bapis are created entries in standard data base tables , with out commit work and wait  &lt;/P&gt;&lt;P&gt;data base tables are not updated they need some time to update this table entries , while using bapi_transcation_commit it stops the system it commits the work process , other wise instead of bapi_transcation_commit , try with commit work and wait that will also work fine. some bapis already exit bapi_transcation_commit in source code , for that bapis we dont need tun this bapi again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you execute this bapis through fm tcode se37 , you must run this bapis in sequence , for this se37 --&amp;gt; functionmodule in menu bar,test sequence --&amp;gt; bapi_goodsmvt_create, bapi_transcation_commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the source code of bapi_transcation_commit once then you get clear picture .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Dec 2011 18:21:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-20T18:21:36Z</dc:date>
    <item>
      <title>Relationship between BAPI_GOODSMVT_CREATE and BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437733#M1648267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a existing code in which BAPI_GOODSMVT_CREATE, was called three times successively.&lt;/P&gt;&lt;P&gt;Here is the older code (in which there was a problem):&lt;/P&gt;&lt;P&gt;Step 1. With movement type 261.&lt;/P&gt;&lt;P&gt;Step 2. With movement type 101.&lt;/P&gt;&lt;P&gt;Step 3. With movement type 532.&lt;/P&gt;&lt;P&gt;Step 4. BAPI_TRANSACTION_COMMIT in WAIT mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I required a Smartform to be triggered during database update. The Smartform was not getting triggered. &lt;/P&gt;&lt;P&gt;After examination of the control flow, I added a extra commit in between step 2 and 3. To my surprise the Smartform was getting printed fine.&lt;/P&gt;&lt;P&gt;Here is the modified code (in which the problem was solved).:&lt;/P&gt;&lt;P&gt;Step 1. With movement type 261.&lt;/P&gt;&lt;P&gt;Step 2. With movement type 101.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3. BAPI_TRANSACTION_COMMIT in WAIT mode.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Step 4. With movement type 532.&lt;/P&gt;&lt;P&gt;Step 5. BAPI_TRANSACTION_COMMIT in WAIT mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I am unable to understand why it worked when I added the COMMIT between 101 and 532 movement type calls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 15:21:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437733#M1648267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T15:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between BAPI_GOODSMVT_CREATE and BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437734#M1648268</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;See SAP Note 520813 - FAQ: BAPIs for goods movements, question 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 17:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437734#M1648268</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-12-20T17:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between BAPI_GOODSMVT_CREATE and BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437735#M1648269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Hinojosa.&lt;/P&gt;&lt;P&gt;In fact I did go through this note from earlier discussions in SDN. However, I was unable to determine the solution to my problem from the ocean of information that this SAP Note and others related to it provide.&lt;/P&gt;&lt;P&gt;I shall surely go through the note you suggested and the ones related to it in much details, to understand the case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I admit my solution was a based on trial and error approach. I do not completely understand my solution till now.&lt;/P&gt;&lt;P&gt;However, since I have already fixed my problem, the only thing that haunts me is whether my approach towards solving this problem was correct or not !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am keeping this thread open. I shall revert back with the doubts that I face, while going through the notes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 18:03:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437735#M1648269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T18:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between BAPI_GOODSMVT_CREATE and BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437736#M1648270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI  Ghosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no relation between bapi_goodsmvt_create and bapi_transcation_commit . But we should call bapi_transcation_commit after using standard bapi, because these bapis are created entries in standard data base tables , with out commit work and wait  &lt;/P&gt;&lt;P&gt;data base tables are not updated they need some time to update this table entries , while using bapi_transcation_commit it stops the system it commits the work process , other wise instead of bapi_transcation_commit , try with commit work and wait that will also work fine. some bapis already exit bapi_transcation_commit in source code , for that bapis we dont need tun this bapi again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you execute this bapis through fm tcode se37 , you must run this bapis in sequence , for this se37 --&amp;gt; functionmodule in menu bar,test sequence --&amp;gt; bapi_goodsmvt_create, bapi_transcation_commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the source code of bapi_transcation_commit once then you get clear picture .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 18:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437736#M1648270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T18:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between BAPI_GOODSMVT_CREATE and BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437737#M1648271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Siva for your reply.&lt;/P&gt;&lt;P&gt;It seems to me, that I have mislead you by my thread's improper heading. &lt;/P&gt;&lt;P&gt;I am looking for an answers to the question: &lt;/P&gt;&lt;P&gt;"What is it in placement of the commit, between 101 and 532 movement type, that could have solved my problem?" &lt;/P&gt;&lt;P&gt;I am unable to understand, how does this extra commit solved the problem. There was already a commit at the very end earlier, yet it did not work in that previous case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 18:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-bapi-goodsmvt-create-and-bapi-transaction-commit/m-p/8437737#M1648271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T18:45:21Z</dc:date>
    </item>
  </channel>
</rss>

