Skip to Content
avatar image
Former Member

ME51n/ME52n/ ME54n - To Make non-editable field (PR Closed) for few users

Our business requirement is to allow only two users to close or unclose , (PR closed checkbox in me51n /me52n /me54n) . Other than two users when they open the PR , this field should be non-editable in any t-code. Please help us and give us the steps to achieve this in ABAP through EXIT / BADI or other approach if any. Thanks in advance.

request.jpg (112.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 01, 2017 at 12:41 PM

    Before looking at code, why not limit this to SAP security authorizations? You can run an STAUTHTRACE and see which objects this is using.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 01, 2017 at 02:46 PM

    It is possible without any enhancement. You need to use the parameter EFB for users. Before that, you need to set up OMET transaction as per your requirement. Use a different Field Selection Control for Purchase Requisition for those two users where the closed indicator will be optional and and use another Field Selection for all other users where the closed indicator will be hidden. you can check the blog https://blogs.sap.com/2015/01/19/a-brief-interpretation-and-faq-about-field-selection-and-screen-layout-used-in-mm-module/ option 6. Function Authorization for field selection

    Add comment
    10|10000 characters needed characters exceeded