Procedure documentationIntegrating the Address Controller

Prerequisites

You use the People Centric UI for your application.

Procedure

In this chapter you will find an overview of the steps the application has to take in order to include the address controller in the UI. The steps are as follows (names given in the form [text] are arbitrary, but have to be the same in all instances with the same text):

  1. Create a subclass of the abstract model access class template CL_BSP_MODEL_ACCESS_ADDRESS.

    Throughout this document, we will call this subclass CL_BSP_APPLICATION_ADDRESS.

  2. In the class CL_BSP_APPLICATION_ADDRESS, implement the method GET_ADDRESS_KEY.

    In this method, the application provides for each object key the corresponding address ID, consisting of address type, address number/handle plus eventually person number/handle.

  3. In the class CL_BSP_APPLICATION_ADDRESS, implement the method ADDRESS_IS_CREATED.

    This method will be called to notify the application that a newly created address was written to the BAS memory for the first time. For more information, refer to Creating an Address.

  4. In transaction CRMC_BLUEPRINT, under IMG activity Start of the navigation path CRM UI: Blueprint Tables Next navigation step Application Elements Next navigation step Application Set Next navigation step Model Access End of the navigation path for your application, maintain the following entries:

    Structure name

    Access Class

    CRMT_BSP_ADDRESS

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADTEL

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADMOB

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADDRESS_PRFCOMM

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADFAX

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADTLX

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADSMTP

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADRML

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADRFC

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADPRT

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADURI

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADSSF

    CL_BSP_APPLICATION_ADDRESS

    CRMT_BSP_ADPAG

    CL_BSP_APPLICATION_ADDRESS

  5. In transaction CRMC_BLUEPRINT, under IMG activity Start of the navigation path CRM UI: Blueprint Tables Next navigation step Application Elements Next navigation step Application Set Next navigation step Model Access End of the navigation path for your application, maintain the following entries:

    Structure name

    Access Class

    Reference Application

    SPACE

    SPACE

    ADDR_DETAIL

  6. In transaction CRMC_BLUEPRINT, under IMG activity Start of the navigation path CRM UI: Blueprint Tables Next navigation step Application/Layout Next navigation step Define Layout End of the navigation path for your application, maintain the following entries:

    View:

    <Your View>

    Event:

    [NAV_ADR]

    Position:

    <Position of the address controller in the application>

    Screen Variant:

    <Your screen Variant>

    Scrn Elmnt Type:

    Multi ODC

    Field Group:

    ADR_DETAIL

    Toolbar Group:

    ADR_DETAIL

    Tab Group:

    [TAB_APPL]

    Search Grp:

    SPACE

    Docu Class:

    SPACE

    Object ID:

    SPACE

  7. In transaction CRMC_BLUEPRINT, under IMG activity Start of the navigation path CRM UI: Blueprint Tables Next navigation step Application Elements Next navigation step Tab Strip Next navigation step Tab Strip Next navigation step Assign Events End of the navigation path for your tab [TAB_APPL], maintain the following entry:

    View:

    <Your View>

    Sequence:

    <Position in your tab>

    Event:

    [NAV_ADDR]

    Multigroup

    ADR_DETAIL

  8. In transaction CRMC_BLUEPRINT maintain the following entries under IMG activity Start of the navigation path Design of People-Centric UI Next navigation step View Next navigation step Navigation: Log Messages Next navigation step Assigning Log Messages to a Navigation End of the navigation path for your application:

    Message ID:

    SPACE

    Message number:

    SPACE

    Context :

    <The context of the address controller within your application>

    Message Group:

    ADR_DETAIL

    Object Name:

    SPACE

    Field Name:

    SPACE

    Event:

    [NAV_ADDR]

    Screen Position:

    <The screen position of the address controller>

    Action Event:

    SPACE

    The value entered under Context here must be identical to the value the method GET_ADDRESS_KEY of class CL_BSP_APPLICATION_ADDRESS returns.

  9. Adapt the coding of your own model access classes.

    Caution Caution

    Pay special attention to the fact that none of the applications process classes may return the value '9' with the method GET_PRIORITY.

    End of the caution.