Enhancement of Account and Address Identification

Use

You use this function to enhance the account and address identification. You can change the account and address identification in two ways:

  1. Add a new identification (a new tab on the right side of the identification screen).

  2. Enhance the existing (Waste and Recycling) identification.

Prerequisites

Check whether you need to enhance the attribute structures of the queries or result objects. The Search by Object Address and the Search by WDO require object addresses. The Search by Service Address requires service address data and refers to object addresses later on.

For more information about which object types and structures are used, see table Used Queries and Query Results. If you need new fields in the query or query result object, add them to the appropriate object. For more information about the views used for presenting the search or result screen, see table Search Types and specific Search Fields.

To use this function, you must activate the business function Performance Improvements (CRM_FS_PERF_1).

Features

Enhancing Search Parameters and Result Field Sets

If you want to enhance existing search screens or result lists, you need to differentiate between specific objects for SAP Waste and Recycling and SAP Customer Relationship Management (CRM) standard objects. In the following you find information about the specific objects in SAP Waste and Recycling that need to be enhanced.

For more information about enhancing a list see Enhancement of the Search Help.

Enhancing UI Component

If you need to enhance or change the UI behavior, see SAP Business Suite documentation in SAP Library at http://help.sap.comInformation published on SAP site under Start of the navigation pathSAP Customer Relationship Management  Next navigation step Basic Functions Next navigation step UI Framework and Configuration Next navigation step Framework EnhancementEnd of the navigation path.

Enhancing the identification

Note that the result of the Search for Address Data of a service address are displayed in a tree instead of a list. Currently you cannot enhance or modify this tree without modifying customer-owned data.

Adding New Search Types or Replacing the Search Screen for Existing Search Types

If you want to add a new search type into the dropdown list, you need to enhance the UI. The search type defines the fields to be displayed. Perform the following steps:

  • Add the required search types to the domain containing the search types (see search types and specific search fields in this document). You can enhance the view UI component name/SearchFunction and modify the method GET_V_FUNCTION of the context node QUERYPARAMS of the view UI component name/SearchFunction. Replace the value getter with your own one.

  • Enhance the corresponding UI component (see Used UI Components) and the Enhancement Guide under Enhance UI Component.

  • If you do not want to add a new view, skip this step. Otherwise you have to create a new view with your context node for your query. Add this context node to the corresponding context node in the custom controller.

  • If you do not want to add a new view, skip this step. Enhance view set UI component name/Search and add your new view to the Criteria view area.

  • Create a navigation link to display your new view.

  • Enhance the View UI component name/SearchFunction and redefine method EH_ONSEARCHFUNCTIONCHANGED. Fill it with additional coding for your new or replaced search type (for example modify outbound plug/navigational link).

Removing Search Types

Removing a search type is not supported. If you want to remove an unwanted search type, perform the following steps:

  • Enhance the corresponding UI component (see Used UI Components and Enhance UI Component in this document).

  • Enhance the view UI component name/SearchFunction.

  • Modify method GET_V_FUNCTION of context node QUERYPARAMS of the view UI component name/SearchFunction. Replace the value creator with your own one.

Used UI Components

Each specific search category uses its own UI component:

  • Identify Object Address uses the UI component EWA_IC_IDENT_OA.

  • Advanced Account Search uses the UI component EWA_IC_IDENT_BP.

Used queries and query results

Search for Object Address

EEWA object type

EWAOBJECTADDRESS Reader Structure EWASOBJECTADDRESS_INFO

CRM query object type

EwaObjectAddressQuery Structure CRM_EWA_SOBJECTADDRESS_SHLP

CRM query result object type

EwaObjectAddressResult Structure CRM_EWA_SOBJECTADDRESS_INFO

Search for Service Address

EEWA object type

EWASERVICEADDRESS Reader Structure EWASSERVICEADDRESS_INFO

CRM query object type

EwaServiceAddressQuery Structure CRM_EWA_SSERVICEADDRESS_SHLP

CRM query result object type

EwaServiceAddressResult Structure CRM_EWA_SSERVICEADDRESS_INFO

Search for Customer

EEWA object type

BUSINESSPARTNER Reader Structure EWASBP_INFO

CRM query object type

EwaBusinessPartnerQuery Structure CRM_EWA_SBP_SHLP

CRM query result object type

EwaBusinessPartnerResult Structure CRM_EWA_SBP_INFO

Search Types and specific Search Fields

Identify Object Address

Domain for search types: CRM_EWA_OBJADDRSEARCHFUNCTION

Result List: EWA_IC_IDENT_OA/ResultList

Search Type

View with specific search fields

Navigational Link for Activation

By Address

EWA_IC_IDENT_OA/SearchByAddress

SearchToSearchAddress

By Service Address

EWA_IC_IDENT_OA/SearchByServiceAddress

SearchToSearchServiceAddress

By WDO

EWA_IC_IDENT_OA/SearchByWDO

SearchToSearchWDO

Advanced account search

Domain for search types: CRM CRM_EWA_BPSEARCHFUNCTION

Result List: EWA_IC_IDENT_BP/ResultList

Search Type

View with specific search fields

Navigational Link for Activation

By Address

EWA_IC_IDENT_BP/SearchByObjectAddress

SearchToSearchObjectAddress

By Service Address

EWA_IC_IDENT_BP/SearchByServiceAddress

SearchToSearchServiceAddress

By WDO

EWA_IC_IDENT_BP/SearchByWDO

SearchToSearchWDO