Start of Content Area

Background documentation PFCG: Menu  Locate the document in its SAP Library structure

The complete menu tree in the NWBC and extra attributes for the NWBC are configured on the Menu tab page.

Note

Note that the maintenance options for the additional attributes and details are then only visible and ready for input if the ADD_MENU_DETAILS parameter for your user name is set to YES in the SSM_CUST table (see Server Configuration and Administration).

Menu Tree

A menu tree contains a root folder as the starting point. The root folder is known as a navigation element at the first level (#1) The root folder will be the first element that is rendered within the client.

Below the root folder a menu tree can in theory contain any number of levels. Each level is represented by a folder in the tree. Note that the last decision on the number of levels in the NWBC is made by the theme renderer in the client. At present all theme renderers are optimized for two and three level menus. Therefore, no deeper level hierarchy is displayed. Everything that is more than two or three levels is represented flatly on the client.

We recommend you decide for either a two, or three level menu at the start of your development work. With a two-level menu the first level is in the root folder, and the second level contains the transaction items. Whereas with a three-level menu a second folder level comes after the first level, and the transaction items are on the third level.

Example

This graphic is explained in the accompanying text

From the Menu you can also set up a Homepage.

Menu Tree Items

Diverse objects can be specified as items in the menu tree. To do this choose the appropriate button in change mode.

Button

Object(s)

Transaction

Transaction code

Other

URLs (Web address or file)

BSP application

Generic Web address (URL template)

Web Dynpro application

Note

All other menu types cannot be displayed in SAP NetWeaver Business Client.

If you want to use Web addresses (URLs) here, instead of using the direct URL (for example, www.sap.com), you can use tags ( <tokens> ) within the URLs. For example, <crm_protocol>://<crm_server>:<crm_port>/sap/bc/bsp/sap/crm_ui_frame?sap-client=<crm_client>. You can define the tags in transaction SM30 in table SSM_VAR.

Example of Variable Definition for URLs

Name

Field Attribute

CRM_CLIENT

204

CRM_PORT

44370

CRM_PROTOCOL

https

CRM_SERVER

abc.wdf.sap.corp

 

You can also copy the items from existing menus:

      From the standard SAP menu

      From a different role

      From an area menu

      From a local file

 

 

 

End of Content Area