<?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: Make the fields editable in module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800593#M1881041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have 2 requirements, both of which are tricky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Selection of the record.&lt;/P&gt;&lt;P&gt;Are you able to select the record?&lt;/P&gt;&lt;P&gt;You have to do the following settings, the variable name should be a global variable. You need to update your table record according to this variable in &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;PAI in Loop on internal table.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/615435" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Make particular cells editable.&lt;/P&gt;&lt;P&gt;Your simple Loop at screen does not work. You will have to read the columns from your table control and then set the editable or non-editable attributes there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This you will have to do in &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;PBO in Loop on internal table&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Sample code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;gwa_cols &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;scxtab_column&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"scxtab_control-cols.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP &lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;tc_wt_alloc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;cols &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;gwa_cols&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;&amp;lt;Condition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gwa_cols&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;invisible &lt;SPAN class="L0S55"&gt;= abap_true&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;tc_wt_alloc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;cols &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;gwa_cols.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Dec 2014 07:14:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-12-27T07:14:35Z</dc:date>
    <item>
      <title>Make the fields editable in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800592#M1881040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in a table control in that I have to display several record with selection button. And if I select a particular record and press edit button one particular column should be made editable for that particular record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used loop at screen and made that particular column editable. what is happening is if I press edit button that particular column is made editable for all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know how to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/1103/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/1103/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 06:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800592#M1881040</guid>
      <dc:creator>former_member335465</dc:creator>
      <dc:date>2014-12-27T06:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Make the fields editable in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800593#M1881041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have 2 requirements, both of which are tricky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Selection of the record.&lt;/P&gt;&lt;P&gt;Are you able to select the record?&lt;/P&gt;&lt;P&gt;You have to do the following settings, the variable name should be a global variable. You need to update your table record according to this variable in &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;PAI in Loop on internal table.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/615435" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Make particular cells editable.&lt;/P&gt;&lt;P&gt;Your simple Loop at screen does not work. You will have to read the columns from your table control and then set the editable or non-editable attributes there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This you will have to do in &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;PBO in Loop on internal table&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Sample code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;gwa_cols &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;scxtab_column&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"scxtab_control-cols.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP &lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;tc_wt_alloc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;cols &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;gwa_cols&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;&amp;lt;Condition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gwa_cols&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;invisible &lt;SPAN class="L0S55"&gt;= abap_true&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;tc_wt_alloc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;cols &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;gwa_cols.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 07:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800593#M1881041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-27T07:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Make the fields editable in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800594#M1881042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinmay, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got your logic but you told me to loop the table control right&lt;BR /&gt;(LOOP AT TC_WT_ALLOC-COLS INTO GWA_COLS. ) In my&lt;BR /&gt;case I given the table control name I given in my program ( LOOP AT TC_WBSE-COLS INTO GWA_COLS&lt;BR /&gt;) but it shows syntax error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly tell me what needs to be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 08:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800594#M1881042</guid>
      <dc:creator>former_member335465</dc:creator>
      <dc:date>2014-12-27T08:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Make the fields editable in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800595#M1881043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the syntax error? Have you declared table control before using it in PBO? (Check the order of includes)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 15:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800595#M1881043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-27T15:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Make the fields editable in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800596#M1881044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinmay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. I did the same with OOPS ALV. And now its working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 09:28:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-the-fields-editable-in-module-pool-program/m-p/10800596#M1881044</guid>
      <dc:creator>former_member335465</dc:creator>
      <dc:date>2015-01-05T09:28:42Z</dc:date>
    </item>
  </channel>
</rss>

