<?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: grayed out input screen field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915853#M380945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;My case is that,&lt;/P&gt;&lt;P&gt;I'm going to do the batch input for a field which is a structure but no storage in the db table, i.e. RV60F-KFREL.&lt;/P&gt;&lt;P&gt;In some cases, the field is grayed out and does not allow user to change it no matter it is batch input or not.&lt;/P&gt;&lt;P&gt;I just want to escape from such cases whenever my batch program hit this case, so I have to check it first before excuting the batch input codes.&lt;/P&gt;&lt;P&gt;But seems that I can't check it by searching the db table....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2007 06:15:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-12T06:15:24Z</dc:date>
    <item>
      <title>grayed out input screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915850#M380942</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;How can I check the status of a screen field if it is displayed only in some case?&lt;/P&gt;&lt;P&gt;e.g. an input field in a sales order is grayed out &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 05:55:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915850#M380942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T05:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: grayed out input screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915851#M380943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/selscr/selscr_loopscreen.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/selscr/selscr_loopscreen.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the event AT SELECTION SCREEN OUTPUT you can do a LOOP AT SCREEN and turn off the ACTIVE indicator. Use the debugger to determine what the name of the field is that you want to hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.  &lt;/P&gt;&lt;P&gt;IF SCREEN-FIELDNAME = 'the name'.  &lt;/P&gt;&lt;P&gt;  SCREEN-ACTIVE = '0'.    &lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters : fname like rlgrap-filename.
      DATA : filename TYPE string.
      DATA : table1 TYPE filetable,
             rc TYPE i.
DATA : VAL LIKE DYNPREAD-FIELDVALUE.
 
data: dynfields type table of dynpread with header line.
 
PARAMETERS : R1 RADIOBUTTON GROUP RG  modif id abc.
PARAMETERS : R2 RADIOBUTTON GROUP RG modif id def.
 
AT SELECTION-SCREEN ON VALUE-REQUEST FOR fname.
 
  CALL METHOD cl_gui_frontend_services=&amp;gt;file_open_dialog
      EXPORTING
        default_filename = '*.*'
      CHANGING
        file_table       = table1
        rc               = rc.
 
    IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE e000(zXXX) WITH 'Error'.
    ENDIF.
 
read table table1 index 1 into fname.
 
 
IF fname cs '.XLS'.             "substitute .csv
dynfields-fieldname = 'R1'.
dynfields-fieldvalue = 'X'.
append dynfields.
dynfields-fieldname = 'R2'.
dynfields-fieldvalue = ' '.
append dynfields.
 
elseif fname cs '.DOC'.
dynfields-fieldname = 'R1'.
dynfields-fieldvalue = ' '.
append dynfields.
dynfields-fieldname = 'R2'.
dynfields-fieldvalue = 'X'.
append dynfields.
 
ENDIF.
 
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-cprog
dynumb = sy-dynnr
tables
dynpfields = dynfields
exceptions
others = 8.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 05:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915851#M380943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T05:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: grayed out input screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915852#M380944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to the program.&lt;/P&gt;&lt;P&gt;See the code in AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;You Can find the condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 05:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915852#M380944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T05:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: grayed out input screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915853#M380945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;My case is that,&lt;/P&gt;&lt;P&gt;I'm going to do the batch input for a field which is a structure but no storage in the db table, i.e. RV60F-KFREL.&lt;/P&gt;&lt;P&gt;In some cases, the field is grayed out and does not allow user to change it no matter it is batch input or not.&lt;/P&gt;&lt;P&gt;I just want to escape from such cases whenever my batch program hit this case, so I have to check it first before excuting the batch input codes.&lt;/P&gt;&lt;P&gt;But seems that I can't check it by searching the db table....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 06:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915853#M380945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T06:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: grayed out input screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915854#M380946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to get the program name of that DYNPRO and check the corresponding module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are dealing with a standard program then copy it to zname and then do the necessary modification in that corresponding PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if you don't give points I don't mind, but please let me whether the above said works or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 08:05:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/grayed-out-input-screen-field/m-p/1915854#M380946</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-02-12T08:05:09Z</dc:date>
    </item>
  </channel>
</rss>

