<?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: Question about the function module testing function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365402#M1839339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, Mahesh-san&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you happen to know how to give points to the people who answered my question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, I cannot find any point button for this discussion...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Takashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2014 03:39:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-06-16T03:39:18Z</dc:date>
    <item>
      <title>Question about the function module testing function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365396#M1839333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the testing function of a function module in order to understand how the following&lt;/P&gt;&lt;P&gt;function module works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;&amp;lt;Function module&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2 --&amp;gt; This function module is to create a sales order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I input several data in the test function, and I was the successful result with some sales order number.&lt;/P&gt;&lt;P&gt;However, this sales order is not actually registered in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to run the function module (in the test mode), so that it would actually&lt;/P&gt;&lt;P&gt;register those documents (ex. sales orders) in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to see the actual sales orders to understand how the function module works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/877/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Takashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 10:38:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365396#M1839333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-10T10:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the function module testing function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365397#M1839334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;※Sorry, my initial message was hard to understand. So I will write it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the testing function of a function module in order to understand how the following&lt;/P&gt;&lt;P&gt;function module works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;&amp;lt;Function module&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2 --&amp;gt; This function module is used to create a sales order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I input several data in the test function, and I've got the successful result with some sales order number.&lt;/P&gt;&lt;P&gt;However, this sales order is not actually registered in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to run the function module (in the test mode), so that it would actually&lt;/P&gt;&lt;P&gt;register those documents (ex. sales orders) in the system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to see the actual sales orders to understand how this function module works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Takashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 10:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365397#M1839334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-10T10:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the function module testing function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365398#M1839335</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;You are not able to find the sales order in the system because the data is not committed to the database yet. You can run the BAPI_TRANSACTION_COMMIT function module after the Sales order create function module to achieve this. Similar discussions are already answered in the forum. Please search.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/471652" height="242" width="329" /&gt;&lt;/P&gt;&lt;P&gt;After executing the Sales order BAPI, execute the below BAPI as shown here&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/471725" height="147" width="377" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/471726" height="234" width="304" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 11:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365398#M1839335</guid>
      <dc:creator>mahesh_madhavan</dc:creator>
      <dc:date>2014-06-10T11:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the function module testing function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365399#M1839336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Takashi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are run this FM in "se37".&lt;/P&gt;&lt;P&gt;If you are using source code in "se38",&lt;/P&gt;&lt;P&gt;please add FM "BAPI_TRANSACTION_COMMIT" after called the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 11:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365399#M1839336</guid>
      <dc:creator>former_member192023</dc:creator>
      <dc:date>2014-06-10T11:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the function module testing function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365400#M1839337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also you could read &lt;SPAN class="with-breadcrumbs"&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/ABAP/Function+Module+Test+Sequence"&gt;Function Module Test Sequence&lt;/A&gt;&lt;/SPAN&gt; or look at help.sap.com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 14:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365400#M1839337</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-06-10T14:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the function module testing function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365401#M1839338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thank you very much for your kind help, everyone! &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/877/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to give you the points for your help, but for some reason, I cannot find the&lt;/P&gt;&lt;P&gt;point button anymore...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I find it later, I will give you the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, thank you very much for your support. I really appreciate it! &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/877/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Takashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 07:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365401#M1839338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-11T07:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the function module testing function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365402#M1839339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, Mahesh-san&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you happen to know how to give points to the people who answered my question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, I cannot find any point button for this discussion...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Takashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 03:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365402#M1839339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-16T03:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the function module testing function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365403#M1839340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Takashi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer to your query is, in actuals there are some FMs that require explicit COMMIT, hence for the same set of FMs, SAP has provided a Standard Commit BAPI as BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same is said by other fellows in the thread, when you are testing you can use the procedure as said by Mahesh in the thread responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR/Thanks&lt;/P&gt;&lt;P&gt;Pranav Agrawal&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 03:54:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-function-module-testing-function/m-p/10365403#M1839340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-16T03:54:21Z</dc:date>
    </item>
  </channel>
</rss>

