Agent Inbox Enhancement with Z fields in CRM 2007

Hi All,
I' m working in CRM 2007. i have a requirement to enhance the Agen inbox search criteria with the Z fields. i have enhanced the BOL structure with the z fields and did some design layer customizing to get the drop of this Z fields. now i need to know how will i enhance the Genil layer or class in order to get the results. in 7.0 it uses the Reporting framework. how should i do this? ASAp answers will help...
Regards,
Subhashini.T

Hello,
We had exactly the same requirement on my project. And here is what we have done:
1) Copy class CL_CRM_QUERYAUI_RUN_BTIL and change method READ_BUSINESS_TRANSACTIONS to add something like that after line 150 :
WHEN OTHERS.
            IF   ls_param-name(1) = 'Z'.
              DATA: lt_range TYPE CRMT_BSP_RANGE_TAB.
              DATA: ls_range TYPE CRMT_BSP_RANGE.
              REFRESH lt_range. CLEAR ls_range.
              ls_range-sign = 'I'.
              ls_range-option = 'EQ'.
              ls_range-low = ls_param-value.
              INSERT ls_range INTO TABLE lt_range.
              CALL METHOD
                cl_ex_crm_rf_search_eew=>if_ex_crm_rf_search_eew~extend_rf_query
                EXPORTING
                  flt_val        = ls_param-name
                  it_range_value = lt_range
                CHANGING
                  ct_quparts     = lt_query.
            ENDIF.
ENDCASE.
2) Assign your knew class to object BTQueryAUI in view CRMV_OBJ_BTIL (via SM30)
Now your search will take those Z fields into account...
Kind regards,
Nicolas.

Similar Messages

  • Attachments tables with GUID in SAP CRM 2007

    Hi,
    I have req! like from created service order after createing folloup activity.. I added 2 or 3 attchaments in activity after save the actvity.. at that time those attchments stored in preceded serviceorder under attchamnets tab...
    tell me the Attachments tables with GUID in SAP CRM 2007..Plz rply ASAP.
    Thanks! for the help!
    Thanks,
    Kooiti

    Hi Masood Imrani,
    Thanks for the reply
    I have req! like from created service order after createing folloup activity.. I added 2 or 3 attchaments in activity after save the actvity.. at that time those attchments stored in preceded serviceorder under attchamnets tab...
    Please provide database table names. that tables contain GUID.
    Thanks,
    Kooiti

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

  • 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

  • How to add new fields to CRM 2007 Web UI

    Hi,
    I am new to SAP CRM 2007 and I am interested in how to extend the Web UI, for example adding new fields, to meet the customer requirements. Should I use the EEW or is there another "new and easier" way?
    Thanx & best regards,
    Oliver
    Edited by: Oliver Pregler on Jan 30, 2008 5:50 PM

    Actually for the new IC webclient UI you have need to take a look at your options:
    1.  New Installation:
    Use the EEWB and add the fields.  As part of the EEWB work, you will have a couple of post-processing steps where you will add your generated fields to the new screens.  However this doesn't require any programming.
    2.  Upgrade from CRM 4.0/50
    - New fields to add as part of upgrade
    See the directions for new installation
    - Existing fields to add as part of upgrade
    --See the blog on the 40/52 CUSTOMER_H migration for transaction fields
    --Business Partner fields part of BUT000 available via UI configuration tool, no extra work needed
    --Business Partner fields part of tabular extension, manual work required, I am still "perfecting" this method and plan on writing a blog once I have the technique finished.
    --Product Attributes - use the transaction CRMM_UI_PROD_GEN and CRMM_UIU_PROD_CONFIG
    I know CRM 2007 is based on the same tech foundation as 2006s, with some differences in how the UI tool works and the fact there are some screen layout changes(editable overviews).  The extension procedures are generally the same.  I can answer some of you extension questions based on my work with CRM 52 so far.  It will generally apply to your situation.
    BTW:  The PCUI is no longer supported in CRM 2006s and above.  Even the old SAP GUI transactions such as BP, COMM_PRODUCT are removed from the standard CRM menu.   The SAP CRM web client should be used instead now.
    Take care,
    Stephen

  • Idoc enhancement with new fields and refresh in MII 12.1

    Hello all,
    I'm using one standard idoc LOIPLO to transfer planned orders from ERP to SAP ME 5.2
    I have enhanced this idoc to add some new "custom fields" -> On the ERP side I can see my new fields in the idoc, but when idoc is received in MII, I don't see my new fields (it's still the "old" idoc version). In 5.1, I remember that we had to stop/start the message listener in MII and new fields were available, but in 5.2 it does not work.
    -> Message listener is now configured at Netweaver level and we stop/start it, but the new fields are not in.
    Any idea how to "refresh" the idoc version in MII ?
    Thanks and regards,
    Michaël.

    Restart the NW server
    Restarting the Java process should be enough...
    Perhaps also via the "cache refresh" tool normally used for Webdynpro stuffs...

  • 'Belonging To' field in CRM 2007

    Hi,
    Does anybody have a clear definition of the search criteria found for the 'Belonging To' field in the Activity Search view?
    Belonging To is Me
    Belonging To is My Team
    Belonging To is My Group
    Belonging To is My Company
    Belonging To is My Responsibilty Group
    Is there any section in CRM where we can influence these criteria (apart from the Org Model)? Any readings on this topic?
    Thanks,
    Sebastiaan.

    Hi Robert,
    Thanks for your reply.
    Unfortunately, I do not seem to get the setup right (have you been able to test all criteria successfully on your system?). I've done a few tests:
    Organisational Model setup:
    > Sales Organization (Level 1)
    >> Sales Office (Level 2)
    >>> Sales Group (Level 3)
    >>>> Position 1 (Level 4)
    >>>>> Employee A
    >>>>> Employee B
    >>>>> Employee C
    >>>> Position 2 (Level 4)
    >>>>> Employee D
    >>>>> Employee E
    >>>>> Employee F
    Employee A & B only available once in the Organisational Model / Organisational Data in the transactions is determined correctly.
    #. Employee A created 3 transactions: 2 with only himself involved and no other colleagues, and one where Employee B is assigned as Employee Responsible.
    #. Employee B has created 1 transaction with no reference to Employee A.
    Search is performed on Employee A his client:
    > Belonging To is Me : Any kind of transaction in which Employee A is involved as a 'partner'. Search result returns 3 hits (even with Employee B as Employee Responsible). So it looks like it is taken only those that have been created by Employee A.
    > Belonging To is My Team: Made Position 1 as 'Head of the Organisational Unit' and it returns the 3 transactions of Employee A (Should I not be able to see the transaction Employee B created?) When I remove the "Head of Organisational Unit" flag it returns all transactions available in the system!
    > Belonging To is My Group: 1 search result where Employee B was involved as a partner (Employee A his transactions are not returned).
    > Belonging To is My Company: No results
    > Belonging To is My Responsibility Group: 3 transactions of Employee A
    There is no way I can see Employee B his transactions when I perform a search. Could this be a program error?
    Regards,
    Sebastiaan.

  • How to enhance Interaction History Search in CRM 2007?

    Hi experts,
    Is there any BADI available to enhance the existing Interaction History Search in IC Agent Profile?
    Thanks and Regards,
    Rohit

    Dear Rohit,
    Using the below steps you can quickly find out the BADIs related to any transaction.
    1) Put a breakpoint in the FM SXV_GET_CLIF_BY_NAME
    2) Run your transaction(e.g. Interaction History Search). It will stop at the breakpoint you have in the above FM.
    3) Chekc the value of the Fm parameter name. This will contain the BADI names.
    Alternatively you can get the BADI names the following way
    1)Go to the method GET_INSTANCE of the class CL_EXITHANDLER and put a break point there.
    2) Run your transaction(e.g. Interaction History Search). It will stop at the breakpoint you have in the above method.
    3) Chekc the value of the filed  exit_name. This will contain the BADI names.
    Hope this helps.
    Regards
    Anupam
    Edited by: Anupam Koley on Aug 11, 2008 11:55 AM
    Edited by: Anupam Koley on Aug 11, 2008 11:57 AM

  • Enhance Standard Info Structure SAP_CRM_ACT to add custom fields in CRM Activity archive Search

    Hi All,
    We have a requirement where we need to enhance CRM UI archive search with custom fields for CRM activity Object CRM_ACT_ON. As per my analysis Standard Archive Search for activity Uses info structure SAP_CRM_ACT for searching archived data.
    But when we are trying to add custom fields into above field catalog, it is treated as modification. But Modification is not allowed in our landscape.
    Standard infostructure is harcoded in SAP standard method ARCHIVING_READ of class CL_CRM_REPORT_ACC_DYNAMIC which is called as part of the process. So we are not able to go ahead with custom info structure.
    Can you please le me know if there are any alternative way to meet above requirement or I have missed any steps.
    Thanks & Regards,
         Sujit

    Hello Thomas,
    Maybe this link can help.
    add new field to search criteria and result.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0747ac2-ffd9-2910-de9a-8a3dc44da8b4?QuickLink=index&overridelayout=true&12966506314316
    Search Options - Knowledge Management - SAP Library
    regards,
    Grace

  • Consolidated Report on emails to all agents in AGENT INBOX

    Hi
        I need to prepare a report for the manager to check the details( Dates,Status and Escalations) of all the emails received by all agents in the system. How can I acheive it ?
       I was trying to create the report using the BTQUeryAUI Bol query instance and it helped me in getting the details of all the emails received by
    one user(the logon user), as agent is determined at the BADI level during the query. But I want to get the details of all emails received by all the agents for the manager.
    Please let me know if I have to change any functional settings which i've no idea about.
    Please help me.
    Thanks,
    Akhil

    As per the info from : SAP CRM 7.0  Interaction Center Agent Inbox Enhancements
    It is not able to create reports on all the emails on all agents through bol query service but only the graphical dials as per UI standard.Please correct me if i'm wrong.
    Anyway Reports were created with the data available in the tables CRMS_ERMS_HEADER and CRMD_ERMS_CONTNT.
    Thanks,
    Akhil

  • Agent Inbox - restrict blank search boxes

    Hi
    If I am searching with the filters within the agent inbox everything works well however,
    If all search boxes are blank everything for all org unit's is returned which is not correct as the users are only meant to see what is in
    the org's that they are assigned to.
    We are using one business role. How do I restrict users from using blank search boxes?
    Any help would be great.
    PM

    Hi Padriag,
    You can enahance the search and include a logic if all the values are blank in the search, the system should automatically add the users Org unit in the search criteria and display the result with the assigned values.
    Check this threads
    http://scn.sap.com/people/kimberly.davis/blog/2009/06/25/sap-crm-70-interaction-center-agent-inbox-enhancements
    http://scn.sap.com/docs/DOC-39532
    http://scn.sap.com/docs/DOC-5357
    Regards,
    karthik J

  • Campaign Code-CRM 2007

    Hi Experts,
    I need to generate Campaign Code in Campaign.Modified component CPGOE_DETAILS and added the field campaign code but it is appearing in non editable mode.Please help.
    Thanks & Regards,
    Moumita Rana

    Hi Srini,
    Thanks for your  response.
    In CRM 5.0 the camapign code (For e.g. 6CAA)get generated automatically.
    But in CRM 2007 its not getting generated.
    Camapign ID(For e.g.C-00004318) and campaign code are two distinct fields in CRM 2007.
    Thanks & Regards,
    Moumita

  • 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

  • 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

  • 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

Maybe you are looking for