<?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: Dynamic output &amp; input fields in the table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896954#M374839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Stefan Bergmann  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton . I am using 4.6c, will it work? Anyway let met ry this also.&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;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2007 10:01:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-23T10:01:41Z</dc:date>
    <item>
      <title>Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896946#M374831</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;How can one change the attribute of  input field to output field basically greying of field) dynamically&lt;/P&gt;&lt;P&gt;based on the some flag. Loop at screen does not work. I need to change the attributes&lt;/P&gt;&lt;P&gt;of field 'outfiled' and output field display only'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&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;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896946#M374831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T06:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896947#M374832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt; set the screen input of the coreesponding element to 0.&lt;/P&gt;&lt;P&gt; try this code..&lt;/P&gt;&lt;P&gt; loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name  = '     '.       " enter the element name&lt;/P&gt;&lt;P&gt;    screen-input = 0.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u still face any problems, i'll send  a example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 08:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896947#M374832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T08:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896948#M374833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;  Where did you do your dynamic screen modification? In PBO section right?&lt;/P&gt;&lt;P&gt;It is the only way you can dynamically change screen attributes.&lt;/P&gt;&lt;P&gt;Refer this help link to know more about the topic:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 08:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896948#M374833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T08:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896949#M374834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use this code&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;fs_cols&amp;gt; TYPE cxtab_control-cols,&lt;/P&gt;&lt;P&gt;                 &amp;lt;fs_wkcols&amp;gt; TYPE LINE OF cxtab_control-cols,&lt;/P&gt;&lt;P&gt;                 &amp;lt;fs_scr&amp;gt;  TYPE screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ASSIGN tabcntrl-cols TO &amp;lt;fs_cols&amp;gt;.&lt;/P&gt;&lt;P&gt;      LOOP AT &amp;lt;fs_cols&amp;gt; ASSIGNING &amp;lt;fs_wkcols&amp;gt;.&lt;/P&gt;&lt;P&gt;        ASSIGN &amp;lt;fs_wkcols&amp;gt;-screen TO &amp;lt;fs_scr&amp;gt;.&lt;/P&gt;&lt;P&gt;        IF &amp;lt;fs_scr&amp;gt;-name = 'TB_MARA-MATNR'.  " here you give ur table and field name&lt;/P&gt;&lt;P&gt;          &amp;lt;fs_scr&amp;gt;-input = 0.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 08:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896949#M374834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T08:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896950#M374835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; U need to set the value of flag in PAI event upon enter. In the PBO module write code something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE rad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MODULE rad OUTPUT.&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;  WHEN ' '.&lt;/P&gt;&lt;P&gt;      LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;        IF l_flag = 1.&lt;/P&gt;&lt;P&gt;          IF screen-name = 'PROJ_DESC'&lt;/P&gt;&lt;P&gt;          OR screen-name = 'PROJECT_TYPE'.&lt;/P&gt;&lt;P&gt;            screen-input = 0.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt; ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my fields project type and project description gets grayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-SatyaPriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 08:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896950#M374835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T08:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896951#M374836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya,&lt;/P&gt;&lt;P&gt;This doesn't work for table controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;harsha,&lt;/P&gt;&lt;P&gt;you can try the code I wrote and test it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 08:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896951#M374836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T08:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896952#M374837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you all for the express reply. Yes, Nishant &lt;/P&gt;&lt;P&gt; is right, it does not work. Will try your code and revert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;warm regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 10:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896952#M374837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T10:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896953#M374838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I generated a table control (ERP 6.2) and somewhere I found the coding like this (the name of the table control is TABLE_CONTROL):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard: output module for tc 'TABLE_CONTROL'. do not change this lin&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard: get lines of tablecontrol&lt;/P&gt;&lt;P&gt;module TABLE_CONTROL_get_lines output.&lt;/P&gt;&lt;P&gt;  g_TABLE_CONTROL_lines = sy-loopc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do a loop at the screen at this place, I can control the individual input/output for the screen fields (the table fields). In my work area (WA_CONTROL) I can see the actual value of fields. Depending on this, I choose to enable/disable input via:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if wa_control-material &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;screen-input = '0'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896953#M374838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896954#M374839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Stefan Bergmann  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton . I am using 4.6c, will it work? Anyway let met ry this also.&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;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 10:01:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896954#M374839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T10:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic output &amp; input fields in the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896955#M374840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this will also work in 4.6C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 10:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-output-input-fields-in-the-table-control/m-p/1896955#M374840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T10:57:06Z</dc:date>
    </item>
  </channel>
</rss>

