Making user-fields invisible for all SAP users
Emanuele Croci
Dear all,
I need to make invisible some unused user-fields in the Business Partner form for all users.
Is there a workaround or method to make them invisible to all SAP users?
Otherwise, I have to connect into SAP B1 with the different users credential and manually make these fields invisible.
The problem is that the customer has 30 SAP users, so this work is too long to do.
Please, can someone help me?
Can I use a customize function to make these user-fields invisible in a specific form for all SAP users?
Best regards
Emanuele
Anders Olsson
Hi Emanuele,
As far as I know it is not possible.
Item.GetFromUID(pVal.Form, "UID").Visible = false;
is not valid.
Also, you cannot get the SAPbouiCOM.FormSettings object for the UDF form which is strange since the same thing is possible in the UI.
If you wanted to make fields readonly you could create a GotFocus rule where you use SendKeys to send a tab (not elegant but functional):
SwissAddonFramework.Messaging.SendKeys.Send("{TAB}");
but that's not what you want.
Sorry I cannot help you further.
Regards,
Anders
Please sign in to leave a comment.
Comments
0 comments