Saturday, October 11, 2008

Settings Dialog Box in SAP Netweaver Managing ALV Output Areas

Some UI elements for standard ALV functions are located in a special area - the Settings dialog box.

By default, the Settings dialog box is displayed as an interface view SERVICE of the ALV component interface above the ALV output. You can specify for your application, whether the dialog box is to be displayed as a modal dialog box, that is, as a popup window on top of your ALV output.

The dialog box is hidden when the ALV output is started. The user can show the dialog box by choosing Settings in the toolbar.

The Buttons of the Dialog Box

The settings that the user makes in the dialog box can be applied to the ALV output in two ways:

Using the Apply pushbutton

The settings are applied to the ALV output. The dialog box remains open and the user can make further settings.

Using the OK pushbutton

The settings are applied to the ALV output. The dialog box closes.

When the user chooses Cancel, the dialog box closes and the ALV output remains unchanged.

Displaying the Dialog Box as a Popup

To display the Settings dialog box as a separate modal dialog box, you use the methods of interface class IF_SALV_WD_STD_FUNCTIONS (implementing class CL_SALV_WD_CONFIG_TABLE).

Methods for Displaying the Dialog Box as a Popup

Function

Method

Display dialog box as a popup

SET_DIALOG_SETTINGS_AS_POPUP

Check whether the dialog box is displayed as a popup

IS_DIALOG_SETTINGS_AS_POPUP

No comments:

Archive