Make fields only editable by certain useres

hello,
i have created several authorization schemes.
In the "Security" section of a text field i can choose these so that the item is only displayed for authorized users.
However, I would like everybody to see the text field, but only authorized users to edit it. There is a section "Read Only" but I cannot find how to use the authorization schemes there.
Can anybody tell me how this works?
Thank you

I'm stil having a little problem.
I have now made a pl sql function called "authorize", which is supposed to return a boolean value.
What do i choose in the "read only condition type" field and what do i write in the condition field so that my function is called and the field is read only when false is the return value?
I'd also like to know if its possible to test my function in the "run sql window"? Can I call it in there and see its return value?
thanks for you help

Similar Messages

  • Possible to make an item editable for certain users and read only for other

    Is it possible to make an item editable for certain users and read only for others?
    I've been able to accomplish this by taken the select statement that I used to define an authorization scheme, placing it in the Read Only condition of the item. However, I would like to simply reference the authorization scheme to utilize caching, and to help keep things cleaner for future maintenance.
    Is it possible to reference an authorization scheme in an item condition similar to the way another item can be referenced by preceding it with a colon (i.e. :P1_First_Name)?

    Thank you, your suggestion worked.
    It would be nice on a future release of APEX if a drop-down box existed under the Ready Only section that would allow an existing Authorization Scheme to be selected or negated when applying the Read Only attribute to a form item.

  • Make the Payment Terms field only editable by a user

    In the customization, itu2019s possible to make Payment Terms of a Purchase Order as display only field (Delivery/InvoiceTab - Header of a PO). This configuration applies for every user who creates or updates the purchase order. It is possible to make that only one user can edit this field as optional entry?
    Iu2019ve checked on security and thereu2019s not an authorization object for this configuration. Is there any other way to do this?
    Thank you.
    Best Regards.

    Hello,
    You cannot change property of field selections at user level. One way you can accomplish this requirement is by using transaction variant (Transaction SHD0).
    Thanks,
    Venu

  • 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.

  • 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

  • Tabular Form - Read only condition for certain users

    Is it possible to make a select list field in a tabular form read-only to certain users? Here's the situation:
    The tabular form lists the users who need to select "Approve" or "Reject" in that field (they are approving or rejecting an engineering change)
    I want all of them to see the approval/rejection of their team, but only have access to edit the select list associated with their record.
    Thanks in advance.
    Apex 4.0.0.00.46

    You could use either "authorisations" tab or "conditional display" for the relevant column attribute.
    Report Attributes->Column Attributes->authorisationsIt would be better to have some more detail about what you are trying to get (maybe a quick mock up of the form, for example) but, I can envision something along the lines of the following:
    For each approval/rejection field:
    1. Create an authorisation appropriate for access to to each approval/rejection field e.g. authorisation scheme "FOO"
    2. In the relevant fields column attributes, set the authorisation to "FOO"
    3. now create a read only "public" copy of the above field, using the "display as text (based on LOV does not save state)" - set the authorisation for this field as "{NOT FOO}"
    (if you don't want to use authorisations, you could build an equivalent using "conditional display" instead, which is basically the same thing, except column specific)
    The downside is of course that you're duplicating fields in your query, which creates a bit of redundancy. There may be better ways to achieve this (maybe you could make use of the APEX_ITEM api, for example) but this is fairly easy to set up IMO.

  • How to make fields not editable in screen

    Hi gurus,
    I have a table and i need to make some fields not editable depending on the values of other fields of the table .
    Example :
    my table have these fields : begin_date, name.
    If the begin_date < sy-datum  -->  then the field  ' name' should not be editable.
    Tankyou.

    Hi,
      OK. I did some code and was able to get the results as you want. Created a table YTESTHV with two fields YYDATE and NAME. Generated a two screen maintenence for the table. Screen 2 - Overview screen, screen 3 Detail screen.
    Overview screen.
    PBO.
    PROCESS BEFORE OUTPUT.
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_YTESTHV CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
       MODULE DISABLE_FIELDS.
    ENDLOOP.
    MODULE DISABLE_FIELDS
      move extract to YTESTHV.
    if YTESTHV-yydate > sy-datum.
       loop at screen.
        if screen-name = 'YTESTHV-NAME'.
         screen-input = '0'.
         modify screen.
         else.
         screen-input = 1.
         modify screen.
        endif.
        endloop.
    endif.
    Details screen PBO.
    PROCESS BEFORE OUTPUT.
    MODULE detail_init.
       module change_mode.
    module change_mode
    if YTESTHV-yydate > sy-datum.
       loop at screen.
         if screen-name = 'YTESTHV-NAME'.
           screen-input = 0.
           modify screen.
         endif.
       endloop.
    endif.
    When YYDATE is greater than sy-datum field NAME is display only.
    Regards,
    Himanshu

  • Populate fields only for self registered users

    Hi All,
    Scenario : I have an approval task for self registered user. When the user enters the details it goes for approval. The userAccount gets created only when the approver enters values for mandatory attributes like organization.I also have few other mandatory attributes that needs to be filled out.
    The requirement is that these mandatory fields have to be populated automatically. I cannot use an entity adapter because if i do so the manadatory fields will be populated when users are being created by xelsysadm.Please help.
    Thanks.

    You can use Ajax or Java Script for populating other fields.

  • How do I make pages only visible if the user touches a button?

    I'm creating a travel guide where I list out the attractions, give directions, and show a map of the area. Originally I was just going to have it set up like a book. Users would swipe to the attraction page, the next page would be the directions,  the following page would be a map, and then they would get to the next attraction. I've now set up buttons so that on the attraction page you can just touch the directions button or map button and you will go right there. Unfortunately the pages are still there in the app, so essentially the buttons serve no purpose.
    I want the maps and directions only visible if the user touches the button. Is there anyway to do this?

    I've moved your post to the DPS forum.
    This would best be created using a multi state object. You can set the options up using the slideshow pane in the folio overlays panel.

  • 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

  • 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

  • Interaction Record : How to make it non editable based on user status = Complete and on click of  Save

    Hi Guys
    We have a requirement ,where we need to make the interaction record "not editable " when we set the user status to "Complete" and after "Save" button is pressed.
    Please note that we can't make use of status profile settings as we have to enter some information after the status is complete , that means
    after user selects status "Complete" he has to select the value from another drop down and then Save.
    Standard offers such that once the Complete is chosen in dropdown the whole screen is frozen.
    Once he saves it , the document should be locked(read only/non editable)
    Any pointers ?
    We tried "Set_view_Group_Context" and Order_Save BADI and we are not preferring disabling at attribute level as we might add few more attributes later.
    Regards
    Vinayak

    Hello,
    We had a similar requirement.
    The best way we found was to implement the enhancement spot in the beginning of method LOCK_ORDERS of class CL_CRM_METHODS_BTIL. Here, you can prevent the user from editing a business transaction. Be aware this method is called for any BT, so you need to adjust your custom development accordingly.
    Hope this helps.
    Best regards,
    Sylvain AGUETTAZ

  • Make fields un-editable based on condition in Relationship tab of ACCOUNTS

    Hi Friends,
    Iam working in CRM 5.0. Application: ZCRMMACCOUNT           View: Z*ACC
    I want to make the fields in the relationship tab of Accounts application to read only based on some condition (when the relationship is contact person).
    I have tried all the ways:
    1. In the READ method of Access Class, set the field property as 'A' in the et_field_attribute.
    2. Use the method set_field_attr of class cl_bsp_bp_global_service.
    But still the fields are in the editable mode. And here i cant use the Field Group Customization, because i want to make the fields read only based on some condition. I tried using field group variants, but while debugging, the method GET_FIELDGROUP_VARIANT is not called.
    Can you please suggest me your ideas and how to work with this?
    Regard,
    Raju

    Dear Raju,
    I am new to CRM, if i am wrong in explaing the things dont consider it.
    We to had the almost the same requirement then we went to the field groups level and chekced the following field groups and changed them to display only feature by checking the box in the field groups....
    ADR_DETAIL_COMM_DATA
    ADR_DETAIL_COMM_DATA_CAM1
    and generated the layout for the following parent field groups....
    ADR_DETAIL_COMM_ALL
    ADR_DETAIL
    BUP_ADR_DETAIL
    ADR_DETAIL_2
    and also check the field groups under the following parent field groups which matches to your requirement...by checking box of the related field group to display mode
    BUP_GENERAL_DATA
    BUP_BUS1006_SRES

  • 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,

Maybe you are looking for

  • Pre-order and shipment details.

    If i make a pre-order, will Apple ship it to me on the launch day? Or they will only reserve it for me in one of the stores? And what can be the longest period of waiting iPhone?

  • Problem with Directory Access

    Hi! I have a problem, I uninstall Directory Access by mistake and now I don't know how can I install it again. Any clues?

  • Best approach to synchronize data from custom application database to EBS

    Hi All, We have requirement to synchronize data between custom application database and EBS database. Thw two database is on different location connected by 128 kbps connection. The synchronization will do the following task : - Download customer tab

  • Root's password recovery

    After update I have lost my password. I tried to recover, with getting additional command to kernel - init=/bin/bash, but after this my keyboard.  does not working. any ideas about this?? Maybe I can recover password in another way?

  • Can I get iTunes Radio in the UK?

    Hi - Do any of you guys know know  there is a way to get iTunes Radio in the United Kingdom? Thanks Tom