<?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: ALV Grid Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307580#M792134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3630354"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only relevant if layout parameter&lt;/P&gt;&lt;P&gt;LAYOUT-GET_SELINFOS of IMPORTING structure IS_LAYOUT is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Complex type for modifying information displayed on the selection dialog box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mode: 'R' = Only entries passed in internal table&lt;/P&gt;&lt;P&gt;IS_SEL_HIDE-T_ENTRIES are output on&lt;/P&gt;&lt;P&gt;the dialog box. Selection information&lt;/P&gt;&lt;P&gt;obtained by the list tool by reading the&lt;/P&gt;&lt;P&gt;selection screen again (only if the report&lt;/P&gt;&lt;P&gt;is called with selection screen) are&lt;/P&gt;&lt;P&gt;replaced by the entries passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'S' = The selection information obtained by the&lt;/P&gt;&lt;P&gt;list tool by reading the selection screen&lt;/P&gt;&lt;P&gt;of the calling report again, are modified&lt;/P&gt;&lt;P&gt;by the entries of table&lt;/P&gt;&lt;P&gt;IS_SEL_HIDE-T_ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries: Table with selection information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-mode: 'A' = Display selection information of the current&lt;/P&gt;&lt;P&gt;table row on the information dialog box.&lt;/P&gt;&lt;P&gt;'D' = Do not display selection information of the&lt;/P&gt;&lt;P&gt;the Select option or of parameter SELNAME&lt;/P&gt;&lt;P&gt;on the dialog box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-selname: (required only if t_entries-mode = 'D')&lt;/P&gt;&lt;P&gt;name of Select option or parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following table fields are only required if t_entries-mode = 'A'. They contain the selection information to be added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-field: DDIC field name of the field for which selection&lt;/P&gt;&lt;P&gt;information is to be displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-table: DDIC table name of t_entries-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-stext: Field description on the information dialog box.&lt;/P&gt;&lt;P&gt;If t_entries-field and t_entries-table were&lt;/P&gt;&lt;P&gt;filled, this text is taken from the DDIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-valuf: Selection condition from-value (external format)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-valut: Selection condition to-value (external format)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-sign0: (I)nclusive (E)xclusive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-optio: All values of the option field of the Select&lt;/P&gt;&lt;P&gt;option are allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The remaining fields are used internally and are irrelevant to the caller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2822580"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2374803"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3428278"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;GAURAV J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Feb 2008 10:59:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-03T10:59:37Z</dc:date>
    <item>
      <title>ALV Grid Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307575#M792129</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;   i have created a checkbox in ALV grid using Function 'REUSE_ALV_GRID_DISPLAY'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What the requirement is , when the user selects say 2 rows out of 10 rows and press save.....those 2 row's checkboxes must be disabled, while all other row's checkboxed must remain enabled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me how to do this. Any sample code for this can help me a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Points Will surely be given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2008 16:00:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307575#M792129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-02T16:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307576#M792130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;In ALV grid usinf functions and classes we can find out which rows are selected in the grid.&lt;/P&gt;&lt;P&gt;Then using those rows 'tabix'  you can set or reset the check box of the rows.&lt;/P&gt;&lt;P&gt;feel free to ask if your question is not solved.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2008 18:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307576#M792130</guid>
      <dc:creator>Sonal_J</dc:creator>
      <dc:date>2008-02-02T18:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307577#M792131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/5e/ebeb40c4f8712ae10000000a155106/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/5e/ebeb40c4f8712ae10000000a155106/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 02:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307577#M792131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-03T02:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307578#M792132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi varun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;got to se80 .in package type slin within this u can get sampla programs for all type of alv.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 04:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307578#M792132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-03T04:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307579#M792133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks for your reply. But please tell me how can we hide the checkbox in selected rows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;varun  Sanghi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 09:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307579#M792133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-03T09:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307580#M792134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3630354"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only relevant if layout parameter&lt;/P&gt;&lt;P&gt;LAYOUT-GET_SELINFOS of IMPORTING structure IS_LAYOUT is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Complex type for modifying information displayed on the selection dialog box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mode: 'R' = Only entries passed in internal table&lt;/P&gt;&lt;P&gt;IS_SEL_HIDE-T_ENTRIES are output on&lt;/P&gt;&lt;P&gt;the dialog box. Selection information&lt;/P&gt;&lt;P&gt;obtained by the list tool by reading the&lt;/P&gt;&lt;P&gt;selection screen again (only if the report&lt;/P&gt;&lt;P&gt;is called with selection screen) are&lt;/P&gt;&lt;P&gt;replaced by the entries passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'S' = The selection information obtained by the&lt;/P&gt;&lt;P&gt;list tool by reading the selection screen&lt;/P&gt;&lt;P&gt;of the calling report again, are modified&lt;/P&gt;&lt;P&gt;by the entries of table&lt;/P&gt;&lt;P&gt;IS_SEL_HIDE-T_ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries: Table with selection information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-mode: 'A' = Display selection information of the current&lt;/P&gt;&lt;P&gt;table row on the information dialog box.&lt;/P&gt;&lt;P&gt;'D' = Do not display selection information of the&lt;/P&gt;&lt;P&gt;the Select option or of parameter SELNAME&lt;/P&gt;&lt;P&gt;on the dialog box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-selname: (required only if t_entries-mode = 'D')&lt;/P&gt;&lt;P&gt;name of Select option or parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following table fields are only required if t_entries-mode = 'A'. They contain the selection information to be added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-field: DDIC field name of the field for which selection&lt;/P&gt;&lt;P&gt;information is to be displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-table: DDIC table name of t_entries-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-stext: Field description on the information dialog box.&lt;/P&gt;&lt;P&gt;If t_entries-field and t_entries-table were&lt;/P&gt;&lt;P&gt;filled, this text is taken from the DDIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-valuf: Selection condition from-value (external format)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-valut: Selection condition to-value (external format)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-sign0: (I)nclusive (E)xclusive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_entries-optio: All values of the option field of the Select&lt;/P&gt;&lt;P&gt;option are allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The remaining fields are used internally and are irrelevant to the caller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2822580"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2374803"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3428278"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;GAURAV J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 10:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307580#M792134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-03T10:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307581#M792135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the layout we have option to display or not to disp;ay any field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 04:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307581#M792135</guid>
      <dc:creator>Sonal_J</dc:creator>
      <dc:date>2008-02-04T04:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307582#M792136</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add this feild in ur Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

field_style TYPE lvc_t_styl, "FOR DISABLE

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*step-2 * Call this Subroutine before Fieldcatalog........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

FORM set_specific_field_attributes .

  DATA ls_stylerow TYPE lvc_s_styl .
  DATA lt_styletab TYPE lvc_t_styl .


clear : ls_stylerow.
clear : wa_final-field_style.

refresh WA_FINAL-FIELD_STYLE[].
* Populate style variable (FIELD_STYLE) with style properties
* The following code sets it to be disabled(display only)
* if child deal Ticket Number Approved or rejected.
  LOOP AT it_final INTO wa_final.
    IF wa_final-apprd = 'X' or wa_final-rejct = 'X'.
        ls_stylerow-fieldname = 'APPRD' .    
        ls_stylerow-style = cl_gui_alv_grid=&amp;gt;mc_style_disabled.
        APPEND ls_stylerow TO wa_final-field_style.

        MODIFY it_final FROM wa_final.   "my Internal table, Replace ur internal table.

        ls_stylerow-fieldname = 'REJCT' .    " ur field name
        ls_stylerow-style = cl_gui_alv_grid=&amp;gt;mc_style_disabled.
        APPEND ls_stylerow TO wa_final-field_style.
        MODIFY it_final FROM wa_final.
   endif.
*  like this u have to add for all colunms in ur report which u 
*  want to disable.
* Note the stylerow appending should be in Alphabetic order

  ENDLOOP.

ENDFORM. " set_specific_field_attributes

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;bgan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 04:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307582#M792136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T04:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307583#M792137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 07:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem/m-p/3307583#M792137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-10T07:24:52Z</dc:date>
    </item>
  </channel>
</rss>

