on 10-01-2012 10:25 AM
Dear Experts
My requirement is to hide Amount in LC field from MB51 for specific users. If I do this from IMG it will be hidden for all users but I want to do this for specific users. Can we control this with some authorization object? I have tried with creating new authorization taking field DMBTR in it but its not working until we include this object in Report's coding and as You know this is standard report so we cant do this.
Any solution or suggestion for this will be highly appreciated.
Remember we cannot hide this from IMG. I need user specific solution.
By standard MB51 does not have an authorization check to restrict it.
You would need a modification to implement a custom check to meet these requirements. Note 773003 provided a modification proposal for branching into MIGO so you would have develop something similar with a custom authorisation object for example.
The standard checks are exectuted below on objects 'M_MSEG_WMB' 'M_MSEG_LGO' and 'F_BKPF_BUK'
RM07DOCS -> form process_list
...
* Authorization for material documents plant level
CHECK cl_mmim_auth=>check( i_object = 'M_MSEG_WMB'
i_value1 = list-werks ) IS INITIAL.
...
* Authorization for storage location
CHECK cl_mmim_auth=>check( i_object = 'M_MSEG_LGO'
i_value1 = list-werks
i_value2 = list-lgort
i_value3 = list-bwart ) IS INITIAL.
...
* Authorization for posting values company code level
READ TABLE organ WITH KEY werks = list-werks BINARY SEARCH.
ENHANCEMENT-SECTION RM07DOCS_06 SPOTS ES_RM07DOCS.
IF NOT cl_mmim_auth=>check(
i_object = 'F_BKPF_BUK'
------------------------------------------------------------------------------------------------------------------
See about an authorisation check on object F_BKPF_BUK in SU24
The inventory management uses this authorization object in SOME transactions to control the display of material prices and values per company code / user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
These objects are not working in MB51. Is there some other solution or some one has tried or done this before in any standard ALV report?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry i missed to mention it in my first post. I have already tried with SHD0 but its also not working. No pup up appear in MB51 when I try to create screen variant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Develop Screen varient and assign it to user groups
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried developing a screen variant for the transaction in SHD0 and assigning it to user groups?
/Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.