Interaction History. Pass Business Activity ID into ZComponent

Hello,
I have a requirement to pass Activity ID into custom ZView. The main component for interaction history is ICCMP_BT_ACT. I've done binding to custom controller before but this one doesn't have it.
I've adden new button to the screen to invoke ZView. So the question is how do I pass the selected activity Id now?

Here is what I've done so far:
1. In the main component ICCMP_BT_ACT I've redefined method WD_USAGE_INITIALIZE of component controller class and added following lines:
  CASE IV_USAGE->USAGE_NAME.
    WHEN 'ZComponent'.                                  "#EC NOTEXT
      TRY.
          CALL METHOD IV_USAGE->BIND_CONTEXT_NODE
            EXPORTING
              IV_CONTROLLER_TYPE  = CL_BSP_WD_CONTROLLER=>CO_TYPE_COMPONENT
              IV_NAME             = 'ICCMP_BT_ACT/BSPWDComponent'
              IV_TARGET_NODE_NAME = 'BTAdminH'
              IV_NODE_2_BIND      = 'BTAdminH'.
        CATCH CX_ROOT.
      ENDTRY.
ENDCASE.
2. In my ZComponent I've added context node BTAdminH, attribute GUID
3. When reading data from context node LR_CURRENT is not bond  
LR_CURRENT ?= TYPED_CONTEXT->BTADMINH->COLLECTION_WRAPPER->GET_CURRENT( ).
   IF LR_CURRENT IS BOUND.
     LV_GUID_STRING   = LR_CURRENT->GET_PROPERTY_AS_STRING( IV_ATTR_NAME  'GUID' ).   
  ENDIF.
Am I missing some steps???

Similar Messages

  • Interaction history search - Business activity - default

    Dear Experts,
          In Intearction history search we need to show the Business activities to be defaulted when the screen is launched. How could we acheive this?
    Thanks & REgards,
    Kanthimath

    Hi Kanthimath,
    Did you manage to find an answer? I have an similar requirement in my project.
    Thanks,
    Angel

  • Business Activity - Interaction Record

    Hi Gurus,
    We have created one acitivity type ZACT transaction type for business activity. When we create this activity in GUI/WEBUI using BP_Poweruser Business Role in WEB UI we could able to see the questionnaire attached to the business activity.
    But when we use the IC_Agent Business Role in WEBUI, this is being taken as interaction record, but the activity is not having questionarie attached to the activity.
    What is the process of getting the questionnarie attached to Business Activity,in the interaction record.
    Thanks in advance.
    Regards
    Vinod

    Dear Vinod,
    We are using CRM 5.0 and creating questionnaires. Steps of Configuration
    Defined Questionnaire
    Defined Sections
    Defined Questions
    Defined Answers
    Saved the Questionnaire
    Activated the Questionnaire
    Defined the Determination for Questionnaire
    Defined Qualification Levels for the questionnaire.
    Visit the following link :
    Re: Custom Questionnaire - Leads
    it might be helpful to you.
    Regards,
    Ankush

  • Add Custom field of a Z Table in Search structure of Interaction History

    Hi,
    I am trying to add a field in the IC Interaction History. I have enhanced the BOL structure for BTQuery10 and displayed the field in the Web UI. I have implemented the  BADI CRM_RF_SEARCH_EEW, Added entry to CRMC_REPDY for the field.
    But when i enter any value in the Field it is not executing the BADI.  I tried with the Break Point but it has not executed the BADI.
    Please help how to add a Custom field of a Z Table in the Search structure of Interaction History.
    Regards,
    Rajender

    Hi Rajendra,
    You can try this approach.
    You can redefine the genil CL_CRM_BTIL->get_query_dynamic_result method (oneorder) and write the logic only for required object else all the one order objects will be affected.
    Inside the genil modify the search parameters to include additional object id's which corresponds to custom search parameter.
    Check the below logic which is used for activity search based on custom field, in your case modify it with the interaction history object details. Logic is to fetch all the one order object guids based on custom search( via select on custom table) and pass it as input parameter in search.
    DATA :   it_selection_parameters1   LIKE         it_selection_parameters,
                    ls_selection_parameters    LIKE LINE OF it_selection_parameters,
                    ls_selection_param         LIKE LINE OF it_selection_parameters1,
                    lv_attr                    TYPE name_komp.
      DATA:   lt_orderadm_h       TYPE          crmt_orderadm_h_wrkt,
                   it_act_guids        TYPE          crmt_object_guid_tab,
                   lt_requested_obj    TYPE          crmt_object_name_tab,
                   srch_str            TYPE          c                 LENGTH 40,
                  gv_activity_h       TYPE          crmt_object_name  VALUE 'ACTIVITY_H',
                  ls_orderadm_h       LIKE LINE OF  lt_orderadm_h.
    it_selection_parameters1[] = it_selection_parameters[].
      IF iv_query_name EQ 'BTQuery1O'.
        LOOP AT it_selection_parameters INTO ls_selection_parameters.
          CASE ls_selection_parameters-attr_name.
             REPLACE ALL OCCURRENCES OF '*' IN srch_str WITH '%'.
              srch_str = ls_selection_parameters-low .
              IF srch_str CA '%'.
                SELECT ref_guid
                     FROM "Ztable"
                     INTO TABLE it_act_guids
                     WHERE order_typeg LIKE srch_str .
              ELSE.
                SELECT ref_guid
                    FROM  "Ztable"
                    INTO TABLE it_act_guids
                    WHERE order_typeg = srch_str.
              ENDIF.
              INSERT  gv_activity_h  INTO TABLE lt_requested_obj.
              CALL FUNCTION 'CRM_ORDER_READ'
                EXPORTING
                  it_header_guid       = it_act_guids
                  it_requested_objects = lt_requested_obj
                IMPORTING
                  et_orderadm_h        = lt_orderadm_h
                EXCEPTIONS
                  document_not_found   = 1
                  error_occurred       = 2
                  document_locked      = 3
                  no_change_authority  = 4
                  no_display_authority = 5
                  no_change_allowed    = 6
                  OTHERS               = 7.
              IF sy-subrc NE 0.
              ENDIF.
              IF lt_orderadm_h IS NOT INITIAL.
                LOOP AT lt_orderadm_h  INTO ls_orderadm_h.
                  ls_selection_param-attr_name = 'OBJECT_ID'.
                  ls_selection_param-sign   = 'I'.
                  ls_selection_param-option = 'EQ'.
                  ls_selection_param-low    = ls_orderadm_h-object_id.
                  ls_selection_param-high   = ''.
                  IF sy-tabix = 1.
                    DELETE it_selection_parameters1 WHERE attr_name = 'Zttarname'.
                  ENDIF.
                  APPEND ls_selection_param TO it_selection_parameters1.
                  CLEAR:  ls_orderadm_h.
                ENDLOOP.
              ELSE.
                RETURN.
              ENDIF.
      ENDCASE.
        ENDLOOP.
      ENDIF.
      CALL METHOD super->if_genil_appl_intlay~get_dynamic_query_result
        EXPORTING
          iv_query_name           = iv_query_name
          is_query_parameters     = is_query_parameters
          it_selection_parameters = it_selection_parameters1
          iv_root_list            = iv_root_list.
    Hope this helps.
    Cheers,
    Sumit Mittal

  • Interaction History in Account assignment block

    HI,
       We are creating the Activity for the accounts and it is visible in the planned activity of my accounts screen. when the document is closed it disappears. i am not able to find any documents in the interaction history assignment block in account. do i need to do any config to make the documents visible.
    with regards,
    selvam t

    Hi Selvam,
    I assume that you are using CRM 7.0 Ehp1 or above.(If not please update your question with your CRM Version)
    As suggested by Jothivenkatesh, you can check your configurable data retrieval parameter in the view BP_BPBT/AccountInterHistOV.
    Adding to that check the following SAP Notes 1836225,1798771 and makes sure your business function 'CRM_INF_1' is active.
    Consider this SAP note 1913254,if you had implemented any authority check BADI's in CRM.

  • Interaction history search problems

    Hi Gurus,
    Good day,
    I am having problem when i save a service ticket its getting saved 3 times 2 times as business activity with blank description and one time as customised transaction, and when i search in interaction history its not showing anything but the record exsists in the table.
    Regds
    Jitender

    Please check below thread if it helps:
    http://scn.sap.com/thread/3351726
    Thanks
    Kumar

  • How customizing "Customer Interaction Search - Interaction History

    Hi,
    I want to customizing the search for "Interaction History". I'm using standard Navigation Bar Entre named "INTERACTION_HISTORY".This entry call link "InteractionHistoryView".
    In Interaction History you can filter by "Show". This field has CRM Lead, Business Activity, CRM Order,Sales, Services Process and task. I want to remove CRM Order and CRM lead.
    Any idea?
    Regards,
    Lyda

    Hello Lyda,
    In version 4.0 and version 5.0, I didn't found any customization for that.
    This because if you check class CL_CRM_IC_IHISTSEARCH_IMPL (the view controller's class), method SET_ALLOWED_BT_OBJECT_TYPES, you'll see this values hard-coded.
    So, for achieve this, we did some development to filter the entries in this view (copy the view, replace it in runtime profile, replace the controller class...)
    Kind regards.
    Bruno

  • How to catch attachment info. in the Business Activity Doc.?

    Hi experts,
    How to catch attachment info. in the Business Activity Doc.? For example, I want to get how many attachments in the Activity. and the description of attachments.Is there any SAP table or FM for it ? Thank you.
    Best regards,
    Gavin

    Hi,
      Go to the table CRMD_ORDERADM_H give your trnsaction( Activity ) no in the OBJECT_ID field, you will get GUID corresponding to the transaction.
    Pass the GUID in the SMOATTACHLNK Table in the PARENTID field, then you will get PHIO_ID.
    Pass PHIO_ID in the table CRMORDERPHIO Table in the field PHIO_ID, then you will get LOIO_ID.
    Finally pass youe LOIO_ ID into CRMORDERLOIO table in the field LOIO_ID then you will get how many attachments are there for particula transaction
    Tables
    CRMORDERLOIO
    CRMORDERLOIOT
    Regards
    Srinu

  • I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I've gotten a little further on this. The dynamic select is
    working fine. It's the "a href" code that isn't. I'm wondering if
    someone can look at this line and tell me if it's okay to build the
    query string this way. The storeid comes through fine but I'm still
    not getting the employeeid value to pass. Here's line that's not
    working:
    td><a href="registerStoreCust.php?storeid=<?php echo
    $row_storeRS['storeid']; echo "&employeeid="; echo
    $_GET['employeeLM']; ?>">Register
    Customer</a></td>

  • Business Activity in SAP CRM 7.0 WebUI

    Hello SAP Experts,
    In SAP CRM 7.0, under maintain activities, I have assigned categories to class interaction log, appointments and tasks.
    The same categories have been assigned to some business activities. For example Category Sales Call (001) is assigned to Interaction Log. The sales call is in turn assigned to Transaction Type- Business Activity.
    When I log on to web ui, I am able to see this business activity under Interaction Log and create the transaction.
    In the same way, when I assign category u2013CX4 (Telephone Call) to class Phone Call to a Transaction Type-Sales Call (0001-business activity), I am not able to see the same in web ui.
    The same holds good when categories are assigned to Class Miscellaneous, Letter, Meeting, E-mail etc, are in turn assigned to transaction types are visible in web ui.
    Kindly clarify, whether all the business activities fall under APPOINTMENT, INTERACTION LOG, TASK, E-MAIL AND VISIT PLAN in WEB UI.
    The other category class, apart from the above mentioned, where can they be used?
    If yes, how do I do the customizing which would enable me to see all in WEB UI?
    Thanks in advance
    Regards,
    Srinivasan.R

    Hi Raghavendran,
    I am facing the same problem. Other than Appointments,Tasks,Email and Interaction record I cannot create any other Activities.
    I defined a new Transaction type assigned the category Misc but cannot create the Activity on WEBUI. As Raja suggested I have also assigned the Channel as WEBUI and ICWEBCLIENT but still does not work. Is there any Role specific customization that needs to be performed?
    Please let me know if your issue is resolved and how you resolved it.
    Any help will be greatly appreciated.
    Thanks,
    Pooja

  • How to make the ERP orders visible in the interaction history????

    Hi All
    I am working on CRM 7.0, I am not able to find the ERP Orders created for business partners under the interaction history assignment block.  How to make it visible
    Regards
    Jacopo Francoise

    Check class CL_CRM_IC_IHISTSEARCH_IMPL (the view controller's class), method SET_ALLOWED_BT_OBJECT_TYPES, you'll see these values hard-coded.
    Allowed Business object types:
    gc_object_type-businessactivity TO me->gt_object_type, " BUS2000126
    gc_object_type-service TO me->gt_object_type, " BUS2000116
    gc_object_type-lead TO me->gt_object_type, " BUS2000108
    gc_object_type-sales TO me->gt_object_type, " BUS2000115
    gc_object_type-complaint TO me->gt_object_type, " BUS2000120
    gc_object_type-task TO me->gt_object_type, " BUS2000125
    New from CRM 7.0
    gc_object_type-opportunity TO me->gt_object_type, " BUS2000111
    gc_object_type-incident TO me->gt_object_type, " BUS2000223
    gc_object_type-problem TO me->gt_object_type, " BUS2000224
    gc_object_type-contract_sales TO me->gt_object_type, " BUS2000121
    gc_object_type-contract_service TO me->gt_object_type. " BUS2000112
    Rupesh

  • Integrate Business Activity Monitoring (BAM) with Oracle Forms Recognition

    Hi All,
    As per project requirement, I have to integrate Business Activity Monitoring (BAM) with Oracle Forms Recognition.
    Does anyone have an idea how can this be achievable from OFR Verifier?
    Thanks,
    Moumi.

    Hi All,
    Apart from my previous queries, I found that there is an sample reporting program - Oracle Application Express application has been developed and tested using version 4.1 of AppExpress.
    To access OFR tables I run the below script in below sequence in my local IPM environment as found in this link- http://workplacedba.blogspot.in/2012/11/ofr-odc-installation.html
    Seq 1 - 01-OFR-AP-Tables_Oracle.sql
    Seq 2 - 02-OFR-AP-Reporting_Oracle.sql
    Seq 3 - 03-XX_ROUND_IT.fnc
    Seq 4 - 04-XX_ROUNDDOWN.fnc
    Seq 5 - 05-XX_ROUNDUP.fnc
    Seq 6 - 06-OFR-AP-EBS-Views.sql
    Seq 7 - 07-INVOICE_NUMBER_FORMATS_INS.sql
    Seq 8 - 08-Insert Into Company.sql
    I couldn't found the below queries in my installables -
    Seq 3 - 03-XX_ROUND_IT.fnc
    Seq 4 - 04-XX_ROUNDDOWN.fnc
    Seq 5 - 05-XX_ROUNDUP.fnc
    Seq 7 - 07-INVOICE_NUMBER_FORMATS_INS.sql
    Seq 8 - 08-Insert Into Company.sql
    can anyone provide me these sql scripts?
    Thanks,
    Moumi

  • Interaction History in BP identification page.

    Hi,
    Will you please help me with the config for the Interaction History on BP identification page.
    For one of the business role, the Interaction History link is there, but it is not opening any history page.
    I am using CRM 6.0.
    Will any one help please.
    Thanks in advance.......

    Hello,
    I closed this because I got a note from SAP.
    thanks for reading.

  • Total record display in resultlist (interaction history)

    Hi all,
    May I know how can I add the total search data so that it can display in the interaction history page to show the total record found?
    In most cases, like in Activity, it will show the total record found in resultlist. But not in interaction history page.
    Can anyone advise?
    Thanks

    I am using version 5.2 so I am not really sure if it is exactly the same in 6.0 (aka 2007). Try searching the IMG. Or wait for someone else to reply to this tread
    /Anders

  • Interaction history under Account Management not showing all quotes

    We just noticed that when you look at a customer's account in the PCUI and look at the interaction history tab, not all quotes for this specific account show up.
    Has anyone experienced this before and if so, what is the issue??
    Thanks.

    I also noticed that this occurs in the CRM GUI as well. If you search for all business transactions for a specific soldto and the amount is greater than 100, it only returns the first 100. I assume this is what the PCUI does by default.
    Is there a way to return all the transactions?

Maybe you are looking for

  • Upgrade OS or buy new Macbook?

    Hi, I'm contemplating upgrading my eMac to the latest OS and adding more memory. I'm noticing that some software isn't compatible with my current OS, but other than it being a lil sluggish, it's worked fine for my everyday needs (email, web). It is s

  • Problems with ppc 10.4.11 & Logic Pro

    Hey guys, hope someone here can help... A few days ago I decided to clean re-install OS X 10.4 on my Mac Mini. Previous to this re-install Logic Pro was on the system and working fine so I re-installed the system and installed LP and now the app won'

  • My boot drive space constantly decreases until reboot

    So the longer I leave my imac on, running 10.7.4, the slower and slower it gets, and the more spinning beach balls I get. At the same time, there becomes less and less free space on my boot drive. I mean over the course of 2 days it can drop from 77G

  • Trying to update my iPhone 3Gs.  Phone is now stuck with a picture of cd and usb picture on front of phone

    It states that it is stuck in recovery mode.  I am getting an error message with a code 1603.  Could someone please help.  Also, is there any way to not lose my personal information?  I am not computer savy...please help!

  • Function for getting status of a document(vbeln)

    Hello, i am creating a report showing the list of sales order. I also want to show the status of each document(vbeln). Is there any SAP function which returns the stauts of a document(vbeln). Thanks for yur time. Shehryar