08-11-2011 4:50 PM
Hello Experts,
My company has recently developed a roll-out, but we are having an issue with the matchcodes, for a user of a company, where he/she uses the matchcode in a transaction for finding a plant, a storage location, etc, the information for all the companies is displayed. I wonder if there is a way of restricting the information that is displayed to a user in order just the relevant information for the company code of the user be displayed.
Thanks a lot,
Héctor
08-11-2011 5:32 PM
Hi,
You can use Authority objects inorder to restrict the user from viewing unauthorized data.
AUTHORITY-CHECK OBJECT 'XXXX'
ID 'FIELD_NAME' FIELD 'value to be checked'.
Thanks
Sam.
08-11-2011 5:40 PM
I used search help (current technology/terminology for these value lists) exits which are available on all search helps to "trim" the answer set, based on variety of situations and security authorizations, before the contents were presented to the user. One merely deletes the inappropriate entries from the table returned by the searchhelp, by looping and applying some kind of logic or authorization check to each row). In my case, I was modifying the standard SD helps to limit what was availble to particular users. "Hiding" elementary helps in the collective is sometimes desirable and that can be done easily, also.
Edited by: DaveL on Aug 11, 2011 6:44 PM
08-11-2011 7:30 PM
DaveL, thanks for the answer; I would like to know if there is any option by customizing, if not, I would like to know if you have the list of the search help exits I have to work with, it would be quite time consuming trying to modify all the search helps. Thanks a lot for the answer.
08-11-2011 7:59 PM
You would have to look at each search help that applies to your situation. Most would be found in a collective. On each search help, on the definition tab, you'll see a search help exit name box. Some already have exits in use probably. Look at search helps in DEBI collective, for example.