on 04-09-2007 8:59 PM
Hello,
I am quite new to SAP. I am trying to put a new combo box on the Item Master data (system form).
I am wondering how to go about it coewie
can any one please help.
thank you
josh
hi joseph,
here is the following code sample
dim gformuid as string
'declare formuid variable
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
gformuid = FormUID
end sub
Private Sub B1_Application_menuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
If pVal.BeforeAction = False And pVal.MenuUID = "3073" Then
Dim f As SAPbouiCOM.Form
Dim oItem As SAPbouiCOM.Item
f= SBO_Application.Forms.Item(gformuid)
Dim oCombo As SAPbouiCOM.ComboBox
oItem = f.Items.Add("btn100", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
oItem.Left = 148
oItem.Width = 65
end sub
hope this will work.
If not tell me.
Vaithi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joshua,
Basically, System form can be captured in 'form_load' event.
Then you can add certain items to the form. Even you can remove (or hide) system form items. Adding items to the system form have to be done within source code level.
If you have any sample code of SAP Business One, you can see 'manipulating system form'.
Hope this useful for you
Regards,
Hyunil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
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.