Usage of BAS Standard Dialogs


You do not need to create your own maintenance screens for maintaining addresses. If possible, use the BAS standard dialogs, which ensure consistency for users that work with addresses in different applications.


The BAS provide three dialog techniques for managing addresses:

  • Subscreens
  • Dialog boxes
  • Full screens

You can use all three techniques to create, change, and display addresses. In addition, you can customize all standard dialogs for each application (you can hide functions, field options, and so on). To do this, you call the function module <type>_DIALOG_PREPARE that is appropriate for the address type (see also Working with the BAS) before you start the dialog.


This section gives a short introduction to the process of using and programming the standard dialogs. For more information, see the documentation on function group SZA1 (address type 1), SZA5 (address type 3) and SZA7 (address type 2).

The Subscreen

You use a subscreen if the address is usually maintained together with the higher-level application object. The interaction of the BAS subscreen with the application that uses the subscreen is controlled by several function modules.

The Dialog Box

You use a dialog box if the address is an optional attribute of the application object. You use the function module <type>_DIALOG that is appropriate for the address type (see Working with the BAS).

The Full Screen

The full screen is used for addresses that the user enters without reference to the application object. In a full-screen dialog, you can only maintain addresses for which the field MAINT_TYPE of the address/person group is set (direct access allowed). This mode includes an address search.

There are two ways to use the full-screen dialog in the program:

  • Parameterizing transaction SADR (address type 1), SADQ (address type 2) or SADP (address type 3). Using the parameters, you pass the address/person group to your application.
  • Calling function module ADDR_SELECT_FOR_DIALOG (address type 1), ADDR_PERSONAL_SELECT_DIALOG (address type 2) or ADDR_PERS_COMP_SELECT_DIALOG (address type 3).

Only in the last case can the full-screen dialog be customized for a specific application.