Skip to Content
0
Former Member
Jan 11, 2008 at 02:57 PM

Problem with activate UDF menu item

197 Views

Hey All,

Since upgrading to SAP PL11 2007 we have issues when using activate menu item. For ex:

SAPbouiCOM.Menus mMenus = m_ParentAddon.SboApplication.Menus;

SAPbouiCOM.MenuItem mMenuItem = mMenus.Item("6913");

if (!mMenuItem.Checked)

{

SBO_Application.ActivateMenuItem("6913");

}

That code worked on PL8 to show the UDF form whenever I needed it and then my code worked fine. Now I fire that same code in PL11 and it shows the UDF form for sure but changes the active form of the application to the UDF. Therefore I can no longer access any of my events or fields on the active form. Has anyone else done this and then tried to read a field from the sales order form for example? Is this a bug or something weird going on?