cancel
Showing results for 
Search instead for 
Did you mean: 

Add Menu not working in Add On

Former Member
0 Kudos

Dear All,

   I am creating a form for Add on . It contains some Labels and Input Boxes.Display Docentry when i Click Addmenu(1282).but I opened and click "Add Menu" .The Doc Entry is not display in the Text Box.

This is my Code:

In Form menu Event:

             Case mnu_WorkSchedule

                    LoadForm()

                Case mnu_ADD

                    oForm = oApplication.SBO_Application.Forms.ActiveForm()

                    If pVal.BeforeAction = False Then

                        AddData(oForm)

                    End If

But it is not display the Value in the TextBox.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

      set Add Button UniqueId = 1

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

     You should bind first your EditTextBox.

Dim oDocEntry as SAPBobuiapi.EditTextBox

oDocEntry = oForm.Items.Item("YourEditTextName").Specific

oDecEntry.Value = 1