<?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 Screen Field value update in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-field-value-update/m-p/6032597#M1349614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to set screen field as read only and write mode, depending on some condition. for doing the same i am setting screen field attribute in loop-at-screen. This is working fine, but the problem is screen contains a control tab and once the screen gets called it gives error exactly as discussed in the forum  &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="800466"&gt;&lt;/A&gt; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my problem, some of the field on main screen is not part of sub screen area. so this part can not be covered if i do loop-at-screen only for sub-screen area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me how we can set screen field attribute without loop-at-screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any code snippet please post it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance. &lt;/P&gt;&lt;P&gt;Pritam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2009 13:57:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-20T13:57:01Z</dc:date>
    <item>
      <title>Screen Field value update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-field-value-update/m-p/6032597#M1349614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to set screen field as read only and write mode, depending on some condition. for doing the same i am setting screen field attribute in loop-at-screen. This is working fine, but the problem is screen contains a control tab and once the screen gets called it gives error exactly as discussed in the forum  &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="800466"&gt;&lt;/A&gt; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my problem, some of the field on main screen is not part of sub screen area. so this part can not be covered if i do loop-at-screen only for sub-screen area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me how we can set screen field attribute without loop-at-screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any code snippet please post it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance. &lt;/P&gt;&lt;P&gt;Pritam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 13:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-field-value-update/m-p/6032597#M1349614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T13:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Field value update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-field-value-update/m-p/6032598#M1349615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pritam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To modify control properties looping at the screen is the only way available. This is the way ABAP works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can assign different set of controls to different MODIF ID so that during LOOP AT SCREEN you can differenciate &lt;/P&gt;&lt;P&gt;between the controls on normal screen and subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: TEST1(10) MODIF ID SC1,&lt;/P&gt;&lt;P&gt;            TEST2(10) MODIF ID SC2,&lt;/P&gt;&lt;P&gt;            TEST3(10) MODIF ID SC1,&lt;/P&gt;&lt;P&gt;            TEST4(10) MODIF ID SC2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  IF SCREEN-GROUP1 = 'SC1'.&lt;/P&gt;&lt;P&gt;    SCREEN-INTENSIFIED = '1'.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    CONTINUE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  IF SCREEN-GROUP1 = 'SC2'.&lt;/P&gt;&lt;P&gt;    SCREEN-INTENSIFIED = '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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can analize GROUP3 for following options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLK for SELECTION-SCREEN ... BLOCK ...: Block &lt;/P&gt;&lt;P&gt;COF for SELECTION-SCREEN COMMENT ... FOR FIELD ...: Field-related comment &lt;/P&gt;&lt;P&gt;COM for SELECTION-SCREEN COMMENT: Comment &lt;/P&gt;&lt;P&gt;HGH for SELECTION-OPTIONS: Interval upper limit &lt;/P&gt;&lt;P&gt;ISX for PARAMETERS ... AS SEARCH PATTERN: Komplex selection &lt;/P&gt;&lt;P&gt;LOW for SELECTION-OPTIONS: Interval lower limit &lt;/P&gt;&lt;P&gt;OPU for SELECTION-OPTIONS: Selection option icons &lt;/P&gt;&lt;P&gt;PAR for PARAMETERS: Parameters &lt;/P&gt;&lt;P&gt;PBU for SELECTION-SCREEN PUSHBUTTON ...: Pushbutton &lt;/P&gt;&lt;P&gt;TAB for SELECTION-SCREEN TAB: Tab title &lt;/P&gt;&lt;P&gt;TOT for SELECTION-OPTIONS: Text of interval upper limit &lt;/P&gt;&lt;P&gt;TST for SELECTION-SCREEN ... TABBED ...: Tabstrip &lt;/P&gt;&lt;P&gt;TXT for PARAMETERS, SELECT-OPTIONS: Selection text &lt;/P&gt;&lt;P&gt;ULI for SELECTION-SCREEN ULINE: Horizontal Line &lt;/P&gt;&lt;P&gt;VPU for SELECT-OPTIONS: Pushbutton for multiple selection &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 14:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-field-value-update/m-p/6032598#M1349615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T14:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Field value update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-field-value-update/m-p/6032599#M1349616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;This is what i wanted to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 04:03:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-field-value-update/m-p/6032599#M1349616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T04:03:30Z</dc:date>
    </item>
  </channel>
</rss>

