Skip to Content
avatar image
Former Member

Add Menu not working in Add On

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 04, 2015 at 05:19 AM

    Hi,

    set Add Button UniqueId = 1

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 04, 2015 at 03:57 AM

    Hi,

    You should bind first your EditTextBox.

    Dim oDocEntry as SAPBobuiapi.EditTextBox

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

    oDecEntry.Value = 1

    Add comment
    10|10000 characters needed characters exceeded