Maintenance of Addresses

Preliminary Remark

This section describes what you have to do to integrate addresses into your application using the BAS. The procedure is described independently of the address type, and is applicable to all dialog techniques except the full-screen mode (see Usage of BAS Standard Dialogs).

See also the documentation on function group SZA0.


  1. Your application has been assigned to an address or person group and registered in the BAS (see Preparing to Work with the BAS).
  2. You have added the necessary fields to the structure of your application table whose records should hold links to addresses:
    • For address type 1 (company addresses), you must add a field of type AD_ADDRNUM to the structure.
    • For address type 2 (personal addresses), you must add two fields to the structure: a field of type AD_PERSNUM (for the person) and a field of type AD_ADDRNUM (for the address of that person).
    • If you use address type 3 (workplace addresses), you must add a field of type AD_PERSNUM to the structure. You either hold the reference to the company address in the same table, or you use another application object to link to that address (see the example below).


We will use the customer master to illustrate the settings for address type 3.

Table KNVK holds data for the contact partner application object, and table KNA1 stores general customer data. Address group BP has been defined for the customer master and maintained in TSAD7 (address group) and TSAD8 (person group). Person and address usage has been registered in table TSADRV. The customer master stores the person number in table KNVK (field PRSNR) and the address number for the company address in table KNA1 (field ADRNR). This means that the customer master holds the references for addresses of address type 3 in two different application tables (see graphic).