<?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 Abap dump when calling badi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-when-calling-badi/m-p/6039947#M1350714</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;             I have created a Ehancement Spot 'ZBADI_SPOT_TEST' and a badi name 'ZBADI_DF_TEST1' with the t-code SE18.Then I&lt;/P&gt;&lt;P&gt;created a implementation 'ZBADI_IM_TEST1' with t-code SE19.But I come across a abap dump when call this badi,the code&lt;/P&gt;&lt;P&gt;is following.&lt;/P&gt;&lt;P&gt;                  &lt;/P&gt;&lt;P&gt;data instance type REF TO ZBADI_IF_TEST1.&lt;/P&gt;&lt;P&gt;cl_exithandler=&amp;gt;get_instance(&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     exit_name                     =  'ZBADI_DF_TEST1'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   null_instance_accepted        = SEEX_FALSE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   act_imp_existing              = act_imp_existing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    instance                      = instance&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   no_reference                  = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   no_interface_reference        = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   no_exit_interface             = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   class_not_implement_interface = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   single_exit_multiply_active   = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   cast_error                    = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   exit_not_existing             = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   data_incons_in_exit_managem   = 8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       ).&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following is the exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 134 * check how many implementations exist for an exit&lt;/P&gt;&lt;P&gt; 135     CALL METHOD cl_badi_flt_data_trans_and_db=&amp;gt;act_imps_per_flt_val&lt;/P&gt;&lt;P&gt; 136       EXPORTING&lt;/P&gt;&lt;P&gt; 137         runtime_call                  = seex_true&lt;/P&gt;&lt;P&gt; 138         exit_name                     = exit_name&lt;/P&gt;&lt;P&gt; 139       EXCEPTIONS&lt;/P&gt;&lt;P&gt; 140         singular_exit_multiply_active = 1&lt;/P&gt;&lt;P&gt; 141         no_active_implementation      = 2&lt;/P&gt;&lt;P&gt; 142         only_default_implementation   = 3&lt;/P&gt;&lt;P&gt; 143         OTHERS                        = 4.&lt;/P&gt;&lt;P&gt; 144     CASE sy-subrc.&lt;/P&gt;&lt;P&gt; 145       WHEN 0.&lt;/P&gt;&lt;P&gt; 146         act_imp_existing = seex_true.&lt;/P&gt;&lt;P&gt; 147       WHEN 1.&lt;/P&gt;&lt;P&gt; 148         RAISE single_exit_multiply_active.&lt;/P&gt;&lt;P&gt; 149       WHEN 2.&lt;/P&gt;&lt;P&gt; 150         act_imp_existing = seex_false.&lt;/P&gt;&lt;P&gt; 151       WHEN 3.&lt;/P&gt;&lt;P&gt; 152         act_imp_existing = seex_false.&lt;/P&gt;&lt;P&gt; 153         def_impl = seex_true.&lt;/P&gt;&lt;P&gt; 154       WHEN 4.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;         RAISE data_incons_in_exit_managem.&lt;/P&gt;&lt;P&gt; 156     ENDCASE.&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;Can any one tell me what is the reason and how to reslove this.Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          regards&lt;/P&gt;&lt;P&gt;          Jerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: foxconn_jerry on Aug 8, 2009 6:20 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: foxconn_jerry on Aug 8, 2009 6:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Aug 2009 16:09:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-08T16:09:21Z</dc:date>
    <item>
      <title>Abap dump when calling badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-when-calling-badi/m-p/6039947#M1350714</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;             I have created a Ehancement Spot 'ZBADI_SPOT_TEST' and a badi name 'ZBADI_DF_TEST1' with the t-code SE18.Then I&lt;/P&gt;&lt;P&gt;created a implementation 'ZBADI_IM_TEST1' with t-code SE19.But I come across a abap dump when call this badi,the code&lt;/P&gt;&lt;P&gt;is following.&lt;/P&gt;&lt;P&gt;                  &lt;/P&gt;&lt;P&gt;data instance type REF TO ZBADI_IF_TEST1.&lt;/P&gt;&lt;P&gt;cl_exithandler=&amp;gt;get_instance(&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     exit_name                     =  'ZBADI_DF_TEST1'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   null_instance_accepted        = SEEX_FALSE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   act_imp_existing              = act_imp_existing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    instance                      = instance&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   no_reference                  = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   no_interface_reference        = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   no_exit_interface             = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   class_not_implement_interface = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   single_exit_multiply_active   = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   cast_error                    = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   exit_not_existing             = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   data_incons_in_exit_managem   = 8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       ).&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following is the exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 134 * check how many implementations exist for an exit&lt;/P&gt;&lt;P&gt; 135     CALL METHOD cl_badi_flt_data_trans_and_db=&amp;gt;act_imps_per_flt_val&lt;/P&gt;&lt;P&gt; 136       EXPORTING&lt;/P&gt;&lt;P&gt; 137         runtime_call                  = seex_true&lt;/P&gt;&lt;P&gt; 138         exit_name                     = exit_name&lt;/P&gt;&lt;P&gt; 139       EXCEPTIONS&lt;/P&gt;&lt;P&gt; 140         singular_exit_multiply_active = 1&lt;/P&gt;&lt;P&gt; 141         no_active_implementation      = 2&lt;/P&gt;&lt;P&gt; 142         only_default_implementation   = 3&lt;/P&gt;&lt;P&gt; 143         OTHERS                        = 4.&lt;/P&gt;&lt;P&gt; 144     CASE sy-subrc.&lt;/P&gt;&lt;P&gt; 145       WHEN 0.&lt;/P&gt;&lt;P&gt; 146         act_imp_existing = seex_true.&lt;/P&gt;&lt;P&gt; 147       WHEN 1.&lt;/P&gt;&lt;P&gt; 148         RAISE single_exit_multiply_active.&lt;/P&gt;&lt;P&gt; 149       WHEN 2.&lt;/P&gt;&lt;P&gt; 150         act_imp_existing = seex_false.&lt;/P&gt;&lt;P&gt; 151       WHEN 3.&lt;/P&gt;&lt;P&gt; 152         act_imp_existing = seex_false.&lt;/P&gt;&lt;P&gt; 153         def_impl = seex_true.&lt;/P&gt;&lt;P&gt; 154       WHEN 4.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;         RAISE data_incons_in_exit_managem.&lt;/P&gt;&lt;P&gt; 156     ENDCASE.&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;Can any one tell me what is the reason and how to reslove this.Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          regards&lt;/P&gt;&lt;P&gt;          Jerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: foxconn_jerry on Aug 8, 2009 6:20 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: foxconn_jerry on Aug 8, 2009 6:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2009 16:09:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-when-calling-badi/m-p/6039947#M1350714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-08T16:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Abap dump when calling badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-when-calling-badi/m-p/6039948#M1350715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like that the BAdI can be implemented only once (flag &lt;STRONG&gt;MULTIPLE&lt;/STRONG&gt; = ' ', i.e. unmarked) but there are two (or more) active implementations in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2009 16:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-when-calling-badi/m-p/6039948#M1350715</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-08-08T16:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Abap dump when calling badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-when-calling-badi/m-p/6039949#M1350716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have canceled the flag(mutiple use),but it did not work.In the debug modle,I found that there was no data in the table 'sxs_attr',which means there was no implementation.why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Aug 2009 01:12:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-dump-when-calling-badi/m-p/6039949#M1350716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-09T01:12:18Z</dc:date>
    </item>
  </channel>
</rss>

