You can also incorporate navigation profiles into you own programs or reports.
The following conditions must be fulfilled:
You must be using the software component SAP_APPL
You must use the classes CL_GUI_ALV_TREE or CL_GUI_ALV_GRID in a container, in other words, ALV tree control or ALV Grid Controlhave their own application toolbars.
Caution
You should note the following technical constraints:
Cannot be used with output in full screen
Cannot be used with ALV object model (package SALV)
The navigation profile can be used to adjust the application toolbar, but not the interface status.
You can also incorporate navigation profiles into your own programs or reports.
For example, if you want to add a function call to the navigation profile, you can select all standard ALV functions and additional functions that are programmed in the report called up by the navigation profile.
Example
If you want to include the function
Display Details
in the application toolbar or context menu, for example, you must choose the function code
&DETAIL
and you can select the icon ICON_SELECT_DETAIL (
( )
).
You can use the transaction Manage Navigation Profiles (NAVP_MANAGE) to manage navigation profiles directly. See Management of Navigation Profiles
For information about how to include navigation profiles in your own programs, see the reports NAVP_DEMO*.