Object documentationClass CL_BSP_ADDRESS_PARAMETERS

 

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.

Parameter SET Methods

The following Parameter SET methods are currently implemented:

SET_DIALOG_MODE

IV_DIALOG_MODE

Import

TYPE

AD_MNTMD

IV_ADDRESS_GROUP

Import

TYPE

AD_GROUP

IV_PERSON_GROUP

Import

TYPE

AD_GROUP_P

This method must be called to fill the parameter class each time the method GET_ADDRESS_KEY is called.

SET_OPTIONAL_ADDRESS

IV_ADDRESS_IS_OPTIONAL

Import

TYPE

XFELD

IT_IRREL_FIELDS_FOR_INSERT

Import

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.

ENABLE_DUPLICATE_CHECK

IV_DUPLICATE_CHECK_IS_ACTIVE

Import

TYPE

XFELD SPACE

IT_OBJECT_TYPES_FOR_SEARCH

Import

TYPE

ADREF_INDX_TAB

IV_SEARCH_IN_ALL_OBJECT_TYPES

Import

TYPE

T_BOOLE

IV_DIALOG_TYPE

Import

TYPE

AD_DUPMODE 'I'

IV_SEARCH_IN_ADDRESS_TYPE_1

Import

TYPE

T_BOOLE

IV_SEARCH_IN_ADDRESS_TYPE_2

Import

TYPE

T_BOOLE

IV_SEARCH_IN_ADDRESS_TYPE_3

Import

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.