Service Request refresh on task save

Dear Experts,
we are facing an issues while saving the follow up transactions.
first of all the requirement is whenever notes entered in the follow up task the same notes should get copied to preceding transaction.
for this requirement we have implemented actions in the whenever we click on Save or Save and back button action will trigger and check the notes entered in the current task and we are saving the same to preceding document.
in our scenario, Service request in preceding transaction and task would be follow up doc.
in the action method we have passed the notes to order maintain for the preceding transaction (SR) and then calling Order Save.
once we come back to SR header page(not in display mode, in change mode) if we enter anything and save then previous saved task notes again appending to SR which is a Duplicate. we want to avoid duplication to SR.
PFB scenarios in detail:
1. Parent(Display)SR -> follow up  Task->save and Back->Parent(display)->exit ---- Notes will be copied to Parent from Child
2. Parent(Edit)SR -> follow up  Task->save and Back->exit  (that means no changes made after coming back simply exit without save of SR)
3. Parent(Edit)SR -> follow up  Task->save and Back->Parent(Edit) ->change any attribute value and Save SR ->  exit  -Duplicate
please let me know if anybody has any pointers.
P.S: On Save of SR the page remains in Edit mode only.
thanks,
Venkat

Hi Venkat
The only pointer I have is that when the Action runs, it compares the service requests In Memory Notes values with the Database values.
If they are in sync, then no need to update to the task.
If they are out of sync, update the task with the additional note entries.
Hope this is useful.
Regards
Arden

Similar Messages

  • Copying start and end dates from service request contract to tasks

    I am working on a logical apps program that is supposed to go to the service request screens and update the PLANNED_START_DATE and the PLANNED_END_DATE of a task for that service request on file JTF_TASKS_B with the start date and end date of the active contract associated with that service request and task. I think some of the contract information is available in OKS_PM_SCHEDULES_V, CS_SR_INCIDENTS_V, and CS_INCIDENTS. It may also be available in other files. I need to know of a contract file that can be used to link the contract to the corresponding task. I can't seem to find any files with task, contract number and service request all in one file.

    Glenda,
    You are right. All the three object you mentioned ( SR, Tasks and Contracts) are not referenced in a single file( or Table).
    You can use this relationship though to get this information.
    Tasks will be associated to a SR through source_ID and source_type. Source_ID will be the primary key, incident_id in CS_INCIDENTS_ALL_B table. This table incidentally also contains the contract_number and service_contract_id which gives the contract information.
    HTH,
    Gana

  • Assign account from Service Request when creating a New Task

    When creating a new task from within a Service Request the SR # is defaulted we would also like to default the account associated with the SR on to the Task. How can you do this?

    This is not working in WF.
    Refer this thread
    Re: Contact record not pupulated when Task created using Workflow.

  • Console Task Target System.WorkItem.ChangeRequest also shows for Service Requests

    Console tasks specifically targeted at Change Requests also shows up in all Service Request views.
    System.WorkItemChangeRequest is located in the MP System.WorkItem.ChangeRequest.Library.
    Is this a bug, or me doing something wrong?
    Currently on a closed network, hence screenshots and codesamples is a bit difficult to get my hands on and show here.
    http://codebeaver.blogspot.dk/

    code as follows
    <ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Manifest>
    <Identity>
    <ID>X.PublishChangeToCalendar</ID>
    <Version>1.0.1.5</Version>
    </Identity>
    <Name>X.PublishChangeToCalendar</Name>
    <References>
    <Reference Alias="System">
    <ID>System.Library</ID>
    <Version>7.0.5826.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="WorkItem">
    <ID>System.WorkItem.Library</ID>
    <Version>7.5.3079.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="Console">
    <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Console</ID>
    <Version>7.0.5826.859</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="ChangeRequestLibrary">
    <ID>System.WorkItem.ChangeRequest.Library</ID>
    <Version>7.5.3079.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="Authoring">
    <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Authoring</ID>
    <Version>7.0.5826.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="Administration">
    <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Administration</ID>
    <Version>7.0.5826.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="WindowsLibrary">
    <ID>Microsoft.Windows.Library</ID>
    <Version>7.5.8501.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="ServiceManager.ChangeManagement.Library">
    <ID>ServiceManager.ChangeManagement.Library</ID>
    <Version>7.5.3079.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    </References>
    </Manifest>
    <Categories>
    <Category ID="PublishChangeToCalendar.Category" Value="Console!Microsoft.EnterpriseManagement.ServiceManager.ManagementPack">
    <ManagementPackName>X.PublishChangeToCalendar</ManagementPackName>
    <ManagementPackVersion>1.0.0.0</ManagementPackVersion>
    <ManagementPackPublicKeyToken>x</ManagementPackPublicKeyToken>
    </Category>
    <Category ID="PublishChangeToCalendar.DoNotShowInForm.Category" Target="PublishChangeToCalendarTask" Value="Console!Microsoft.EnterpriseManagement.ServiceManager.UI.Console.DonotShowFormTask" />
    <Category ID="PublishChangeToCalendar.ShowConsoleTask.Category" Target="PublishChangeToCalendarTask" Value="Console!Microsoft.EnterpriseManagement.ServiceManager.UI.Console.ConsoleTasks" />
    </Categories>
    <Presentation>
    <ConsoleTasks>
    <ConsoleTask ID="PublishChangeToCalendarTask" Accessibility="Public" Enabled="true" Target="ChangeRequestLibrary!System.WorkItem.ChangeRequest" RequireOutput="false">
    <Assembly>Console!SdkDataAccessAssembly</Assembly>
    <Handler>Microsoft.EnterpriseManagement.UI.SdkDataAccess.ConsoleTaskHandler</Handler>
    <Parameters>
    <Argument Name="Assembly">X.PublishCR</Argument>
    <Argument Name="Type">PublishWI.PublishChangeTaskHandler</Argument>
    <Argument>PublishWI</Argument>
    </Parameters>
    </ConsoleTask>
    </ConsoleTasks>
    <ImageReferences>
    <ImageReference ElementID="PublishChangeToCalendarTask" ImageID="Administration!Microsoft.EnterpriseManagement.ServiceManager.UI.Administration.Image.Notification" />
    </ImageReferences>
    </Presentation>
    <LanguagePacks>
    <LanguagePack ID="ENU" IsDefault="true">
    <DisplayStrings>
    <DisplayString ElementID="X.PublishChangeToCalendar">
    <Name>X.PublishChangeToCalendar</Name>
    </DisplayString>
    <DisplayString ElementID="PublishChangeToCalendarTask">
    <Name>Tilføj til kalender</Name>
    <Description />
    </DisplayString>
    </DisplayStrings>
    </LanguagePack>
    </LanguagePacks>
    <Resources>
    <Assembly ID="Assembly.PublishChangeToCalendar" Accessibility="Public" FileName="X.PublishCR.dll" HasNullStream="false" QualifiedName="X.PublishCR.dll, Version=1.1.0.0, PublicKeyToken=x" />
    <Assembly ID="Assembly.Microsoft.SharePoint.Client" Accessibility="Public" FileName="Microsoft.SharePoint.Client.dll" HasNullStream="false" QualifiedName="Microsoft.SharePoint.Client.dll, Version=14.0.4760.1000, PublicKeyToken=71e9bce111e9429c" />
    <Assembly ID="Assembly.Microsoft.SharePoint.Client.Runtime" Accessibility="Public" FileName="Microsoft.SharePoint.Client.Runtime.dll" HasNullStream="false" QualifiedName="Microsoft.SharePoint.Client.Runtime.dll, Version=14.0.4760.1000, PublicKeyToken=71e9bce111e9429c" />
    </Resources>
    </ManagementPack>
    http://codebeaver.blogspot.dk/

  • Template to open multiple service requests

    I have the following requirement to achieve with service manager...
    I wish to open a new Service request or incident from HR for a new starter,
    This SR or incident then needs to open templeted sub activites of build machine, assign phone extension, create AD account etc etc
    These sub-tasks can then be assigned to other staff and closed off seperately but all link to the master...
    How can I achieve this?
    ***Don't forget to mark helpful or answer***

    This is, in fact, the entire purpose of the template, to allow you to create complex work items like Service Requests, with all component activities as they are. 
    The service request is a linear progression, i.e. only one activity will run at a time, and as soon as it completes, the next activity will start. this behavior is by design. if you have multiple tasks that need to run concurrently, consider using a Parallel
    Activity container. the PA container will start, and all activities within the PA container will start, and as soon as all activities inside the PA are completed, then the PA will complete, and the next activity inside the Service Request will start.
    Views are not updated unless you click away and back, or manually refresh the view. this might be why you don't see them.  

  • Error during creation of service request in SAP CRM 7.0

    Hi,
    I am getting the error " error occured in system DQ1290 during account assignment" when I try to save the Service request.
    Actually DQ1290 is our ECC QA sustem and Iam getting this error when I try to save the service request in CRM QA system.
    Can anyone suggest the reason for this.
    Regards
    A.Sureshbabu.

    Hi,
    I am getting the error " error occured in system DQ1290 during account assignment" when I try to save the Service request.
    Actually DQ1290 is our ECC QA sustem and Iam getting this error when I try to save the service request in CRM QA system.
    Can anyone suggest the reason for this.
    Regards
    A.Sureshbabu.

  • Not able to create service requests in E-Service

    HI all,
    I am unable to create service requests in the e-service scenario, after i enter all the data and press save button, it says that number is null.
    There is no dump in the crm system.
    I am able to create the same service request in CRM system and also can see these transactions in search list of e-service, but cant view them.
    its giving an error message "An error occurred. The action that you requested could not be performed"
    Regards,
    Karunakar.

    When i tried through DBCA it hanged...
    through oradim it the posted error was appearing
    I have all the privileges as i logged in as domain admin.
    Oradim says it cannot create but the service has been created in services.msc but when i start the service the posted error message was appearing on the Eventlog

  • Service Request information is not getting updated in Account Overview

    Hi All,
    As a standard functionality, when we open Account overview page, we see list of contacts, roles, Service Requests etc that are linked to the account.
    We are able to see the contacts, roles but not able to see the service requests. We tried creating service requests and associated the sold to party partner function and able to successfully save the Service Request.
    We are not able to see the same in Account Overview screen.
    Any pointers on this would be of great help.
    Regards,
    Udaya

    Hi Vinoth,
    Are you getting any error in the return table?Can you show your coding?
    Regards,
    ravi

  • Service request being created in CRM WEB IC

    When an user creates an Interaction Record and then viewed any service request from the view Last five interactions from webIC the system is automatically creating an additional service Request.
    Steps we follow
    1. Open the Interction centre
    2. Search (preferable who has previous service requests created)
    3. Confirm employee.
    4. SC interaction record screen is displayed
    5. Bottom of the page, you see interaction history
    6. Click on any of the service requests
    7. Service request would be displayed
    8. Go back using breadcrumbs
    ---> Problem, in activity clipboard of SC interaction, you would noticean employee request created.
    Can any one help with a solution for this on an urgent basis, the business is being affected very seriously and SAP says they can't help
    Note: Maximum points would be rewarded
    Regards
    Ravi

    Yes,
    The steps you mentioned are correct
    1) Account Indentification
    2) Interaction Record created and displayed
    3) Select Service request from the Last 5 interactions from bottom on page
    4) Selected one of the Service request
    5) In Breadcrumbs dropdown I see
    1) Employee(Service) Request(XXXXXXX) --- the one I selected from Interaction history and being displayed
    2) Interaction Record (XXXX)*
    3) Interaction Record (XXXX)*
    4) Identify Employee
    I click on breadcrumbs to go back or I press END without pressing SAVE
    NEXT
    Open the Interaction Record by searching for the same from INBOX
    The NEW Employee Request (Service request) created is there
    If I use breadcrumbs to go back and repeat steps 1--3 (account Identification to select Service request), it does not create one, it is for only the first time the additional request is created.
    I hope I am clear....
    Regards
    Ravi
    Edited by: Ravi Kakkereni on May 30, 2008 10:19 AM

  • Service Requests not resolving

    Good Morning TechNet Experts,
    I have been having an issue with service requests and I'm one week away from deployment. Basically, I had no need for a "Review" activity, we implement service requests the same way we implement incidents. An analyst opens a ticket for customer,
    once service has been applied they should resolve the service request. With incidents this is easy, you just change the incident status to resolved...
    However, with Service Requests I created a new template that did not require the "Approval" activity, only the "Apply Service" activity. My Idea was when an analyst is finished with the ticket, he/she just marks the "Apply Service"
    activity as completed and the service request can move to "Completed" status.
    Although the activity is being marked as completed, the ticket is not changing status. Some are stuck in "In Progress" and some are stuck in "New" status (even though the activity is showing as completed....). These have been stuck for
    more than 24 hours now... when this actually goes into production a week from now even 5 minutes is a long time.
    What can I do to solve this? I am open to implementing a new procedure if required. Thanks in advance!

    Hi,
    First of all, it looks like you are having an issue with your workflows. Please restart the HealthService (Microsoft Monitoring Agent) and check if the workflows restart. Do other workflows run (e.g. notification subscriptions)?
    Secondly, if you are using service requests with only one manual activity, I believe the handling is a little bit complicated for your analysts. Why don't you remove all activities completely from your SR template? The service request will then go to status
    "Submitted" once created, and the analyst can use the task "Complete" to complete the SR without having to worry about activities.
    HTH,
    Dieter

  • Creating Activity object for a Service Request object...

    <b>[This thread was migrated from the On Demand Developer Forum in the old Siebel Community] </b>
    drangineni
    New Contributor
    Ho do we use Activity object of a Service Request object. I am trying to
    create an Activity object for a existing Service Request object.
    I am looking for some sample code.
    I greatly appreciate your help.
    Product: CRM OnDemand
    11-26-2006 12:40 PM
    Re: Creating Activity object for a Service Request object...
    BigSlick
    Valued Contributor
    drangineni, What programming language are you using?
    BS
    12-04-2006 10:56 AM
    Re: Creating Activity object for a Service Request object...
    drangineni
    New Contributor
    Hi, I am using C# .
    12-04-2006 07:40 PM
    Re: Creating Activity object for a Service Request object...
    BigSlick
    Valued Contributor
    drangineni, assuming you know the service requestid or externalId of the
    Sr you are dealin gwith you would first set that value.
    ServiceRequest1[] objSRList =new ServiceRequest1[1];
    objSRList[0] = new ServiceRequest1();
    objSRList[0].ServiceRequestId = <YourSRId>;
    Then you create an array of activities and initialize the first one:
    objSRList[0].ListOfActivity = new Activity[1];
    objSRList[0].ListOfActivity[0] = new Activity();
    Now set the data fields
    objSRList[0].ListOfActivity[0].Subject ="My Subject";
    objSRList[0].ListOfActivity[0].Description ="My Description";
    objSRList[0].ListOfActivity[0].Display = "Task"; //valid values are either
    "Task" or "Appointment"
    Then call the ServiceREquestInsertOrUpdate method on the ServiceRequest
    WebService and pass in the above variable.
    BS
    12-06-2006 12:36 PM
    Re: Creating Activity object for a Service Request object...
    drangineni
    New Contributor
    Thank you BigSlick.
    The following error is thrown when I use the
    ServiceRequestInsertOrUpdate(objInput)
    "No user key can be used for the Integration Component instance 'Service <br/>
    Request_Action'.(SBL-EAI-04397)"
    When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
    thrown and the Activity gets added, but a new Service Request object is
    created, but the Activity gets added to an existing Service Request
    object. I greatly appreciate your help.
    The following is the code:
    int ActivityLength = 0;
    WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
    WSOD_ServiceRequest.ServiceRequest1[1];
    ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
    ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
    ServiceRequest[0].ListOfActivity = new
    WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
    ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
    ServiceRequest[0].ListOfActivity[ActivityLength].Description =
    this.txtDescription.Text;
    ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
    ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
    WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequest();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
    objInput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
    objOutput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
    objInput.ListOfServiceRequest = ServiceRequest;
    Session objSession;
    objSession = (Session) Application["Session"];
    prxySrvcRequest.Url = objSession.GetURL();
    try
    objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
    catch(Exception e)
    12-09-2006 09:53 AM
    Re: Creating Activity object for a Service Request object...
    drangineni
    New Contributor
    Thank you BigSlick.
    The following error is thrown when I use the
    ServiceRequestInsertOrUpdate(objInput)
    "No user key can be used for the Integration Component instance 'Service <br/>
    Request_Action'.(SBL-EAI-04397)"
    When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
    thrown and the Activity gets added, but a new Service Request object is
    created, but the Activity gets added to an existing Service Request
    object. I greatly appreciate your help.
    The following is the code:
    int ActivityLength = 0;
    WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
    WSOD_ServiceRequest.ServiceRequest1[1];
    ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
    ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
    ServiceRequest[0].ListOfActivity = new
    WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
    ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
    ServiceRequest[0].ListOfActivity[ActivityLength].Description =
    this.txtDescription.Text;
    ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
    ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
    WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequest();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
    objInput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
    objOutput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
    objInput.ListOfServiceRequest = ServiceRequest;
    Session objSession;
    objSession = (Session) Application["Session"];
    prxySrvcRequest.Url = objSession.GetURL();
    try
    objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
    catch(Exception e)
    12-10-2006 08:49 AM
    Re: Creating Activity object for a Service Request object...
    BigSlick
    Valued Contributor
    Ah yes, I forgot you also need to specify a unquie Id for the activity.
    It's kinda strange.
    Try adding this:
    ServiceRequest[0].ListOfActivity[ActivityLength].ActivityId = "DummyId";
    //OD will overwrite this with a real Id
    Or if you have a unquie ID for your Activities you can use:
    ServiceRequest[0].ListOfActivity[ActivityLength].ExternalSystemId = <Your
    Unique Value>;
    Hope that helps,
    BS
    12-11-2006 10:52 AM
    Re: Creating Activity object for a Service Request object...
    surgientweb
    New Contributor
    Hi all,
    I have a similar problem, but mine is returning a message that field
    "Display" is required. Looking at this post and the documentation it is
    obvious that Display is a required field, but my WSDL did not include a
    field called "Display", so my proxy did not generate one.
    I tried adding a field called Display to the WSDL and the proxy class, but
    I get a different error... I figure I maybe cannot add it manually like
    that - but I think the bigger problem is it is not part of the WSDL that
    Siebel OD generates for me in my admin account.
    On top of that Display is not shown in the list of fields for Activity
    through the admin interface.. is it possible my account is bugged? Am I
    missing something simple here? BigSlick, I see you mention a .Display in
    your code sample so I thought you might understand what is wrong. Here is
    my code (I am trying to add a activity to a lead).
    Thanks for any insight into this!
    private void InsertLeadActivity(Session session, NameValueCollection data,
    string leadID)
    try
    if (blnDebug)
    Response.Write("Setting up Activity<br>";
    // instantiate the proxy service
    Activity_Service.Activity activityProxy = new Activity_Service.Activity();
    // set up the target URL
    activityProxy.Url = session.GetURL();
    activityProxy.CookieContainer = session.GetCookieContainer();
    // set up input argument
    ActivityNWS_Activity_Insert_Input input = new
    ActivityNWS_Activity_Insert_Input();
    input.ListOfActivity = new Activity1[1];
    input.ListOfActivity[0] = new Activity1();
    if (blnDebug)
    Response.Write("Getting Data<br>";
    // dg note: name value
    // input.ListOfActivity[0].MrMrs = data["MrMrs"];
    input.ListOfActivity[0].LeadId = leadID.ToString();
    input.ListOfActivity[0].Description = DataToString(data);
    input.ListOfActivity[0].Subject = "Website Submission Activity";
    input.ListOfActivity[0].Priority = "3-Low";
    //input.ListOfActivity[0].DueDate =
    DateTime.Now.AddDays(7).ToShortDateString();
    input.ListOfActivity[0].Owner = this.defaultLeadOwner;
    input.ListOfActivity[0].Type = "Call";
    //input.ListOfActivity[0].Display = "Task";
    input.ListOfActivity[0].ActivityId = "DummyId";
    input.ListOfActivity[0].ExternalSystemId = "web";
    activityProxy.Activity_Insert(input);
    catch (Exception exInsertActivity1)
    if (blnDebug)
    Response.Write("<br>Error inserting activity.<br><br>" +
    exInsertActivity1.ToString() + "<br>";
    01-06-2007 05:05 PM
    Re: Creating Activity object for a Service Request object...
    surgientweb
    New Contributor
    Figured it out.. the field "Display" is also known as "Activity"........
    Here are some notes for other people.. good luck and feel free to write me
    at raskawa-at-gmail-com if you want a code sample.
    Some unpublished nice to knows for Siebel On Demand Activities....
    In summary:
    - .Activity is also known as Display in documentation and on the error
    messages coming back from the WS. Also, it appears based on these boards
    some people actually have a .Display field. Maybe different accounts
    generate different WSDL's.... buggy.
    - If a error message is thrown saying "Description is required" it really
    means "Subject is required" (make sure .Subject has a value)
    - If a error message is thrown complaining that ActionType is not right..
    that is really .Type.. make sure it's lookup value is valid for the
    dropdown values in your CRM OD system.
    My code/values that worked..
    input.ListOfActivity[0].LeadId = leadID.ToString();
    input.ListOfActivity[0].Description = DataToString(data);
    input.ListOfActivity[0].Subject = "Website Submission Activity";
    input.ListOfActivity[0].Priority = "3-Low";
    //input.ListOfActivity[0].DueDate =
    DateTime.Now.AddDays(7).ToShortDateString();
    input.ListOfActivity[0].Owner = this.defaultLeadOwner;
    input.ListOfActivity[0].Type = "Call";
    input.ListOfActivity[0].ActivityId = "DummyId";
    input.ListOfActivity[0].ExternalSystemId = "web";
    //input.ListOfActivity[0].Display = "Task"; //doesn't work
    input.ListOfActivity[0].Activity = "Task"; //does work.
    01-06-2007 05:17 PM
    Re: Creating Activity object for a Service Request object...
    raskawa
    First Time Contributor
    Hi,
    This is surgientweb (under my own login now..)
    Anyway, I wanted to add that I figured out that there are two ways to add
    a Activity to a Lead. Via the Lead object (by getting a ListOfActivities)
    OR by creating a Activity directly and just adding your "LeadID" to it (or
    you can also add a "ContactID" to relate the activity to a Contact.)
    Feel free to email me for a code example (raskawa....at....gmail)
    -David
    01-09-2007 02:58 PM

    Hi Stephane,
    You can definitely read the categories using Tables in CRM. The logic is a bit complicated though.
    Use the following steps to retrieve Categories using Std. CRM Tables:
    1. Pass transaction GUID in field GUID of table CRMV_REPORT_SUBJ and get KATALOGART, CODEGRUPPE and CODE field values in lv_catalog, lv_codegrp and lv_code.
    2. Now you need to concatenate these 3 fields values carefully like this:
    CONCATENATE lv_catelog lv_codegrp '    ' lv_code into lv_category1.
    Remember there are 4 spaces between lv_codegrp and lv_code.
    3. Now pass this lv_category1 in field OBJEXT in table CRMC_ERMS_CAT_OK and get OBJGUID in field lv_objguid.
    4. Pass this lv_objguid in field OBJ_GUID and LNK_TYPE = 'IS_CODE' in table CRMC_ERMS_CAT_LN and get value of CAT_GUID in lv_cat_guid.
    5. Pass this lv_cat_guid in field CAT_GUID in table CRMC_ERMS_CAT_CA and get value of CAT_ID in field lv_cat_text.
    Remember this lv_cat_text is the text value of your last level of category of transaction.
    6. To get its upper cateogry level value, simply use table CRMC_ERMS_CAT_HI and get parent guid value and pass this as CAT_GUID again in table CRMC_ERMS_CAT_CA to get its text.
    Alternatively, you can also use class method cl_crm_ml_category_util=>get_parse_all to get all levels of categories.
    Hope this helps.
    Thanks
    Vishal

  • SC error while creating a service request

    Hi experts,
    I am on SRM 7 , ECS . I am trying to create a service request in the shopping cart through SC full functionality/operational purchaser.
    I am getting the  error when i clcik on the  "supplier/service agents"
    SRDBIQCI02
    http://srdbiqci02.ssw.local:8010/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
    UNCAUGHT_EXCEPTION
    Called method not supported by current PDO instance
    Method: /SAPSRM/IF_PDO_BO_SC~PRODUCT_CONV_INT of program /SAPSRM/CL_CLL_SER_PDO========CP
    Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_DODM_SC_I_SOSCP
    Method: WDDOINIT of program /1BCWDY/T2R7E4WKA5D7C8DML3PR==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/T2R7E4WKA5D7C8DML3PR==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    http://srdbiqci02.ssw.local:8010/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
    Rgds
    Sumendra

    Hi Sumendra,
    I have the same issue. Did you solve it?
    BR,
    Ivá

  • How to call Badi - CRM_ORDERADM_H_MERGE only on saving of service request.

    Hello CRM Experts,
    I am trying to change value of a field - "object_id" of table "CRMD_ORDERADM_H" while creation of a service request. I am doing this by implemeting BADI - CRM_ORDERADM_H_BADI, method - CRM_ORDERADM_H_MERGE. In this method I am creating a new number and updating it in Object_id field of orderadmh table. This badi is getting called on every button click like - NEW, SAVE, even on pressing enter in service request creation page.
    But I want to execute the code written in this method only on clicking SAVE button in web ui. But I am not able to find a way to do so.
    Please suggest something.
    Thanks,
    Pooja

    Actually another way of doing this would be to create a new BTE function module instead.  You can control the timing so that the function module will only fire once upon save if you configure the correct event timing.
    To find out more on how to use this do a search here on CRMV_EVENT or run that transaction code in your system and click on "read this information".
    For a bigger hint you would target:
    Transaction Category - BUS20001 - or specific category that you need.
    Execution TIme - 78 Before Saving
    Object - ORDERADM_H
    Event - BEFORE_SAVE
    Attribute <*>
    or perhaps
    Execution TIme 88
    Object ORDERADM_H
    Event - INIT
    or even:
    Execution time - immediately
    Object ORDERADM_H
    Event AFTER_Create
    In either case the call callback would be of type C call  once per transaction
    I would do an CRMV_EVENT_TRACE to figure out where to put this, but that's my best ideas.
    Take care,
    Stephen

  • Activity Templates inside Service Request Templates

    I have run into a problem and I was hoping there is an easy solution.
    I have built Activity Templates for Access Requests, one template per application.
    Then I have Service Requests for per Job Code, which include up to 20 of those Activity Templates.
    I did it this way specifically so if an Application Access process changed, I could just edit the Activity Template for that Application, and all the Service Requests that use that template would update as well.... or so you would think.
    I just had to change some, and my service request is still showing the old templates, not the esits I did. I waited over an hour. Is this a workflow problem, or a functionality problem? If the Service Request Template saves when created instead of pullign
    the activity templates each time its opened, it defeats my purpose of trying to do this modularly. This also makes absolutely no sense to me either, if that is in effect how it works.
    What that will mean is I will have to edit every service request that uses a specific activity, instead of just that activity template.

    Activity templates do not cascade. When you add an activity template to a Service Request, SCSM creates a copy of the activity template _inside_ the SR template. That's where they diverge.
    Any further changes to the original activity template will not be replicated to any SRs that contain that activity.
    I'm sorry to say that's the way SCSM's template management was implemented.

  • Cannot edit Service Requests or Service Offerings in SM Console

    I have been working on a Service Manager deployment for the past few weeks and yesterday I lost the ability to edit a Service Request or Service Offering when going to the Library, highlighting the object and the clicking Properties.  I am using the
    console on the server itself.  I have no remote consoles in the environment.  I see the properties display for a moment, then disappear.  The navbar on the left is there, but the main window is blank. Both OK and Cancel buttons are
    grayed-out.  I can add a request to an offering or publish a draft by using the options from the Tasks pane.  I can edit properties of other objects.  Before yesterday, I could edit request and offering objects.  I am not
    aware of any changes made to this system other than attempting to install the Exchange Connector v3 and it will not install.  (I've posted a separate question to the Connectors forum.)  There are no corresponding events in the event logs when I attempt
    to open the properties.  This behavior applies to the canned offerings and requests as well as offerings and requests I have created.
    All suggestions welcome.

    A little more information about the property form behavior.  When the property form window first appears, the form content is visible with what looks like a progress bar.  This disappears in less than a second.  All that is visible is
    the left navbar (General, User Prompts, Map Prompts, etc), the OK and Cancel buttons and a lot of whitespace where the form usually appears.  After a variable number of seconds, anywhere from 3 to 10, the OK and Cancel buttons are enabled.  I uninstalled
    Service Manager and reinstalled re-using the Service Manager database.  The property form behavior remains the same.  I hope someone has fixed this before.
    Thanks

Maybe you are looking for

  • What's the best app for taking a video on ipad2?

    I am a tennis coach and am looking for an app for my iPad2 to do video analysis. I need to be able to video someone doing a serve and then show it to them in slow motion and be able to pause it. What's the best app for this?

  • Delete Photo in Icloud Streaming

    I took pictures to test the service for other works very well, but now I find myself in a position to delete some. How can I delete individual photos icloud ??

  • Hot to get ITEM NAME

    Hello, is it possible to use *#CURRENT_ITEM_NAME#* in a function parameter? I want a function based validation and create a function. Then I created a element validation in my page with the PL/SQL-Expression Type and insert this code to start the fun

  • User Level Security

    Hi All, I want to restrict my data depending upon the user's profile stored in the database table. I want user's to vie reports using Discoverer Viewer and want to restrict them to see the data of their importance. Some one told me that we can make c

  • Constant Pop Up Window

    When trying to use my iPad, a message is constantly popping up asking for my iCloud password. Even with the correct password (and I checked it online), the message will not go away. I can't get into my settings or anything else to try to connect to W