Skip to Content
Feb 14, 2006 at 10:54 AM

Opening a System-Form with selected Data



i´m looking for a way to open a System-Form, e.g. Orders with

selected Data.

In the moment i do the following:

application.ActivateMenuItem("2050"); // orders

SAPbouiCOM.Form belegForm = application.Forms.ActiveForm;

belegForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;

SAPbouiCOM.EditText edDocNum = (SAPbouiCOM.EditText)belegForm.Items.Item("8").Specific;

edDocNum.Value = "4711";


This works, but the screen is blinking, because first the form ist opened and shown with

empty values and then filled.

Is there a way to activate the form and do the search-Operation and afterwards show it ?

I think ist must be possible, because when clicking on the link-Button near CardCode, the Contacts-Form

is opened in this way.

regards Matthias