How to Refresh cache of Service Call

Hi
Normally I use java WD, but am helping out a friend who uses ABAP flavour.
In the java WD, if the RFC changes, I just re-import the model so that the changes are made available to me in the Dev Studio. How do I do the equivalent in ABAP WD? ie How do I refresh/re-import the Service Call?
thanks

Hi Anton,
In WD ABAP, if we want to reimport the service call, we need to follow the same steps which we follow to create a service call.
One thing to notice is that wizard does not allow to give the same method name which we gave/system proposed during the last time service call creation. Hence in the second time when we reimport the service call provide all details and new method name. A new method will be created in Controller (if we use existing controller). During adapting the nodes new nodes/attributes will be created.
Hence the best approach is to before reimporting the service call is to delete the context, attributes and the method created during the previous service call creation.
Best regards,
Suresh

Similar Messages

  • How to refresh cache for hostname used in RFC Dest

    Hello @all,
    does anyone knows how to refresh the cache where (for example) the hostnames used in ABAP RFC Destinations are stored? I'm getting an error "Details: NiHsLGetNodeAddr: hostname cached as unknown" when I try to test my generated Trusted RFC Destination...
    Thanks in advance for any help!
    Kind Regards, Falk

    Hi Nilesh,
    unfortunately the solution does not work. Still I get the following error while testing the RFC Destination:
    DETAIL: NiPGetHostByName: hostname 'MHPAEAFC' not found
    Two things have been done.
    1. an entry within /etc/resolv.conf for the host mhpaeafc
    2. an entry within the hosts-file containing the IP adress, hostname and FQDN
    Do you have any idea why the SAP system still is not able to resolve the hostname?
    We tried 'ping' and 'nslookup' on the operating system hosting the SAP system with the result that the host can be resolved.
    Thanks for any help/hint.
    Best regards, Falk

  • How can I use web service call for edit a report with SSRS in Java Struts2 web application

    Hello im new in SSRS technologie and I would like make web service call at my SSRS server. Is sombody can help me ?
    - What API should I import in my project ? I use Maven can I found this API on Maven repository ?
    - I would like have an sample of code which initialize the ReportingService, do the call and process result.
    We use the SQL Server ReportingService 2008 R2 and currently we made HTTP call like this : http://<ssr_server>/ReportServer/Pages/ReportViewer.aspx?%2fSSRS_OMB%2fMyReport&rs:Command=Render&MyParam=<value>
    Regards

    Hi ombinte,
    SQL Server Reporting Services provides access to the full functionality of the report server through the Report Server Web service. Because the Report Server Web service is an XML Web service which uses Simple Object Access Protocol (SOAP) over Hypertext Transfer
    Protocol (HTTP), any SOAP-aware application or development tool can communicate with the SSRS web service.
    There are three primary ways to develop Reporting Services applications based on the Web service, please see:
    Develop applications using Microsoft Visual Studio and the Microsoft .NET Framework SDK.
    Develop applications using the rs utility (RS.exe), the Reporting Services script environment.
    Develop applications using any SOAP-enabled set of development tools.
    For more information about Report Server Web Service, you can refer to the following document:
    http://technet.microsoft.com/en-us/library/ms152787.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to stop the remote service call

    Hi
    On loading a screen i place some service call, now i move to next screen , but still the service call is running, i have to stop or cancel the last placed service call.Is there any way to stop the service call with out disconnecting the channel.
    thanks in advance
    karthy

    Here are the solutions I can think of (if no one here responds with something better):
    1. Open Settings and then Phone within the Settings screen and see if you can find a setting there for the call summary. The Phone submenu under Settings would be the most likely place.
    2. Open Settings on your iPhone and go through each item including all of the items within each main item. Within about 10 minutes you should be able to get through all of the settings and find the setting if it exists on your phone. There is no such setting on my phone but it is possible that Airtel has a custom menu with that.
    3. If you still haven't found it, you could check a) Airtel's support site and/or b) an Airtel specific forum.
    4. If still no luck, I would call Airtel and ask again and if you get the same response ask for the location of the setting (or to speak to someone who can tell you).
    Good luck.

  • How to refresh cache in TopLink, turn off cache

    How does one refresh TopLink's cache resulting from an event change? As an example, if a stored procedure is triggered by a process independent of TopLink, how do I tell TopLink to refresh its cache.
    Also, how does one turn off TopLink cache altogether. Thanks.

    I do not typically recommend turning the TopLink cache off all together. The cache is also key for managing object identity. If you have data that changes outside of your Java applications knowledge then there are several strategies to handling the stale data situation in the cache.
    1. Make sure you setup a locking strategy so that you can prevent or at least identify when values have already changed on an object you are modifying. Typically this is done using optimistic locking. There are several options (numeric version field, timestamp version field, some or all fields). Full details available in the docs.
    2. Configure that cache appropriately per class. If the data is being modified by other applications then use a weaker style of cache for the class. SoftCacheWeakIdentityMap or WeakIdentityMap will minimize how long de-referenced objects are held in the cache.
    3. Force a refresh if needed. On any query a flag can be set to force the query's execution to refresh the cache. (http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/toplink.903/tl_flapi/oracle/toplink/queryframework/ObjectLevelReadQuery.html#refreshIdentityMapResult())
    4. If the application is primarily read based and the changes are all being performed by the same Java application operating in a cluster you may want to look at TopLink's cache-sync feature. Although this won't prevent stale data it should greatly minimize it.
    5. One less frequently used option is to build infrastructure that can notify TopLink's cache when something changes on the database. This involves building your own call-out mechanism from a trigger into the Java application hosting the TopLink session and cache. In the Java space you can make use of the cache API to force refresh, update the object yourself, or mark it as dirty. I would discourage removing it from the cache at the object may still be in use.
    I hope this explains stale-data management at a high level. More details can be found throughout the TopLink documentation.
    Doug Clarke
    Product Manager
    Oracle9iAS TopLink

  • Flex addEventListener - how to refresh the screen during called event?

    I can't seem to find the answer to what I would have thought was a common problem.
    What I want to do this is:
    1. Show the Open File Dialog
    2. Process the file selected
    3. During processing the file, report progress to the User
    I have a file defined, and am using the browseForOpen and AddEventListener:
        public var fileInput:File = new File();
        fileInput.browseForOpen("Open file",[filter]);
        fileInput.addEventListener(Event.SELECT, onFileSelect);
        // Step 2 - function gets called to process the file
        private function onFileSelect(e:Event):void
            // Step 3 - do some processing, and at intervals report progress to the screen
    My issue is - any changes to the screen within the event listener do not get done until the function is complete.
    Any help would be appreciated,
    Thanks

    Hi Neal,
    I'd suggest breaking up your processing in Step 3 so that the player has a chance to step in and update the screen. Take a look at articles on "green threads" for the basic concept:
    http://blog.generalrelativity.org/?s=green
    http://code.google.com/p/greenthreads/
    Off the top of my head, some ways to break your processing up into chunks:
    set up a Timer that fires every n milliseconds, and a listener on the Timer events that processes a chunk of the file on each event
    set up an ENTER_FRAME event handler that processes a chunk of the file on each event
    chain the processing of your chunks of the file with callLater() calls
    Also, you may want to take a look at the ProgressBar component for reporting the progress of your processing.
    HTH,
    -- Tom Kraikit
    Flex SDK engineer

  • UCM IDC service call caching using SSXA

    Hi,
    I am calling a UCM idc service using SSXA's wcm:service tab. Using "__ssxaCacheEnabled" parameter i am able to cache the service call. But cache gets created for each user(private cache). As per our requirement the cache should be shared across the user(public cache).
    Can anybody please tell me how to achieve this.
    Thanks in advance.

    You should better ask this in the enteprise content management forum: WebCenter Content

  • How can I associate an A/P invoice to a service call?

    Hi,
    Customer wants this:
    1. They (Co. A) gets a service call from their customer say for lump sum of 400 dollars.
    2. They (Co. A)  give out a contract to technician say at 45 dollars an hours and travel expenses. This is SERVICE ITEM for a total expense of say 45*2+120=210.
    3. Technician (A Vendor BP in SAP Business one) produces a PO. Co. A pays off the Technician.
    How can I create a Service Call to show both ends of incoming revenue and outgoing expense in the service call?
    Appreciate your help.
    Thank you.

    Dear Syed Aleem,
    I have described some ideas, but if these ideas do not help you, please come back to us with more details of what you need.
    1. They (Co. A) gets a service call from their customer say for lump sum of 400 dollars.
    Here you can create the servce call with the information in the General Tab and in the Remark and in the subject. If this is not enough I would suggest to create an activity and write your remark and content in the activity.
    You can create an activity clicking on the Activity tab. In the activity there is a tab called linked documents and you can add documents linked to the activity and service call.
    2. They (Co. A) give out a contract to technician say at 45 dollars an hours and travel expenses. This is SERVICE ITEM for a total expense of say 45*2+120=210.
    You can use anothe activity or you can add Return from Technician under the Expenses tab of the Service call.
    3. Technician (A Vendor BP in SAP Business one) produces a PO. Co. A pays off the Technician.
    Now, create another activity (or your first one) and add the Purchase order and the payment to it.
    Please, let me know if my suggestions help you.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • WLPI - Problem with AI Service Call in Task with AI Service start - Variables

    Within WLPI I cannot succesfully call an AI service with variables that have been
    collected via an AI start. These variables have been collected ok as I have done
    an XPath on the variable and succesfully stored them in a string Variable. So
    a succesfully AI start is working. The issue is when I try to pass these values
    I have collected in their respective string variables to the next task which I
    will be executing an AI Service. I do this by setting a workflow variable and
    using the schema for the AI service. In the XML structure screen, I have put the
    string variable at the respective element. So on the left I have my element and
    on the right I have inserted my value (i.e, $strLastName).
    When I run the workflow, I do not see any inserts on the AI service I am calling.
    However, when I hard code a value in the XML schema "HELLO " + strFirstName it
    of course inserts Hello but not the value (i.e, strFirstName). So I know I have
    the correct assignment of variable to be set etc. Also, without the hardcoding
    it is inserting a blank row (i.e, value='').
    Please, help with this issue.

    Dear anonymous,
    I have created an AI application view and a BPM workflow that demonstrates how to
    populate an AI service call with strings extracted from an AI event response
    document. This workflow also demonstrates concatination of literal strings with
    string variables.
    Here are some steps that you will need to follow to setup this AI application view
    and workflow:
    1. startweblogic from either the
    'samples' or 'mydomain' found under WLI_HOME/applinteg/config. (Note, if you start
    from 'mydomain', be sure to populate your database repository with the scripts in
    WLI_HOME/repository/, WLI_HOME/processintegrator/ddl, and
    WLI_HOME/applinteg/dev/dbms/src/sql.)
    2. Open a web browser to http://<machine>:<port>/wlai
    Examples:
    from samples domain
    http://localhost:7603/wlai
    Login as system/system
    from mydomain
    http://localhost:7601/wlai
    Login as admin/security
    3. Create a folder named 'DBMS' and go into that folder
    4. Create a folder in the 'DBMS' folder named 'DBMS_A' and go into that folder
    5. Create an application view named 'db_av1'
    6. Add an event that triggers on insert named 'insEvt'
    7. Add a service named 'updTemp' that executes the following SQL...
    UPDATE <db info>.CUSTOMER_TABLE SET CITY=[CITY VARCHAR]WHERE LASTNAME=[LASTNAME
    VARCHAR]
    (Note: Replace '<db info>' your database schema and/or catalog information)
    8. Add a service named 'insSvc' that executes the following SQL...
    INSERT INTO <db info>.CUSTOMER_TABLE (FIRSTNAME, LASTNAME, CITY, EMAIL) VALUES
    ([FIRSTNAME VARCHAR],[LASTNAME VARCHAR],[CITY VARCHAR],[EMAIL VARCHAR])
    (Note: Replace '<db info>' your database schema and/or catalog information)
    9. Add a service named 'listCustomers' that executes the following SQL...
    SELECT * FROM <db info>.CUSTOMER_TABLE
    (Note: Replace '<db info>' your database schema and/or catalog information)
    10. Click 'Continue' deploy the the application view
    11. In the Deploy Application View screen make sure to specify an event router with
    the port corresponding to your domain. (e.g.
    http://localhost:7603/DbmsEventRouter/EventRouter)
    12. Bring up studio using 'studio_wlai.cmd/sh'
    13. Import the attached workflow package 'TestXmlVar.jar'
    14. Trigger the workflow my testing 'insSvc' from the Application View Summary web
    page. Fill in the service parameters with a firstname, lastname, city, and email.
    Press test to start the test.
    15. List the contents of CUSTOMER_TABLE by testing the 'listCusomers' AI service or
    by doing a select on that table in your database.
    Results:
    You should notice that the customer you inserted has a city name that is now in the
    form "New "<city>" City".
    Look at the Start node actions to see the population of the city and lastname string
    variables. Look at the request cocument in the AddToCity task for the updTemp
    service call by clicking edit on the request document variable. You will notice that
    the LASTNAME field was populated with the strLastName variable and the CITY element
    is populated with the strCity variable with "New " and " City" appended to both ends.
    Hope this works for you,
    Jim
    anonymous wrote:
    Within WLPI I cannot succesfully call an AI service with variables that have been
    collected via an AI start. These variables have been collected ok as I have done
    an XPath on the variable and succesfully stored them in a string Variable. So
    a succesfully AI start is working. The issue is when I try to pass these values
    I have collected in their respective string variables to the next task which I
    will be executing an AI Service. I do this by setting a workflow variable and
    using the schema for the AI service. In the XML structure screen, I have put the
    string variable at the respective element. So on the left I have my element and
    on the right I have inserted my value (i.e, $strLastName).
    When I run the workflow, I do not see any inserts on the AI service I am calling.
    However, when I hard code a value in the XML schema "HELLO " + strFirstName it
    of course inserts Hello but not the value (i.e, strFirstName). So I know I have
    the correct assignment of variable to be set etc. Also, without the hardcoding
    it is inserting a blank row (i.e, value='').
    Please, help with this issue.[att1.html]
    [TestXmlVar.jar]
    [jhinkey.vcf]

  • How to time a web service at back-end?

    I implemented a web service using Axis. This service is to receive an upload file and process it. Since it is a long process, I want to know and log how much time was used for each service call at the server side.
    The web service code is like:
    public class CTSService implements ICTSService, ServiceLifecycle {
    public String processUpload(byte[] zippedData, int zipSourceLength) {
    In the service method processUpload(), it receives byte array zippedData, which can be hundred of MBs. I want to log the time processUpload() receives and processes zippedData. The problem is that, when processUpload() is invoked at the back-end, the server has already received the zippedData, so we can't correctly compute the time of upload of zippedData.
    Does anyone have a good idea of how to time the web service call processUpload() at server side?
    Thanks!

    You can include below method in your code and call it.
    private void UpdateConfig(string key, string value, string fileName)
    var cFile = ConfigurationManager.OpenExeConfiguration(fileName);
    cFile.AppSettings.Settings[key].Value = value;
    cFile.Save();
    Here fileName is the full path + application name (eg: c:\project\WinApp.exe)
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • IDispatchMessageInspector.AfterReceiveRequest - bypass service call and return manually response

    Hi,
    I am using a service behavior class that implements IDispatchMessageInspector.AfterReceiveRequest to handle Health Check Service request that require skipping the actual operation's code and instead manually crafting a response message from "BeforeSendReply".
    I want to skip any processing on the request and instead want to return manual response from "BeforeSendReply".
    It has been pointed out in various forum threads that setting ref request parameter to null will skip the normal message processing and transition directly to BeforeSendReply. I have tracing enabled on my service and observe that underneath it still tries to
    deserialize the message and throws an exception:
    NullReferenceException: Object reference not set to an instance of an object.
    System.ServiceModel.Dispatcher.DispatchOperationRuntime.DeserializeInputs(MessageRpc& rpc)
    System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
    System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
    System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
    any idea how can I skip the service call and instead return a manual response back?
       

    This is not correct (setting request to null to bypass the service), unfortunately WCF doesn't have any out-of-the-box way of doing that.
    You can, however, use a few more of the extensibility points in WCF to make this scenario work. You'll need at least an IDispatchMessageFormatter (to prevent the message from being read / deserialized since it's not necessary) and an IOperationInvoker (to
    actually bypass invoking the service method). You can use the operation context to pass information between those extensibility points.
    You can find more information about those three interfaces in my ongoing blog series about WCF extensibility points:
    IDispatchMessageInspector: http://blogs.msdn.com/b/carlosfigueira/archive/2011/04/19/wcf-extensibility-message-inspectors.aspx
    IDispatchMessageFormatter: http://blogs.msdn.com/b/carlosfigueira/archive/2011/05/03/wcf-extensibility-message-formatters.aspx
    IOperationInvoker: http://blogs.msdn.com/b/carlosfigueira/archive/2011/05/17/wcf-extensibility-ioperationinvoker.aspx
    The code which uses those extensions to skip the operation based on a decision made in the message inspector:
    public class Post_55ef7692_25dc_4ece_9dde_9981c417c94a
    [ServiceContract(Name = "ITest", Namespace = "http://tempuri.org/")]
    public interface ITest
    [OperationContract]
    string Echo(string text);
    public class Service : ITest
    public string Echo(string text)
    return text;
    static Binding GetBinding()
    BasicHttpBinding result = new BasicHttpBinding();
    return result;
    public class MyOperationBypasser : IEndpointBehavior, IOperationBehavior
    internal const string SkipServerMessageProperty = "SkipServer";
    public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
    public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
    public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)
    endpointDispatcher.DispatchRuntime.MessageInspectors.Add(new MyInspector(endpoint));
    public void Validate(ServiceEndpoint endpoint)
    public void AddBindingParameters(OperationDescription operationDescription, BindingParameterCollection bindingParameters)
    public void ApplyClientBehavior(OperationDescription operationDescription, ClientOperation clientOperation)
    public void ApplyDispatchBehavior(OperationDescription operationDescription, DispatchOperation dispatchOperation)
    dispatchOperation.Formatter = new MyFormatter(dispatchOperation.Formatter);
    dispatchOperation.Invoker = new MyInvoker(dispatchOperation.Invoker);
    public void Validate(OperationDescription operationDescription)
    class MyInspector : IDispatchMessageInspector
    ServiceEndpoint endpoint;
    public MyInspector(ServiceEndpoint endpoint)
    this.endpoint = endpoint;
    public object AfterReceiveRequest(ref Message request, IClientChannel channel, InstanceContext instanceContext)
    Message result = null;
    HttpRequestMessageProperty reqProp = null;
    if (request.Properties.ContainsKey(HttpRequestMessageProperty.Name))
    reqProp = request.Properties[HttpRequestMessageProperty.Name] as HttpRequestMessageProperty;
    if (reqProp != null)
    string bypassServer = reqProp.Headers["X-BypassServer"];
    if (!string.IsNullOrEmpty(bypassServer))
    result = Message.CreateMessage(request.Version, this.FindReplyAction(request.Headers.Action), new OverrideBodyWriter(bypassServer));
    return result;
    public void BeforeSendReply(ref Message reply, object correlationState)
    Message newResult = correlationState as Message;
    if (newResult != null)
    reply = newResult;
    private string FindReplyAction(string requestAction)
    foreach (var operation in this.endpoint.Contract.Operations)
    if (operation.Messages[0].Action == requestAction)
    return operation.Messages[1].Action;
    return null;
    class OverrideBodyWriter : BodyWriter
    string bypassServerHeader;
    public OverrideBodyWriter(string bypassServerHeader)
    : base(true)
    this.bypassServerHeader = bypassServerHeader;
    protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
    writer.WriteStartElement("EchoResponse", "http://tempuri.org/");
    writer.WriteStartElement("EchoResult");
    writer.WriteString(this.bypassServerHeader);
    writer.WriteEndElement();
    writer.WriteEndElement();
    class MyFormatter : IDispatchMessageFormatter
    IDispatchMessageFormatter originalFormatter;
    public MyFormatter(IDispatchMessageFormatter originalFormatter)
    this.originalFormatter = originalFormatter;
    public void DeserializeRequest(Message message, object[] parameters)
    if (message.Properties.ContainsKey(MyOperationBypasser.SkipServerMessageProperty))
    Message returnMessage = message.Properties[MyOperationBypasser.SkipServerMessageProperty] as Message;
    OperationContext.Current.IncomingMessageProperties.Add(MyOperationBypasser.SkipServerMessageProperty, returnMessage);
    OperationContext.Current.OutgoingMessageProperties.Add(MyOperationBypasser.SkipServerMessageProperty, returnMessage);
    else
    this.originalFormatter.DeserializeRequest(message, parameters);
    public Message SerializeReply(MessageVersion messageVersion, object[] parameters, object result)
    if (OperationContext.Current.OutgoingMessageProperties.ContainsKey(MyOperationBypasser.SkipServerMessageProperty))
    return null;
    else
    return this.originalFormatter.SerializeReply(messageVersion, parameters, result);
    class MyInvoker : IOperationInvoker
    IOperationInvoker originalInvoker;
    public MyInvoker(IOperationInvoker originalInvoker)
    if (!originalInvoker.IsSynchronous)
    throw new NotSupportedException("This implementation only supports synchronous invokers");
    this.originalInvoker = originalInvoker;
    public object[] AllocateInputs()
    return this.originalInvoker.AllocateInputs();
    public object Invoke(object instance, object[] inputs, out object[] outputs)
    if (OperationContext.Current.IncomingMessageProperties.ContainsKey(MyOperationBypasser.SkipServerMessageProperty))
    outputs = null;
    return null; // message is stored in the context
    else
    return this.originalInvoker.Invoke(instance, inputs, out outputs);
    public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state)
    throw new NotSupportedException();
    public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
    throw new NotSupportedException();
    public bool IsSynchronous
    get { return true; }
    public static void Test()
    string baseAddress = "http://" + Environment.MachineName + ":8000/Service";
    ServiceHost host = new ServiceHost(typeof(Service), new Uri(baseAddress));
    ServiceEndpoint endpoint = host.AddServiceEndpoint(typeof(ITest), GetBinding(), "");
    endpoint.Behaviors.Add(new MyOperationBypasser());
    foreach (var operation in endpoint.Contract.Operations)
    operation.Behaviors.Add(new MyOperationBypasser());
    host.Open();
    Console.WriteLine("Host opened");
    ChannelFactory<ITest> factory = new ChannelFactory<ITest>(GetBinding(), new EndpointAddress(baseAddress));
    ITest proxy = factory.CreateChannel();
    Console.WriteLine(proxy.Echo("Hello"));
    Console.WriteLine("And now with the bypass header");
    using (new OperationContextScope((IContextChannel)proxy))
    HttpRequestMessageProperty httpRequestProp = new HttpRequestMessageProperty();
    httpRequestProp.Headers.Add("X-BypassServer", "This message will not reach the service operation");
    OperationContext.Current.OutgoingMessageProperties.Add(
    HttpRequestMessageProperty.Name,
    httpRequestProp);
    Console.WriteLine(proxy.Echo("Hello"));
    ((IClientChannel)proxy).Close();
    factory.Close();
    Console.Write("Press ENTER to close the host");
    Console.ReadLine();
    host.Close();

  • Technician wise filteration in service call

    Hi Experts,
    In service call report ,i want to see technician wise report, but i m not able to see technician parameter in stanadard report .can anyone suggest how to see technician wise service call report .
    Best regards,
    Mohit Gupta

    Hi Mohit,
    As suh there isno option as u say , for this u have to mke a hdr level udf nd enter the related technician name into udf and make a customised report  to see the technician wise service call report .
    Hope u got the required result
    rgds,
    Premraj

  • Removing Linked Solution to Service Call

    Hi ,
       I am using Service Call object for solutions thr' DI API.
    I got the below code thr' the help to delete the solution.
    Deleting service call solution (C#) Copy Code
    SAPbobsCOM.ServiceCalls oSrvCall;
    // Delete service call solution
    if (oSrvCall.GetByKey(2) == true)
        oSrvCall.Solutions.SetCurrentLine(1);
        oSrvCall.Solutions.Delete();
        oSrvCall.Update();
    My Problem is that I am unable to get Delete option in  oSrvCall.Solutions.
    How can I update the service call solutions?
    Please help me to achieve this functionality.
    Thanks,
    Aarti

    Hi JIe JIn...
    Only way you can use the Relationship Map..No other option the Standard one.
    Other option using the customized query report with the drill down option....
    Hope Helpful
    Regards,
    Kennedy

  • B2B customers Logging Service calls

    I think I'm correct in quoting from some documentation in that "Customers can log service calls through the site using support tickets"
    Is this correct and if so very briefly how does this happen and how do these tickets become service calls?
    I'm aftraid I'm not very familiar with the support module and it looks like only licensed users can create support tickets.

    Before Webtools was acquired by SAP, the support tickets were used as (then Praxis Software) the bug tracking tool for Webtools.  The entire service view is based on support tickets.  Synching them to service calls was basically a kludge, because the data structures were completely different.
    The support tickets are considered more of a customer facing converstation thread.  They might give rise to knowldege base articles or service calls, but it was considered best to create these as separate entities because a lot of chatter may occur that is support but not a chargeable service call. 
    Basically, support tickets pre-date Webtools integration with Business One and how they interacted with B1 was not a factor when they were created.  Given that, some people have used them to give support on their commerce sites.

  • How to save web service request key and response value in cache to reduce calling the service for same type of requests

    Hi
    I have a web service which return the response based on the request key.
    I need to save the key and the response value in cache for around 30mins
     to reduce the web service calls for better performance.
    Appreciate if any once can share a sample code

    using System.Runtime.Caching;
    public List<string> cachingwebserviceresponse()
    {//Create a cache key
    string strParameters = "1234";//Create a cache value holding object
    List<string> results = new List<string>();//Create a cache
    ObjectCache cache = MemoryCache.Default;//Assign key for the cache
    string cacheKey = strParameters;//Check whether the key exists in the cache//If exists assign the values from the cache instead of calling the webservice//else call the web service and add the response to the cache
    if (cache.Contains(cacheKey))
    results = cache.Get(cacheKey);
    else
    { //calling the web service client
    using (service.webservice fd = new service.webserviceContractClient())
    { //Call the web service function to get the results
    results = fd.DataSearch(strParameters);
    } //Create the cache expiration policy. I have created for 30 minutes.
    CacheItemPolicy cacheItemPolicy = new CacheItemPolicy();
    cacheItemPolicy.AbsoluteExpiration = DateTime.Now.AddMinutes(30); //Add the response to the cache based on the key
    cache.Add(cacheKey, results, cacheItemPolicy);
    return results;

Maybe you are looking for

  • STOCK REPORT FIFO wise

    Hello to ALL I want stock report FIFO WISE my Item valuation method is FIFO & Purchase & sale by batch wise,i want report to show that which quantity is remaining & what is the cost for that item Suppose i purchase I01 qty 2 Price 10 & after i purcha

  • Date in miliseconds

    hi, i try to store current date value as integer in my database so i will be able to compare dates by sql command simply like comparing integer values. this is the method i use when i code in PHP. so for this purpose i use Date classes getTime() meth

  • Office 2001 for Mac

    New user, so many questions..... But to start, Bought a used ibook, after trying open office and not liking it much,m thought I would try to install a copy of office 2001 for mac that I got from a friend. Tried to install and it says I need to run OS

  • Windows USERNAME in Adobe Form?

    I am creating a form in LiveCycle. I would like to capture the windows username of the form creator. The following javascript works, but not embedded in my Adobe form. Any advice? Thanks for the help. var ws = WScript.CreateObject("WScript.Shell"); v

  • Issue in SOAP PI  Scenario(With Load Test)

    Hi all, we are in the middle of load testing, Scenario: SOAP> PI.... here are the findings, 1. when the size of the xml is for say upto 60 line items, the message gets to PI and gets processed. 2. when the size of the xml is for 100 lineitems , the m