Confirmation of the system message box

Wenyu Zhu

After user duplicate a document and choose a new Business Partner, a system message box will pop up:"Update document rows according to new BP's data"

User must confirm "Yes" of "No".

The question is how can the devoloper know user's choice and from which document the user confirmed?

Marco Schweighauser


use SwissAddonFramework.B1Connector.GetB1Connector().Application.Forms.ActiveForm to get the active form / document. Because the questions form is not a real SAP form there is no way to catch any event or get the unique id of this form.

Why do you need such a functionality ?

Kind regards,




Please sign in to leave a comment.

Didn't find what you were looking for?

New post