Function Button on Item Master Data but only Read-Only Authorisation
berbericz
Hello experts,is it possible to make a function button on Item Master Data visibile/useable even if some users have only "read-only" Permission on item Master data?
The function Button changes nothing on Item Master But open a result-grid of a query.
Thanks and BR,
Gerrit
Lorenz Stierlin
Hi GerritThanks for the request.
I've just checked your issue and i was able to reproduce it on my system.
Maybe you also recognized that the functions can still execute over the button and right-click context menu, the button is just greyed out in the view mode but not really disabled. The button probably gets greyed out from SAP because of the permssion. I have just created a internal ticket for your development to fix that.
In the meantime you can following workaround:
- Create an Optimizer rule on form 150
- Trigger "FormDataLoad"
- Code:
[CODE]
try {
Button funcButton = Button.GetFromUID(pVal.Form, "COR_FUNC");
funcButton.Enabled = true;
} catch (Exception ex){
MessageBox.Show(ex.ToString(), "OK");
}
return true;
[/CODE]
This will enable the button every time a user load a new item data.
Kind Regards,
Lorenz
0
Please sign in to leave a comment.
Comments
0 comments