ICCMP_INBOX

hi all,
I have a requirement where by which i need to add a Z field to the InboxItems view of the ICCMP_INBOX component.
i.e., when i go to the inbox of the interaction Center and search for a mail, the results that would be in the result list, should also include my Z field.
When i open my component, ICCMP_INBOX with my enhancement set, i get only 2 context nodes - FORWARDTO and ITEMS. Where do i add the Z attribute? When i tried ITEMS, it has a tree structure which has attribute,but i cannot create any further attributes in it. When i created in FORWARDTO, then it is not coming in the configuration.
Can someone assist me in this please?

Based on the research I have done, there is no easy way to add fields to the Search or Result views in Inbox in CRM versions prior to  2007. There are about 16 different classes (methods) that get called before the query is finally fired. And the method that actually interprets the parameters and fires the query has hard-coded field names.
The easiest way is to write your own query, bypass the standard query, build and execute your own select statement. The other thing is to use the AFTER_SEARCH method of the Inbox BADI to extend the search, although that will make the performance of the Inbox even worse than it is.
Even if you use the BADI, the program that displays the result view has hard-coded field names. So you need to core-mod the following method and add your own fields: CL_CRM_IC_AUIITEMS_IT->IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START
which is what I ended up doing.
There is a document called FAQInbox from SAP that confirms these things. I found it while searching thru notes. I don't know how to attach documents here, otherwise I would share it with you.
Good luck.

Similar Messages

  • ICCMP_INBOX/InboxResultView - Link to open document

    Hello,
    in the view ICCMP_INBOX/InboxResultView there is a link to open the selected document on attribute STRUCT.ITEMTYPE.
    We need this same Link to open the document on the STRUCT.DESCRIPTION because we will not use STRUCT.ITEMTYPE in our UI configuration.
    We already copied the coding from the GET_P method as follows to STRUCT.DESCRIPTION:
    if iv_property = 'fieldType'.
        rv_value = cl_bsp_dlc_view_descriptor=>field_type_link.
      endif.
    Now the description is a link but the navigation does not work.
    What else is needed to have the same navigation as realized in standard for STRUCT.ITEMTYPE?
    Thanks a lot.
    Best regards
    Manfred

    Hi,
         In the Items context node class, look at the attribute Iterator. This is used to specify field properties.
    In the iterator class, CL_ICCMP_IN_INBOXITEMS_IT->IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START, they have specified the event 'itemProcess' as the event to be fired when you click on an entry under ItemType.
    So, check if this code addition to your get_p_description works.
    if iv_property = 'fieldType'.
        rv_value = cl_bsp_dlc_view_descriptor=>field_type_link.
    endif.
    if iv_property = IF_BSP_WD_MODEL_SETTER_GETTER=>FP_SERVER_EVENT
       rv_value = 'itemProcess'.
    endif.
    It should work. Otherwise you have the iterator to work with.
    Regards,
    Arun Prakash

  • How to make Tree View sort-able-"ICCMP_INBOX/InboxItems"

    Dear Expert,
    Does anyone knows how to activate sort functionality in Tree View.
    E. G.:
    I am using the component "ICCMP_INBOX" which includes the view: "ICCMP_INBOX/InboxItems" But in the search result is is not possible in standard to sort the list as in the 'normal' List result view.
    How to that?
    For information my view is configured as follow:
        <chtmlb:configTree id                    = "ItemTree"
                           actionsMaxInRow       = "9"
                           nodeTable             = "<%= Items->node_tab %>"
                           nodeTextColumn        = "NODE_NAME"
                           onCollapseNode        = "nodeCollapse"
                           onExpandNode          = "nodeExpand"
                           onRowSelection        = "nodeSelect"
                           selectionMode         = "<%= Items->SELECTION_MODE %>"
                           selectedRowIndex      = "<%= Items->selected_index %>"
                           selectedRowIndexTable = "<%= Items->selection_tab %>"
                           ajaxDeltaHandling     = "FALSE"
                           type                  = "COLUMN"
                           table                 = "//Items/Table"
                           personalizable        = "FALSE"
                           downloadToExcel       = "FALSE"
                           headerText            = "<%= otr(crm_ic_appl/ResultList) %>"
                           rowCount              = "<%= controller->gv_row_count %>"
                           height                = "100%"
                           iterator              = "<%= Items->iterator %>"
                           actions               = "<%= lv_buttons_tab %>"
                           visibleRowCount       = "20" />
    Thank you very much in advance.
    Ahmed Hadi
    Edited by: Ahmed Hadi on Oct 13, 2009 5:23 PM

    Hi,
    I "solved"  my problem with  using some not-used   fields  based on the  Configuration Key.  Not nice but it works.
    I think it should normaly  work with adding fields on  structure   crmst_inbox_resultlist   but this is  **.   In other screens that solution works good.
    see   ->  get_table_line_sample
    TYPES: BEGIN OF line,
    INCLUDE TYPE crmst_inbox_resultlist.
                node_name        TYPE string,
    Anyway thanks for your reply.
    Regards,
    Jeroen

  • Enhance the view "InboxSearch" in the cpmpoent "ICCMP_INBOX/InboxSearch"

    Dear Expert,
    I need to enhance the view "InboxSearch" in the cpmpoent "ICCMP_INBOX/InboxSearch" with new field for example: Affected employee (Partner number and Partner Function both as F4 Search.
    Could you give a step by step description, how to do this?
    As far I know I should:
    1. Extend the Structure: CRMST_AUINBOX_SEARCH with needed field
    2. Add field to the UI
    But I am not sure how to move foreward. Some threads are mentioning the Badi: CRM_IC_INBOX_BADI.
    Thank you very much in advance for your help.
    Best regards
    Ahmed Hadi

    Ahmed,
    Apologies for delay replying, SDN was unavailable when I tried to reply yesterday.
    Our team does not shy away from developing SAP CRM to meet our requirements, but the Agent Inbox is very complicated and very difficult to enhance, so it's not something we've done many changes with.
    If the request is a 'nice to have' then I would advise the business that the change would require a large amount of development and testing (it is very easy to reduce Inbox search performance and/or not return the correct results). 
    Most changes to the Inbox can be accomplished through the BADI you've mentioned and using either the BEFORE_SEARCH or AFTER_SEARCH methods.  However, with your requirements I suspect you will need to enhance the context of the Inbox to bring in the two new fields (created using the Easy Enhancement Workbench).  You'll need to take a Z copy of CL_ICCMP_IN_INBOXSEARCH_CN00 in order to include getters and setters for your new fields along with any lookup help attributes.
    I'm sure there are many ways to skin your cat, but I'm sure you'll need to use the Inbox BADI.  I'm not a developer though, so I may be totally wrong in what I've said here.
    Hope this helps, all the best and good luck with your project,
    Andrew Griffin.

  • Updated field in IC Agent Inbox

    Hi Forum,
    What is the "Updated" field in agent inbox? Am not able to see any values in that when I search for service requests. Please help me on how to show the updated date in that.
    Regards,
    Shridhar

    Hi Shridhar,
    I am afraid the "Updated" field is not managed at all.
    If you look at workbench component ICCMP_INBOX, view InboxItems, context > context nodes > tree structure > tree node proxy > double-clic on class CL_ICCMP_IN_INBOXITEMS_CN02, double-clic on method GET_LASTUPDATE. Statement "clear value." indicates no value is returned.
    Now you could enhance view ICCMP_INBOX,/InboxItems with custom code, and set your own content into method CL_ICCMP_IN_INBOXITEMS_CN02->GET_LASTUPDATE.
    Do not count on reporting framework to provide the value for that field. Although structure CRMT_REPORT_LOCATORLIST foresees it, it is not filled with value by search query: see method CL_CRM_QUERYAUI_RUN_BTIL->GET_RESULT_LIST to get exact list of fields returned. CREATED_AT_DATE field is part of it, but not  CHANGED_AT_DATE.
    But you may perform the re-read of last change date even in CL_ICCMP_IN_INBOXITEMS_CN02->GET_LASTUPDATE method, because SAP already takes advantage of user-buffering in function CRM_ORDER_READ.
    So adding following code to CL_ICCMP_IN_INBOXITEMS_CN02->GET_LASTUPDATE should show you correct last update
    data:
      lv_header_guid type crmt_object_guid,
      lt_guids       type crmt_object_guid_tab,
      ls_req_obj     type crmt_object_name,
      lt_req_obj     type crmt_object_name_tab,
      lt_orderadm_h  type crmt_orderadm_h_wrkt,
      lv_date        type sydatum,
      lv_time        type syuzeit.
    lv_header_guid ?= me->bo->get_property( 'GUID' ). 
    check lv_header_guid is not initial.
    insert lv_header_guid into table lt_guids.
    ls_req_obj = 'ORDERADM_H'.
    insert ls_req_obj into table lt_req_obj.
    call function 'CRM_ORDER_READ'
      exporting
        it_header_guid       = lt_guids
        it_requested_objects = lt_req_obj
      importing
        et_orderadm_h        = lt_orderadm_h
      exceptions
        others               = 4.
    if sy-subrc is initial.
      read table lt_orderadm_h into crmt_orderadm_h_wrk index 1.
      if sy-subrc is initial.
        CONVERT TIME STAMP crmt_orderadm_h_wrk-changed_at TIME ZONE sy-zonlo
            INTO DATE lv_date TIME lv_time.
      may need to convert first to strings
        concatenate lv_date lv_time into value separated by space.
      endif.
    endif.
    Hope you can use these ideas
    Kind regards
    Walter

  • How to get latest record on top of the result list

    Hi Gurus,
    How to get latest record on top of the result list when you open the record.
    saved data method in BT120H_CPL of OverView page and result list in ICCMP_INBOX.
    Regards,
    Ravi

    Hi
    Try sort descending by on fileld "changed at ".
    manipulate the sort depends on your requirement
    Regards
    Logu

  • Help needed on the logic used to display ERP Sales order in CRM WEB UI

    Hi,
    I have a requirement where i need to trigger an activity/workflow in CRM for orders that are created through ERP Salesorder functionality. In the workflow list, we need to give the order description and provide an hyperlink to the order number. on selection of order number, it should display the ERP sales order. To achive this in workflow, i am trying to understand the as-is standard functionality which is available in Agent Inbox search on ERP sales order.This search is getting the ERP orders and on selecting the order it is opening the ERO sales order page. I tried debugging the method GET_MAINCATAEGORY available in the component iccmp_inbox and in the view Inboxsearch.But couldnt really able to crack the logic how it is retrieving the ERP sales order from inbox search. Any pointers on how this is achieved will be of great help.
    Thanks,
    Udaya

    Hi Denis,
    very good idea. I thougt myself about that workaround, but it is not really that for what I searched.
    I mean the "SAP Query" is a really good standard tool, that are used by many customers. That is why think there must be a standard way to display the SAP Query in the Web UI without using Transaction Launcher.
    But it seems that there is no way, except of the transaction launcher or by using an additional analyse system like SAP BI.
    By the way do you know a Web UI compoment which enable the user to start reports like SE38?
    Regards
    Fabian

  • Custom Fields in Inbox

    We need to add a few custom fields to Search and Result views of Inbox. Some of these fields are from z tables.
    I'm trying to determine whether I have to use BT Search customization (z index table), or redefine the search class CL_CRM_QUERYAUI_RUN_BTIL?
    Has anyone used BT Search (z index table) in CRM 7? I've used it in previous CRM versions, but I was hoping in CRM 7 there would be an easier way to add custom fields to Inbox search and result table.
    Any help would be appreciated.
    Ramin.

    Thanks Micha.
    I looked into that, the InboxResultView seems to be bound to the BOL node: BTAUIView. See below screenshot.
    [Screenshot|http://i52.tinypic.com/1zqwxaw.png]
    So I would have to extend that structure, however if the GENIL_BROWSER when you expand the View node BTAUIView it doesn't show the underlying structure. So I don't know what the name of the structure for the Inbox result is to extend it.
    I just would have thought SAP would have an easier way. I found this Note: 1552679   (see it [here|http://i51.tinypic.com/5vrc4o.png])
    In the Note it says:
    1. Add a column to view ICCMP_INBOX/InboxViewSet with EEWB or AET
       2. Logon to the WebUI
       3. Perform a search in Agent Inbox.
       4. Switch to "table view"
       5. You observe that filter button is not available for your column
    Can you explain how we're supposed to do step 1 above? How do you add a custom field to InboxViewSet? unless you extend the underlying structure. The Note seems to imply you can just go to AET and add your custom field.
    Thanks again.
    Ramin.

  • Agent Inbox Quick Search with Custom Parameter

    Hi,
    In the Agent Inbox Advanced Search I added Created By as a searchable parameter. We'd now like to create a Quick Search for Created By - Me.
    I see that we use view CRMV_AUI_QUICKS to define quick searches and that this view is based on the table CRMC_AUI_QUICKS. Obviously the field (Created By) that I added to the Search Object (BTQueryAUI) is not included in that table.
    So, I suppose that I can append the new field (Created By) to table CRMC_AUI_QUICKS; but then won't I have to regenerate the Table Maintenance View so that the new field will be included in the maintenance screen? Won't this be considered a repair since the view is in the SAP namespace?
    Will this even work?
    Is there any other way to include custom search fields in Quick Searches? I guess I could code a solution in ICCMP_INBOX/AdvQuicksearchV but I'd rather not have to code quick searches every time a new field is added to the searchable parameters.
    Thanks for your time,
    P.

    Anyone have any insight in to this?
    Thanks,
    P.

  • Help needed in Agent Inbox SORTBY - Drop down field

    Hi All,
    I am trying to add a new drop down value in SORT BY Field in Agent INBOX Search screen. Can some one give me little guidance on this as i am stuck with it.
    My approach till now : Tried enhancing the view ICCMP_INBOX/Inboxsearch.it is creating the zclasses for view controller and Context classes and not at CONTEXT Node level. As the context node SEARCH Class is not z type i m not able to modify get_v_sortedby.
    Any help is greatly appreciated.
    Regards,
    Udaya

    Hi,
    you do not have Transaction type exactly in search criteria - this is only the Category, which is more generic as it could be or transaction type or activity category.
    and here only generic statuses mapped in CRMC_IC_AUI_MAP_STA are available as search criteria,
    and not the statuses of transaction type directly.
    This is because Inbox was created to enable work with many transactions of a different type like eg. emails and service requests together.
    you can do something that you want but with custom development - you will need to enhance webui component ICCMP_INBOX. Here you should, based on a chosen by the user Category of a document in search criteria view, narrow the list of Statuses displayed. But I guess SAP standard already makes this as per config in CRMC_IC_AUI_MAP_STA.
    But as I wrote at the beginning, it makes you requirement tricky. As you will need dynamically check if category or trans type is chosen as search criteria, and based on this determine its type, search for available statuses in config. And you should only cut down from the list in search criteria some of a generic statuses to help the user - not determine the whole list from the beggining.
    I had a similar requirement and we were trying to create such a generic statuses for inbox which will have also the information about trans type status - eg. "In process - Forwarded externally", which was only for requests. there were also logical issues with how to search later using such criteria.
    But finally we just added a column in results view with found transaction's status.
    Summing up - I would propose you would make a mapping of a Category and statuses you want to display -to think it over, next check if you can put it into CRMC_IC_AUI_MAP_STA configuration.
    Maybe this will be the most reasonable solution.

  • Issue while enabling Advanced Search functionality in Agent Inbox

    Hi Experts,
    We have enhanced the Agent inbox search to include few EEWB fields. The basic search is functioning smoothly and search is working on both standard and EEWB fields.
    But after configuring the Advanced Search for agent inbox, we are not able to find the EEWB fields in the Advance search dropdowns to be searched upon.
    We checked the ICCMP_INBOX/InboxAdvancedSearch view configuration and the EEWB fields are also not available in the list of available fields, but are present in the Context node 'SEARCH'.
    Are we missing on some configuration?
    Any pointers towards the solution would be highly appreciated.
    Regards,
    Saumya

    Closing this thread due to lack of replies

  • Delete button not enabled on Inbox Search List

    We are using CRM 2007 sp4.  In one of our Web Interaction Centers we want to allow certain end users the ability to delete certain transactions from the inbox search list.  At present when an item in the result list on the inbox [Component ICCMP_INBOX (Inbox Items)] the delete button is not enabled whilst the Edit, Display and Interact are all enabled.  how do we enable the delete button.
    Thanks in advance

    Hey corrines,
    Here is an article for you that will help you troubleshoot this issue with your keyboard:
    One or more keys on the keyboard do not respond
    http://support.apple.com/kb/TS1381
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Agent Inbox - how to change SLA colors (traffic lights) in the Web UI

    In agent inbox,
    component: ICCMP_INBOX
    view: InboxResultView and view: InboxItems
    There is a field : overdue
    This field displays red or green based on the due date of the inbox items.
    I want to change this color based on my own custom logic.
    Where do i write code for this ?
    While debugging I see that the field Overdue has only the due date and time but on the web UI screen I see that this field has a red or green icon. Does anyone know where is the code written for displaying the sla color.
    Thanks,
    Karthik

    Hi Karthik,
    In the context node class -> goto Attributes -> there you can see iterator class, for example : CL_ICCMP_IN_INBOXRESULT_IT
    Go to the iterator class and look at method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START
    There's logic on how to show the icon overdue become red, yellow or green. You can enhance the iterator class and modify the logic to whatever you want and then change the attribute of the context node class to the Z-iterator class
    Hope it's help,
    Lina

  • Adding Customer Phone in Inbox result list

    Hello All,
    We would like to add customer phone number in Inbox result list so that agent can call customer directly from Inbox. The customer column is available in UI configuration. I was doing enhancement using enhancement set method and created an enhcement in SM34 for view cluster BSPWDVC_CMP_EXT also in Component workbench I used this enahcement set for compoenent ICCMP_INBOX and enhance the view InboxItems.
    Should I create a Contet Node for new field Phone, and use design layer to add that field in this view? When I was creating a new Context Node for context CL_ICCMP_IN_INBOXITEMS_CTXT it is adding the attribute not with other attributes such as CREATEDON, CUSTOMER etc.
    Can someone send the steps to add a column in the Result list in a table in ICWC.
    Thank you in advance.

    Hi,
    Create ZCL_ICCMP_IN_INBOXITEMS_CN01 that inherits from CL_ICCMP_IN_INBOXITEMS_CN01
    Redefine ZL_ICCMP_IN_INBOXITEMS_CTXT- CREATE_ITEMS to create the model based on the above class
    Create ZCL_ICCMP_IN_INBOXITEMS_CN02 that inherits from CL_ICCMP_IN_INBOXITEMS_CN02
    Re-define ZCL_ICCMP_IN_INBOXITEMS_CN01- REFRESH to use the above Z Class
    Create method ZCL_ICCMP_IN_INBOXITEMS_CN02-GET_<your field>
    Create ZCL_ICCMP_IN_INBOXITEMS_CN03 that inherits from CL_ICCMP_IN_INBOXITEMS_CN03 in order to show your field for the children as well.
    Implement the method ZCL_ICCMP_IN_INBOXITEMS_CN03-GET_<your field> lile for the class ZCL_ICCMP_IN_INBOXITEMS_CN02
    Redefine ZCL_ICCMP_IN_INBOXITEMS_CN02- IF_BSP_WD_TREE_NODE~GET_CHILDREN to use the above class
    Add your field in ZCL_ICCMP_IN_INBOXITEMS_CN01-GET_TABLE_LINE_SAMPLE
    METHOD get_table_line_sample .
      TYPES: BEGIN OF line,
    INCLUDE TYPE crmst_inbox_resultlist.
    u2026u2026u2026u2026u2026u2026
                <your field> TYPE string,
              END OF line.
      CREATE DATA rv_sample TYPE line.
    ENDMETHOD.
    This way the field will be available in the configuration tool
    It worked for me, I hope I did not miss any step.
    Regards

  • Configure Overdue date with lights red green yellow

    Hi folks,
    I have a requirement to assign lights to overdue date in Agent inbox -> advanced search. When I have queried for the same in forums, i was given an SPRO path to configure, CRM > Interaction Center WebClient > Agent Inbox > Map Item Attributes to Inbox Attributes > Define Advanced Warning for Due Date. And was asked to create a Get_P method which i couldn't achieve.
    Please could someone provide a quick resolution for this.
    Many Thanks,
    Santosh

    Santosh,
    I did not try this but have seen similar requirement met through config. I am not exactly sure though.
    If indeed enhancing ICCMP_INBOX is the way you take, [this|Inbox Result List; and [this thread|Adding Customer Phone in Inbox result list; should help you out.
    Edited by: Amar Nath on Sep 8, 2010 11:21 PM

Maybe you are looking for

  • Is true that I need to charge my ipod 5G 12 hours for the first time?

    Is true that I need to charge my ipod 5G 12 hours for the first time? Help me please

  • Might be helpful

    I'm pretty sure that these USB iPods do not work if you're using a wireless USB mouse. My take is that there is not enough power to run both. I am going to try using a powered USB hub concurrently with my USB wireless mouse to see if both can work co

  • Machine Authentication by AD

    I'm trying to implement Machine Authentication with PEAP in ACS 5.1. The Machine should get autenticated from AD and then user authentication. We don't want to use certificate for authentication. I only selected PEAP EAP-MS-CHAPv2 protocol in Allowed

  • IPhoto 09 library transfered, now errors

    I transferred my account from a Leopard G5 to a MacBook Pro with the same OS. Most of my data came through perfect, but iPhoto is giving me trouble. I can sometimes view photos that were there, sometimes I can add new photos. Occasionally, it will ju

  • JSTL tag inside Struts tag

    Hello Why this statement doesn�t work? <html:form action="<c:out value="${actionPath}"/>"> thanks