<?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: table control editing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186965#M1519256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please let me know regarding these points:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I need to have a 'value help' or F4 help for the specific columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-value help = 'name of search help' will it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is there any other way to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not finding any screen attribute to set the text of a column e.g. a plant id shows as WERKS, but I want this to show 'Plant ID'.&lt;/P&gt;&lt;P&gt;is there any description property of the screen column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Aug 2010 08:07:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-10T08:07:54Z</dc:date>
    <item>
      <title>table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186961#M1519252</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 want to make editing to the fields of the table control based on some logic.&lt;/P&gt;&lt;P&gt;e.g. some fields/columns have to output only and some both I/O.  further, some fields need to mandatory based on some condition .&lt;/P&gt;&lt;P&gt;this logic has to be written in the PBO ?&lt;/P&gt;&lt;P&gt;I have created the table control from the TC wizard so it generates the code autmatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 05:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186961#M1519252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T05:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186962#M1519253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ravish.ojha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change edit / obligatory etc. properties of table control *_cell by cell_*,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to PBO of your screen &lt;/P&gt;&lt;P&gt;you will see the LOOP statemet created by wizard like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT   ITAB  "&amp;lt;-- your internal table&lt;/P&gt;&lt;P&gt;       WITH CONTROL TC_DATA  "&amp;lt;-- your table control name&lt;/P&gt;&lt;P&gt;       CURSOR TC_DATA-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MODULE TC_DATA_GET_LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MODULE MODULE_ZZ1.  "&amp;lt;----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; Insert a module here &lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD:   MODULE TC_DATA_CHANGE_FIELD_ATTR&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now insert your own module MODULE_ZZ1 inside that loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than coding of module :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE MODULE_ZZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if screen-name = 'FIELD1'.   "&amp;lt;-- your condiiton for field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if itab-field1 = 'ABC'.   "&amp;lt;--- your contidion for record and value for field&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    screen-input = '1'.    &lt;/P&gt;&lt;P&gt;    SCREEN-REQUIRED = '1'.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it'll be useful for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bulent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bulent Balci on Aug 10, 2010 9:54 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 07:51:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186962#M1519253</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2010-08-10T07:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186963#M1519254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make the rows editable and uneditable based on conditions apart from the columns.&lt;/P&gt;&lt;P&gt;how can I set the property/attributes of the rows based on the function code values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I need to have a 'value help' or F4 help for the specific columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-value help = 'name of search help'       will it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is there any other way to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not finding any screen attribute to set the text of a column e.g. a plant id shows as WERKS, but I want this to show 'Plant ID'.&lt;/P&gt;&lt;P&gt;is there any description property of the screen column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ravish.ojha on Aug 10, 2010 9:57 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ravish.ojha on Aug 10, 2010 9:58 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 07:55:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186963#M1519254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T07:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186964#M1519255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just imagine your table name is itab &lt;/P&gt;&lt;P&gt;and If field1 of itab has value 'ABC' you want to set this row editable :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than change the coding of module MODULE_ZZ in previous example like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE MODULE_ZZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itab-field1 = 'ABC'. "&amp;lt;--- your contidion for row selection&lt;/P&gt;&lt;P&gt;  screen-input = '1'. &lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  screen-input = '0'. &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bulent Balci on Aug 10, 2010 10:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 08:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186964#M1519255</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2010-08-10T08:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186965#M1519256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please let me know regarding these points:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I need to have a 'value help' or F4 help for the specific columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-value help = 'name of search help' will it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is there any other way to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not finding any screen attribute to set the text of a column e.g. a plant id shows as WERKS, but I want this to show 'Plant ID'.&lt;/P&gt;&lt;P&gt;is there any description property of the screen column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 08:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186965#M1519256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T08:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186966#M1519257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No .. you can not set the f4 help with field screen-value_help dynamically,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can set it statically on screen painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open your screen in screen painter,&lt;/P&gt;&lt;P&gt;double click on a field in a row&lt;/P&gt;&lt;P&gt;go to "Dict" tab on the right screen and fill  "Search Help" field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's not meaningful to change the search help of a field&lt;/P&gt;&lt;P&gt;dynamically depending of row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bulent Balci on Aug 10, 2010 10:21 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 08:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186966#M1519257</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2010-08-10T08:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186967#M1519258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ojha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the below Threads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To SDN Team: these threads were displaying properly formatted manner, but the format is disturbed now, Kindly Look into this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[How to edit a particular row in the table ctrl when a push |&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8583450"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Table Control dynamic F4   |&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1533343"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 11:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186967#M1519258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T11:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186968#M1519259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Ram for posting ur articles!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my problem is very specific.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a new record to the table control.&lt;/P&gt;&lt;P&gt;scenario is the only the top row should be editable and not all other rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case: user is displayed with the whole set of data in the TC, now he clicks on the 'add' 'insert' button and 1 row should be introduced at the top of TC and only that row should be editable and all other rows should not be editable.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently I am able to make the columns editable. but making specific rows editable is the one I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please provide ur valuable inputs on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 11:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186968#M1519259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T11:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186969#M1519260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Ravish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

PROCESS BEFORE OUTPUT.
  MODULE status_&amp;lt;screen&amp;gt;.

* Table control for OUTPUT
  LOOP WITH CONTROL &amp;lt;table control&amp;gt;.
    MODULE Screen_modify.
  ENDLOOP.

MODULE Screen_modify OUTPUT.

* Table control reading values from input screen &amp;amp; displaying on screen
  READ TABLE &amp;lt;table in table control &amp;gt; INTO &amp;lt;workarea&amp;gt;
                            INDEX &amp;lt;table control&amp;gt;-current_line.

* Logic for screen Display when Required Flag = 'D'
  IF &amp;lt;workarea&amp;gt;-&amp;lt;filed&amp;gt;= 'XXX'.     "Pass the values or field which you want to Check
    LOOP AT SCREEN.
      IF screen-name = &amp;lt;workarea&amp;gt;-&amp;lt;filed&amp;gt;.     "if you Pass work area then total line item is in Display mode else
                                                                        "if you pass workarea+field the particular field in display
        screen-input = 0.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ENDIF.

ENDMODULE.                 " 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 12:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186969#M1519260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T12:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: table control editing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186970#M1519261</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;thanks for replying here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this approach, my logic is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF Local_variable-screen-name = 'Work_Area-Col_name".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me how can I pass the work area as a whole when the check is for the work area + field name.&lt;/P&gt;&lt;P&gt;the screen-name always refers to the individual columns and not the work area.&lt;/P&gt;&lt;P&gt;or please tell me how can I get the work area assigned to the local variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 12:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-editing/m-p/7186970#M1519261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T12:33:07Z</dc:date>
    </item>
  </channel>
</rss>

