Function Modules for Deleting Addresses
Use
You delete an address using the function module <type> _DELETE that is appropriate for the address type. To delete an address, you pass the associated where-used lists to the function module.
If you use function module _DELETE <Type> although additional references for the address exist, the function module attempts to delete the reference(s) passed. It behaves like function modules <object> _REFERENCE_DELETE for deleting references.
The individual function modules behave as follows (compare BAS Tables):
|
Address data to be deleted |
ADDR_DELETE |
ADDR_PERSONAL_DELETE |
ADDR_PERS_COMP_DELETE |
|
Record in address table ( ADRC) |
Deleted if only one reference is left for the address and no more persons are assigned (through address type 3). |
Deleted if only one reference for the address record is left. |
(Nothing to be deleted here, since the workplace address points to an existing company address). |
|
Record in assignment table ( ADCP) |
Similar to ADRC record. |
Deleted if only one reference to the person (type 3) is left. |
|
|
Record in person table ( ADRP) |
Deleted if only one reference to the person and only one assignment in ADCP (types 2/3) is left. |
Deleted if only one reference to the person and only one assignment in ADCP (types 2/3) is left. |