<?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: help regarding table control in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647005#M1666280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks watchpoint. this solved my problem. thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Mar 2012 09:15:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-10T09:15:08Z</dc:date>
    <item>
      <title>help regarding table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8646997#M1666272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using table control in my program to input some data and as output it displays the same entries but the rest of the rows are grayed out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want it to either display input enabled blank table control with no data as output. Or it should display the entries made and the rest of the rows input enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please provide help &lt;EM&gt;&amp;lt;removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Chandni Sharma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: chandnisharma89 on Mar 8, 2012 9:29 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Mar 8, 2012 10:10 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 20:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8646997#M1666272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T20:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: help regarding table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8646998#M1666273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see 2 options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Put empty lines in your program internal table so that they will be displayed as input enabled in your table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) As alternative, you can use table control wizard to insert delete, add buttons for your table. In that way, if user wants to input new line, he has to click add button to add new line. Same thing to delete a line, he has to click the delete button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 20:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8646998#M1666273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T20:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: help regarding table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8646999#M1666274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to enable an entire column you have to place something like this in the PBO module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT SCREEN.
  CASE SCREEN-FIELDNAME.
    WHEN 'YOUR_FIELD_NAME'.
      SCREEN-INPUT = 0.
    WHEN OTHERS.
  ENDCASE.
  MODIFY SCREEN.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 21:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8646999#M1666274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T21:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: help regarding table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647000#M1666275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dean.&lt;/P&gt;&lt;P&gt;i would do that if i do not find any other option. that would definitely solve my problem but i was looking for a standard way to do this. i cannot add add and delete row buttons since my client is not in favor of that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 09:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647000#M1666275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T09:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: help regarding table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647001#M1666276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks fsimionatto. i think this should work but i am not able to judge how to use the case statement for my Table_control-cols-screen-name.&lt;/P&gt;&lt;P&gt;the name of the fields is contained in the 'name' field of structure 'screen' which is a field of 'cols' field of my table control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 09:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647001#M1666276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T09:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: help regarding table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647002#M1666277</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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT flights-cols INTO cols. " Give your own condition
  IF cols-screen-name = 'ABC'.
    cols-screen-input = '0'.
  ENDIF.
  MODIFY flights-cols FROM cols INDEX sy-tabix.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Danish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 09:20:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647002#M1666277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T09:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: help regarding table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647003#M1666278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this:&lt;/P&gt;&lt;P&gt;table control default no of lines are 10.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in order to enble the table control lines u need to set the lines component of structure table control say TC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;At screen Provide this logic.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
process before output.
module status_001.  &amp;lt;-- in this module set the lines of structure TC.
process after input.
loop at i_tab.
endloop.

module get_lines_in_itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;provide the code in corresponding modules.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
module status_001 output.
tc-lines = v_lines + 30.  &amp;lt;---set the lines of table control 30 lines more than the lines in internal table
endmodule.

module get_lines_in_itab.
data v_lines type i.
clear v_lines.
describe table itab lines v_lines.
endmodule.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert back if problem not solved!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 10:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647003#M1666278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T10:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: help regarding table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647004#M1666279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Danish, i did try this but this does not seem to solve my problem. my table control output is still grayed out except for the rows with entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 08:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647004#M1666279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-10T08:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: help regarding table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647005#M1666280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks watchpoint. this solved my problem. thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 09:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-table-control-in-module-pool/m-p/8647005#M1666280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-10T09:15:08Z</dc:date>
    </item>
  </channel>
</rss>

