Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question