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

Similar Messages

  • How to create a view for all Service Requests that are not approved by reviewer

    Hallo,
    I want to create a view in the Service Requests library that shows all SRs that are not approved. How to configure condition that says: if a SR has related Review Activity which is In Progress, show that SRs?
    I couldn't find this when creating the view. Thank you.

    So here's the first problem with that: Which review activity? a SR can contain multiple RAs, so how do we decide if an arbitrary SR is approved or not? 
    As to the specific language you use (Any child RA is In Progress) you might want to look at the criteria from the default Change approval view, which does something similar: 
    <QueryCriteria Adapter="omsdk://Adapters/Criteria" xmlns="http://tempuri.org/Criteria.xsd">
    <Criteria>
    <FreeformCriteria>
    <Freeform>
    <Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/">
    <Expression>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity' TypeConstraint='CoreActivity!System.WorkItem.Activity.ReviewActivity']/Property[Type='CoreActivity!System.WorkItem.Activity']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="CoreActivity!ActivityStatusEnum.Active"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Context/Property[Type='CoreChange!System.WorkItem.ChangeRequest']/Status$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>$MPElement[Name="CoreChange!ChangeStatusEnum.InProgress"]$</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    </And>
    </Expression>
    </Criteria>
    </Freeform>
    </FreeformCriteria>
    </Criteria>
    </QueryCriteria>
    This is a simple AND criteria with two componets. one looking for a Review Activity (TypeConstraint='CoreActivity!System.WorkItem.Activity.ReviewActivity') which is related to the targetting CR by Contains Activity ($Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity';
    Context in this... context means the CR targeted by the view) where it's status (/Property[Type='CoreActivity!System.WorkItem.Activity']/Status$) is In Progress ($MPElement[Name="CoreActivity!ActivityStatusEnum.Active"]$). The other is filtering
    for the target change request's status ( $Context/Property[Type='CoreChange!System.WorkItem.ChangeRequest']/Status$) is In Progress ($MPElement[Name="CoreChange!ChangeStatusEnum.InProgress"]$). 
    You could convert the second criteria to point to SRs and SR status values, and then use the similar text for the first criteria. i'd recommend
    Anton's Advanced View Editor (or
    the free version) to do the criteria adjustment. 

  • Autorisation object for accepting service entry sheet in ML81n

    Dear Sapiens,
    What is the authorisation object for accepting service entry sheet in ML81n, here with my client some users are not getting the acceptance flag.
    kindly guide.
    Viji kantha

    Hi,
    I would like to share with you additional information on activities 75 and 76 to the different release objects:
    To accept the service entry sheet the user has to have both          
    activities 75 and 76. Please note that it is not possible to accept an entry sheet    
    without activity 76.                                                                               
    Activity 76 means maintain service entry sheets,                                 
    Activity 75 means accept service entry sheets.  
    In order to accept the entry sheet, you must change into the  
    change mode. In order to change into the change mode, you     
    need the activity 76.                             
    This activity 76 will be used in both creating and changing of the       
    entry sheet.                             
    Regards,
    Edit

  • Could not generate stub objects for web service invocation in ColdFusion

    I was able to call the services on the development box - windows server without any problem at all, everything was working fine but the moment i uploaded to a linux box production server I get this error. "Could not generate stub objects for web service invocation in ColdFusion"
    What could be the cause of this problem, i have googled a lot but no solution yet any ideas.

    Let me make it simple:
    1. Server A is our development server.- hosted inhouse with coldfusion installed.
    2. Server B is our production server - a linux server with coldfusion installed hosted on the internet
    3. Server C is a third party server containing the webservice - this is a windows server with .net
    coldfusion is installed on Server A, the code works here and can connect to server C without any problem. It gets the required respone
    but when the code was uploaded to server c it gives the error when we run it.
    now i tried just a simple code which works fine on server A below:
    <cfinvoke webservice="http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" method="ConversionRate" returnvariable="ConversionRateResult">
        <cfinvokeargument name="FromCurrency" value="EUR" />
        <cfinvokeargument name="ToCurrency" value="USD" />
    </cfinvoke>
    <cfdump var="#ConversionRateResult#" />
    But when i uploaded it to server C: it returns the error
    Cannot generate stub objects for web service invocation.
    Name: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL. WSDL: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL. java.io.FileNotFoundException: /opt/coldfusion8/stubs/WS728929035/NET/webserviceX/www/Currency.java (No such file or directory) It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors.
    The error occurred in /home/works/public_html/currency.cfm: line 7
    5 :     <cfinvokeargument name="FromCurrency" value="EUR" />
    6 :
    7 :     <cfinvokeargument name="ToCurrency" value="USD" />
    8 :
    9 : </cfinvoke>
    Now if you try the preceeding code on a windows environment  it works fine but the moment you put in the in the linux environment it generates this error
    I feel that the error may actually be :
    java.io.FileNotFoundException: /opt/coldfusion8/stubs/WS728929035/NET/webserviceX/www/Currency.java (No such file or directory)
    but i am clueless as to what to do next
    Ok so I tried the wget command on the linux
    this is what i got
    -bash-3.2# wget http://www.webservicesx.net/CurrencyConvertor.asmx?WDSL
    --2011-07-02 23:23:42--  http://www.webservicesx.net/CurrencyConvertor.asmx?WDSL
    Resolving www.webservicesx.net... 216.8.179.25
    Connecting to www.webservicesx.net|216.8.179.25|:80... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    2011-07-02 23:23:43 ERROR 403: Forbidden.

  • Prepare a binder for the service requests is not working

    Hi all I did migration from stellet 7.5 tp oracle cs 10gr3 but my component is not working well the problem is in getEnvironment I think can any body help
    thanks
    here is the code how can i fix it
    // prepare a binder for the service requests
    DataBinder serviceBinder = new DataBinder();
    serviceBinder.setEnvironment(SharedObjects.getEnvironment());

    What is Oracle CS 10gR3? Is this an E-business component? In that case this is not the appropriate forum...

  • Creating Activation code for LabVIEW Applicatio​n Installer

    Hi,
    How could we create Activation code for LabVIEW Application Exe to restrict use to Single PC using LabVIEW settings/add-ons.
    I think NI should provide in-built feature in Application Builder to generate activation code as required.
    Regards,

    Or just vote for this idea.
    Try to take over the world!

  • Intermittent Could not generate stub objects for web service invocation errors

    Hi,
    I'm hoping someone can point me in the right direction...We are running Coldfusion 8 and keep getting the stub objects errors intermittently.  The web service will work for a while then it will just stop working for while, then it will start back working again.  There doesn't seem to be any rhyme or reason to it, and we're not doing anything to the server in the meantime.  I don't even know how to begin to diagnose the problem.  Has anyone ever seen this or have any ideas of some things we can check?
    Thanks!
    Holli

    It's a load-balanced environment and we've turned the bad server off for now.  Also, I was wrong.  We're running CF7. I'm getting my environments mixed up. Sorry about that. You can still get to the service on the good server though. This is the link: http://www.asthmaagents.com/services/init.cfc?WSDL  After I posted this, we were able to get a little more info.  When I went directly to the service using that link, we got this error message off and on when we would refresh the browser:
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:
    Fault - Error attempting to create Java skeleton for CFC web service; nested exception is:
        coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : cfinit2ecfc338058839$funcRECORDSESSION]
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode:
    faultString: Error attempting to create Java skeleton for CFC web service; nested exception is:
        coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : cfinit2ecfc338058839$funcRECORDSESSION]
    faultActor:
    faultNode:
    faultDetail:
        {http://xml.apache.org/axis/}hostname:corpinternet1g
    Still, nothing is consistent and it's working fine on the other server.  I'm at a loss.  I really appreciate you taking a look at this! Any info will be helpful.
    Thanks!
    Holli

  • Create New Operations for data collection(View Object)

    ADF data collection(View Object) supports Create, CreateInsert, Delete, etc operations.
    And would like to add more operations like clear, etc. How do i create my own operation and add it to data control for all the view objects in the data control.
    Thanks
    JP

    hi esjp2000
    I'm not sure what kind or "clear operation" you are looking for, but I recently asked about a "clear search" in this forum thread:
    " ADF BC : "clear search" using executeEmptyRowSet() "
    ADF BC : "clear search" using executeEmptyRowSet()
    It is about the executeEmptyRowSet() method, and that might not be what you are looking for. (It might not even be what I am looking for because it is undocumented and that is what my question is about and I haven't had an aswer yet.)
    But ... it does provide an example of a "service method" Shay is referring to, in the example application:
    http://verveja.footsteps.be/~verveja/files/oracle/ClearSearchStuff-v0.01.zip
    (So, the specific service method implementation, "ScottServiceImpl.executeEmptyRowSetOnEmpWithParamsVOVI()" in the example, would be different in your case, depending on the specific "clear operation" you are looking for.)
    success
    Jan Vervecken

  • Can not find business object for Down payment request

    Hi,
    I want to make one workflow regarding down payment . For that i need business object of down payment request . But i cannot able to find it . Any budy have idea about that please tell me .
    Regards,
    Gurprit Bhatia,.

    Hi
    you have to do all steps in LSMW
    1.Maintain Object Attributes
    2.Maintain Source Structures
    3 Maintain Source Fields
    4 Maintain Structure Relations
    5 Maintain Field Mapping and Conversion Rules
    7 Specify Files
    8 Assign Files
    9 Read Data
    10 Convert Data
    11 Create Batch Input Session
    Please maintain source fields required.thats important.(maintain 2 level-header and item,also provide common name of column to link to 2 files
    Header file:sample
    RECORDNAME     EQUNR     Plant
    10001031                        10001031      3000
    Item file:sample
    RECORDNAME     ITEM NO     MATNR     Item catg   QTY
    10001031                             10      P-1001          L               1
    Regards
    Seenu

  • How to create Activex object for my Visual C++ object

    Hi,
    I am working on development on Acrobat 9.0 SDK. I am facing problem is that I can compiled Visual C++ source code to an api. I can test functions on this api on Acrobat 9.0 windows, but I could not test it on IE web browser, because I don't know how to create Activex object from my Visual C++ source code or its api.
    I read Acrobat 9 SDK document and found under C:\Acrobat 9 SDK\Version 1\PluginSupport\Tools\Visual Studio App Wizard has two files: Acro9PIWizInstaller.msi and setup.exe. I am not very sure those file are the key to help me to create Activex objects for my api.  Are they the one I need to create Activex object? If not, could you please advise me how to create Activex object for my api or C++ codes.
    Thanks a lot for any of your comments or advices.
    Thai

    Hi lrosenth,
    Thanks a lot for your information.
    My question is, on Javascript how do I call a function from .api. Below is my very simple test.
    I got a function on BasicPlugin.cpp under C:\Acrobat 9 SDK\Version 1\PluginSupport\Samples\BasicPlugin. See below.
    I added BasicPlugin.api on C:\Program Files\Adobe\Acrobat 9.0\Acrobat\plug_ins
         ACCB1 int ACCB2 MyPluginCommand() {
              int num = 5;
              return num;
    On my HTML file, I create an <Object> below:
        <OBJECT id="acrobatapp"
                classid="clsid:85DE1C45-2C66-101B-B02E-04021C009402">
        </OBJECT>
        <OBJECT id="acrobatpdf"
                classid="clsid:CA8A9780-280D-11CF-A24D-444553540000"   >
            <Param name="SRC" value="http://www.adobe.com/devnet/acrobat/pdfs/acrobat_digital_signature_appearances_v9.pdf">
       </OBJECT>
    On my Javascript. I call function MyPluginCommand() as below, but it is not working. How do I call function MyPluginCommand() on Javascript?
         var acrobatapp= document.getElementById("acrobatapp");
         var num= acrobatapp.MyPluginCommand();
         alert(num);
    Thanks for your support,
    Thai

  • Catalog for ITSM service requests

    Guys,
    Short question as I could not find the answer on the SAP site:
    Does anyone know if the webshop or catalog solution from CRM is available for the IT service management functionality of the CRM suite. Meaning, can employees create service requests based on catalog items, or is this self-service functionality only supported by input fields?
    Kind Regards,
    Skander

    Hi
    SAP Offers ICSS - Internet Customer Self Service functionality.
    The Product Catalog is used in Installed Base Management, Request Management, Service Contracts and Product Registration.
    Following link will be useful for the same:-
    http://help.sap.com/saphelp_crm60/helpdata/fr/9f/86283fd0ca8443e10000000a114084/content.htm
    Hope this will be useful
    Regards

  • How to create activity template for email campaign in CRM 5.0

    Hi,
    I tried attaching only a simple activity transaction type (Z005) to communication type email in SPRO > CRM > Marketing > Marketing Planning and Campaign Management > Campaign Execution > Define communication medium.
    After doing this, I was expecting that when I execute my campaign for channel email, emails will be sent to the customers and activity transactions of type Z005 will be created for each outbound email.
    Activity transactions are created, but I think I would like to maintain more details (description, responsible org etc.), which should be possible using activity template.
    I am struggling with creating activity template. I created a normal transaction of type Z005 and tried to maintain it as a template (which was obviously wrong), and the system gave me a message that I need to attach a template transaction of template type D.
    How do I create an activity template of type D?
    Any help would be appreciated.
    Regards,
    Kaushal

    Hi Kushal,
    As your are in CRM 5.0 you can create Activity template from SAP GUI. Just execute CRMD_ORDER and select your Activity type (ZOO5) and in Menu click on Extras->Template->Create  just enter required details such as (description, responsible org etc.)  save the template it will create Activity template number. While creating Email Campaign just enter activity template number.
    Execute Email Campaign it should create Activity with required details.
    Regards,
    Dipesh.

  • Problem in updating the notes for the service request

    Hi All,
    I am passing the following parameters to update the notes to the service request but not successful.
    Can anyone let me know the workable solution.
    set text
        ls_text-ref_handle  = 1.
        ls_text-ref_kind   = 'A'.
        ls_text-tdid       = 'S001'.
        ls_text-text_object = 'CRM_ORDERH'.
        ls_text-tdstyle    = 'SYSTEM'.
        ls_text-tdform     = 'SYSTEM'.
        ls_text-tdspras    = 'E'.
        ls_text-mode       = 'I'.
        lv_txt = 'Centre Update request for:'.
        ls_lines-tdformat = '*'.
        ls_lines-tdline = lv_txt.
        append ls_lines to lt_lines.
        ls_text-lines   = lt_lines.
        append ls_text to lt_text.
      clear ls_input_field.
      ls_input_field-ref_handle = 1.
      ls_input_field-ref_kind = 'A'.
      ls_input_field-objectname = 'TEXTS'.
      CLEAR ls_fieldname.
      ls_fieldname-fieldname = 'LINES'.
      CLEAR ls_fieldname-changeable.
      lv_logical_key = '1'.
      concatenate 'CRM_ORDERH' lv_logical_key into lv_logical_key.
      ls_input_field-logical_key = lv_logical_key.
      INSERT ls_fieldname INTO TABLE ls_input_field-field_names.
      INSERT ls_input_field INTO TABLE lt_input_field.

    Hi Surya
    Please, use this FM:
    DATA: lv_textobject TYPE thead.
      lv_textobject-tdid         = <TEXT ID>.
      lv_textobject-tdname   = <GUID OF SERVICE REQUEST>.
      lv_textobject-tdobject   = 'CRM_ORDERH'.
      lv_textobject-tdspras   = sy-langu.
      CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
          header          = lv_textobject
          savemode_direct = 'X'
    "      insert          = 'X'
        TABLES
          lines           = lt_text.
    Hope this helpful!

  • Alert to IC Agent when the status for the service request is changed

    HI,
       When a Service request status is changed to completed immediately the ic Agent should receive an Alert so that he can call the customer for survey. If he has not taken any action then the alert should be available in his inbox and an Alert should be sent to his manager that the Ic Agent has not done the survey.
    With Regards,
    Selvam T

    Hi,
    You may try in the service request action profile, when the status is set 'completed' then trigger the alert.
    For this you have to first configure the alert.
    Thanks,
    Pandu

  • DAC is running contineously for SIL Service Request Fact

    Hi All,
    Help is needed.!
    I am using DAC 7.9.4.
    I have started Incremental Load for the DAC.
    It went fine for first few runs, now it is showing that SIL Service Request Fact is running. This is running from last 4 days continuously.
    I have alreday checked the log files which are there in the folder Sessionlogs,Workflowlogs & DAC >> Log.
    I am not able to find out the error.
    The session log file has last lines as
    TRANSF_1_1_1> DBG_21641 MPLT_LOV_D_ROW_WID.LKP_W_LOV_G1: Index cache size = [4510650], Data cache size = [4510650]
    WRITER_1_*_1> WRT_8167 Start loading table [W_SRVREQ_F] at: Fri Nov 28 23:31:52 2008
    Please Help me to solve this problem.
    Its very urgent.
    Thank you in Advance.

    Hi All,
    Issue is being resolved.
    We did not defined Index on W_SRVREQ_F.
    Pls always check your table index defined or not.

Maybe you are looking for

  • Wipe G4 clean?

    i want to wipe my powerbook g4 clean. i have the leopard disk. Where do i start?

  • All pdf's are listed as Microsoft Word docs

    Is this normal?  Everytime I open a local PDF file using Adobe Digital Editions, the application lists it as "Microsoft Word" and lists the file extension as ".doc"... what's up with that?  It's not a file association issue, as PDF is assigned to Ado

  • Duplicate lines in worklist CAT2

    Hi, I would be very grateful if some one can help me with a CAT2 issue. I am working in ECC 6.0 , I Iexecute CAT2 ( perfil CAT classic) for a personnel number and I can see in a worklist WBS in which I can enter hours, when I enter hours for this WBS

  • SHD0 for VA02

    Hi i want to make payment terms not changed in VA02 so i try to use SHD0 . VBKD-ZTERM in program SAPMV45A screen 4303 but when i try to make invisible it is not working by transaction variant ., any where am i missing ..i avtivated the transaction va

  • No backspace on new ios7 calculator?

    Seriously? That's just plain silly.