Hi Houssam,
A sample how to simulate the user interation with goods issue and open the batch number selection by the UI API.
//open the goods issue form SBO_Application.ActivateMenuItem("3079"); //get the goods issue form SAPbouiCOM.Form oForm = objApp.Forms.ActiveForm; //get the contents matrix SAPbouiCOM.Matrix oMatrix = (SAPbouiCOM.Matrix)oForm.Items.Item("13").Specific; //set the item that you want(First line) oMatrix.Columns.Item("1").Cells.Item(1).Specific.value = "LM4029"; //move the focus to the column quantity(First line) oMatrix.Columns.Item("9").Cells.Item(1).Click(); //sends a ctrl + tab to the system, for system open Batch Number selection SBO_Application.SendKeys("^{TAB}");
I believe that it is not possible to open Batch number selection form with openform method(I don't have certain).
Hope that solution above helps you.
Regards,
Diego