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

Similar Messages

  • Best approach to add Z custom field to IC Agent Inbox search and results view

    Hi Experts,
    We are having a requirement to add a Z custom field to IC Agent Inbox search and results view. I got multiple forums and ideas, but looking for the best approach for handling this. I am sure, you experts, would have already done this.
    Thanks in advance.
    Regards
    Siva

    Hi Sivakumar,
    AET is the best way by far to create a custom field in this area. It is easy and simple.
    Also, field once added in one business object it can be used at different objects as well.
    There is also a demo available for AET on sdn.
    Please let me know if any more help is required.
    Thanks,
    Bhushan

  • Forward to field configuration in Agent inbox

    Hello,
    does any one know how to configure following scenarios:
    1. After saving service ticket with responsible organisation(BP) and responsible person(employee), i go to agent inbox and forward same ticket to other resp emp. This should not change resp org.
    2.If I forward the ticket to other resp org system should not change pre asigned resp emp.
    regards
    Sriky

    Hello,
    According to me you can acheive your requirement in two ways (at least):
    1) Modification of method IF_ICCMP_CUCOPROCESS~SET_RESPONSIBLE_FOR_ONEORDER from class CL_ICCMP_CUCOPROCESS_IMPL (check the comments at the beginning of the coding), to implement your own logic.
    2) Use customer-specific partner functions to handle responsible employee and/or responsible group... in that case the standard won't change anything because it won't find any employee responsible ;o)
    Regards,
    Nicolas.

  • Bypass manual email status update in Agent Inbox

    hello,
    I have a service class that automatically and successfully creates a Service Request from Email although it does not update email status in Agent Inbox.
    my situation is very similar to this one.
    [CRM ERMS workbench & Agent inbox status difference;
    although the answer provided does not really solve the problem.
    My knowledge in ABAP does not really extend to workflow so please do correct me if i'm saying things wrong.
    So here's the scenario:
    Task A that processes the ERMS rule completes task (service class)
    Task B waits for the user's decision before execution so we have to manually update email status to 'Completed' in Agent Inbox.
    Our approach is to search for a way to bypass this decision part so the workflow can continue.
    Has anyone encountered this before? Can you give me suggestions? Thanks.
    Sunntann
    Edited by: sunntann on Aug 16, 2011 10:12 AM

    Hi,
    Please post it in ABAP Development Forum. then you will get prominent responses.
    Regards,
    Suman

  • Issue with custom search fields in agent inbox

    Hi All,
    I am working on CRM agent inbox 7.0. The issue I am facing is like this:
    I have added custom search fields in inbox. When give a combination of standard search field and custom search field, the result is only based on standard field. The value of custom field is not considered.
    Is this a standard behaviour? Are standard fields given higher priority that custom fields?
    Any pointers on this would be highly helpful.
    Thanks,
    Narendra

    Hi Naren,
    Did you add custom field using AET? If yes then while adding custom field using AET did you make it search and result relevant?
    There is nothing like priority in standard SAP fields and custom fields.
    Please let me know so that I can further help you.
    Thanks,
    Bhushan

  • 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.

  • CRM ERMS workbench & Agent inbox status difference

    Hi,
    Due to the fact the ERMS Workbench doesn't allow to update all received e-mails. Therefore we created a Z-program where we used the function module CRM_ERMS_RPT_EVENT_HANDLER to update the status field in tabel CRMD_ERMS_HEADER.
    If we use the program then the status is updated from e.g. open to complete in the ERMS workbench but in the Agent inbox search the status is not updated.
    Is there another function module for this? How can we make it work so that we don't have any inconsistencies anymore?
    Many thanks for the help.
    Kind Regards,
    Christoph

    Hi,
    I don't see why I should create a new profile and use the rule modeler for finding a solution. Let me explain my problem again.
    We use the standard function module CRM_ERMS_RPT_EVENT_HANDLER to update the status of the e-mail to the status 'closed'.
    This works so if we run the report the e-mails disappear from the ERMS Workbench. E-mail status is changed from 'open' to 'closed'
    But if I go to the inbox of the IC and search for the same e-mail then I notice that the status is still 'open'.
    So everything for the ERMS workbech is ok, only the agnet inbox status is not changed.
    There must be another way then using a rule modeler for this.
    Many thanks for the help.
    Kind Regards,
    Christoph

  • Agent Inbox Issue

    Hi All,
             We are using agent Inbox as a workspace in IC Winclient (4.0). Agents are receiving activities in the inbox. the issue we are facing is that whenever an agent open an activity (not complete) just open it gets deleted from the his inbox.
    I'll appreciate your Inputs.

    Hi Naren,
    Did you add custom field using AET? If yes then while adding custom field using AET did you make it search and result relevant?
    There is nothing like priority in standard SAP fields and custom fields.
    Please let me know so that I can further help you.
    Thanks,
    Bhushan

  • 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.

  • LET (Letter) type element in Agent Inbox

    Hello experts,
    I have a task where I have to create a letter (LET type) element inside the agent inbox using ABAP.
    All fields of letter I have to read from a xlsx file. Beside that, every letter should have an attachement with a pdf file.
    If reading xlsx and pdf files is not a big problem, creating mentioned element on the other hand and placing it inside the inbox is quite hard for me.
    Any suggestions how to solve it? Do I need to use any FM or BAPI?
    Best regards,
    Andrew.

    Hello,
    You may want to follow the system instruction, and maintain entry in the given table.
    This can be found in the SPRO here :
    Interaction Center WebClient->Agent Inbox->Inbox Search Definitions->Define Item Types for Searches
    Best regards,
    Sylvain AGUETTAZ

  • Enhancing the data request in Agent inbox

    Hi ,
    I have a requirement to add more custom fields to search view in Agent inbox and perform the search based on custom field values entered on screen by user.
    I have added append structure to CRMST_AUINBOX_SEARCH with custom fields and in BSP_WD_WORKBENCH added the additional attributes too.
    I have problem in identifying the class and make changes to SQL statements . While searching the forums I found one reply that says
    If you want to enhance this functionality ,then you have to create a new structure with the custom fields and attach the new structure to this Search Object .
    And after that you have to make code changes in GET_RESULTLIST of CL_CRM_REPORT_ACC_DYNAMIC . I hope its a
    cumbersome process .
    Thanks,
    Thirumala.
    But after copying the class to Z name space and modifying the code in get_resultlist, how to point to this zclass .
    Would you please anyone reply . Thanks
    With regards,
    Ravi

    1. Did you activated the transfer structure in BW or not?
    2. this might be also prob in the code which you might have writted in R/3 to extract the data. BY the way how is ur data source has been designed?
    3. Did you check the connection is proper or not?
    4. Is your load is picking any data or not? Is it lying with 0 from 0??
    5. Check also Partner profiles in WE20 if any load is not working fine in BW system.
    6. Also check whether the job is Active in r/3 or not?
    Check the above to track some details and come back to us with more details..
    Hope this helps.
    Murali

  • 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

  • IC Webclient Agent Inbox enhancement

    Hi All
    I have to add few custom fields in the resultlist ( AuiItems.htm) of Agent Inbox. I have copied the AuiItems.htm to Z name space. Now, System is not allowing me to create attributes in context node (through wizard).
    Can you please guide me how can I add new fields .
    Maximum points will be rewarded.
    Best Regards
    Bhavishya

    hey bhavishya,
    can you explain in detail if possible about this? i have similar req. to add the custom fields?
    sumit

  • Agente Inbox

    Hi Experts,
    We are customizing IC WinClient for CRM 5.0 and would like to know the difference between the subfolders “Planned Bus. Transactions” and “Planned Activities” that are shown in the workspace “IC_WORKLIST” (Agent Inbox).
    Are the Business Activities considered as a part of the Business Transactions?
    Please advise.
    Thanks and Regards
    Alda Lobato

    Hi,
    What’s your account type using in Outlook? IMAP account or Exchange account?
    Please make sure your Outlook 2013 is updated to the latest version. Then click Send/Receive > Send/Receive All Folders to manually download mailbox data files from mail server to Outlook data file. If it fails, please recreate the IMAP account in Outlook
    to have a try:
    http://support.microsoft.com/kb/829918
    Additionally, if you are using IMAP account, we can also refer to the following article for more IMAP Syncing issue troubleshooting:
    http://www.msoutlook.info/question/840
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
    make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Regards,
    Winnie Liang
    TechNet Community Support

  • 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

Maybe you are looking for