<?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: module pool screen - editable cell in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-editable-cell/m-p/2590568#M593066</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;Check this code Girish or &amp;lt;b&amp;gt;Frank ? &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  loop at i_ysccitem with control tabcntl7 cursor
                                              tabcntl7-current_line.
      module disable_hts_fields.
  endloop.


  module disable_hts_fields output.

        loop at screen.
             if ysccitem-htser ne space.
              screen-input = c_off. "&amp;lt;&amp;lt; c_off = 0
              modify screen.
            else.
              screen-input = c_on. "&amp;lt;&amp;lt; c_on = 1
              modify screen.
            endif.
          endif.
        endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2007 15:30:37 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2007-08-06T15:30:37Z</dc:date>
    <item>
      <title>module pool screen - editable cell</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-editable-cell/m-p/2590566#M593064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table in a module pool screen. I have 4 fields in the table.Based on the row which is selected,i need to make a cell of one field editable. how do i go about this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Girish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 15:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-editable-cell/m-p/2590566#M593064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T15:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: module pool screen - editable cell</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-editable-cell/m-p/2590567#M593065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;If you are using ther Table control you can't make a particular cell as editable&lt;/P&gt;&lt;P&gt;If you keep separate fields for the four rows without a table control you can make that particular field as editable&lt;/P&gt;&lt;P&gt;but for the table data we use table control.&lt;/P&gt;&lt;P&gt;see the table control related doc&lt;/P&gt;&lt;P&gt;chk the demo prog:&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABCONT_LOOP&lt;/P&gt;&lt;P&gt;Check the below links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/howdo_a.htm" target="test_blank"&gt;http://www.planetsap.com/howdo_a.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id25.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id25.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can see the below examples...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to se38 and give demo&lt;STRONG&gt;dynpro&lt;/STRONG&gt; and press F4.&lt;/P&gt;&lt;P&gt;YOu will get a list of demo module pool programs.&lt;/P&gt;&lt;P&gt;One more T-Code is ABAPDOCU.&lt;/P&gt;&lt;P&gt;YOu can find more examples there.&lt;/P&gt;&lt;P&gt;See the prgrams:&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement &lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/ZSAPcHAT" target="test_blank"&gt;http://www.geocities.com/ZSAPcHAT&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/files/using_table_in_screen.pdf" target="test_blank"&gt;http://www.allsaplinks.com/files/using_table_in_screen.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 15:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-editable-cell/m-p/2590567#M593065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T15:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: module pool screen - editable cell</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-editable-cell/m-p/2590568#M593066</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;Check this code Girish or &amp;lt;b&amp;gt;Frank ? &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  loop at i_ysccitem with control tabcntl7 cursor
                                              tabcntl7-current_line.
      module disable_hts_fields.
  endloop.


  module disable_hts_fields output.

        loop at screen.
             if ysccitem-htser ne space.
              screen-input = c_off. "&amp;lt;&amp;lt; c_off = 0
              modify screen.
            else.
              screen-input = c_on. "&amp;lt;&amp;lt; c_on = 1
              modify screen.
            endif.
          endif.
        endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 15:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-editable-cell/m-p/2590568#M593066</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-06T15:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: module pool screen - editable cell</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-editable-cell/m-p/2590569#M593067</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;Try this way in runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  MODULE &amp;lt;module name&amp;gt; OUTPUT.
 
        LOOP AT screen.
             IF screen-name &amp;lt;&amp;gt; &amp;lt;data name&amp;gt;.
              MOVE 1 TO screen-input. "Making a cell editable
              MODIFY screen.
            ELSE.
              MOVE 0 TO screen-input. "Making a cell non-editable
              MODIFY screen.
            ENDIF.
        ENDLOOP.
        ....
   ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or just mark the screen field as flag on "INPUT" in screen editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcelo Ramos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 15:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-editable-cell/m-p/2590569#M593067</guid>
      <dc:creator>marcelo_ramos1</dc:creator>
      <dc:date>2007-08-06T15:43:03Z</dc:date>
    </item>
  </channel>
</rss>

