CRM_IC.xml in CRM_IC_DT_REP

Hi,
I would like to ask you if you know how is used this CRM_IC.xml file in CRM_IC_DT_REP BSP application. Some appl have this file, some not. Does it mean that that file is optional?
Regards,
Milan

Look at this thread to get more inforamtion on creating Controller Class in Customer namespace..
IC Webclient - New context node in customer namespace
Thanks,
Thirumala.

Similar Messages

  • Copying CRM_IC.XML Code

    I am trying to copy the Framework Profile "Default"  - IC WebClient - to my own (Z_FRAME_AA). During this process, I could not figure out how to copy the XML Code CRM_IC.XML to the Clipboard, and then paste it into a new file. Please let me know the procedure.

    Are you CRM 4.0 ?  Because CRM 5.0 is very user friendly .
    Try using Cntrl-Y to Select block of text and Copy.  I am not sure , just guessing.

  • Interacting with email in inbox takes me to CRM_IC/BuPaDetailB2b

    I've defined specific controller substitutues in config. 
    One of them is to call Z_CRM_IC/BuPaDetailB2b2 instead CRM_IC/BuPaDetailB2b2, however when I search in my inbox for emails.  Select one and hit interact, the view that's display is the CRM_IC/BuPaDetailB2b2  not my version.
    Anyone have a clue why?  Is there some other config step needed?
    Thanks,
    Cat

    Hi Cathy,
    Did you add your new view to the viewset of the BuPaIdentifyCustomer??
    You can find it in the BuPaViewSet.xml of CRM_IC_DT_REP.
    What you have to do is:
    Create a copy of the BuPaViewSet.xml of CRM_IC_DT_REP to a Z_CRM_IC_DT_REP.
    Add your view to the BuPaIdentifyCustomer like this:
    <ViewSet id="BuPaIdentifyCustomer">
            <ViewArea id="businessPartner" views="BuPaSearch BuPaDetail BuPaCreate BuPaSearchB2B BuPaDetailB2B BuPaContactPersonCreate Z_CRM_IC/BuPaDetailB2B"/>
            <ViewArea id="product" views="BuPaIbaseSearch BuPaIbaseDetail "/>
            <ViewArea id="select" views="BuPaEmptySelect BuPaSelectCustomer BuPaSelectIbase BuPaSelectContactPerson BuPaSelectCPforCustomer"/>
    </ViewSet>
    Now create a copy of the CRM_IC_All_Viewsets.xml from CRM_IC_DT_REP to Z_CRM_IC_DT_REP make sure that this is showing:
    <%@page language="abap"%><%@ include file="../CRM_IC_DT_REP/MainViewSet.xml" %>
    <%@ include file="BuPaViewSet.xml" %>
    <%@ include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml" %>
    In your Z_CRM_IC_RT_REP the CRM_IC.xml now has to refer to your Z_CRM_IC_DT_REP.
    <%@page language="abap"%><?xml version="1.0"?>
    <WebDynProDefinitions>
        <Application id="CRM_IC">
            <ViewSets>
    <%@include file="../Z_CRM_IC_DT_REP/CRM_IC_All_Viewsets.xml" %>
            </ViewSets>
            <NavigationalLinks>
    <%@include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
            </NavigationalLinks>
        </Application>
    </WebDynProDefinitions>
    Hope this helps.
    Kind regards,
    Micha

  • Regarding CRM_IC

    hi
    i got the dump error in my production server i.e runtime error ITAB_DUPLICATE_KEY while accessing CRM_IC
    SAP-Release 700
    Application server... "idescrm"
    Network address...... "172.17.80.100"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x Intel 801586"
    Character length.... 16 Bits
    Pointer length....... 32 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "IDESCRM"
    Database type..... "ORACLE"
    Database name..... "IDC"
    Database user ID.. "SAPSR3"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Jun 11 2007 00:13:41"
    create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
    Database version. "OCI_10201_SHARE (10.2.0.1.0) "
    Patch level. 114
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
      NT 6.0"
    we are not able to access ICWC through the t-code CRM_IC
    we have the IE-7
    plz do the need full
    with regards
    shankar

    Hello Shankar,
    You get this dump probably because you have duplicate entries in one of your Design Time (DT) or RunTime (RT) XML files.
    The XML files are used to define all navigational links, views, viewsets and so on.
    Check those files for duplicate entries (e.g. A navigational link was declared twice).
    Check your runtimeprofile and see the starting point of your RT definition (by default this is in CRM_IC_RT_REP BSP application, file CRM_IC.XML) and run through all the XML includes and look for duplicates.
    I had exactly the same problem a while ago, I do remember finding the name of the incorrect XML file through debug. (Check the dump file to find a location from where to start debugging)
    Hope this solves your problem!
    Regards,
    Joost

  • Creation of new view in ICWC

    Hi All,
    I have created the new view in my custom CRM_IC. Can I know what is the next step to do in order for the new view to show in ICWC - what is the inbound or outbound plug all about?
    Appreciate if someone can list me all the steps. Thanks

    Objective
    Calling a custom Simple View for the follow-up activity. Whenever, we click the link of a follow-up activity from the activity clipboard, the system leads us to “Simple Activity” view, where we can maintain the description and the status.
    Note
    This is just a guideline document to work with customer specific view sets for one case. While following this procedure for other cases, we may need to do further enhancements.
    A.     Primary Steps
    Create Custom Package “Z_CONS_COOK1”
    Create BSP application “Z_CRM_IC1” under package “Z_CONS_COOK1”.
    B.     Creating View Sets & Controllers
    1.     Through workbench transaction, Create New View Set: SimpleActivitySet
    2.     Specify view area name “main”.
    3.     All Controller & Model Classes are generated in the background.
    4.     Redefine method “GET_STATE_DESCRIPTION” of Controller Class “ZL_Z_CRM_IC_SIMPLEACTIVIT_IMPL” & populate with following source code:
    METHOD IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION.
    *CALL METHOD SUPER->IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION
    EXPORTING
       IV_CURRENT_DESCRIPTION =
    RECEIVING
       DESCRIPTION            =
        DESCRIPTION = TEXT-001.     " 'Simple Activity'
    ENDMETHOD.
    5.     Corresponding BSP Page is generated with the following code:
    %@page language="abap"%
    <%@ extension name="htmlb" prefix="htmlb"%>
    <%@ extension name="xhtmlb" prefix="xhtmlb"%>
    <%@ extension name="crm_bsp_ic" prefix="crmic"%>
    <%@ extension name="bsp" prefix="bsp"%>
    <crmic:gridLayout cellSpacing="1" columnSize="1" height="100%"
    rowSize="1" width="100%">
    <crmic:gridLayoutCell colSpan="1" columnIndex="1"
    rowIndex="1" rowSpan="1">
                <bsp:call  comp_id="<%=controller->GET_VIEWAREA_CONTENT_ID( 'main' )%>"
    url="<%=controller->GET_VIEWAREA_CONTENT_URL( 'main' )%>"/>
                </crmic:gridLayoutCell>
    </crmic:gridLayout>
    6.     Activate all objects
    C.     Creating Views & Controllers
    1.     Create View using IC Web Client Workbench transaction. Give view name “SimpleActivity”.
    In the wizard enter our view name, and specify all model nodes, model attributes and links to custom controllers.
    Add Model Nodes:
    Model Nodes          BOL Entity     High-level model node    BOL Relation
    GT_BTORDER     BTOrder                         
    GR_BTADMINH     BTAdminH     GT_BTORDER          BTOrderHeader
    GR_BTSTATUS     BTStatusH     GR_BTADMINH          BTHeaderStatusSet
    GR_BTSTATUSH     BTStatus     GR_BTSTATUS          BTStatusHCurrent
    Four nodes are the pointers to the similarly named BOL entities of the focus object. The focus object will be the Activity that the user clicked in the Activity Clipboard. Whenever this happens, an instance method of the controller is called. Method “IP_INBOUNDPLUGID” retrieves the BOL entities from the global memory and places them into these attributes. They can also be seen as buffers since they are used in multiple locations within the controller class.
         Value node: Optional entry, keep it blank.
    Add Model Attributes:
    Model Attribute     Model Node          BOL Attribute
    DESCRIPTION     GR_BTADMINH     DESCRIPTION
    STATUS          GR_BTSTATUSH     STATUS
    Create Links to Custom Controller
    Context node:          GT_BTORDER
    BSP Application:     CRM_IC
    Custom Controller:     CuCoBDC.do
    Context node (Custom Controller):     CURRENTINTERACTIONRECORD
    Select View Type
    Type: Form View
    2.     Restart the IC Web Client Workbench. We will observe, controller class is generated with methods. If we want to enhance these methods we should redefine them in the corresponding *_IMPL class.
    3.     Define the Inbound Plug.
    This is the method that is called by the framework whenever we navigate to our view set. Define method “IP_INBOUNDPLUGID” and populate with following code:
    Following attributes added to the controller class, as it was showing an error message:
    GR_BTORDER      TYPE REF TO     CL_CRM_BOL_ENTITY
    GR_BTADMINH     TYPE REF TO     CL_CRM_BOL_ENTITY
    GR_BTSTATUSH     TYPE REF TO     CL_CRM_BOL_ENTITY
    GR_BTSTATUS     TYPE REF TO     CL_CRM_BOL_ENTITY
    METHOD IP_INBOUNDPLUGID.
    data: lr_bdc     type ref to cl_crm_ic_cucobdc_impl,
          lr_btorder type ref to if_bol_bo_property_access.
    *- Read Parameter
      lr_bdc ?= get_custom_controller( 'CuCoBDC' ).
      CALL METHOD lr_bdc->get_navigation_data
      IMPORTING
        ev_selected_object = lr_btorder.
    *- Read Model
    IF lr_btorder IS BOUND.
        TRY.
           gr_btorder  ?= lr_btorder.
           gr_btadminh  = gr_btorder->get_related_entity(
                          iv_relation_name = 'BTOrderHeader' ).
           gr_btstatush = gr_btadminh->get_related_entity(
                          iv_relation_name = 'BTHeaderStatusSet' ).
           IF gr_btstatush IS NOT BOUND.
              gr_btstatush = gr_btadminh->create_related_entity(
                          iv_relation_name = 'BTHeaderStatusSet' ).
           ENDIF.
           gr_btstatus = gr_btstatush->get_related_entity(
                          iv_relation_name = 'BTStatusHCurrent' ).
           IF gr_btstatush IS NOT BOUND.
              gr_btstatush = gr_btstatush->create_related_entity(
                          iv_relation_name = 'BTStatusHCurrent' ).
           ENDIF.
           CATCH cx_root.
        ENDTRY.
    ENDIF.
    ENDMETHOD.
    4.     Confirm View Layout “SimpleActivity” consistency.
    5.     Two methods are responsible for the data transfer between the model/controller and the view and are created automatically by the wizard.
    SET_MODELLS -- Sends data to the view (PBO)
    DO_HANDLE_DATA -- Retrieves data from the HTTP request fields (PAI)
    We can redefine these methods for further enhancements.
    D.     Adjusting IC Web Client Framework
    After having defined the views, controllers and classes, we need to hook them up to the runtime profile of IC Web Client.
    STEPS:
    1.     To prepare IC Web Client framework for custom-built view-sets, create a new runtime profile BSP application in the customer namespace.
    Create BSP application “Z_CRM_IC_RT_REP” under package “Z_CONS_COOK1”.
    Copy the file CRM_IC.xml from the BSP application CRM_IC_RT_REP to “Z_CRM_IC_RT_REP”.
    2.     Adjust the contents of file “CRM_IC.xml”, as under:
    <%@page language="abap"%><?xml version="1.0"?>
    <WebDynProDefinitions>
        <Application id="CRM_IC">
            <ViewSets>
    <%@include file="../Z_CRM_IC_DT_REP/CRM_IC_All_Viewsets.xml" %>
            </ViewSets>
            <NavigationalLinks>
    <%@include file="../Z_CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
            </NavigationalLinks>
        </Application>
    </WebDynProDefinitions>
    3.     Create BSP application Z_CRM_IC_DT_REP in package Z_CONS_COOK1.
    4.     Copy page fragment CRM_IC_All_Viewsets.xml of BSP application CRM_IC_DT_REP to Z_CRM_IC_DT_REP and replace the file contents with the following lines:
    Page fragment: CRM_IC_All_Viewsets.xml
    <%@page language="abap"%>
    <%@include file="MainViewSet.xml" %>
    <%@include file="../CRM_IC_DT_REP/BuPaViewSet.xml" %>
    <%@include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml" %>
    This definition still works with all standard view sets, but replaces the MainViewSet.xml with our own definition, since it is now loaded from Z_CRM_IC_DT_REP.
    5.     Copy page fragment MainViewSet.xml from BSP application CRM_IC_DT_REP to Z_CRM_IC_DT_REP.
    6.     Copy page fragment CRM_IC_All_NavLinks.xml of BSP application CRM_IC_DT_REP to Z_CRM_IC_DT_REP and replace the file contents with the following line:
    <%@page language="abap" %>
    <%@ include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
    This definition makes sure that standard navigational links still work and that we are able to add our own link definitions later.
    7.     Activate all objects.
    8.     Customize the IC Web Client Runtime Framework Profile in such a way that the new Source file is used with the following sample code:
    Navigation: SPRO &#61664; CRM &#61664; Interaction Center Web Client &#61664; Customer-Specific System Modifications &#61664; Define IC Web Client Runtime Framework Profiles.
    Provide new profile name “ZCUST_PROF” & populate it with following set of attributes:
    Profile name:      ZCUST_PROF
    Component Set:      ALL
    Separate Display Model: Off
    Application:      IC_BASE
    Viewset name:     workViewSet
    Runtime Rep.Type: BSP Application
    Application:          Z_CRM_IC_RT_REP
    Page:          CRM_IC.XML
    E.     Creating View Definitions for Design Time Repositories
    1.     Every new view set must be defined in Design Time Repository. For this purpose, create page fragment SimpleActivitySet.xml in BSP application Z_CRM_IC_DT_REP and maintain it as shown in the following sample code:
    Page fragment “SimpleActivitySet.xml”
    <%@page language="abap"%>
    <ViewSet id="Z_CRM_IC1 /SimpleActivitySet">
    <ViewArea id="main" views="Z_CRM_IC1 /SimpleActivity"/>
    </ViewSet>
    2.     Include file “SimpleActivitySet.xml" into page CRM_IC_All_Viewsets.xml of BSP application Z_CRM_IC_DT_REP.
    Page “CRM_IC_All_Viewsets.xml” after modification:
    <%@page language="abap"%>
    <%@include file="MainViewSet.xml" %>
    <%@include file="../CRM_IC_DT_REP/BuPaViewSet.xml" %>
    <%@include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml" %>
    <%@ include file="SimpleActivitySet.xml" %>
    3.     Activate all objects.
    F.     Creating Navigational Link Definitions for Design Time Repositories
    To provide a navigational link for the activity clipboard, define this link.
    1.     Create Page fragment “SimpleActivityNavLinks.xml” in BSP Application “Z_CRM_IC_DT_REP” and maintain layout with following code:
    <NavigationalLink name="SimpleActivity">
    <Source viewRef="IRecActivitiesClipboard"
    outboundPlugRef="default"/>
                   <Targets>
    <Target viewRef=" Z_CRM_IC1/SimpleActivity"
    inboundPlugRef="inboundplugid"/>
    </Targets>
    </NavigationalLink>
    2.     Similar to the view definition, also the Navigational Link must be included into the framework.
    Add the following line
    <%@ include file="SimpleActivityNavLinks.xml" %>  to the file
    CRM_IC_ALL_NavLinks.xml in the BSP application “Z_CRM_IC_DT_REP”.
    Page fragment “CRM_IC_All_NavLinks.xml” – source code
    <%@page language="abap" %>
    <%@ include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
    <%@ include file="SimpleActivityNavLinks.xml" %>
    3.     Activate all objects.
    G.     Placing View Sets into Controller Hierarchies
    1.     Adjust the file MainViewSet.xml in BSP application Z_CRM_IC_DT_REP.
    Add the reference to our view set and activate the file as shown in the following sample code:
              Page fragment: MainViewSet.xml
    <%@page language="abap"%>
    <ViewSet id="IC_BASE/ICAPPMainViewSet">
         <ViewArea id="navigationArea" views="IC_BASE/navigationViewSet"/>
         <ViewArea id="workArea" views="IC_BASE/workViewSet"/>
         <ViewArea id="contextArea" views="IC_BASE/contextAreaView"/>
         <ViewArea id="breadCrumbsArea" views="IC_BASE/BreadCrumbsView"/>
         <ViewArea id="globalSearchArea" views="HistoryView"/>
         <ViewArea id="helpArea" views="Help"/>
           <ViewArea id="statusArea" views="StatusView"/>
         <ViewArea id="errorArea" views="IC_BASE/ErrorViewSet"/>
    </ViewSet>
    <ViewSet id="IC_BASE/navigationViewSet">
         <ViewArea id="navigationViewSetArea" views="IC_BASE/NavBarView"/>
    </ViewSet>
    <ViewSet id="IC_BASE/workViewSet">
         <ViewArea id="workViewSetArea"
                     views="<%@include file="../CRM_IC_DT_REP/StdWorkareaOccupation.xml" %>
                     Z_CRM_IC1/SimpleActivitySet "/>
    </ViewSet>
    H.     Customize Activity Clipboard
    To make activity clipboard call our new view set, change it’s customizing.
    1.     Create Activity Clipboard profile called “ZCUST_PROF”.
    Navigation: SPRO &#61664; CRM &#61664; IC Web Client &#61664; Basic Functions &#61664; Define Activity Clipboard Profiles.
    Profile name: ZCUST_PROF (copy all entries)
    Keep Technical Profile name: DEFAULT
    2.     Assign this profile to IC Web Client profile.
    3.     Create a new entry for the object BTOrder and wrapped object type BUS2000126 by copying the existing entry BTORDERBUS2000126.
    Activity Clipboard Entry ID: ZBTORDERBUS2000126
    BOL Type: BTOrder
    NavigationLink: SimpleActivity
    4.     Go back to your profile and select Assign Entries to Profile. Replace the original Entry ID BTORDERBUS2000126  with your new entry ZBTORDERBUS2000126.
    5.     Activate your changes and test the IC WebClient (application CRM_IC)

  • Runtime Repository

    Hi All,
      I have created a BSP application and copied views ServICondLines, ServIPartner, ServIText, ServSLA from CRM_IC. I have created one new view ServILnkObj and I have given Hyper link connection to this new view from the copied ones. And it is appearing on IC web.
      I have created a Runtime repository BSP application and copied the CRM_IC.xml and here is the code
    <%@page language="abap"%><?xml version="1.0"?>
    <WebDynProDefinitions>
        <Application id="CRM_IC">
            <ViewSets>
    <%@include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets.xml" %>
            </ViewSets>
            <NavigationalLinks>
    <%@include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
            </NavigationalLinks>
        </Application>
    </WebDynProDefinitions>
    When I am trying to execute tcode CRM_IC I am getting the following error. Please help me in solving the problem and highly appreciated your help.
    The runtime repository could not be interpreted
    An exception occurred during the internal HTTP communicationException Class CX_BSP_WD_HTTP_RESPONSE_ERROR
    Text: The HTTP Response Had the Status 500.
    Additional Info: Business Server Page (BSP) Error
    Program: CL_BSP_WD_STREAM_LOADER=======CP
    Include: CL_BSP_WD_STREAM_LOADER=======CM002
    Source Text Row: 57
    Regards,
    Anand

    Hi All,
        I got the resolution. The problem was, I haven't maintained my BSP Application, Runtime repository, Design time repository in SICF.
    Regards,
    Anand

  • CRM 5.0 - IC WebClient - BSP Error due to no Escape Character

    Hi Gurus
    I'm working through the Consultants Cookbook for Interaction Center (IC) Webclient CRM 5.0 SP03.
    I'm having a huge problem with the CRM_IC.xml in my customers namespace.
    My customers namespace is /XYZ/.
    Therefore when I try to modify the CRM_IC/xml file I'm hitting errors because the replacement Include file name is being determined incorrectly.
    <%@include file="..//<b>XYZ/CRM_IC_DT_REP</b>/CRM_IC_All_Viewsets.xml" %>
    /XYZ/CRM_IC_DT_REP needs to be viewed as one value. 
    What escape characters should I use to resolve this.
    An example would be appreciated greatly
    Max points for the right answer.
    Many Thanks
    Panduranga

    Hello Kumar,
    We encountered exactly the same problem a while ago.
    We have found no solution for this since the /cust_name/ is considered as a physical directory path rather that a customer namespace definition.
    We had to recreate everything in the Z/Y namespace...
    Hope it helps,
    Regards,
    Joost

  • Navigating to a view on click of a button in Webclient

    Hi Gurus,
    I am trying to navigate to a view from one view by clicking on a button.
    What is the coding to be done in do_handle_event and what is the navigation link to be provided in the customized run-time repository.
    Any help would be appreciated and points would be awarded
    Thanks,
    Jai

    This may help.
    ashish.
    3.4.1 Creating the View Set and Controllers
    The following steps are necessary to create your view set:
    1. Use the wizard to create a new view set SimpleActivitySet.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 93
    2. Skip through all following steps in the wizard.
    3. Redefine the method if_bsp_wd_history_state_descr~get_state_description in the
    generated class ZL_Z_CRM_IC_SIMPLEACTIVIT_IMPL as follows:
    METHOD if_bsp_wd_history_state_descr~get_state_description .
    description = text-001. " 'Simple Activity'
    ENDMETHOD.
    This method is called by the framework whenever the quick navigation dropdown box is refreshed.
    It returns the text to be displayed, in our case, Simple Activity. Double-click on text-001 in order
    to create the program text.
    4. Add the following code to the layout of the view set:
    <%@page language="abap"%>
    <%@ extension name="htmlb" prefix="htmlb"%>
    <%@ extension name="xhtmlb" prefix="xhtmlb"%>
    <%@ extension name="crm_bsp_ic" prefix="crmic"%>
    <%@ extension name="bsp" prefix="bsp"%>
    <crmic:gridLayout cellPadding="0" cellSpacing="2" columnSize="1" rowSize="1"
    width="100%" height="100%">
    <crmic:gridLayoutCell columnIndex="1" rowIndex="1" width="100%" height="34%">
    <bsp:call comp_id="<%=controller->GET_VIEWAREA_CONTENT_ID( 'SimpAct' )%>"
    url="<%=controller->GET_VIEWAREA_CONTENT_URL( 'SimpAct' )%>"/>
    </crmic:gridLayoutCell>
    </crmic:gridLayout>
    This HTMLB code simply creates a grid layout with one cell. Within the cell, we call the view by its
    ID (SimpAct). The ID is later on defined in the framework (cf. section 3.4.3.2).
    This design has some overhead in our case, but it shows in general how more complex view sets
    are to be designed. For example, see the view set definition of the interaction record,
    IRecViewSet.htm, in the BSP application CRM_IC.
    5. Activate all your objects.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 94
    3.4.2 Creating the View and Controllers
    The following steps are necessary to create your view:
    1. Start the IC WebClient workbench and right-click on the View Root node to create a new view.
    2. In the wizard, enter the following data:
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 95
    We do not define value nodes here. Value nodes are context nodes which are not bound to the
    BOL model but implemented in the context classes.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 96
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 97
    3. After this step, restart the IC WebClient workbench and see your new view in the hierarchy:
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 98
    The following methods will all be created/implemented in the controller implementation class
    ZL_Z_CRM_IC_SIMPLEACTIVI_IMPL. The additional controller base class should never be changed!
    1. Define the inbound plug. This will be the method that is called by the framework whenever we
    navigate to our view set. For more information on the link definition, see section 3.4.3.3.
    Sample Code: Inbound Plug
    In general, there are two way of passing parameters:
    • Via the business data context (BDC), which is represented by a custom controller.
    At this custom controller you find the method SET_NAVIGATION_DATA and
    GET_NAVIGATION_DATA to pass a context entity.
    • Binding to custom controller context nodes which leads to data sharing between views.
    In our example we bind BTORDER, the root context node of our new view, to the
    context node CURRENTINTERACTION of the BDC (custom controller CuCoBDC).
    When our view is created the data of CURRENTINTERACTION is automatically set to
    the node BTORDER and the data for the dependant nodes is automatically derived.
    2. You can define a dropdown list box for the status as described in section 3.3.
    3. The wizard automatically creates two methods that are responsible for the data transfer between
    the model/controller and the view:
    • set_models
    Sends data to the view. It is comparable to the PBO modules of traditional ABAP screen
    programming.
    • do_handle_data
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 99
    Retrieves data from the HTTP request fields. It is comparable to the PAI modules of an
    ABAP screen.
    3.4.3 Adjusting IC WebClient Framework
    After having defined the views, controllers, and classes, we need to assign them to the runtime profile of
    IC WebClient.
    The first time you do this, there are some preparations needed which are explained in the following
    section. After the preparation, the view and view set specific work for our example is explained.
    3.4.3.1 Preparation
    In order to prepare the IC WebClient framework for custom-built view sets, we need to create a new
    runtime profile BSP application in the customer namespace. This BSP application will contain one page,
    called CRM_IC.xml. It will contain the definition of all view sets and all navigational links by including the
    corresponding files that actually contain the definitions. We build all this according to standard structures,
    though it doesn’t necessarily have to be this way.
    To make things a bit simpler, we do not split up the repository into runtime and design time. All changes
    we make are only relevant for the runtime repository.
    Perform the following steps:
    1. Create the BSP application Z_CRM_IC_RT_REP in the package Z_CONS_COOK.
    2. Copy the file CRM_IC.xml from the BSP application CRM_IC_RT_REP to Z_CRM_IC_RT_REP.
    3. Adjust the contents of this file according to the changes shown in bold in the following sample
    code:
    <?xml version="1.0"?>
    <WebDynProDefinitions>
    <Application id="CRM_IC">
    <ViewSets>
    <%@include file="../Z_CRM_IC_RT_REP/CRM_IC_All_Viewsets.xml" %>
    </ViewSets>
    <NavigationalLinks>
    <%@include file="../Z_CRM_IC_RT_REP/CRM_IC_All_NavLinks.xml" %>
    </NavigationalLinks>
    </Application>
    </WebDynProDefinitions>
    Hence, CRM_IC.xml includes two more XML files which can be found in BSP application
    Z_CRM_IC_RT_REP.
    4. Create BSP application Z_CRM_IC_RT_REP in package Z_CONS_COOK.
    5. Copy page fragment CRM_IC_All_Viewsets.xml of BSP application CRM_IC_DT_REP to
    Z_CRM_IC_RT_REP and replace the file contents with the following lines:
    <%@ include file="MainViewSet.xml" %>
    <%@ include file="../CRM_IC_DT_REP/BuPaViewSet.xml" %>
    <%@ include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml"
    %>
    This definition still works with all standard view sets, but replaces the MainViewSet.xml with our
    own definition, since it is now loaded from Z_CRM_IC_RT_REP.
    6. Copy page fragment MainViewSet.xml from BSP application CRM_IC_DT_REP to
    Z_CRM_IC_RT_REP.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 100
    7. Copy page fragment CRM_IC_All_NavLinks.xml of BSP application CRM_IC_DT_REP to
    Z_CRM_IC_RT_REP and replace the file contents with the following line:
    <%@ include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
    This definition makes sure that standard navigational links still work and that we are able to add
    our own link definitions later on.
    8. Activate all objects.
    9. Customize the IC WebClient runtime framework profile in such a way that the new source file is
    used, as shown in the following sample code:
    <?xml version="1.0"?>
    <RuntimeFrameworkSettings>
    <RuntimeRepositorySource type="BSP">
    <BspApplication>Z_CRM_IC_RT_REP</BspApplication>
    <PageName>CRM_IC.xml</PageName>
    </RuntimeRepositorySource>
    <WorkareaDefinition>
    <ViewSet>workViewSet</ViewSet>
    <ViewArea>workViewSetArea</ViewArea>
    </WorkareaDefinition>
    <ControllerReplacements>
    <ControllerReplacement>
    <ReplacedController>BuPaMoreContactView</ReplacedController>
    <ReplacingController>Z_CRM_IC/BuPaMoreContactView</ReplacingController>
    </ControllerReplacement>
    <ControllerReplacement>
    <ReplacedController>IRecReason</ReplacedController>
    <ReplacingController>Z_CRM_IC/IRecReason</ReplacingController>
    </ControllerReplacement>
    </ControllerReplacements>
    <InteractionLayerApplication>ALL</InteractionLayerApplication>
    </RuntimeFrameworkSettings>
    3.4.3.2 Creating View Definitions for Design Time Repositories
    Every new view set must be defined in the runtime repository.
    1. Create page fragment SimpleActivitySet.xml in BSP application Z_CRM_IC_RT_REP and maintain it
    as shown in the following sample code:
    <ViewSet id="Z_CRM_IC/SimpleActivitySet">
    <ViewArea id="SimpAct" views="Z_CRM_IC/SimpleActivity"/>
    </ViewSet>
    The view area ID (SimpAct) is the name of the literal used in the bsp:call tag. For more
    information, see section 3.4.1.
    2. Include this file in the framework. Place the following line into page CRM_IC_All_Viewsets.xml in
    BSP application Z_CRM_IC_RT_REP:
    <%@ include file="SimpleActivitySet.xml" %>
    3. Activate your objects.
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 101
    3.4.3.3 Creating Navigational Link Definitions for Design Time Repositories
    In order to provide a navigational link for the activity clipboard, we need to define this link.
    1. Create page fragment SimpleActivityNavLinks.xml in BSP application Z_CRM_IC_RT_REP and
    maintain it as shown in the following sample code:
    <NavigationalLink name="SimpleActivity">
    <Source viewRef="IRecActivitiesClipboard" outboundPlugRef="default"/>
    <Targets>
    <Target viewRef="Z_CRM_IC/SimpleActivity"
    inboundPlugRef="inboundplugid"/>
    </Targets>
    </NavigationalLink>
    The name of the link is SimpleActivity. We will refer to it in the activity clipboard Customizing. For
    more information, see section 3.4.3.5. The link can be activated on the view
    IRecActivitiesClipboard and it navigates to the view SimpleActivity in BSP application
    Z_CRM_IC. When the target view is activated, method ip_inboundplugid of the view controller
    class is called.
    The framework adds the prefix “ip_” automatically for this method.
    2. Similar to the view definition, include the navigational link into the runtime repository. Add the
    following line to the file CRM_IC_All_NavLinks.xml in BSP application Z_CRM_IC_RT_REP:
    <%@ include file="SimpleActivityNavLinks.xml" %>
    3. Activate your objects.
    3.4.3.4 Placing View Sets into Controller Hierarchies
    After the view set and the navigational link are defined, we finally add our new view to the possible views
    for the work area. We need to adjust the file MainViewSet.xml in BSP application Z_CRM_IC_RT_REP. Add
    the reference to our view set and activate the file as shown in the following sample code:
    <ViewSet id="ICAPPMainViewSet">
    <ViewArea id="navigationArea" views="navigationViewSet"/>
    <ViewArea id="workArea" views="workViewSet"/>
    <ViewArea id="contextArea" views="contextAreaView"/>
    <ViewArea id="breadCrumbsArea" views="BreadCrumbsView"/>
    <ViewArea id="globalSearchArea" views="HistoryView"/>
    <ViewArea id="helpArea" views="Help"/>
    <ViewArea id="statusArea" views="StatusView"/>
    <ViewArea id="errorArea" views="ErrorViewSet"/>
    </ViewSet>
    <ViewSet id="navigationViewSet">
    <ViewArea id="navigationViewSetArea" views="NavBarView"/>
    </ViewSet>
    <ViewSet id="workViewSet">
    <ViewArea id="workViewSetArea"
    views="<%@include file='../CRM_IC_DT_REP/StdWorkareaOccupation.xml' %>
    Z_CRM_IC/SimpleActivitySet"/>
    </ViewSet>
    Consultant’s Cookbook for Interaction Center (IC) WebClient SAP CRM 4.0 Add-On for Service Industries Page 102

  • Regarding customization of multiple views from a single ICwebclient profile

    Hi SDN,
        I got task to change some of gui components on different views in different
          controls in a BSP application.
    I have to change in  3 differnt views.
        I  want to know how to enclose this in Wedclient profile.
    I have created a following Webclient Profile and saved it.
    <b><?xml version="1.0"?>
    <RuntimeFrameworkSettings>
      <RuntimeRepositorySource type="BSP">
        <BspApplication>CRM_IC_RT_REP</BspApplication>
        <PageName>CRM_IC.xml</PageName>
      </RuntimeRepositorySource>
      <WorkareaDefinition>
        <ViewSet>workViewSet</ViewSet>
        <ViewArea>workViewSetArea</ViewArea>
      </WorkareaDefinition>
      <ControllerReplacements>
        <ControllerReplacement>
          <ReplacedController>BuPaIbaseSearch</ReplacedController>
          <ReplacingController>Z_CRM_IC/BuPaIbaseSearch</ReplacingController>
          <ReplacedController>BuPaSearchB2B</ReplacedController>
          <ReplacingController>Z_CRM_IC/BuPaSearchB2B</ReplacingController>
          <ReplacedController>IRecReason</ReplacedController>
          <ReplacingController>Z_CRM_IC/IRecReason</ReplacingController>
        </ControllerReplacement>
      </ControllerReplacements>
      <InteractionLayerApplication>ALL</InteractionLayerApplication>
    </RuntimeFrameworkSettings></b>
    Included ... BuPaIbaseSearch ,BuPaSearchB2B,IRecReason views in custom
    BSP application along with the controls .
    But only first view in Webclient profile is getting triggered.
    Please provide me solution..

    There is small difference in lines of coding of Webclient Profile.
    it must be like this
      <ControllerReplacements>
        <ControllerReplacement>
          <ReplacedController>BuPaIbaseSearch</ReplacedController>
          <ReplacingController>Z_CRM_IC/BuPaIbaseSearch</ReplacingController>
        </ControllerReplacement>
        <ControllerReplacement>
          <ReplacedController>BuPaSearchB2B</ReplacedController>
          <ReplacingController>Z_CRM_IC/BuPaSearchB2B</ReplacingController>
        </ControllerReplacement>
        <ControllerReplacement>
          <ReplacedController>IRecReason</ReplacedController>
          <ReplacingController>Z_CRM_IC/IRecReason</ReplacingController>
        </ControllerReplacement>
      </ControllerReplacements>

  • ICWC transaction launcher

    Hi All,
    I am trying to launch transaction BP using ICWC transaction Launcher
    Following are the steps i have followed to launch the transaction
    1.Swo1 => to copy TSTC
    To ZZstc
    Object name: Zexecute
    2.Changed ZZstc to check Synchronous check box => save
    3.Edit=> change release status => object type=> yo implemented=>to released
    4. Transaction launcher wizard=>
    Launch Trans id.: Zexecute
    Design time repository: zcrm_icweb
    repository page: crm_ic.xml
    runtime framework Profile : Default
    5.Class Name: Zcl_crm_transaction
    Raise veto : checked
    6.Transaction launcher Type :Mbor Transaction
    Logical System :...ABC..
    BOR Object Type: ZZSTC
    Method Name : Execute
    7. Parameter : Object type
    value : BP
    WIZARD complete
    8. SPRO =>ICWC=>DEFINE NAVIGATION BAR PROFILE =>
    Created new entry  ZExecute
    9.Define profile => Default
    10. Assign entries to profile =>
    New entry
    Navbar enrtry id =Zexecute
    Permanent entry checked
    I am able to view Zexecute in the navigation area but when clicking on it message i am getting is "launch transaction about to start" but the transaction is not starting and the screen is blank
    Please help me understand which step is wrong or is there another way to launch a transaction. My mail id is [email protected]
    Thanks is advance
    Regards
    Amit

    Hello Rekha,
    I am trying to launch CRM_IC and facing same problem either ways - CRM GUI and through web browser URL. I get following message: "Loading" on the main window and additionally a small window pops up for a fraction of seconds with following message "Ending the user session.... <img width="1" height="1" src ="/sap/bc/bsp/sap/crm_ic/default.htm sap-sessioncmd=logoff">.  After this additional window, session teminates with nothing happening on the first window and message remains as "Loading". Is there any way to get out of it? I need to launch IC webclient. Am I following the correct approach or there is some other approach to load BSP - CRM_IC ?
    Do I need to have specific version of Java, do I need to have any specific settings on the browser?
    Please let me know.
    Thanks in advance,
    Milind Nandedkar

  • Navigation link for an existing view

    I am currently using CRM 5.0.  In CRM 5.0 how we can set up new navigation link for an existing view or view set.

    Hi,
      In   CRM 5.0  , you need write navigation links in Run time repository (CRM_IC.XML) file.
    Kathir.

  • Assigning controller to the bsp application in icwebclient

    Hi friends,
         Iam trying to test the <b>help view</b> from crm_ic into my bsp application Z_CRM_IC_HELP.
           I got stuck up while assigning controller to view in the bsp application. I have copied the standard view "help" from crm_ic into bsp application z_crm_ic_help.
    and copied the crm_ic.xml file into Z_CRM_IC_HELP.
        In se24 created a controller class ZCL_CRM_IC_HELP_IMPL for the help view controller class CL_CRM_IC_HELP_IMPL.
    Properties of the bsp application Z_CRM_IC_HELP page type (view) to select the controller class which i have created above is not displaying the f4 help list. So when am entering the z_crm_ic_help in the controller class fied its throwing the following error  as the controller class is not available in the F4 help  list.
          <b>The class ZCL_CRM_IC_HELP_IMPL does not implement any controller in the BSP application Z_CRM_IC_TEST</b>     
    Could anybody please guide to create a simple BSP application in ICWebclient.
    or it will be helpful if you can send me any links to work on hands on in ICWebclient.
    Thanks & Regards
    Sireesha.

    Hi Sarah,
    the following thread adresses the same problem, within the BSP folder:
    [How to change & manage different ports in a mixed web environment (BSP/WAD)|How to change & manage different ports in a mixed web environment (BSP/WAD);
    I think its better to use that category instead of BI General.
    Best regards,
    Sebastian

  • How r they different  CRM_IC , CRM_IC_DT_REP,  CRM_IC_RT_REP?

    Hi all
      How these BSP application r  different form each other ?
       1) CRM_IC
       2) CRM_IC_DT_REP
       3) CRM_IC_RT_REP
      Which on is used to  modify  the standard view ?
    Thanks a ton in advance
    Jaman
    Message was edited by: CRM Techie

    Sorry I would like to ask about one thing.
    I execute the bsp application CRM_IC,
    but the page that comes up is like this : pls give me some solution.
    You are not authorized to view this page
    You might not have permission to view this directory or page using the credentials you supplied.
    If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the mysapbw01:8002 home page.
    You can click Search to look for information on the Internet.
    HTTP Error 403 - Forbidden
    Internet Explorer

  • CRM_IC not working

    Hi to all,
    i am new to CRM IC WEB Client. i created IC WEB Profile when i tested web profile using se80 its working but when i use t.code crm_ic in was not displayng any thing it directly going to SAP easy acess menu. when i check the system status using T.code CRMS_IC_CHECK it showing info.
    Java Server Pool :
    Server sinnodsap02.company.com is not reachable.
    Illegal destination type 'G'.
    a) Check if ICServer is up and running.
    b) Verify server name in web.xml is same as gateway host in RFC destination 14757250@SINNODSAP02.
    Load Balancing :
    No java server was available.
    can any one tell how can i solve the problem. what are tecnical steps required for IC WEB Client Application.
    Regards,
    Rama Rao.

    Hi Sachin,
    What is the error that browser displays, if the error displayed is too generic and does not tell about the reason then may be you can check this, in the browser go to the tools->internet option->advance and uncheck "Show friendly HTTP error messages"
    Regards,
    Dhananjay

  • XML Quote report

    We have a problem with our XML Quote report that cuts off the report at 26 pages when it should go to about 200 pages.
    We have another report the Acknowledge Quote and it works fine.

    Finally we found the solution for this problem.
    1. Open qotSCocPrint.jsp and add below line inside <SELECT id="qotOutFrmt" name="qotOutFrmt"> statement. This line should be added after "for" loop.
    <OPTION value="EXCEL">Excel Format</option>
    We can add as many options the XML Publisher supports.
    2. Decompile oracle.apps.aso.print.webui.MainCO.class (Controller).
    Change the below line
    httpservletresponse.setContentType("application/pdf");
    to
    httpservletresponse.setContentType("application/"+quoteOutputFormat.toLowerCase());
    Take a backup of the original file, compile the java in the same directory.
    3. Decompile oracle.apps.aso.print.server.PrintQuoteAMImpl.class and change this line
    Field field = class2.getDeclaredField("OUTPUT_TYPE_PDF");
    to
    String outputFormat="OUTPUT_TYPE"+as[12].trim();
    Field field = class2.getDeclaredField(outputFormat);
    Bounce Apache and generate the Quote output in desired format.

Maybe you are looking for