<?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: short dump when implementing CL_DD_BUTTON_ELEMENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-implementing-cl-dd-button-element/m-p/7004082#M1495689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the sap help is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw32/helpdata/en/0b/11e1d104b311d4a7400000e83dd863/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_bw32/helpdata/en/0b/11e1d104b311d4a7400000e83dd863/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have gone for the tried and tested method of implementing the "where-used list" button and added the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
     CREATE OBJECT lc_cl_dd_area
        EXPORTING
          id = 'a1f1b5'.

      CALL METHOD lc_cl_dd_area-&amp;gt;add_form
        IMPORTING
          formarea = form.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is to allegedly populate the table that i am being told is Null...&lt;/P&gt;&lt;P&gt;when i call the method and add_form, the table is being populated, yet when it comes out of the method and into the the disable_button method, it is not populated.... &lt;/P&gt;&lt;P&gt;i feel i am getting closer... but still at arms length....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jun 2010 12:29:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-11T12:29:48Z</dc:date>
    <item>
      <title>short dump when implementing CL_DD_BUTTON_ELEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-implementing-cl-dd-button-element/m-p/7004081#M1495688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found a Class/method to disable or make invisible a button on a screen... yay! :lol:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway, this is what i have coded so far in my BAdi....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      DATA: lc_dd_button_element TYPE REF TO cl_dd_button_element.
      DATA: lc_dd_form_element   TYPE REF TO cl_dd_form_element.

      CREATE OBJECT lc_dd_form_element
        EXPORTING
          id = 'A1F1B5'.

      CREATE OBJECT lc_dd_button_element
        EXPORTING
          id = 'A1F1B5'.

      CALL METHOD lc_dd_button_element-&amp;gt;disable_button.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 'ID' is the button i am trying to disable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone point me in the right direction? when i debug this, the id has a value, so i added the object lc_dd_form_element but it still short dumps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the short dump is:  Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 12:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-implementing-cl-dd-button-element/m-p/7004081#M1495688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-11T12:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: short dump when implementing CL_DD_BUTTON_ELEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-implementing-cl-dd-button-element/m-p/7004082#M1495689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the sap help is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw32/helpdata/en/0b/11e1d104b311d4a7400000e83dd863/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_bw32/helpdata/en/0b/11e1d104b311d4a7400000e83dd863/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have gone for the tried and tested method of implementing the "where-used list" button and added the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
     CREATE OBJECT lc_cl_dd_area
        EXPORTING
          id = 'a1f1b5'.

      CALL METHOD lc_cl_dd_area-&amp;gt;add_form
        IMPORTING
          formarea = form.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is to allegedly populate the table that i am being told is Null...&lt;/P&gt;&lt;P&gt;when i call the method and add_form, the table is being populated, yet when it comes out of the method and into the the disable_button method, it is not populated.... &lt;/P&gt;&lt;P&gt;i feel i am getting closer... but still at arms length....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 12:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-implementing-cl-dd-button-element/m-p/7004082#M1495689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-11T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: short dump when implementing CL_DD_BUTTON_ELEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-implementing-cl-dd-button-element/m-p/7004083#M1495690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i modified SAP standard to not bypass my badi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 19:41:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-implementing-cl-dd-button-element/m-p/7004083#M1495690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-22T19:41:16Z</dc:date>
    </item>
  </channel>
</rss>

