Inactive look of function button
Carl Verhagen
Hi all,A few of our users, sales representatives, has limited authorisation and license in the SAP B1, only display authorisation.
I've created a function button in the salesorder, which turned out to be grey if such a user logged on to the SAP system.
So the function button seems inactive, see attached, but the attached functions are still visable and usable.
Is this normal behaviour?
Is it possible to make the text "Functions" looks like an active button?
Anders Olsson
Hi Carl,You can try this workaround:
Create an Optimizer rule with the folloing code:
Button.GetFromUID(pVal.Form, "COR_FUNC").Enabled = true;
return true;
Register the rule to trigger on EventType "FormActivate" for Form Type "139" (Sales Order).
I have tested it in SAP 8.8.
Regards,
Anders
Carl Verhagen
Hi Anders,Thanks a lot, this is working great and is a nice solution.
I don't yet know all possibilities of Customize.
However, as of display authorizations buttons will always looks inactive?
Anders Olsson
Hi Carl,When you give a user read-only permissions on a form, all buttons are disabled except the Cancel button.
Regards,
Anders
0
Please sign in to leave a comment.
Comments
0 comments