How to make a field in non Editable mode

Hi All:
Now i created one form through wizard method this consists of following details
Table name:T1
Fields:No,Name
here my requirement is how to make this "No" field in non editable mode after the insertion of the first record.

You can make it a display item, you can disable the item, or you can set the update property to No. See the set_item_property in the Help documentation.

Similar Messages

  • How to make the field as non editable?

    Hi Gurus,
    I have created the WD leave applications which will trigger the BAPI(which returns half of the work structure allocated to the employee leave sickness)value  will be freezed in the input UI element.
    Right now am getting the above said value but UI element is in still editable mode.
    My requirement is once we freezed the value UI element has to be non editable.
    any useful clues will be higly appreciated with higher points...............
    Thanks in Advance,
    Dharani

    hai dharani,
    1.create a context attribute o type boolean and bind it to the ui elements enable property.
    2.use the following code to set the enable to false.
    3.wdContext.currentContextElement().setEnabled(false);
    Any issues let me know.
    Thanks n Regards
    Sharanya.R

  • How to make the field in no edit mode

    Hi Experts,
    In the selection screen with default value I am giving one date field. But user wants it in NO EDIT mode. only display.. how to do this. pl. give me sample code. Thanks & Rewards.

    hi
    in at selection screen o/p event
    in the screen table
    make its input = 0
    tables : mara.
    SELECT-OPTIONS :  s_matnr for mara-matnr MODIF ID m default 1000 to 1002.
    AT SELECTION-SCREEN OUTPUT.
         loop at screen.
          if screen-group1 = 'M'.
            screen-input = 0.
           modify screen.
          endif.
        endloop.
    reward if helpful
    prasanth

  • To make a field in non editable mode

    hi all,
    I have a requirement. In which i want a field to be in display mode.
    i want the user to select the data into the field only from the f4 option and not to entre manually.
    How can i code this. this is a report and not a module pool program.
    when i tried at selection screen even and loop at screen and input = 0 then i cant pass the value from f4 into the field.
    Kindly suggest.
    Regards & thanks
    vidhya

    Hi VIdya,
    use AT SELECTION-SCREEN ON VALUE-REQUEST Event.
    in the CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
    *   DDIC_STRUCTURE         = ' '      " Pass remaining Values as usual !
        retfield               = retfield
    *   PVALKEY                = ' '
    *   DYNPPROG               = ' '
    *   DYNPNR                 = ' '
    *   DYNPROFIELD            = ' '
    *   STEPL                  = 0
    *   WINDOW_TITLE           = WINDOW_TITLE
    *   VALUE                  = ' '
    *   VALUE_ORG              = 'S'
    *   MULTIPLE_CHOICE        = ' '
       DISPLAY                = ' F'  " Here Passing F forces the F4 Help for Display Field.
    *   CALLBACK_PROGRAM       = ' '
    *   CALLBACK_FORM          = ' '
    *   MARK_TAB               = MARK_TAB
    * IMPORTING
    *   USER_RESET             = USER_RESET
      TABLES
        value_tab              = value_tab
    *   FIELD_TAB              = FIELD_TAB
    *   RETURN_TAB             = RETURN_TAB
    *   DYNPFLD_MAPPING        = DYNPFLD_MAPPING
    * EXCEPTIONS
    *   PARAMETER_ERROR        = 1
    *   NO_VALUES_FOUND        = 2
    *   OTHERS                 = 3
    Hope this simple advice solves your problem
    Cheerz
    Ram

  • Disabling fields(Make the field as non-editable)  in webdynpro ALV

    HI All,
    I have a requirement in the ABAP webdynpro where I have to disable(Make the field as non-editable) the field(or that ALV cell alone)  in the ALV after the user has inputed in that field.
    Is it possible, if yes, could you please give me some sample code , or links to which I can refer to.
    Thanks for your help.
    Regards,
    Subash M

    Hi,
    Use the following approach :
    1. Create an ALV and create an inputfield cell editor for the column that you want to make editable/disable.Refer this tutorial for creating an [Editable ALV|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1]
    2. Now under the same node create an attribute EDITABLE type boolean and bind this to the readonly property of the input field. Include the following code while creating Input field for binding.
    lr_input_field->set_read_only_fieldname( 'EDITABLE' ).
    3. Now implement the onDataCheck event or OnCellAction event and pass abap_true to this attibute to make the cell readonly/disable.Refer this tutorial for [Events in ALV|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8]
    Hope this helps.
    Regards,
    Radhika.

  • How to made Qty field as non editable in MIRO

    Hi SAP Gurus,
    While Post a Goods Receipt (MIRO) for Receive the Material from Job
    Worker, the Qty of Raw Material which needs to Issue or consume from
    Stock will propose as per PO BOM. The Qty field of Raw Material is in
    Editable Mode. Business wants that Qty Field to be Non-editable and not
    to allow user to Change the Proposed Qty. As per PO BOM and based on
    Material Received from Job Worker, Raw Material has to Issue or Consume
    from Stock. If any Under Consumption or Over Consumption will be
    adjusted thru MB04.
    Pls let me know is there any setting to make Raw Material Qty field as
    non editable.
    Thanks & Regards
    Sathish
    Ph:9940518715

    Hi,
    There is no field selection in MIRO.
    USE SHD0 and create a screen variant
    Thanks & regards,
    Kiran

  • Item field to non-editable mode(display mode) in Purchase Order(ME22n).

    Hi SDN,
    Based on the Comany code i need to modify the item level fields like <b>Item, Account Assignment, Material</b> to non-editable mode(display mode) in Purchase Order(ME22n).
    So i modifed in the method MODIFY_SCREEN_TC_LINE of class CL_TABLE_VIEW_MM and set the value L_FIELD_STATUS = *  for the screen filed MEPO1211-EBELP. When i execute, the whole column changed to display mode and the empty rows filled with 0(zero). But i want only grey mode for the line items that are present for that PO but not for the whole column. So can any one guide me to do so. I am using 4.6c.
    Thanks in Advance
    Regards
    Basha

    Hi Ramesh,
    Normally you can change the currency field, after entering information in Data base's table, go to Detail's table and change the rate as you want, then directly choose your PO number.
    so the system accept the rate entered aven though the PO had another rate.
    Regards.

  • How to make Mandatory field as Non-empty

    Hi All
    I need to make a mandatory field as NON EMPTY.
    How can i do that.
    Please help me on this.
    Thanks
    Sathish

    What have you tried so far?

  • How to make selective fields of VD03 editable?

    Hi all,
    In VD03 transaction, if i press the Display -> Change option in Customer menu all the fields of the tabstrip sales, Billing Documents and Partner functions gets enabled, i.e ready for change. But I need to make only certain fields editable and the remaining fields need to be grayed out. How to achieve it?
    Thanks in Advance,
    Aravindan.

    hi,
    For this you can use screen Variant(Using Transaction SHD0) and assign this screen variant to all user
    Regards,
    Alpesh

  • Signing pdf dokuments with the Microsoft Surface pen. How to make the signature a non-editable part of the file?

    Hi!
    I have purchased a Microsoft Surface PRO 3. One main reason for the purchase is to sign pdf´s with the Surface-pen on the screen, save the file and avoid paper-printing the documents. Problem is however that the signature doesnt become a solid part of the document when saving it. This makes the signatures randomly not visible on some apple-produkcts, some printers etc.
    I use only a free-download-version of the Adobe reader.My question is if a pro-version allow me to save the documents with the electronic signatures as a fixed part of the document - like the rest of the pdf-content?
    Regards Trygve Wedset 

    Hi vward26,
    You can use Acrobat to make only part of a PDF document editable.
    Kindly refer this FAQ:http://tv.adobe.com/watch/acrobat-x-tips-tricks/how-to-convert-just-part-of-a-pdf-file/
    Regards,
    Florence

  • How to make a field un editable in one screen

    Dear Experts,
    I want to know how to make one field as un editable in one screen.I will explain in detail. I want to make "Reconciliation account" field as un editable in XD02 t-code.
    Regards,
    Surendra babu.

    Hi Surendra,
    Use this path in spro:
    Financial Accounting-> A/P&A/R-> CustomerAccounts->MasterData->Preparatons for CreatingCustomerMasterData
    use the transactions & u can update for creation of customer master or hange of customer master.
    Hope this helps you
    Award points if helpful
    chaitanya

  • How to make a field ineditable in sales return order

    Dear Gurus
    i maintained copy control for SALES RETURN process with ref to the billing doc. Now i want to further enhance in such a way that the bill to party copied from the header of the ref doc and the batch number column is not editable(changeable) is this possible if yes how do i go about this.
    Thanks in advance

    Hi,
    Yes,it is possible to make that field as non-editable.
    Follow the path:
    SPRO>Sales and Distribution>Basic Functions>Partner Determination>Set Up Partner Determination.
    Select "Set Up Partner Determination for Sales Document Header" if you want this to be done at the Header level partners.
    Else if you want at the item level,select "Set Up Partner Determination for Sales Document Item".
    Click on "Partner Determination Procedure Assignment".
    Check what is the partner procedure assigned to your order type.
    Click on "Partner Determination Procedures".
    Select your procedure.
    Click on "Partner Functions in Procedure".
    Check the tick mark under "Not modifiable" under your "bill-to-party(BP)".
    Save.
    Regards,
    Krishna.

  • How to make a field editable again after displaying error msg (validation)

    Dear All,
    In dialog programming, I have written a validation on a text field that it should not be left blank by the user, but after displaying the message the field becomes gray (non-editable). How can I make it editable once again after displaying the error message.
    My code is as following:
    ***INCLUDE MZFBPS1_SAVE_DATAF01 .
    *&      Form  save_data
          text
    -->  p1        text
    <--  p2        text
    FORM save_data .
    ****************Check For Empty Fields Start
    if ZFBPS_GATE_IN-truck_code is INITIAL
    or ZFBPS_GATE_IN-truck_no is INITIAL
    or ZFBPS_GATE_IN-transporter_code is INITIAL.
    MESSAGE e020(zmatlist).
    endif.
    ****************Check For Empty Fields Start
    Regards,
    Alok.

    hi,
    u can do it in chanin end chain.
    For example if there are 10 fields in the screen and for 5 fields whenever the user enters wrong values u like to give some error message. You can declare that fields in the chain enchain so that only those fields will be input enabled and all other fields will disabled.
    CHAIN.
    FIELD chk_connobj.
    FIELD chk_inst.
    FIELD chk_devloc.
    FIELD ehaud-haus.
    FIELD eanl-anlage.
    MODULE modify_screenfields.
    ENDCHAIN.
    *& Module modify_screenfields INPUT
    * text
    MODULE modify_screenfields INPUT.
    CLEAR okcode.
    okcode = sy-ucomm.
    CASE okcode.
    WHEN 'ENTER' OR 'EXECUTE'.
    IF chk_connobj IS INITIAL AND chk_inst EQ c_x AND
    chk_devloc EQ c_x.      -----------> ur condition
    IF ehaud-haus IS INITIAL.
    SET CURSOR FIELD 'EHAUD-HAUS'.
    MESSAGE e000(zo_spa) WITH text-017. " message obj
    ELSE
    loop at screen.
    if screen-name = 'FIELD_NAME'.
    field-name-input = 1. -----------> chnges to non-edit mod
    modify screen.
    endloop.
    ENDIF.
    ENDIF.
    ENDMODULE.
    Rgds
    Anver
    if hlped pls mark points

  • How to make some fields in ALV tree editable

    Hello All,
    Can any one tell me how to make some fields in ALV tree editable.
    If possible please post some code.
    Regards,
    Lisa.

    Hi Lisa,
    I want to make 3 fields in the ALV tree editable and update the saved values in ztable.
    I tried making the wa_fieldcat-edit = 'X' But in vain.
    Also i made the layout fields  wa_layout-edit = 'X'  and wa_layout-edit_mode = 'X'.
    But still the alv tree field appears as display.
    As you have mentioned in the post as answered, So please guide me to make the field editable.
    I am using oops method.
    Please provide me code if any.
    Thanks & Regards,
    Mozila

  • How to make a field in adobe form noneditable

    how to make a field in adobe form noneditable. like info keys..
    when this form is sent through worflow the receiver shudnt be able make changes to the field value...(I have a form, which has fields prefilled(like pernr employee name) but these fields are in editable able..(i want only some fields to be uneditable not all)
    Edited by: kumar gaurav on Apr 11, 2008 8:04 AM

    Hi,
    You can make fields non-editable at runtime using this code:
    field.access = "readOnly"
    Hope this helps.
    Amit

Maybe you are looking for

  • Will invalid SYS objects cause Oracle 9.2.0.8 thread to crash?

    Hi Experts Here is a brief account of what happened... 1) In Toad, login as sys to modify a function in a user schema 2) Created this function in sys schema by mistake and it was invalid. Error PLS-00201: identifier 'LOT.LINECODE' must be declared an

  • Finding "old" files

    Upgraded from CS4 to CS5 and went looking for all of my old websites. I can find them and open the files from my computers directory but the layout doesn't look like the same as in CS4. I used to be able to find them in the DW Pop-Up. Do I need to se

  • Authorization questions PFCG...

    Hi Guys A Couple of questions... We are upgrading from an older version of CRM without WEB UI to 7.0, we have composite roles on all our user, i.e. more than 1 role per user. As I have understood it you only have the possibility to assign on PFCG ROL

  • Problem Assing Message Type to RFQ

    Hello. When I create an RFQ, and then I assing Output type NEU to print, the system create the RFQ without the Output type.  Basically create the RFQ without Output type, like if a never tried before. I reviewed my configuration and Output Type NEU i

  • Scroll bar maths?!

    I have the code below that i am looking to try to amend to use my custom scroller, any one able to help me figure out what code i need to know to make it work for me properly? using it in its current state it does move the bar up and down, and displa