on 03-27-2009 5:43 AM
Hi all.
I want to set user defined item to invisible but it doesn't work.Here is my code:
Dim form As SAPbouiCOM.Form
Dim sFormType As String
Dim formCount As Integer
Dim sboUDFform As SAPbouiCOM.Form
If (pVal.FormTypeEx = "-940") And pVal.BeforeAction = True Then
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD Then
form = SBOApplication.Forms.Item(pVal.FormUID)
sFormType = "-940"
formCount = 1
sboUDFform = SBOApplication.Forms.GetForm(sFormType, formCount)
sboUDFform.Items.Item("U_Dimension1").Visible = False 'Set ComboBox Item to invisible
End If
End If
Anyone can help me.Thanks
with your form opened.
in your sap menu, go to Tools >>Customization Tools >> Settings, there you 'll find a window to set the field
Edited by: Danilo Acceto on Mar 30, 2009 8:29 PM
Edited by: Danilo Acceto on Mar 30, 2009 8:30 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
By using ColumnsPreferences, we can access the column-settings which are available in the formsettings window, but not the UDF-settings which are given in Tools->Customisation Tools>Settings.
Even though they are saved in the same table they are accessed differently so this is missing functionality.
Cheers,
Lisa
Hi,
You can customize the UDF form and can restrict as you required.
The UDF form have the same id as the real form with - sign.
like if the form id is 142 then respective UDF form's ID ll be -142
Now, You can create a class for this and do the customizations.
Instead of visible =fall, try on click bubble Event = false;
Hi,
Do you want to hide combobox on Tackon form(Opposite UDF Form of a SAP Form) ?
Can you tell me the purpose, so that i can tell you some suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Write you code in constructor. I mean after load the form write you code for invisible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.