Skip to Content
avatar image
Former Member

Fire event et_FORM_DATA_ADD programmatically

How can i fire event et_FORM_DATA_ADD programmatically?

I have a default sap form compiled and i want to simulate click on "ADD" button.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 19, 2015 at 12:03 PM

    Hi Antonio,

    When your form is open, you can simulate the click in ADD button with the following code:

    SAPbouiCOM.Item oItem = null;

    oItem = oForm.Items.Item("1"); //1 is id of Add/update button

    oItem.Click();

    Regards,

    Diego

    Add comment
    10|10000 characters needed characters exceeded