cancel
Showing results for 
Search instead for 
Did you mean: 

how to create userdefined menus is sap b1

Former Member
0 Kudos

hai,

i have small doubt:

how to create userdefined menus is sap b1

thank u

nagababu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

UI API provides two methods for creating and setting menus

<b>Dynamically in Run Time</b>

this method is used to add a dynamic menu to your add-on forms. The dynamic menu is updated each time a new form gets focus.

to use this method initiate the <b>MenuCreationParams</b> object and call <b>Menus.AddEx</b> to add the menu into the application.

<b>XML Batch Operation</b>

Use this method to load or update multiple menus simultaneously. In addition, this method allows reusing of your code in a resource-like manner to improve performance.

After creating the menus in your code, call <b>Menus.GetAsXML</b> to get the entire SAP Business One menu structure in an XML file and call <b>Application.LoadBatchActions</b> to load the XML file instead of calling specific Add methods in your code.

hope u will get idea abt creation of user-define menus..

Nirdesh

Answers (0)