<?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 Pushbutton in AlV grid using OOPs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905095#M1889993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;One my client requirement is that he needs push buttons in side the alv grid, i.e. one full column should be of push button and the text of these push button should be changed dynamically and on the when the button event should be activated when the button is pressed.&lt;/P&gt;&lt;P&gt;please let me how this can be achieved....as far as i know the button style can be activated in the reuse_display_alv but i could not come across any posts that tells how to achieve the above requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bhargava.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 12:28:47 GMT</pubDate>
    <dc:creator>bhargava_dns</dc:creator>
    <dc:date>2015-03-17T12:28:47Z</dc:date>
    <item>
      <title>Pushbutton in AlV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905095#M1889993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;One my client requirement is that he needs push buttons in side the alv grid, i.e. one full column should be of push button and the text of these push button should be changed dynamically and on the when the button event should be activated when the button is pressed.&lt;/P&gt;&lt;P&gt;please let me how this can be achieved....as far as i know the button style can be activated in the reuse_display_alv but i could not come across any posts that tells how to achieve the above requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bhargava.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 12:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905095#M1889993</guid>
      <dc:creator>bhargava_dns</dc:creator>
      <dc:date>2015-03-17T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in AlV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905096#M1889994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhargava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you build your field catalog, try passing this information to your column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_filedcat-style = cl_gui_alv_grid=&amp;gt;mc_style_button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say the text should be dynamic, you need it to change as soon as you click the button, or depending of a status, etc?&lt;/P&gt;&lt;P&gt;Try updating the table/fieldcat and refreshing the alv display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thales Schmidt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 12:36:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905096#M1889994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-17T12:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in AlV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905097#M1889995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The text should be dynamic based on the status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 04:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905097#M1889995</guid>
      <dc:creator>bhargava_dns</dc:creator>
      <dc:date>2015-03-18T04:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in AlV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905098#M1889996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Take a look on this article for more examples &lt;A href="http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=37199" title="http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=37199"&gt;ABAP-Changing Cell characteristics in ALV (OOPS) - Code Gallery - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you populate your output table, just make a small logic to fill the button column with the text you want, based on the status. I believe the button will output the field value on the button text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thales Schmidt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 09:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905098#M1889996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-18T09:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in AlV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905099#M1889997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;You can set the button using&amp;nbsp; gst_fieldcat&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;style&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;cl_gui_alv_grid&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;=&amp;gt;&lt;/SPAN&gt;mc_style_button&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;and then to change the text by directly copying the text ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;gt_i_out_tab&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;pb_bunit &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;c_icon_create&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;I had used this technique to dynamically change the icon of the buttons .. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 14:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-alv-grid-using-oops/m-p/10905099#M1889997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-20T14:27:52Z</dc:date>
    </item>
  </channel>
</rss>

