Ansicht
Dokumentation

CRM_CASE_IC_REPLVIEW - Exchange Views

CRM_CASE_IC_REPLVIEW - Exchange Views

ABAP Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You use this IMG activity to configure the display of user-defined views in the Cases view set in the Interaction Center (IC) WebClient.

In the Cases view set, you can exchange both the Attributes and the More Fields views for your own user-defined views. This exchange is always dependent upon a profile and case type.

In the standard system, the link More Fields is used to switch from the Attributes view to the More Fields view.

  • The activities described in this section are only to be performed by experienced IC WebClient consultants with extensive ABAP knowledge.
  • You must have created your own application and runtime repository.
  • You have generated your own views for the view exchange.

The views Attributes (CaseAAttribute) and More Fields (CaseAAttrMore) are included in the standard system, complete with the corresponding case processing functions.

There are three ways to configure your own views:

  • You can generate your own views.
  • Depending on profile and case type, you can generate exactly one new view, using the function of existing viewsAttributes (CaseAAttribute) andMore Fields (CaseAAttrMore), by copying the corresponding default view into yowr own application and keeping its name.
    To do so, you must enter the copied view <Controller Replacement> in your framework profile. You can do this in Customizing for runtime framework profiles.
    In addition, in your Interaction Center (IC) WebClient profile, you must enter your own framework in the Framework function so that you can use the profile to switch the view.
    Example:
CaseAAttribute&lt;/ReplacedController>
BSP_IC_CMG_DEMO / CaseAAttribute &lt;/ReplacingController>
  • You can generate various views and assign various case types and profiles while using the functions of the existing views Attributes ( CaseAAttribute) and More Fields(CaseAAttrMore), by copying these views.
To use the functions of the CaseAAttribute and CaseAAttrMore views, perform the following activities:
Exchange of View Attributes (CaseAAttribute)
  • Create a view controller class in transaction SE24 (for example, Z_MEINATTR_IMPL)

Enter the superclass CL_CRM_IC_CASEAATTRIBUTE_IMPL under Properties.
On the Methods tab page, recreate the constructor using super->constructor( ) and enter the corresponding view name (Z_MeinKopierterView.htm) as VIEW_NAME. The views are actually copied later on in the sequence described here.
If you want to copy buttons and links, you have to redefine the following methods and copy the coding at the same time. You also have to create the relevant navigation link in XML Customizing in your runtime repository.
To copy the existing buttons and links, you have the perform the following activities:
EH_ONCREATE (Create a new case):
Create a new navigation link. To do this, copy AttributeToAttrMore and enter the new view as source view. Then enter the navigation link at the end of the method in the view_manager->navigate in parameter outbound_plug.
EH_ONMOREFIELDS (Switch to view More Fields -CaseAAttrMore)
Create a new navigation link. To do this, copyAttributeToAttrMore and enter the new view as source view. Enter the navigation link at the end of the method in view_manager->navigate in the parameter outbound_plug. If you have created a new view for the More Fields view (CaseAAttrMore), you have to specify this as target view.
EH_ONSEARCHCASE (Switch to view Case Search)
Create a new navigation link. To do this, copy AttributeToSearch and enter the new view as source view. Enter the navigation link at the end of the method in the view_manager->navigate in parameter outbound_plug.
  • Copy view CaseAAttribute.htm

Then replace the controller class on the Properties tab page with the new view controller.
  • Copy the controller CaseAAttribute.do

Replace the controller class with the new view controller.
Exchange of viewMore Fields (CaseAAttrMore)
  • Create a view controller class in transaction SE24 (for example, Z_MEINATTRMORE_IMPL)

Enter the superclass CL_CRM_IC_CASEAATTRMORE_IMPL under Properties.
On the Methods tab page, recreate the constructor with super->constructor( ) and enter the relevant view name (Z_MeinKopierterView.htm) as VIEW_NAME. The views are actually copied later on in the sequence described here.
If you want to copy the OK (EH_ONBACK) button, you have to redefine the following method and copy the coding at the same time. You also have to create the relevant navigation link in XML Customizing. To do so, copy AttrMoreToNavigation and enter the new view as the source view. Enter the navigation link at the end of the method in navigate in parameter outbound_plug.
If you have created a new view for the Attributes view (CaseAAttribute), you have to specify this as target view.
  • Copy the view CaseAAttrMore.htm

Then replace the controller class under Properties with the new view controller.
  • Copy the controller CaseAAttrMore.do

Then replace the controller class with the new view controller.
  1. Use the input help to select an IC WebClient profile.
  2. Use the input help to select a case type.
  3. Enter the technical name of your view.
Please note that you must add the application name as a prefix to the view name. For example:<9><<)>DemoApplication>/&lt;UserDefinedView>.
  1. Enter the corresponding line in the desired exchange view.
You can replace one or both views. The following unique combinations are possible:
  • If you enter a profile, a case type, and a view name, this view will always be used in this IC WebClient profile for cases of this case type.

  • If you enter a profile and view name, but do not specify a case type, this view will always be used in this IC WebClient profile independent of the case type.

  • If enter a case type and view name, but do not specify a profile, this view will always be used for cases of this case type independent of the profile.

  • If you do not enter a profile or case type, and only specify a view name, this view is always used in the IC WebClient independent of the profile and the case type.

Basically, this means that a specific entry overwrites the generic entry. If, for example, you create an entry without specifying a profile and assign View A, View A will always be used independent of the profile. However, if you then create a second entry whereby you assign View B to the profile Agent Profile, in future, the specifically assigned View B will be used for the Agent Profile profile. However, View A will continue to be valid for all other profiles.

Test Application

You can test the activities described above in the BSP_IC_CMG_DEMO test application (package CRM_IC_APPL_UI_CASE ).

  • Then enter the framework profile under Framework in the IC WebClient profile. This takes place in the IMG activity: Define IC WebClient Profiles.
  • You can now enter the view CaseAAttrDemo in Customizing according to the steps described under Activities. Note that you have to insert the application name as a prefix to the view name, for example, DemoApplication>/&lt;UserDefinedView>.





rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 11314 Date: 20240523 Time: 151858     sap01-206 ( 143 ms )