<?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 ASSERT  statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611957#M1439102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Iam debugging a BDC program. In this I found a statement called ' ASSERT ' . &lt;/P&gt;&lt;P&gt;Is this related to BAPI function module. Please provide me some help on this.       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   ASSERT  ID  zlog SUBKEY subk FIELDS return-message CONDITION  return-type NA 'EA' .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murali Krishna T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Feb 2010 07:10:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-20T07:10:19Z</dc:date>
    <item>
      <title>ASSERT  statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611957#M1439102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Iam debugging a BDC program. In this I found a statement called ' ASSERT ' . &lt;/P&gt;&lt;P&gt;Is this related to BAPI function module. Please provide me some help on this.       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   ASSERT  ID  zlog SUBKEY subk FIELDS return-message CONDITION  return-type NA 'EA' .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murali Krishna T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 07:10:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611957#M1439102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T07:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERT  statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611958#M1439103</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;Go to that statement in the program and press 'F1' on assert statement. Get back in case you are not able to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 07:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611958#M1439103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T07:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERT  statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611959#M1439104</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;             Thanks for your view. I have seen F1 help on this. But Iam unable to understand the parameters ID SUBKEY FIELDS CONDITION. Please help me know for what purpose we use this statement.&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;&lt;/P&gt;&lt;P&gt;Murali Krishna T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 07:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611959#M1439104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T07:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERT  statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611960#M1439105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply speaking, this statement basically creates a log in DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID is nothing but the checkpoint group created in SAAB transaction.&lt;/P&gt;&lt;P&gt;SUBKEY is nothing but the key for the log.&lt;/P&gt;&lt;P&gt;FIELDS are nothing but the contents stored in the log.&lt;/P&gt;&lt;P&gt;CONDITION is nothing but the condition to be checked for executing assert statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Remember that ID should be active for creating log in DB.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understood !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 07:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611960#M1439105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T07:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERT  statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611961#M1439106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     Please make me clear :  Iam uploading some transactional data. If there are errors in data uploading, the error logs are created in the data base by the 'ASSERT' statement. Am I going in the correct way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 07:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611961#M1439106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T07:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERT  statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611962#M1439107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;       You are going in the right way exactly. Your understanding regarding ASSERT statement is correct in your case go ahead.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 07:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611962#M1439107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T07:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERT  statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611963#M1439108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can see the message in log. In your case you can see the log in SAAB for ZLOG checkpoint. Remember that Assert statement creates a log entry in DB and continues with the program execution.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP documentation says,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Creating an entry in a specific protocol and continuation of the program execution with the statement after ASSERT. By default, an existing entry of the same ASSERT statement is overwritten. You can use transaction SAAB to evaluate the log.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ganga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 07:52:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611963#M1439108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T07:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERT  statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611964#M1439109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Murali Krishna T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 07:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assert-statement/m-p/6611964#M1439109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-20T07:54:48Z</dc:date>
    </item>
  </channel>
</rss>

