Make field non editable

HI,
I have a field on the form which is a database field and the value is populated by a LOV. The user should not be able to edit the value selected or enter his own values in the field. Basically the field should only be populated by the lov and should not be editable.
I tried using the SET_ITEM_PROPERTY('XX.XX', UPDATE_ALLOWED, PROPERTY_FALSE); but this only disable update against existing value. If a user selects a new value from LOV that can be edited. Let me know how to solve this.

Hi,
If you don't want the user not to edit the field at all, then you can set its INSERT_ALLOWED, UPDATE_ALLOWED properties to FALSE at design time or at run time depends upon the requirement.
SET_ITEM_PROPERTY('<block_name>.<item_name>', INSERT_ALLOWED,  PROPERTY_FALSE);
SET_ITEM_PROPERTY('<block_name>.<item_name>', UPDATE_ALLOWED, PROPERTY_FALSE);Or you can set the item as Display Item.
Regards,
Manu.
If my response or the response of another was helpful or Correct, please mark it accordingly

Similar Messages

  • How to make fields Non Editable in Web ADI

    Hi All,
    Can you please let me know how we can make fields Non Editable in Web ADI?
    Thanks,
    Anil

    Hi,
    Are you trying to make required parameters readonly and does this variable have different values for each row. If not then I would suggest you use a wrapper for the API and get only parameters that you need from the excel sheet and the use the wrapper to send the other read only values.
    Thanks

  • How to make fields non editable in MM02

    My user wishes to have access to change only the Bin Location field in MM02. How can we achieve this? or in other words how can we deliver MM02 to user with only the Bin Location field editable.
    My basis guy sees a possibility if we can some how provide the authorization objects of all the fields of MM02.Shall that be a practical approach. if yes, what is the way of finding the authorization objects?
    Regards,
    Alok.

    Create a transaction variant for MM02 --- Tcode to do this is SHDO or SHDS..
    While creating the variant u can check the screen fields of the transaction as Invisible that you want to HIDE ...
    Then Link ur Varient to a new t-code and ask ur users to0 use the Alternate T-code For EX: ZMM02
    I Hope this helps u
    Deepak

  • Make Fields Non Editable on Debugger

    Hi..
    Well I have a program which deal with some sensitive data and passwords, I need to restrict users with debugging access from changing field content at runtime (in debugger). Is this possible?
    and also I have a password field, can I make it a password field at debugger? I do not want to show password on debugger.
    Thank you in Advance.
    Isuru

    As already mentioned you can always write the code inside a macro & prevent the developer from debugging it. But the flip side of using macro is "YOU CAN'T DEBUG !!!". Hence no troubleshooting
    Anyways back to your question. You can direct your query to your basis team if they can provide "no change" authorisation while debugging this particular program. Hope you get my point.
    BR,
    Suhas

  • Make Item level field Non-Editable in VA01

    Dear Experts,
            I have a requirment to make ITEM Category field in item level of VA01
            make Non-editable based on the value of Sale order Type in the main screen
      i am using Program MV45AFZZ to make necessary changes i am able change any thing on the header level but i am not geting the control of item level Please suggest me how to change or make fields non-editable in Item level.

    Hi,
    Try writing code in FORM userexit_field_modification.
    *** Lock field pricing date in SO if delivery occured
      IF   screen-name = 'VBAP-PSTYV'  AND
           sy-tcode NE 'VA01' AND l VBAK-AUART EQ 'your document type'.
          screen-input = 0.
      ENDIF.
    ENDFORM.                    "USEREXIT_FIELD_MODIFICATION
    KR Jaideep,

  • Making Screen fields Non editable in Migo

    Hi TO ALL,
    In MIGO T-code , aganist oubound delivery under Batch Tab i want to make fields Non editable.
    I am unable to find suitable exit for this,can any body help me regarding this.
    Thanks

    Hi,
    Use Transaction variant (Tcode : SHD0) to make fields display only.
    Regards,
    Ashok.

  • Make 1 field non-editable while using transaction VA02.

    Hi,
    I want make a field non-editable under tab 'shipping' for transaction VA02. I know one way of doing it by adding code to  MV45AFZZ -> USEREXIT_FIELD_MODIFICATION. is there any other way ( other user-exit / BADI) to achieve the same.

    Hi,
    Please go through this link... It tells you the step to follow....
    http://www.sap-basis-abap.com/sapbs010.htm
    Also please refer these posts..
    Re: Transaction Variants & Variant Transactions
    Re: Transaction Variants

  • User Exit to make Payment Term field non editable in item level .

    Hi all,
    User wants to make the Payment Term field in sales order as non editable and  Payment terms is copied from Customer Master to Sales order.
    I use user exit MV45AFZZ (USEREXIT_FIELD_MODIFICATION) to make Payment Term field non editable in header level.
    I am not able to do it in item level. Pl help to to make Payment Term field non editable in item level.
    Thanks,
    sunil

    Hi,
    You can try implicit enhancement in the include MV45AF0T_TCTRL_U_ERF_AUFTRAG_I
    use below code.
    DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
       LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
       IF WA_COLS-SCREEN-NAME = 'VBAP-ZTERM'. " Check the field name
       WA_COLS-SCREEN-INPUT = 0.
       WA_COLS-SCREEN-OUTPUT = 1.
      MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
       ENDIF.
    ENDLOOP.
    It better to control it via a custom authorization object.
    put a authorization create a custom authorization object so that you can restrict it for a certain users.
    AUTHORITY-CHECK OBJECT 'ZTERM'
             ID 'ACTVT' FIELD '02'.
    IF SY-SUBRC NE 0.
       LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
    ENDLOOP.
    ENDIF.
    Regards
    Aromal

  • How to make Resource Forms fields non editable (OIM)

    Hi all!
    I would like to know if there's any way to make some resource fileds non editable.
    I have one resource which is getting 3 fileds from the oim user profile. When i change the oim user profile, these values are updated on the resource form associated.
    But i want to prevent the situation in which those fields are directly updated on the resouce form.
    I now i can propagate those changes back to oim profile but it will be much appropiate for what we want if we just could prevent anyone from changing those values on the resource form.
    Is it possible to make those fields non editable? How?
    OIM version is 9.1.0.1.
    Thanks in advance.

    Hi, thanks.
    Finally i found this: http://kr.forums.oracle.com/forums/thread.jspa?threadID=591683
    and after setting the fields to required=false, it worked without any errors ("The Resource has not been configured properly" because of the prepopulate adapters)
    Bye

  • How to make a field non-Editable in Web UI

    Hello Experts,
    I am new to Web UI CRM 7.2. Could anyone pls guide me in making a field non-editable on Web UI.I have the field in one of the custom assignment block. Could you pls guide me with some sample code how to achieve this ?
    Thanks in advance.

    Hi experts,
    For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
    on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
    for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
    IF current->is_property_readonly(
    'NICKNAME' ) = abap_false. "#EC NOTEXT
    rv_disabled = 'FALSE'.
    ENDIF.
    when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
    can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
    The field properties are set as Input field and the display checkbox is not checked.

  • Make parameter non editable

    Hi All,
    I have a requirement to make the parameters field non editable as i am displaying default values for that. can any one please help me.
    Moderator message : Not enough re-search before posting. Thread locked.
    Edited by: Vinod Kumar on Aug 3, 2011 11:42 AM

    If you have to make any field non editable
    1) you have to disable it either by $FLEX$
    2) you have to make it non display
    So it will not going to help.
    I get your requirement, you want to display some default value and you do not want any user to change it.
    Fortunately there is solution to this as follows
    First,define one independent valueset with the value you want to display.
    Second,add this valueset for that parameter in concurrent program window and give default value as same value.
    Now run that program if user will try to change the value he will not be able to do so as there is only one value in independent valueset.
    I hope this solves your problem.

  • In PO -Me21N Material PO text field non editable

    Dear All ,
                  We have specific requirment in PO (ME21N). In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields
    (1) Item Text
    (2) Info Record PO text
    (3) Material Po text
    (4) Deivery Text
    As per our configuration in "Material PO text"  Material long description picking from Material master .We want to make this text field Non Editable.
    In SAP there is facility to configure non editable  Texts , But it will non editable all text fields.
    How we can non editable only Material Po text .
    Thanks in Advance.
    Regards
    Abhishek Tiwari

    Dear Chetan,
                          I think you have not understood my complete question. First thing i dont want to non editable Short text field.
    In my problem  i In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields
    (1) Item Text
    (2) Info Record PO text
    (3) Material Po text
    (4) Deivery Text
    In above text fields ,I want to non editable only "Material PO Text" only....
    Regards
    Abhishek Tiwari

  • Purchase Order Field and Cost Center Field Non Editable In F-48

    Hi Friends,
    I have a cretain requirmnet to make the PO and cost centre field non editable.I tried through shd0 bt it says i can only cretae Transcation variats for Dialiog tran.Please help
    Regards,

    Hi,
    You can speak to your functional people. I think through SPRO "Maintain Field Status Variant' under Financial Accounting ->........
    we can control this.

  • How to set the field non-editable in the classical report..

    Hi..
              How to set the field non-editable in the classical report..

    Hi experts,
    For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
    on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
    for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
    IF current->is_property_readonly(
    'NICKNAME' ) = abap_false. "#EC NOTEXT
    rv_disabled = 'FALSE'.
    ENDIF.
    when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
    can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
    The field properties are set as Input field and the display checkbox is not checked.

  • How to make field is editable in ALV  CL_SALV_TABLE only)

    Hi,
    How to make field is editable in ALV  CL_SALV_TABLE only)
    Any one has tried to make field si editable by using CL_SALV_TABLE class.
    *I know how to do it in REUSEALV function module and CL_GUI_ALV class.*_
    Please reply only if you riedin CL_SALV_TABLE class method.
    Regards
    Rajesh V
    Moderator message: not supported, please read class documentation and search for previous discussions.
    Edited by: Thomas Zloch on Mar 17, 2011 2:07 PM

    Hi Chad,
    Please refer the link,
    Edit field in alv
    Regards,
    Hema.
    Reward points if it is useful.

Maybe you are looking for

  • How do I transfer music from my Ipod to my Ipod touch?

    How do I transfer music from my Ipod to my Ipod touch?

  • How to get a USB-Serial connector working

    I have a laptop with only USB ports, I'm trying to get a USB Serial connector working. I can't find a good guide on how to do it, I can figure out that i need to enable some sort of kernel options, but I'm not sure about how to go about doing it. Can

  • Itunes doesn't copy my CDs titles & Info!

    Hello, everytime i load a new cd on my iTunes I have to write all the titles and singer/album and other songs information! some cds are old some are brand new and everytime I have to write all this iformation while on some friends' itunes who also us

  • GL Line Item Upload: Assignment to Profitability Segment

    Hi, I have a problem while loading GL line items using RFBIBL00 when assigning characteristic values to the "Assignment to Profitability Segment" Screen (SAPLKEAK,0300). I am passing the values thru RKE_* fields in BBSEG structure but the program is

  • Special Procurement Type(SPT) u0096 Cross Plant Costing

    Hi, I am reviewing PC config as part of a post implementation analysis.  Is there a report the shows the cross plant costing relationships?  I am concerned that a MFG to hub relationship was not followed.  For example I have materials in MFG plant 12