<?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 disable some checkbox based on condition using alv function module approach in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790981#M1953307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i need to disable some of the checkboxes based on some condition in alv using FM approach.i have tried s_layout-box_fieldname = '-'.but, check box is going off completely.i want to grey it out.i dont want to completely remove the check box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2016 14:43:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-08-02T14:43:12Z</dc:date>
    <item>
      <title>disable some checkbox based on condition using alv function module approach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790981#M1953307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i need to disable some of the checkboxes based on some condition in alv using FM approach.i have tried s_layout-box_fieldname = '-'.but, check box is going off completely.i want to grey it out.i dont want to completely remove the check box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 14:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790981#M1953307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-02T14:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: disable some checkbox based on condition using alv function module approach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790982#M1953308</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;1) add field &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;celltab &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lvc_t_styl in your internal table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2) add below code after define ALV container:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;CALL METHOD &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ref_alv&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;register_edit_event&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;EXPORTING&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; i_event_id &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;cl_gui_alv_grid&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt; background-color: white;"&gt;mc_evt_enter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt; background-color: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt; background-color: white;"&gt;3)fill layout field like this: &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;p_layout&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;stylefname &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;'CELLTAB’.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt; background-color: white;"&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;4)add below code before call first_display:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt; background-color: white;"&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt; background-color: white;"&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;CALL METHOD &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ref_alv&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt; -&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;register_edit_event&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;EXPORTING&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; i_event_id &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;cl_gui_alv_grid&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mc_evt_modified.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) add below code after call first_display:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;* Set editable cells to ready for input initially&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;CALL METHOD &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;alv&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;set_ready_for_input&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;EXPORTING&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; i_ready_for_input &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= 1.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s321"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s321"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;6) when you want disabled checkbox field, fill celltab field like this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s321"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s321"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ls_celltab&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;fieldname &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;field_name&amp;gt;.&lt;BR /&gt; ls_celltab&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;style &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;cl_gui_alv_grid&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;mc_style_disabled.&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;INSERT &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_celltab &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;INTO TABLE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lt_celltab.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s321"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s321"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Let me know,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s321"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;AI&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s321"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 16:05:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790982#M1953308</guid>
      <dc:creator>alessandroieva</dc:creator>
      <dc:date>2016-08-02T16:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: disable some checkbox based on condition using alv function module approach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790983#M1953309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to supplement the given answer: there are some demo reports created by SAP that present the features of ALV. Editing only selected cells within ALV is presented in report &lt;STRONG&gt;BCALV_EDIT_02&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Approach used there is OO but I believe the general idea should be the same. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 17:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790983#M1953309</guid>
      <dc:creator>ziolkowskib</dc:creator>
      <dc:date>2016-08-02T17:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: disable some checkbox based on condition using alv function module approach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790984#M1953310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i found that there is no way ,to disable some checkboxes using reuse_alv_grid_display.we have to use either reuse_alv_grid_display_lvc or oop alv..using custom container..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 14:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790984#M1953310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-04T14:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: disable some checkbox based on condition using alv function module approach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790985#M1953311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You use ALV OO because my code is just for this typologi of ALV. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 08:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-some-checkbox-based-on-condition-using-alv-function-module-approach/m-p/11790985#M1953311</guid>
      <dc:creator>alessandroieva</dc:creator>
      <dc:date>2016-08-08T08:22:21Z</dc:date>
    </item>
  </channel>
</rss>

