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:
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 groupSZA1 (address type 1), SZA5 (address type 3) and SZA7 (address type 2).
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 fieldMAINT_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:
Only in the last case can the full-screen dialog be customized for a specific application.