cancel
Showing results for 
Search instead for 
Did you mean: 

How to display existing sap form in our menuclick

Former Member
0 Kudos

Hi All,

I have created one addon for MRP in this addon when client click on menu i have to display "Order recomandation" form which will dispaly in existing MRP functions.

How to display existing sap form in our menuclick. please help me as soon as possible.

Regards,

sri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello sri,

You can use systeminformation for identity the menuId (view - systeminformation) and open in the topmenubar modules and the menuId will be displayed in the leftdowncorner of your screen.

In your code you must use the method ActivateMenuItem()

for example

: ActivateMenuItem("4361");

HTH Regards Teun

Former Member
0 Kudos

Thanks Teun,

Thanks for giving reply.

i am not getting any ActivateMenuItem method in menuclick event

But here i am addding one menu item from my addon when i click on my menu 20.2.orderrecomnds i have to populate same screen which is coming in mrp order recomonds which form id is 65215




if ((pVal.MenuUID == "Submenuordrecom") & (pVal.BeforeAction == false))
            {

// code
}

in above menu click event i have to populate order recomonds screen so how to do that.

Regards,

sri

Edited by: dns_sap on Jul 28, 2010 12:09 PM

Former Member
0 Kudos

Hi,

Use SBO Application object to activate the SAP form as below

SBO_Application.ActivateMenuItem("menuid")

Regards,

Noor

Answers (0)