<?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: test phase bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-phase-bapi/m-p/3195150#M761370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in BAPI u will find one import parameter which is called stimulate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u put an X there it will just stimulate.. wont update or post any documents in to SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Award points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2007 16:11:47 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2007-12-21T16:11:47Z</dc:date>
    <item>
      <title>test phase bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-phase-bapi/m-p/3195149#M761369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the test phase in the bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 15:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-phase-bapi/m-p/3195149#M761369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T15:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: test phase bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-phase-bapi/m-p/3195150#M761370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in BAPI u will find one import parameter which is called stimulate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u put an X there it will just stimulate.. wont update or post any documents in to SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Award points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 16:11:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-phase-bapi/m-p/3195150#M761370</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-21T16:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: test phase bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-phase-bapi/m-p/3195151#M761371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most of times when you run the bapi by SE37 only, you test the function without actually insert/change the data. Only after function "BAPI_TRANSACTION_COMMIT" is executed the data is actually inserted/changed.&lt;/P&gt;&lt;P&gt;This is the way you test BAPIs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 17:05:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-phase-bapi/m-p/3195151#M761371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T17:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: test phase bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-phase-bapi/m-p/3195152#M761372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Test Phase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following steps are carried out in the test phase: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Testing the Documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check that the documentation for each business object type, each BAPI and for each interface parameter is available and that you understand it. As the BAPI documentation is critical for being able to use the BAPI, this test should be carried out thoroughly.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Testing the BAPI Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the test phase you must check that the BAPI meets all the conventions described above, and that you have followed the guidelines for developing BAPIs. You can check that the syntax is correct using the BAPI Explorer and the BAPI ToDo. An implicit check is also carried out when the BAPI is appended in the BAPI/BOR Wizard and when it is released in the BOR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test the BAPI syntax in the BAPI Explorer, position the cursor on the relevant BAPI in the left-hand frame. Select the tab page Tools in the right-hand frame and then the option BAPI Consistency Checks.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Testing the BAPI Semantics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you have checked that the syntax is correct, you have to check that the semantics of the BAPI are correct (testing the functions and integrity). You have the following options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing the underlying function module in the Function Builder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test the parameters in your function module in one test. Enter the appropriate test values in the parameters to verify that the source code in the function module can run without errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the test in the Function Builder has the following drawbacks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tests do not update the database because a COMMIT WORK cannot be executed. &lt;/P&gt;&lt;P&gt;The tests cannot be automated. &lt;/P&gt;&lt;P&gt;The test data is not transported into other systems and is lost if the function module is changed. So, for example, no regression tests can be carried out.&lt;/P&gt;&lt;P&gt;Testing the function module with the Computer Aided Testing Tool (CATT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules can be tested within the SAP standard test tool using the CATT test module type F. The CATT has the following advantages over testing in the Function Builder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tests do change the database because a COMMIT WORK is automatically executed. &lt;/P&gt;&lt;P&gt;The tests can be automated. &lt;/P&gt;&lt;P&gt;The test data is transported with the test module and is therefore available in other systems and releases for regression tests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tests with the CATT should be carried out in preference to tests in the Function Builder because the test runs are retained and can be optimally integrated into the SAP quality assurance process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information on using CATT for testing function modules, see  CATT: Using Function Module Tests.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Testing the BAPI call in an external application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use a BAPI in an external application, the following conditions must be fulfilled:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax of the BAPI is correct.&lt;/P&gt;&lt;P&gt;This should be tested by the BAPI developer using the BAPI Explorer. &lt;/P&gt;&lt;P&gt;The communication functions without errors. &lt;/P&gt;&lt;P&gt;This should be checked using appropriate tests from the Middleware departments.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Testing the BAPI on different platforms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The platform tests are carried out during the final assembly. The tests can only be carried out when the BAPI semantics have been tested with CATT, and when the CATT procedures created in the tests can be used again in the final assembly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 16:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-phase-bapi/m-p/3195152#M761372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T16:44:21Z</dc:date>
    </item>
  </channel>
</rss>

