Attachments to Service Request

Hi,
MY requirement is to save the attachments to a service request in some specific folder rather than the default folder. For that i am trying to get pointers by debugging the standard functionality to check where are these attachments stored and how are the parameters set or determined while saving the data to this default location. Any pointers in this regard would be appreciated.
Regards,
Radhika

Look at the class cl_crm_documents. I thin kthe Method create_with_table is the right one to debug. If not just try some others.

Similar Messages

  • Script to close old service requests from date X backwards

    Running 12.1.3
    We have a bunch of service requests that are old and need to be closed. Most are from 2005 back. There are around 1600 of them I would like to close but doing it by hand it not really an option.
    Is there a script I can run to close everything older than date X on a one time basis to clear these old ones up?
    Thanks!

    Please see these docs.
    How to Bulk Purge Attachments from Service Requests? [ID 567204.1]
    Service Requests: Archive/Purge Enhancement Requests [ID 431321.1]
    FAQ: CRM Teleservice and Service Requests [ID 743032.1]
    How to Purge Archive Programs for Service Modules [ID 1379645.1]
    R12.1.3 Performance Issue with 'Service Request Data Purge' Program [ID 1281517.1]
    What Tables Are Affected By "Service Request Data Purge" Concurrent Program? [ID 1450918.1]
    Thanks,
    Hussein

  • When creating self service request contains attachments and it's approved

    when creating self service request contains attachments and it's approved  is the attachments automatic transfer to the applet form or not?

    resolved

  • How do I upload and attach the file to Service Request

    [This thread was migrated from the On Demand Developer Forum in the old Siebel Community]
    drangineni
    New Contributor
    Hi,
    I am trying to upload a file and add it to a Service object as an
    attachement. I greatly appreciate if you could provide any code or
    sample...
    Thanks.
    Daya
    Product: CRM OnDemand
    10-21-2006 10:58 AM
    Re: How do I upload and attach the file to Service Request...
    BigSlick
    Valued Contributor
    On Demand doesn't support adding attachments via web services. One
    solution I've seen is depending on the scenario is to create a web link
    field on an object that's based on a custom text field. Your web service
    can populate that custom field and the web link can generate a dynamic
    link to the file in On Demand's UI. However, this depends on where the
    attachment is located and if the user needs some sort of firewall access.
    Hope this helps
    -BigSlick
    10-23-2006 11:43 AM
    ==============================================================================
    Click on the board or message subject at the top to return.

    Yes this still holds ture.
    Bardo

  • Attachments on the Request Form

    Attachments on the Request Form
    I know you can add file attachments in the initial customer request by selecting the Add and Review Order button and attaching a file on the Order Review form.  But is there a way to have a file attachment button on the request form that will attach a file to the serivce request the same way?
    We are using RequestCenter 2007_1
    thanks
    CMH

    Here is an approach:
    1. Implement something like this on the file server:
    http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=7361&lngWId=4
    (We use an inhouse version of this)
    I would change this script to post back the file name to the parent window as well as some naming/size validations, etc ...
    2. Call the file upload functionality from your service fo

  • Documents attached to Service Request are sometimes blank

    I have a few Service Requests where an attachment added via the console are blank when viewing or saving them. The documents show they have the size of the document that was uploaded and are less than the size limit for attachments. Most attachments are
    fine; even others on the same SR that has a "blank" attachment.
    Has anyone else seen this issue or know what may cause this issue? Possible solutions?
    Thanks!

    Thanks for the reply Dennis.
    We have seen this issue with attachments added via the console by the creator of the SR and other users of the console. The issue has happened at various times of day.
    I have been unable to reproduce this issue, but have multiple SR's with the issue created weeks apart. We have removed the original attachment that could not be opened and attached the same document from the same system and it works then.
    We are not using the portal at this time, so it is not related.
    Thanks!

  • GOS: create attachment sent by PI while creating Service Request Notificati

    Hi Friends,
    I am developing a custom FM which creates Service Request Notification(QMEL). 
    This FM will be called by PI with data using web services and gets back the results after execution of function module.
    PI receives the attachments also from the other systems which should be sending to ECC to create the attachments also.
    PI sends Filename, file type, file data text or binary which will be sent to FM to an internal table..
    I am trying to use the internal table data to create attachments in the FM. I am stuck here.
    Are there any thoughts how I should get data from PI to ECC to achieve the functionality??
    I appreciate if anyone gives me an idea how to proceed?
    Regards,
    Satya Denduluri.

    Hi,
    did you try business object SOFM ( transaction SWO1 ) ? It offers a lot of methods around attachments, documents.
    Regards
    Dirk

  • GOS: create attachment sent by PI while creating Service Request

    Hi Friends,
    I am developing a custom FM which creates Service Request Notification(QMEL).
    This FM will be called by PI with data using web services and gets back the results after execution of function module.
    PI receives the attachments also from the other systems which should be sending to ECC to create the attachments also.
    PI sends Filename, file type, file data text or binary which will be sent to FM to an internal table..
    I am trying to use the internal table data to create attachments in the FM. I am stuck here.
    Are there any thoughts how I should get data from PI to ECC to achieve the functionality??
    I appreciate if anyone gives me an idea how to proceed?
    Regards,
    Satya Denduluri.
    GOS: create attachment sent by PI while creating Service Request

    Hi,
    did you try business object SOFM ( transaction SWO1 ) ? It offers a lot of methods around attachments, documents.
    Regards
    Dirk

  • Field Changes not captured in processing log in service request

    Hi Experts,
    I have activated the processing log for service request in CRM, but I am only able to see the changes done to status,notes,attachments. As the field level changes are not shown in processing log in web ui, but the same is visible in the GUI in change log. Is there any specific setting which I need to do capture the field level changes? Please let me know on the same
    Thanks
    Abishek

    Hi Navin,
    Please navigate to the following SPRO path and update the customizing the field that you display in the processing log.
    SPRO->Customer Relationship Management-> Transactions -> Settings for Service Requests -> Settings for Processing Log -> Define Change History for Processing Log.
    Thank you,
    Regards,
    Mayoo

  • TREX - Service Request search

    Hello,
    I am trying to use TREX on my project.  Could you please help me implement these requirements:
    I need to add the « Free text » search criteria in the search view of component SRQM_INCIDENT_H.  This view is used to perform searches on the Service Request object (BUS2000223).
    The “Free text” search criteria should search within attachments linked to a Service Request.
    I came across these 2 terms on several websites on TREX : “SES : SAP Netweaver Enterprise Search or Embedded Search” and “SAF : Software Agent Framework”. What is the difference between them?
    Thank you.

    Dear Sonum,
    for 1) I would suggest that you first try to get the Service Requests full text indexed based on the SAP standard delivery. The instructions at Enable full text search using TREX (Embedded Search - Enterprise Search) can be helpful. But I've noticed that there where changes on the Embedded Search since CRM 7.0 EhP2. After you have the search working look for the BAdI that should be available to enhance the search with a custom field and then use the methods used in the test report ESH_TEST_SEARCH or better go via the BOL object of the Embedded Search.
    for 2) check out the improvement  Integrate the CRM attachment with the CRM embedded search which was developed by SAP on request of customers via the Customer Connection process.
    for 3) please check out the standard documentation Embedded Search - Search - SAP Library. As I haven't worked with SAF I can't say anything about it.
    Best regards
    Gregor

  • When there is web service request, we need to write to text file

    Hello, Im currently using a web service request (particularly the read request variable). What my application does is that when a user enters the url
    http://127.0.0.1:8001/WebService/Process?1=1&2=0&3​=1&4=0&5=0
    LED 1 and 3 turns on, while the other LEDs are turned off. I would like also to keep text file logs on what is the current time now, and the status of the LEDs. I want only to write to the file everytime the user enters the query in the URL (I dont want to write the logs every second or so, just only when the user presses the go button in the browser) 
    I can now write to a text file the current datetime stamp, and already setup the web services. But I cant figure out how can I execute this write process everytime the user fires up a web request.
    Basically, how can I write to a text file the status of the LEDs each time there is a URL request? 
    Attached is the project. Thanks
    Attachments:
    DOE_LabView_v2.zip ‏15 KB

    One reason you might not be getting any errors is that you aren't looking for errors. Connect up the error clusters and then display what you get.
    Where are you getting the path that you are writing to?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • CAN ANY body Help for service request conversion

    HOw we can start service request convesion. Breif info please.
    I know that we need to use api. CS_servicerequest_pub.create_servicerequest
    and jtf_task_pub,
    jtf_notes_pub.
    how can i start the base tables and some info about calling these apis. Do i need to call jtf apis also or only need to call service request pub is ok.

    Hi,
    1)You need to start with preparing a mapping between data in your legacy/old system and SR fields in Oracle apps. You may have to default few required fields in Oracle SR if you dont have them in legacy.
    2)Then identify which APIs to be used. This will depend on what SR related objects like notes, tasks, attachments etc. you have to create. You will have to call seperate APIs for each object. CS_servicerequest_pub.create_servicerequest creates only SRs, And not notes , tasks etc..
    3) You may have to create staging tables to import data from your legacy system. Plan and prepare the structure of these tables carefully to import all required information from legacy. Keep in mind the data types of these columns to map columns in Oracle tables. Also have extra columns for record status (new, error, success etc. ) and for error message if any.
    4) Prepare code(package and procedure) to call and run all required APIs to process your data from legacy system available in staging table. You can refer to Oracle documentation for info on APIs. Keep in mind to capture errors and failures due to different reasons.
    5) Register this procedure as program in Oracle apps and run it when data is available in staging table.
    6) You may have to run program multiple times after correcting any error records in each run.
    Hope it helps..
    Regards,
    Mohammed

  • Service Requests Open 5 days?/Service Requests Open and Closed Today

    Help!
    How would I determine service requests open greater then 5 days, I use the # of Open SR's but cannot seem to get a date to work.
    Also what is the best way to count the SR's open and closed on the same day?
    Thanks in advance.

    You need to include a TIMESTAMPDIFF function in your filter... something to the effect of
    TIMESTAMPDIFF(SQL_TSI_DAY,"Service Request"."Create Date",CURRENT_DATE) > 5
    Double check the column reference.
    Mike L

  • Error while creating a service request in WCEM E Service

    Hello Experts,
    We are getting below error while trying to a service request in WCEM E service.
    We are able to select the product from the catalog but when we click continue , but we are getting the below error
    Cannot process an HTTP request to servlet [Faces Servlet] in [main] web application.
    [EXCEPTION]
    com.sap.wec.tc.core.ui.processflow.WCFProcessFlowRuntimeException: Error while resolving ''EVALUATE'' operation for process flow servicerequest:serviceRequestCreationProcess, process step 1, source expression #{processFlowViewHandler.createServiceRequestUpdateProduct}, and target expression ; java.lang.NullPointerException: while trying to invoke the method com.sap.wec.tc.core.backend.genil.GenilDataContainer.getFirstChild(java.lang.String) of a null object loaded from local variable 'btServiceItemsAll'
    at com.sap.wec.tc.core.ui.processflow.ProcessFlowExceptionUtil.traceRuntimeException(ProcessFlowExceptionUtil.java:66)
    at com.sap.wec.tc.core.ui.processflow.ProcessFlowExceptionUtil.logAndRaiseRunTimeException(ProcessFlowExceptionUtil.java:108)
    at com.sap.wec.tc.core.ui.processflow.runtime.ProcessFlowOperationEvaluate.runtimeError(ProcessFlowOperationEvaluate.java:83)
    at com.sap.wec.tc.core.ui.processflow.runtime.ProcessFlowOperationEvaluate.execute(ProcessFlowOperationEvaluate.java:44)
    at com.sap.wec.tc.core.ui.processflow.runtime.ProcessStepTransition.executePreTransitionOperations(ProcessStepTransition.java:83)
    at com.sap.wec.tc.core.ui.processflow.runtime.ProcessStepTransition.execute(ProcessStepTransition.java:46)
    at com.sap.wec.tc.core.ui.processflow.runtime.TransitionableProcessStep.triggerTransition(TransitionableProcessStep.java:49)
    at com.sap.wec.tc.core.ui.processflow.runtime.ProcessFlowBase.consumeInput(ProcessFlowBase.java:148)
    at com.sap.wec.tc.core.ui.processflow.runtime.UIProcessFlowController.next(UIProcessFlowController.java:248)
    at com.sap.wcf.beans.uiprocessflow.ProcessFlowButtonsVCHandler.next(ProcessFlowButtonsVCHandler.java:65)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:96)
    at org.apache.myfaces.view.facelets.el.LocationMethodExpression.invoke(LocationMethodExpression.java:116)
    at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:68)
    at javax.faces.component.UICommand.broadcast(UICommand.java:120)
    at com.sap.wec.tc.core.runtime.jsf.vc.ViewComponent.broadcast(ViewComponent.java:108)
    at com.sap.wec.tc.core.runtime.jsf.vc.ViewComponent.broadcast(ViewComponent.java:108)
    at com.sap.wec.tc.core.runtime.jsf.vc.ViewComponent.broadcast(ViewComponent.java:108)
    at com.sap.wec.tc.core.runtime.jsf.vc.ViewComponent.broadcast(ViewComponent.java:108)
    at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:1028)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:286)
    at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1375)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
    at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:38)
    at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:170)
    at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.sap.wec.tc.core.filter.RequestSequencerFilter.synchronizeRequest(RequestSequencerFilter.java:134)
    at com.sap.wec.tc.core.filter.RequestSequencerFilter.doFilter(RequestSequencerFilter.java:111)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.wec.tc.core.filter.HighContrastFilter.doFilter(HighContrastFilter.java:91)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.wec.tc.core.filter.SecurityFilter.doFilter(SecurityFilter.java:194)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.wec.tc.core.filter.XSRFTokenEvaluationFilter.doFilter(XSRFTokenEvaluationFilter.java:126)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.wec.tc.core.uicomponents.renderer.util.MultipartFilter.doFilter(MultipartFilter.java:74)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.wec.tc.core.filter.FastSessionTimeoutFilter.doFilter(FastSessionTimeoutFilter.java:115)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.wec.tc.core.filter.SessionInitialisationFilterBase.doFilter(SessionInitialisationFilterBase.java:152)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.wec.tc.core.filter.HttpsSwitchFilter.doFilter(HttpsSwitchFilter.java:141)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.wec.tc.core.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:56)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: javax.el.ELException: java.lang.NullPointerException: while trying to invoke the method com.sap.wec.tc.core.backend.genil.GenilDataContainer.getFirstChild(java.lang.String) of a null object loaded from local variable 'btServiceItemsAll'
    at com.sun.el.parser.AstValue.invoke(AstValue.java:191)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at com.sap.wec.tc.core.ui.processflow.runtime.ProcessFlowOperation.resolve(ProcessFlowOperation.java:46)
    at com.sap.wec.tc.core.ui.processflow.runtime.ProcessFlowOperationEvaluate.execute(ProcessFlowOperationEvaluate.java:32)
    ... 86 more
    Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.wec.tc.core.backend.genil.GenilDataContainer.getFirstChild(java.lang.String) of a null object loaded from local variable 'btServiceItemsAll'
    at com.sap.wec.app.eservice.module.servicerequest.backend.crm.ServiceRequestCRM.setNewSRRefObjectData(ServiceRequestCRM.java:2343)
    at com.sap.wec.app.eservice.module.servicerequest.backend.crm.ServiceRequestCRM.createServiceRequestUpdateProduct(ServiceRequestCRM.java:615)
    at com.sap.wec.app.eservice.module.servicerequest.businessobject.impl.ServiceRequestImpl.createServiceRequestUpdateProduct(ServiceRequestImpl.java:260)
    at com.sap.wec.app.eservice.module.servicerequest.ui.handler.impl.ProcessFlowViewHandlerImpl.createServiceRequestUpdateProduct(ProcessFlowViewHandlerImpl.java:405)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    ... 89 more

    Hi All,
    I found the solution, the problem was that i didn't have the last SP of WCEM 3.0.
    I have an another question for you guys:
    Is it possible to customize(rename the fields) the workcenter/menu on the WCEM?
    Thanks a lot for your help
    Anass

  • Creation of service request based on an event in ECC

    Hello,
    I want to create service request based on an event in ECC HR. For e.g. events can be employee leaving, Absence for longer period etc.
    Is there a standard way of doing this ? If so could you please let me know the process/steps.
    Regards

    Adding a BOL entity and binding it with the main parent node entity will give access to the main BOL. Using which, we can traverse to the required object using GET_RELATED_ENTITY and change the respective attributes.

Maybe you are looking for