Designated Application Objects
Definition
The Owner of an Address (Parameter OWNER)
The application can define one or more application objects as the owner of an address. Multiple owners are required if different views for a business object exist.
BAS register the owner using an indicator in the where-used list. In the default setting, this indicator is set automatically when the address number or person number is assigned (that is, when the address is created). The associated where-used list is then called the owner reference. Only the owner of an address is authorized to delete the address. Normally, all address maintenance tasks are also performed exclusively by the owner.
Normally, each address has an owner since it cannot be deleted if it does not have one. Exceptions are described in the next section.
Addresses Without Owners
There are application scenarios where all application objects that reference an address have the same authorizations (this is normally true for movement data). In such cases, it does not make sense to have a designated owner. To ensure there is no designated owner, the application must set parameter OWNER to SPACE when the address number is assigned. The associated where-used list is then called the usage reference.
BAS do not allow the last where-used list of an address to be deleted. The last application object that holds a reference to the address must delete the entire address including this reference.
Addresses Without Application Object
In some application-specific processes, the address exists before the associated application object exists since the address could or should not be assigned at the time it was entered. Other application objects can only have a link to such addresses (where-used list).
Although the addresses are initially stand-alone, a where-used list must nevertheless be filled when you create them. This is done when you create addresses in the full-screen transaction of BAS. BAS fill the where-used list as follows:
|
Type |
Field |
Value |
|---|---|---|
|
Where-used list for addresses ( ADRV) |
APPL_TABLE |
ADRC |
|
APPL_FIELD |
ADDRNUMBER |
|
|
Where-used list for persons ( ADRVP) |
APPL_TABLE |
ADRP |
|
APPL_FIELD |
PERSNUMBER |