<?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: CRM BADI debug in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071035#M94774</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;Try to put into the Badi an endless while like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data d_aux value 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WHILE d_aux = 0.&lt;/P&gt;&lt;P&gt;  ENDWHILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After, when the program is hanging, go to the SM50 transaction, select your process, and go to the menu option: Program/Mode -&amp;gt; Program -&amp;gt; Debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2006 13:06:45 GMT</pubDate>
    <dc:creator>robertot4s</dc:creator>
    <dc:date>2006-02-22T13:06:45Z</dc:date>
    <item>
      <title>CRM BADI debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071031#M94770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are uploading the flat file to create a business partners through External List Management using the SAP provided BADI,  'CRM_MKTLIST_BADI' . We created an implementation 'ZCRM_MKTLIST_BADI' and added the custom code in the method 'create_business_partner'.  I kept so many break points and try to debug the transaction , we are not able to debug the BADI. It is skipping all the break points and running the code. This makes me difficult to find the bugs and to see the data flow in the BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Actually i extended the structure CRMT_MKTLIST_CP_EXT with some custom fields i want to upload custom data through transaction CRMD_MKTLIST.But the data from flat file is not uploading to table CRMT_MKTLIST_CP.&lt;/P&gt;&lt;P&gt;The table CRMT_MKTLIST_CP is not populating in BADI Method MAP_AND_CONVERT_DATA. please give me the suggestion .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2005 08:13:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071031#M94770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-03T08:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: CRM BADI debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071032#M94771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write code  BREAK-POINT in code it slef.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2005 08:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071032#M94771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-03T08:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: CRM BADI debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071033#M94772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For debugging, Try to set the System Debugging and Update Debugging check boxes in debugger screen(Press Settings button and check the System Debugging and Update Debugging).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2005 08:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071033#M94772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-03T08:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: CRM BADI debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071034#M94773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check couple of things &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) IS the BADI active? &lt;/P&gt;&lt;P&gt;2) If the BADi is active, does it have any filters which are not allowing the BADI to get executed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the BADI is getting triggered, then put "break-point" as first line of the BADI implementation and see if it comes there. If the break point is not reached, then find out the main program which calls the BADI and see where is BADI being called. BADI gets called by the method CALL METHOD cl_exithandler=&amp;gt;get_instance. If this line is not executed, then you know BADI is not getting triggered at all. If this line gets triggered, then in the next few lines you will see the program calling the BADI. See what is happening there. Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2005 13:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071034#M94773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-03T13:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: CRM BADI debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071035#M94774</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;Try to put into the Badi an endless while like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data d_aux value 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WHILE d_aux = 0.&lt;/P&gt;&lt;P&gt;  ENDWHILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After, when the program is hanging, go to the SM50 transaction, select your process, and go to the menu option: Program/Mode -&amp;gt; Program -&amp;gt; Debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 13:06:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/crm-badi-debug/m-p/1071035#M94774</guid>
      <dc:creator>robertot4s</dc:creator>
      <dc:date>2006-02-22T13:06:45Z</dc:date>
    </item>
  </channel>
</rss>

