<?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: Making Table Control Cells editable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875939#M1594271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually ,as this event should trigger with F4 help only i need to write relevent code in F4 help module.&lt;/P&gt;&lt;P&gt;If I do loop at screen it will modify full column not a cell of that row .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sneha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2011 09:22:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-04-26T09:22:38Z</dc:date>
    <item>
      <title>Making Table Control Cells editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875937#M1594269</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 have designed table control .in that one field is having F4 help. on selecting one value from that,based on value next 3 column cells of that row should be enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if anyone have come accrossed the same requirement pls let me know the way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sneha Kumari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 08:43:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875937#M1594269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T08:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Making Table Control Cells editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875938#M1594270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sneha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should do the loop at screen inside the loop at "table_control" and set the "input" value according to your field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 08:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875938#M1594270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T08:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Making Table Control Cells editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875939#M1594271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually ,as this event should trigger with F4 help only i need to write relevent code in F4 help module.&lt;/P&gt;&lt;P&gt;If I do loop at screen it will modify full column not a cell of that row .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sneha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 09:22:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875939#M1594271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T09:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Making Table Control Cells editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875940#M1594272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sneha,&lt;/P&gt;&lt;P&gt;  if the loop at screen is inside the loop at table control in PBO section, the modification affects only current line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to write the code as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop with control XXXX&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 variable = 'YYYY'.&lt;/P&gt;&lt;P&gt;              ..... &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;             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;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 09:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875940#M1594272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T09:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Making Table Control Cells editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875941#M1594273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we need to write code for f4 help  in process on value request not in PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when i press on f4 for that column i select one value next to that i need to make those fields editable according to value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i need to proceed writing code for that login after f4 help function module.there I cant loop table control .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sneha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 09:36:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875941#M1594273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T09:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Making Table Control Cells editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875942#M1594274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There...try this in your 'ON_VALUE_REQUEST Module:&lt;/P&gt;&lt;P&gt;declare a Table type variable eg:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA:wf_screen LIKE dynpread OCCURS 0 WITH HEADER LINE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wf_screen-fieldname = 'ZCONSCOMP-QMCOD'.    "The name of screen field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wf_screen-stepl = 0.                                               "The number of the line busy with&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wf_screen-fieldvalue = it_qpk1cd-code.                "You can populate a value here&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wf_screen-fieldinp = ' '.                                           "X=Input enabled Space = Not enabled&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND wf_screen.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;---Then call this Function Module &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL FUNCTION 'DYNP_VALUES_UPDATE'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;EXPORTING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;dyname               = 'SAPMZCMPDL'                     "Dialogue Program name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;dynumb               = '0100'                                    "Screen your working with&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;TABLES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;dynpfields           = wf_screen&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;EXCEPTIONS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;invalid_abapworkarea = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;invalid_dynprofield  = 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;invalid_dynproname   = 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;invalid_dynpronummer = 4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;invalid_request      = 5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;no_fielddescription  = 6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;undefind_error       = 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;OTHERS               = 8.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Please note that you can read the screen calues by using FM:&lt;/P&gt;&lt;P&gt;*-----Read Screen Values&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      dyname               = 'SAPMZCMPDL'&lt;/P&gt;&lt;P&gt;      dynumb               = '0204'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields           = wf_screen&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;      invalid_dynprofield  = 2&lt;/P&gt;&lt;P&gt;      invalid_dynproname   = 3&lt;/P&gt;&lt;P&gt;      invalid_dynpronummer = 4&lt;/P&gt;&lt;P&gt;      invalid_request      = 5&lt;/P&gt;&lt;P&gt;      no_fielddescription  = 6&lt;/P&gt;&lt;P&gt;      invalid_parameter    = 7&lt;/P&gt;&lt;P&gt;      undefind_error       = 8&lt;/P&gt;&lt;P&gt;      double_conversion    = 9&lt;/P&gt;&lt;P&gt;      stepl_not_found      = 10&lt;/P&gt;&lt;P&gt;      OTHERS               = 11.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    LOOP AT wf_screen WHERE fieldname EQ 'ZCONSCOMP-FECOD'.&lt;/P&gt;&lt;P&gt;      zconscomp-fecod = wf_screen-fieldvalue.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 10:44:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875942#M1594274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T10:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Making Table Control Cells editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875943#M1594275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not change screen attributes in POV (F4) only in PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your POV module, you have to save the information (in some work area of the program) and then to trigger the PAI/PBO (via PAI using a [cl_gui_cfw=&amp;gt;set_new_ok_code|http://www.sdn.sap.com/irj/scn/advancedsearch?query=set_new_ok_code+cl_gui_cfw], just ignore this dummy ok_code in your PAI. You use the saved information in PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 11:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-table-control-cells-editable/m-p/7875943#M1594275</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-04-26T11:11:38Z</dc:date>
    </item>
  </channel>
</rss>

