This class is used as a container for several address-dependent parameters. The procedure for a class to be filled with SET-methods has been used, so that a check of the given parameters is possible.
The following Parameter SET methods are currently implemented:
IV_DIALOG_MODE |
Importing |
Type |
AD_MNTMD |
IV_ADDRESS_GROUP |
Importing |
Type |
AD_GROUP |
IV_PERSON_GROUP |
Importing |
Type |
AD_GROUP_P |
This method must be called to fill the parameter class each time the method GET_ADDRESS_KEY is called.
IV_ADDRESS_IS_OPTIONAL |
Importing |
Type |
XFELD |
IT_IRREL_FIELDS_FOR_INSERT |
Importing |
Type |
CRMT_FIELDNAME_TAB |
By default, the address controller tries to insert a new address the first time the MODIFY method is called. By setting the flag IV_ADDRESS_IS_OPTIONAL to 'X', you can change this behavior. Now the address controller attempts to insert the new address only if the user made at least one entry in one of the fields.
Fields listed in IT_IRREL_FIELDS_FOR_INSERT will not cause an address to be inserted, even if they were filled.
IV_DUPLICATE_CHECK_IS_ACTIVE |
Importing |
Type |
XFELD SPACE |
IT_OBJECT_TYPES_FOR_SEARCH |
Importing |
Type |
ADREF_INDX_TAB |
IV_SEARCH_IN_ALL_OBJECT_TYPES |
Importing |
Type |
T_BOOLE |
IV_DIALOG_TYPE |
Importing |
Type |
AD_DUPMODE ‘I’ |
IV_SEARCH_IN_ADDRESS_TYPE_1 |
Importing |
Type |
T_BOOLE |
IV_SEARCH_IN_ADDRESS_TYPE_2 |
Importing |
Type |
T_BOOLE |
IV_SEARCH_IN_ADDRESS_TYPE_3 |
Importing |
Type |
T_BOOLE |
With this method, the application enables the duplicate check for this address. The parameter IV_DUPLICATE_CHECK_IS_ACTIVE determines whether or not a duplicate check for this address will be conducted. The other parameters have the same meaning as in function module ADDR_ENABLE_DUPLICATE_CHECK. More details on the duplicate check process can be found in Enabling Duplicate Checks with Third-Party Tools.