<?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 Strange One in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708047#M309934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fords&lt;/P&gt;&lt;P&gt; I Facing a very strange Problem , &lt;/P&gt;&lt;P&gt; I Created a Z function Module in which I used function modules like  BAPI_PR_CHANGE   &amp;amp;  BAPI_REQUISITION_RESET_RELEASE &amp;amp; BAPI_REQUISITION_GETRELINFO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem with the function module is that when i run the Function module through se 37 by F8 it is not giving me expected results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i run the function module through SE 37 with the same set of values but now in debugging mode it gives me desired output strange!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas are welcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2006 13:59:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-28T13:59:47Z</dc:date>
    <item>
      <title>Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708047#M309934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fords&lt;/P&gt;&lt;P&gt; I Facing a very strange Problem , &lt;/P&gt;&lt;P&gt; I Created a Z function Module in which I used function modules like  BAPI_PR_CHANGE   &amp;amp;  BAPI_REQUISITION_RESET_RELEASE &amp;amp; BAPI_REQUISITION_GETRELINFO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem with the function module is that when i run the Function module through se 37 by F8 it is not giving me expected results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i run the function module through SE 37 with the same set of values but now in debugging mode it gives me desired output strange!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas are welcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 13:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708047#M309934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T13:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708048#M309935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a matter of the changes being committed. Write a program and call your BAPI's in there and then finally the BAPI_TRANSACTION_COMMIT. It should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708048#M309935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T14:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708049#M309936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When running programs in debug mode. Commit Works are executed. I suspect this is your problem. You are not doing a commit work after the BAPI calls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708049#M309936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T14:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708050#M309937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Debug mode Automatically COMMIT WORK triggers, so you are getting desired results. But in case of with out Debugging Direct run No Commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want the same results then you have to Test it using Test Sequence.&lt;/P&gt;&lt;P&gt;from menu Create the Test Sequence &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add your BAPI , and then BAPI_TRANSACTION_COMMIT and then test it and see.&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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:07:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708050#M309937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T14:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708051#M309938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOto - SE37 -&amp;gt; Function module -&amp;gt; TEst --&amp;gt; Test Function module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708051#M309938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T14:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708052#M309939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks  Frnd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i called the BAPI_TRANSACTION_COMMIT  but it is Not Happening Frnds&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Here is the SEquence in which i am calling the function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. BAPI_REQUISITION_GETRELINFO&lt;/P&gt;&lt;P&gt;2. BAPI_REQUISITION_RESET_RELEASE (To Reset the PR)&lt;/P&gt;&lt;P&gt;3. BAPI_PR_CHANGE (Change the PR )&lt;/P&gt;&lt;P&gt;4.BAPI_TRANSACTION_COMMIT (To commit the changes)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708052#M309939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T14:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708053#M309940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shirish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Menu FunctionModule-&amp;gt;Test-&amp;gt;Test Sequence-&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you will see a popup, here in this popup give the BAPI's which you are testing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_REQUISITION_GETRELINFO&lt;/P&gt;&lt;P&gt;BAPI_REQUISITION_RESET_RELEASE&lt;/P&gt;&lt;P&gt;BAPI_PR_CHANGE&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you doing all together. or one by one.&lt;/P&gt;&lt;P&gt;if it is one by one then you should have 3 Test sequence in place , each one with &lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;so you need to test 3 test sequence &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708053#M309940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T14:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708054#M309941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankx Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well .. I tried thid way i copied the all code in the function module and pasted in Executable program But same is the case with the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it some thing specific to the BAPI function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz throw your own ideas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:47:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708054#M309941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T14:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708055#M309942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frnds ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem has been sorted out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Put a statement &lt;/P&gt;&lt;P&gt;Wait up to 2 Seconds .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In BAPI_REQUISITION_RESET and BAPI_PR_CHANGE and it is working fine &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankx For all.&lt;/P&gt;&lt;P&gt;Shirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 04:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708055#M309942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T04:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Strange One</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708056#M309943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry to say this but I think that you are all wrong, actually, and the original poster is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sharing this because I don't want to forget about this in the future and search for it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in fact the problem is when you reset a release status for a Purchase Requisition and you want to reset the previous release status immediately after, using either BAPI_REQUISITION_RESET_RELEASE or BAPI_REQUISITION_RESET_REL_GEN. The problem is the following line of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="L0S33"&gt;'ME_UPDATE_REQUISITION_RELEASE'&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;IN&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;UPDATE&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;TASK&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;So, the update to the database is made in update task... Which means... I think... you just have to wait...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Cheers!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 17:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-one/m-p/1708056#M309943</guid>
      <dc:creator>bruno_esperanca</dc:creator>
      <dc:date>2012-12-03T17:35:27Z</dc:date>
    </item>
  </channel>
</rss>

