Using the Address Functionality Without the Address Controller

Use

It is possible to use the model access class template CL_BSP_MODEL_ACCESS_ADDRESS without actually using the address controller. This is especially advisable, if in some screen structures address fields are contained, while somewhere else in the application an address controller is used that could potentially maintain the same addresses.

Procedure

To use the model access class template CL_BSP_MODEL_ACCESS_ADDRESS, proceed as follows:

...

       1.      Create subclass CL_BSP_APPLICATION_ADDRESS of CL_BSP_MODEL_ACCESS_ADDRESS and implement the methods GET_ADDRESS_KEY, ADDRESS_IS_CREATED and the other ones you may need, as described under Integrating the Address Controller.

Of course, you as developer of the application do not need to maintain any blueprint tables in this case.

       2.      Instead, you must call the methods READ, MODIFY, FILL_DROPDOWN_LISTBOX and GET_MESSAGES of class CL_BSP_APPLICATION_ADDRESS within the methods READ, MODIFY, FILL_DROPDOWN_LISTBOX and GET_MESSAGES of your model access class. Any Initialization and Process classes returned by these methods have to be passed on to the Interface layer.

Except for these points, the handling is the same as described in Working with Addresses.