Skip to Content
0

How to close SAP B1 Confirmation windows using UIAPI

Feb 09, 2017 at 06:18 AM

38

avatar image
Former Member

How to close SAP B1 Confirmation windows using UIAPI.I have wrote below code in c#.net

((SAPbouiCOM.FormClass)(((SAPbouiCOM.FormsClass)(((SAPbouiCOM.ApplicationClass)(SBO_Application)).Forms)).ActiveForm)).Items.Item("1").Click(BoCellClickType.ct_Regular);

alert window is("You cannot change this document after you have added it. Continue?") yes or no.

I want to open the sap b1 document and close automatically using .net web application.

I am unable to close this windows.please help me.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
DIEGO LOTHER Feb 09, 2017 at 11:08 AM
0

Hi Narasimha,

I use this and works fine.

                SAPbouiCOM.Form oForm = SBO_Application.Forms.ActiveForm;
                oForm.Items.Item("1").Click();

Did you receive any error on your code?

Hope it helps.

Kind Regards,

Diego Lother

Share
10 |10000 characters needed characters left characters exceeded