Report on # of contacts on an opportunity

Hi guys,
I have requirement on one of my projects .
It needs me to build a report on no. of contacts that are added to and activity .
When I pull up a report on Activity History and have the Activity ID , Contact Id columns together , the report only pulls up the activity Id and it primary contact in any case .
Is there a way I can get all the related contacts on the Activity.
I am really struggling with this , and might have to turn to java script to update a field when a new contact is added.
Is there a way we can have a field on Activity which will store the no of related contacts ?
I couldn't find a way to do this can any provide me such a script or tell me what I am missing in reports .
I'd be really great full.
Thanks,

Thanks for a quick reply and confirming that.
I haven't written any scripts in crm ondemand before , can you point me to a forum or a blog where they shared such a code , or basics on what can be done by using a java script in a web applet.
Any starting material on using scripts in on demand would be amazing .
Thanks,

Similar Messages

  • Report to display all the contacts of an opportunity.

    Hello,
    I have a requirement, can we create a report which displays all the contacts of an opportunity apart from primary contact.
    Any inputs on the same will be appreciatable. TIA
    Edited by: 1004233 on May 6, 2013 12:16 AM
    Edited by: 1004233 on May 6, 2013 3:28 AM
    Edited by: 1004233 on May 6, 2013 3:28 AM

    Hey Aveek;
       Try this, which will get the most recent one.  You would just need to change it to loop at the edids records to get at them all...
          TABLES: *edidc, *edids, *t100.
          DATA: wf_string type string.
          CLEAR *edids.
          SELECT SINGLE *
             INTO *edids
             FROM edids
             WHERE docnum = *edidc-docnum
               AND status = '51'.
          SELECT SINGLE text
             INTO *t100-text
             FROM t100
             WHERE sprsl = 'EN'
               AND arbgb = *edids-stamid
               AND msgnr = *edids-stamno.
             CLEAR wf_string.
          MOVE *edids-stapa1 TO wf_string.
          REPLACE '&' WITH wf_string INTO *t100-text.
          IF sy-subrc EQ 0.
            CLEAR wf_string.
            MOVE *edids-stapa2 TO wf_string.
            REPLACE '&' WITH wf_string INTO *t100-text.
            IF sy-subrc EQ 0.
              CLEAR wf_string.
              MOVE *edids-stapa3 TO wf_string.
              REPLACE '&' WITH wf_string INTO *t100-text.
              IF sy-subrc EQ 0.
                CLEAR wf_string.
                MOVE *edids-stapa4 TO wf_string.
                REPLACE '&' WITH wf_string INTO *t100-text.
              ENDIF.
            ENDIF.
          ENDIF.
          A little sloppy (OK, alot!), but it gets the job done...
    Cheers,
    John

  • Import Opportunity Partners data reporting non-primary contact relationship

    I currently have three contacts related to each opportunity, but only the primary can be reported in OnDemand. It looks to me like I can use Opportunity Partners to accomplish the reporting of contacts related to the opportunities by linking the contacts in the opportunity partner area.
    Anyone have experience with this problem and/or this solution?
    My other problem is that Oracle says that Opportunity Partner data can not be imported, but I am guessing that someone knows how to do that in some way. maybe using web services??
    thanks

    Hi Mike,
    You may want to try posting your question regarding CRM On Demand's reporting capabilities to the Analytics forum: CRM On Demand Analytics and Reports
    Regarding your second question, WS can be used to associate Partner records as well as Contact records to an Opportunity.
    Thanks,
    Sean

  • Report for listing contact person with customer

    Hello,
    we use the tables adrc, adrp, kna1, knvv and now I want to know if somebody has a ready report, where I can put the country-id in (f.e. 'it') , so that this reports lists all contact persons with their customer and their adress.
    Does anybody such a report ?
    Thanks
    Gerd

    again

  • Urgent --- assiging the contact person  to opportunity

    from the dit tool we are transfering data to crm , but for 1 opportunity it takes one contact no , but in system from which we are taking data has more than 1 contact number , for assigning more than 1 conatact no to the same opportunity in crm , what should i do , or which function module can help me

    Hello Pankaj,
    If i understood correct your problem is that you need to add couple of contact persons to opportunity.
    if its a problem goto:
    SPRO->SAP reference IMG->CRM->Basic Functions->partner Proccesing->Define Partner Determination Procedure
    Choose your FCT PROFILE(00000019 for Example) -> Partner Functions in Procedure -> Choose you partner Function (0000015 for example)->Press Details button ->No. of Occurences (Highest) should be greater than 1.
    Good Luck
    Eli Steklov
    Please Reward Points if it Helped

  • Query contacts of one opportunity

    I’m trying to query the list of contacts of one opportunity and i don’t know how I can do it.
    This is my code:
    oportunidad = new Opportunity();
    OpportunityWS_OpportunityQueryPage_Input qbe = new OpportunityWS_OpportunityQueryPage_Input();
    OpportunityWS_OpportunityQueryPage_Output qRet;
    qbe.ListOfOpportunity[0].OpportunityName = "='myop'";
    qbe.ListOfOpportunity[0].ListOfContact = null;
    qRet = oportunidad.OpportunityQueryPage(qbe);
    if (qRet.ListOfOpportunity.Length > 0)
    if (qRet.ListOfOpportunity[0].ListOfContact != null)
    foreach (Contact item in (qRet.ListOfOpportunity[0].ListOfContact))
    xmlw.WriteStartElement("contacto");
    xmlw.WriteAttributeString("Id", item.ContactId);
    xmlw.WriteAttributeString("Nombre", item.ContactFirstName);
    xmlw.WriteAttributeString("Apellido", item.ContactLastName);
    xmlw.WriteEndElement();
    The problem is that ListOfContact is always NULL

    You need to add a Contact record to your input in order to get Contacts in the output. Instead of
    qbe.ListOfOpportunity[0].ListOfContact = null;
    do
    qbe.ListOfOpportunity[0].ListOfContact = new Contact[1];
    qbe.ListOfOpportunity[0].ListOfContact[0] = new Contact();
    qbe.ListOfOpportunity[0].ListOfContact[0].ContactId = "";
    ...add the other fields that you need to query here...

  • Contact Determination in opportunity

    Hi All,
    I have maintained a partner function in involved parties in opportunity. i.e building
    now that building has a contatct in master data account. Now I want similar functionality as account that when there is an contact assciated in account it gets automatically prepopulated in Contacts facet in opportunity.
    Now i want that the contact associated with my building should also get prepopulated. how can i achieve this?
    Regards,
    Dhruvin

    If I understand your question correctly, you are looking to see the contact associated to an account to be visible in Opportunity under contacts facet. If that's the case, then it is standard functionality and should work without any issues.

  • Sending different files or reports to each contact with EMOD

    Hi,
    I want to use EMOD to send information to my customers, is there some way i can define to send a different file in the email to each contact with EMOD? Or is there some way to send the result of a report to a contact?
    thanks

    You could possibly create a variable link (1-5 Possibilities) in the email but if this was different for every contact then this would be a bit to hard for EMOD.
    You could re-import the result back into OD and then use this field within you email as the result.

  • Not able to see a narative report from a contact detail page.

    In the URL of the weblink, I set up the link to the report as follow:
    https://secure-ausomxdca.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=/shared/Company_31844_Shared_Folder/WEB+APPLET/FAX+to+contact&Action=Navigate&P0=1&P1=eq&P2=Contact."Contact ID"&P3%%%Id%%%
    but when I right click on the weblink on the contact detail page I get this:
    https://secure-ausomxdca.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=/shared/Company_31844_Shared_Folder/WEB+APPLET/FAX+to+contact&Action=Navigate&P0=1&P1=eq%0d%0a&P2=Contact.%22Contact+ID%22&P3ADBA-3AYF6O
    I get %22&P3ADBA-3AYF6O at the end of the URL when I should get %%%Id%%%.
    What could have happened? How can I fix this?
    Thanks in advance for your help!

    Actually thats correct. When you specify %%%Id%%%, it gets replaced with actual row id which is "ADBA-3AYF6O" in your case.
    One mistakeI noticed, '=' is missing after P3 it should be
    https://secure-ausomxdca.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=/shared/Company_31844_Shared_Folder/WEB+APPLET/FAX+to+contact&Action=Navigate&P0=1&P1=eq&P2=Contact."Contact ID"&P3=%%%Id%%%
    Try it.
    Dinesh

  • Report on related section linked with opportunity Id

    Hi,
    I created a report with opportunity Id is prompted as filter. I would like to display my report in a related information section of my opportunity record.
    This is the URL of my report : https://secure-ausomxgva.crmondemand.com/OnDemand/user/ReportIFrameView?SAWDetailViewURL=saw.dll?Go%26Path%3D%252fshared%252fCompany_AGVA-PV272_Shared_Folder%252fSuivi%2bfact%2bpar%2bdemande&AnalyticReportName=Suivi+fact+par+demande
    How can I modify my URL to add the opportunity Id as argument?
    Thanks

    I have a couple of thoughts that may help. I apologize if you already have tested these, but these are ones I consider when dealing with web links.
    1. You need to validate the URL for the report itself. I have no reason to believe that yours is wrong, but I always double check it. The way I validate it is to run the report from "My Analyses" and then right click to get the properties. The URL for the report is listed there and you can validate your weblink from there.
    2. Be aware that sometimes spaces in the URL eg "Opportunity ID", can interupt the passing of the whole URL to the iframe. In this case just use "%20" as a space substitute, ie "Opportunity%20ID".
    3. The third observation I have is probably not really a concern, but I noticed you mismatched Row ID with the Integration Id tag. I would use %%%Id%%% for Opportunity Id.
    I also have a good doc that contains a lot of detail on other options. You can email me and I'll send it to you, if you would like it.
    Good luck,
    Thom

  • Whether I could create a inv report with "Last Contact"

    Hi All
    My customer wnat to a method to easy list all worlkstation that did not contact from special date...Because inventory Scan & upload in not every day..So I could not use these data attributes..but it seem that no "last contract" attributes in ZCM invetnory report....
    Whether ZCM could create a list which could list workstation's "last contract" date/time or not ??
    wyldkao

    Originally Posted by wyldkao
    Hi All
    My customer wnat to a method to easy list all worlkstation that did not contact from special date...Because inventory Scan & upload in not every day..So I could not use these data attributes..but it seem that no "last contract" attributes in ZCM invetnory report....
    Whether ZCM could create a list which could list workstation's "last contract" date/time or not ??
    wyldkao
    I don't know if you can do a inventory of those workstations but you can create a "Dynamic Workstations Group" and specify Last contact, that way you can get a list of all workstations that have not contacted the server since a specific date.
    Hope that helps.
    You may want to submit a enhancement request for that feature, it would be nice to have a inventory report for that.
    Thomas

  • Report on Account - Contact and Contact Team

    Hi,
    We have a requirement to build a report on accounts with their contacts and the contact team for those contacts all in one report. The user should be able to filter the account on type or name.
    I can't find a correct subject area for this. Contact Team history does not hold the account information. I am looking into combined analysis but have not found the combination that works yet.
    Has anyone build a report like this before?
    Regards,
    Ingeborg

    Hi,
    We have a requirement to build a report on accounts with their contacts and the contact team for those contacts all in one report. The user should be able to filter the account on type or name.
    I can't find a correct subject area for this. Contact Team history does not hold the account information. I am looking into combined analysis but have not found the combination that works yet.
    Has anyone build a report like this before?
    Regards,
    Ingeborg

  • Short dump during choose of Contact Person for Opportunity

    Hello CRM Gurus,
    we are going to implement CRM also in another Sales Organization. We have created a special Role for this Users with the Authorization Objects:
    - CRM Order - Allowed Organ. Units - CRM_ORD_OE
    Activity                       01, 02, 03
    Distribution Channel           *
    Sales Group                    *
    Sales Office                   *
    Sales Organization             O 50001434
    Service Organization           *
    - CRM Order - Allowed Organ. Units - CRM_ORD_OP
    Activity                       02, 03
    Partner Function               *
    Partner Function Category      *
    So the User can create or generate, change, display Opportunities which are created within their Sales Organization and change, display Opportunities where this User is part of the Sales Team.
    When I create now a Opportunity and choose a Sales Prospect of another Sales Organization I get a shortdump. If I save the Opportunity before I can enter the Sales Prospect of the other Sales Organization.
    Steps for reconstruction:
    Logon to the Portal
    Navigate to Aquisition -> Opportunities
    Click on "Create ..."
    Choose "Opportunity"
    Enter "Test" in Description
    a) With Shortdump:
    Enter "Riedl El*" into the Field Sales Prospect, press enter
    A popup "Partner available for selection" appears. In the Background
    you will see "You have no authorization to execute action Edit"
    When you click now "Choose" you will get:
    Error message: The current application triggered a termination with a
    short dump. ( type of termination: RABAX_STATE )
    b) Without:
    Save the Opportunity
    Enter "Riedl El*" into the Field Sales Prospect and press enter.
    A popup "Partner available for selection" will appear because the
    Document was already saved and the Contact Partner search does not work
    with a saved document. But that is another story.
    No Shortdump will occur.
    Best Regards
    Gregor Wolf

    Hi Everybody,
    the Short dump problem is solved by SAP Note 797483. But OSS is still working on the authorization problem.
    Regards
    Gregor

  • Associate a contact to an opportunity before saving it.

    Hello
    Does anyone have a work around?
    I must have a contact related to an opportunity. But I cannot make the field required because it is read only by default, the only way is to associate trough the related information contact layout but sometimes my users forgot to add it. And this is not useful for my business process.
    Kind Regards Catalina Valadez

    You may be able to use KeyConactId field in field validation to meet your requirement.
    Refer this thread for more details
    Re: Opportunity must have Contact

  • Combined reports: activities and contact person related accounts

    Hello,
    I created a combined report that should show following things:
    Appointment data, all Related Users, all Related Contact Persons and the companies which are assigned to the Contact Persons (not the Appointment-related-Company!)
    I combined it by Activities and shared activities area. To get the account information I combined it also with contact person area.
    Now I have following problems:
    1. The accounts are not displayed in the same line as the rest of the informations. They are only under the Activity Informations and I don't know how to link these informations.
    2. One row is user and the second row is contact. If I have an activity with more contacts and more users, I get every contact shown for every user (some kind of douplicates). How can I solve this Problem?
    3. I need this report as a Pivot-Table, grouped by day. When I do this and put contact and user into the measures area I have no possibility to see more than one Contact/user per activity. Is there any way to measure text?

    Can anyone please help in solving this issue..

Maybe you are looking for

  • CFM2 - Table does not exist in database.

    Hi Gurus, I am new to EWM & facing one error while transferring Inbound Delivery to SCM EWM from ECC.(T Code - CFM2) Please also note that, 1.I could transfer the master data through CFM1& CFM2 from ECC to EWM                                     2.In

  • How to install bo xi 3.1 on windows server 2008 r2 sp1 (virtual machine )

    HI GUYS -- operating system: I am trying to install Business Objects into a virtual  computer which has a windows server 2008 R2 SP1 operating system. I installed version BO XI 3.1 and I also installed Service pack 3 and Service pack 4. I installed l

  • SCSM 2012 R2 Portal Installation is not able to detect SharePoint SQL Instance

    Dears, as in the subject I am trying to Install SCSM 2012 R2 Portal, I have done with prerequisites, and I have got the SharePoint from this link: http://www.microsoft.com/en-us/download/details.aspx?id=24983 I have done with SharePoint successfully,

  • Oracle 11g download corrupted every time on multiple systems

    HI , I have been trying to download oracle 11 g database windows x64 from oracle at http://www.oracle.com/technology/software/products/database/oracle11g/112010_win64soft.html. I have been trying to download it from past Wednesday . Everytime me or s

  • Dispatch action in struts portlet

    Hi , I am tryin g to call a Action which extends dispatchaction with two parameters in the query string . The version is (pdk 10.1.2.0.2) The values are appended in the query string but the error message in log seems to be the "actionCmd" calue is no