<?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: Reg: Push Button on report Output list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-push-button-on-report-output-list/m-p/3691658#M888947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ram..&lt;/P&gt;&lt;P&gt;The more I thought about this, it more likely you will not need the cell styles, but you will need to set the column attribute &lt;/P&gt;&lt;P&gt;MC_STYLE_BUTTON to 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2008 14:54:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-08T14:54:39Z</dc:date>
    <item>
      <title>Reg: Push Button on report Output list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-push-button-on-report-output-list/m-p/3691656#M888945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing an OO-ALV Report.I got the data for all the fields in my output table.Now my requiement is I have to display a pushbutton with the text 'Information' at the end of each row of the ALV output list.If anybody knows pls.help me on this how can we achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 14:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-push-button-on-report-output-list/m-p/3691656#M888945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T14:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Push Button on report Output list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-push-button-on-report-output-list/m-p/3691657#M888946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to use cellstyles in your ALV setup.  This code does not set up the buttons, however, the logic is very close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to set the cell attribute to MC_STYLE_BUTTON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table definition.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF gt_outtab OCCURS 0.
        INCLUDE STRUCTURE zscemp_wk.
DATA: cellstyles    TYPE lvc_t_styl.
DATA: END OF gt_outtab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  adjust_editables
*&amp;amp;---------------------------------------------------------------------*
FORM adjust_editables USING    pt_list LIKE gt_outtab[].
  DATA: ls_listrow  LIKE LINE OF pt_list.
  DATA: ls_stylerow TYPE lvc_s_styl.
  DATA: ls_styletab TYPE lvc_t_styl.

  LOOP AT pt_list INTO ls_listrow.
    REFRESH ls_listrow-cellstyles.
    REFRESH ls_styletab.

    IF edit_mode EQ 'D'.
      ls_stylerow-fieldname = 'BRANCH'.
      ls_stylerow-style = cl_gui_alv_grid=&amp;gt;mc_style_disabled.
      APPEND ls_stylerow TO ls_styletab.
    ENDIF.

    ls_stylerow-fieldname = 'EMPNO'.
    IF  ls_listrow-empno IS INITIAL
    AND edit_mode EQ 'E'.
      ls_stylerow-style = cl_gui_alv_grid=&amp;gt;mc_style_enabled.
    ELSE.
      ls_stylerow-style = cl_gui_alv_grid=&amp;gt;mc_style_disabled.
    ENDIF.
    APPEND ls_stylerow TO ls_styletab.

    INSERT LINES OF ls_styletab INTO TABLE ls_listrow-cellstyles.

    MODIFY pt_list FROM ls_listrow.
  ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 14:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-push-button-on-report-output-list/m-p/3691657#M888946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T14:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Push Button on report Output list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-push-button-on-report-output-list/m-p/3691658#M888947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ram..&lt;/P&gt;&lt;P&gt;The more I thought about this, it more likely you will not need the cell styles, but you will need to set the column attribute &lt;/P&gt;&lt;P&gt;MC_STYLE_BUTTON to 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 14:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-push-button-on-report-output-list/m-p/3691658#M888947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T14:54:39Z</dc:date>
    </item>
  </channel>
</rss>

