<?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: The ASSERT condition was violated in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-assert-condition-was-violated/m-p/7541328#M1562428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone to help on this please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jan 2011 12:44:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-13T12:44:38Z</dc:date>
    <item>
      <title>The ASSERT condition was violated</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-assert-condition-was-violated/m-p/7541327#M1562427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gentleman,&lt;/P&gt;&lt;P&gt;I am trying to Execute a BAPI to add an Inpayment agreement to a loan account. So in order to add the inpayment agreement , i need to use to BAPI in sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_BCA_ACCOUNT_CHANGE   -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; to bring the account in Change Mode &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_BCA_INPAYMENT_AGR_CHANGE -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; &amp;gt; to add the in payment agreement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get the dump with follwoing description while executing second BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    The ASSERT condition was violated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    In the running application program, the ASSERT statement recognized a&lt;/P&gt;&lt;P&gt;    situation that should not have occurred.&lt;/P&gt;&lt;P&gt;    The runtime error was triggered for one of these reasons:&lt;/P&gt;&lt;P&gt;    - For the checkpoint group specified with the ASSERT statement, the&lt;/P&gt;&lt;P&gt;      activation mode is set to "abort".&lt;/P&gt;&lt;P&gt;    - Via a system variant, the activation mode is globally set to "abort"&lt;/P&gt;&lt;P&gt;      for checkpoint groups in this system.&lt;/P&gt;&lt;P&gt;    - The activation mode is set to "abort" on program level.&lt;/P&gt;&lt;P&gt;    - The ASSERT statement is not assigned to any checkpoint group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    The following checkpoint group was used: "No checkpoint group specified"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    If in the ASSERT statement the addition FIELDS was used, you can find&lt;/P&gt;&lt;P&gt;    the content of the first 8 specified fields in the following overview:&lt;/P&gt;&lt;P&gt;    " (not used) "&lt;/P&gt;&lt;P&gt;    " (not used) "&lt;/P&gt;&lt;P&gt;    " (not used) "&lt;/P&gt;&lt;P&gt;    " (not used) "&lt;/P&gt;&lt;P&gt;    " (not used) "&lt;/P&gt;&lt;P&gt;    " (not used) "&lt;/P&gt;&lt;P&gt;    " (not used) "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   14&lt;/P&gt;&lt;P&gt;   15&lt;/P&gt;&lt;P&gt;   16 * Change payment advice&lt;/P&gt;&lt;P&gt;   17   loop at i_new_pymt_adv assigning &amp;lt;new_line&amp;gt;.&lt;/P&gt;&lt;P&gt;   18     loop at &amp;lt;new_line&amp;gt;-pymt_adv_data assigning &amp;lt;new_item&amp;gt;.&lt;/P&gt;&lt;P&gt;   19       append initial line to lt_pymt_adv assigning &amp;lt;pymt_adv&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       assert &amp;lt;new_item&amp;gt;-chind is not initial.&lt;/P&gt;&lt;P&gt;   21       move-corresponding &amp;lt;new_line&amp;gt; to &amp;lt;pymt_adv&amp;gt;.&lt;/P&gt;&lt;P&gt;   22       move-corresponding &amp;lt;new_item&amp;gt; to &amp;lt;pymt_adv&amp;gt;.&lt;/P&gt;&lt;P&gt;   23       if &amp;lt;pymt_adv&amp;gt;-pymt_adv_type is initial.&lt;/P&gt;&lt;P&gt;   24         /fspam/_pymt_adv_read_api=&amp;gt;get_cust_pymt_adv_type(&lt;/P&gt;&lt;P&gt;   25           exporting&lt;/P&gt;&lt;P&gt;   26             i_pymt_adv_catg = &amp;lt;pymt_adv&amp;gt;-pymt_adv_catg&lt;/P&gt;&lt;P&gt;   27             i_direction     = &amp;lt;pymt_adv&amp;gt;-pymt_adv_dir&lt;/P&gt;&lt;P&gt;   28           importing&lt;/P&gt;&lt;P&gt;   29             e_pymt_adv_type = lt_pymt_adv_type&lt;/P&gt;&lt;P&gt;   30         ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Suggest, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 11:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-assert-condition-was-violated/m-p/7541327#M1562427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T11:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: The ASSERT condition was violated</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-assert-condition-was-violated/m-p/7541328#M1562428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone to help on this please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 12:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-assert-condition-was-violated/m-p/7541328#M1562428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T12:44:38Z</dc:date>
    </item>
  </channel>
</rss>

