<?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 screen field uneditable in runtime in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505530#M233672</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;&lt;/P&gt;&lt;P&gt;use your routine to modify at events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) initialzation&lt;/P&gt;&lt;P&gt;2) at selection-screen output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Sep 2006 07:56:08 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2006-09-06T07:56:08Z</dc:date>
    <item>
      <title>making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505527#M233669</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;   I have a field that should be READ-ONLY when the screen appears (SCREEN-INPUT = 0). Then i should be able to select F4 help for the field, for which i make     SCREEN-INPUT = 1. But after selection of a value from the F4 help i want to make the field again READ-ONLY   (SCREEN-INPUT = 0) which is not happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Either am able to display the value that i select from F4 help or I am able to  make the field READ-ONLY. Both are not happening together. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Can any one please let me know how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 07:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505527#M233669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T07:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505528#M233670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make ur field input enabled only if its initial.&lt;/P&gt;&lt;P&gt;it means by default ur field will be in display mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 07:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505528#M233670</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-09-06T07:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505529#M233671</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;try this code for your field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN output.

If NOT field IS INITIAL.

LOOP AT SCREEN.
if screen-name = 'FIELD'.
   screen-input = 0.
   modify screen.
ENDIF.
ENDLOOP.&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 07:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505529#M233671</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-09-06T07:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505530#M233672</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;&lt;/P&gt;&lt;P&gt;use your routine to modify at events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) initialzation&lt;/P&gt;&lt;P&gt;2) at selection-screen output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 07:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505530#M233672</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-09-06T07:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505531#M233673</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 tried all the events possible.But those events doesnot get triggered when i select a value from F4 help.because after selecting a value i want to make the field READ-ONLY. Kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 09:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505531#M233673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T09:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505532#M233674</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;You're right Ram, so you can't update the screen after pressing F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you can try to manage the search help programmaticly by event AT SELECTION-SCREEN ON VALUE-REQUEST and here re-call the selection-screen, so AT SELECTION-SCREEN OUTPUT event should be triggered, but I'm not sure it can work....try!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 10:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505532#M233674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T10:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505533#M233675</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;R u using a selection-screen or a screen??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 10:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505533#M233675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T10:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505534#M233676</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 think you can not provide F4 help for a field which is in display mode on selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My suggestion is instead of changing it to display mode, let the user input some value. You can do validation for the input given in at selection-screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 10:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505534#M233676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T10:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505535#M233677</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;If its selection-screen :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Process it in the AT SELECTION-SCREEN ON FIELD ...&lt;/P&gt;&lt;P&gt;event. Set a flag and make your screen changes in AT SELECTION OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you`re using a Dialog Module :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Process it in the POV, have a module with the field statement and set a flag. Make screen changes in the PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 10:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505535#M233677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T10:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505536#M233678</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 tried both inputs given by Zapper and Max, but it doesnot sem to work. Is there a sample code that you can send so i can verify if what iam doing is right? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also Sailaja, the user requirement is this way. So i cannot change it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;It is in Display mode. I change it to Input mode, then press F4 help and select a value. Now with the value displayed in the field, I want to chagne it to display mode again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 10:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505536#M233678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T10:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505537#M233679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ram kumar check this one, i worked with this kind of scenraio, check only the bold portion, the rest just shows the scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i looping again at at selection screen output i check whether the field with F4 help is filled or not and then lock them accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR ST_NAME.

  CLEAR: FIELD_VALUE, DYNPRO_VALUES.
  REFRESH DYNPRO_VALUES.
  FIELD_VALUE-FIELDNAME = 'EXCH'.

  APPEND FIELD_VALUE TO DYNPRO_VALUES.

  CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      DYNAME             = SY-CPROG
      DYNUMB             = SY-DYNNR
      TRANSLATE_TO_UPPER = 'X'
    TABLES
      DYNPFIELDS         = DYNPRO_VALUES.

  READ TABLE DYNPRO_VALUES INDEX 1 INTO FIELD_VALUE.

  IF FIELD_VALUE-FIELDVALUE IS NOT INITIAL.

    IF SY-SUBRC = 0 AND FIELD_VALUE-FIELDVALUE = 1.

      FIELD_VALUE-FIELDVALUE = 'BSE'.

    ELSEIF SY-SUBRC = 0 AND FIELD_VALUE-FIELDVALUE = 2.

      FIELD_VALUE-FIELDVALUE = 'NSE'.

    ENDIF.

    SELECT STOCK ST_NAME
                 CURRPR
                 FROM
                 ZEXCH
                 INTO TABLE TEMP_ITAB
                 WHERE EXCH = FIELD_VALUE-FIELDVALUE.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        RETFIELD    = 'ST_NAME'
        DYNPPROG    = SY-CPROG
        DYNPNR      = SY-DYNNR
        DYNPROFIELD = 'ST_NAME'
        VALUE_ORG   = 'S'
      TABLES
        VALUE_TAB   = TEMP_ITAB
        RETURN_TAB  = RETURN.

    SELECT STOCK CURRPR
                 FROM ZEXCH
                 INTO (T_CODE, T_CURRPR)
                 WHERE ST_NAME = RETURN-FIELDVAL.
    ENDSELECT.

    CLEAR DYNPRO_VALUES[].

    FIELD_VALUE-FIELDNAME = 'ST_NAME'.
    FIELD_VALUE-FIELDVALUE = RETURN-FIELDVAL.
    APPEND  FIELD_VALUE  TO DYNPRO_VALUES .

    FIELD_VALUE-FIELDNAME = 'ST_CODE'.
    FIELD_VALUE-FIELDVALUE = T_CODE.
    APPEND  FIELD_VALUE  TO DYNPRO_VALUES .

    CALL FUNCTION 'HRCM_AMOUNT_TO_STRING_CONVERT'
      EXPORTING
        BETRG  = T_CURRPR
      IMPORTING
        STRING = T_CHAR.

    FIELD_VALUE-FIELDNAME = 'CURRPR'.
    FIELD_VALUE-FIELDVALUE = T_CHAR.
    APPEND  FIELD_VALUE  TO DYNPRO_VALUES .

* Update the dynpro values.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
      EXPORTING
        DYNAME     = SY-CPROG
        DYNUMB     = SY-DYNNR
      TABLES
        DYNPFIELDS = DYNPRO_VALUES.

  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;************************************************************************
*                     At  Selection-Screen output
************************************************************************

AT SELECTION-SCREEN OUTPUT.

*  APPEND 'ONLI' TO CURRENT_SCR-EXCL.   "Execute
*  APPEND 'PRIN' TO CURRENT_SCR-EXCL.   "Execute and Print
*  APPEND 'SJOB' TO CURRENT_SCR-EXCL.   "Execute in Background

  LOOP AT SCREEN.

    IF SCREEN-NAME = 'ACCNO'.

      SELECT ACCNO
             NAME
             BANK
             BANKACC
             AMOUNT
             FROM ZUSERDETAILS
             INTO (ACCNO,NAME,BANK,BANKACC,AMOUNT)
             WHERE ACCNO = TEMP_ACCNO.

      ENDSELECT.

      SCREEN-INPUT = 0.
      MODIFY SCREEN.

    ENDIF.

    IF SCREEN-NAME = 'NAME' OR
       SCREEN-NAME = 'BANKNAME' OR
       SCREEN-NAME = 'BANKACC' OR
       SCREEN-NAME = 'AMOUNT' OR
       SCREEN-NAME = 'CURRPR' OR
       SCREEN-NAME = 'ST_CODE'.

      SELECT NAME FROM ZBANKCODE INTO BANKNAME WHERE BANK = BANK.
      ENDSELECT.

      SCREEN-INPUT = 0.
      MODIFY SCREEN.

    ENDIF.

&amp;lt;b&amp;gt;    IF SCREEN-NAME = 'ST_NAME'.

      IF ST_NAME IS NOT INITIAL AND FLAG_SEL IS INITIAL.

        CLEAR LIMPR.
        CLEAR QTY.


        IF EXCH = 1.
          L_EXCH = 'BSE'.
        ELSEIF EXCH = 2.
          L_EXCH = 'NSE'.
        ELSE.
          FLAG_END = 'X'.
          MESSAGE I000(ZZ) WITH 'Select an exchange from dropdown'.
          STOP.
        ENDIF.

        SELECT STOCK CURRPR
                     FROM
                     ZEXCH
                     INTO (ST_CODE, CURRPR)
                     WHERE ST_NAME = ST_NAME
                     AND EXCH = L_EXCH.
        ENDSELECT.

        IF SY-SUBRC &amp;lt;&amp;gt; 0.

          FLAG_END = 'X'.
          CLEAR CURRPR.
          CLEAR ST_CODE.
          CLEAR ST_NAME.

          LOOP AT SCREEN.

            IF SCREEN-NAME = 'ST_CODE' OR SCREEN-NAME = 'CURRPR'.

              SCREEN-INPUT = 0.
              MODIFY SCREEN.

            ENDIF.

          ENDLOOP.

          MESSAGE I000(ZZ) WITH 'This is not valid name of the stock'.
          STOP.
        ENDIF.

      ENDIF.&amp;lt;/b&amp;gt;
    ENDIF.


  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 11:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505537#M233679</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-09-06T11:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505538#M233680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if i had explained the scenario properly or not. Here we go again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First a screen is displayed with four radio buttons. &lt;/P&gt;&lt;P&gt;2. Up on selecting a radio button accordingly a text box appears (it was hidden in INITIALIZATION eventas well it is made READ-ONLY).&lt;/P&gt;&lt;P&gt;3. Now when i press F4 help, here i Loop at screen and make the text box editable.&lt;/P&gt;&lt;P&gt;4. I select a value from F4 help. Now the value that i selected should be displayed and also the text box should be changed to READ-ONLY mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you have mentioned, in the event AT SELECTION-SCREEN OUTPUT, i have looped at screen and tried to change the field to READ-ONLY mode, but after selecting a value through F4 help, this particular event doesnot get triggered. This is where i stand now..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 11:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505538#M233680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T11:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505539#M233681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this sample perhaps it can help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_MATNR LIKE MARA-MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: TABNAME    TYPE  DFIES-TABNAME,&lt;/P&gt;&lt;P&gt;        FIELDNAME  TYPE  DFIES-FIELDNAME.&lt;/P&gt;&lt;P&gt;  DATA  T_VALUE    TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            TABNAME           = TABNAME&lt;/P&gt;&lt;P&gt;            FIELDNAME         = FIELDNAME&lt;/P&gt;&lt;P&gt;            SEARCHHELP        = 'MAT1'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            RETURN_TAB        = T_VALUE&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            FIELD_NOT_FOUND   = 1&lt;/P&gt;&lt;P&gt;            NO_HELP_FOR_FIELD = 2&lt;/P&gt;&lt;P&gt;            INCONSISTENT_HELP = 3&lt;/P&gt;&lt;P&gt;            NO_VALUES_FOUND   = 4&lt;/P&gt;&lt;P&gt;            OTHERS            = 5.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE T_VALUE INDEX 1.&lt;/P&gt;&lt;P&gt;    P_MATNR = T_VALUE-FIELDVAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    F4 = 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SET SCREEN 1000. LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;  ENDIF.&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;  IF F4 = 'x'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 11:49:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505539#M233681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T11:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: making screen field uneditable in runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505540#M233682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was the resolution i was looking for. Thanks a lot Max. full marks to you &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 12:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-screen-field-uneditable-in-runtime/m-p/1505540#M233682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T12:47:57Z</dc:date>
    </item>
  </channel>
</rss>

