Service Call Activity's attachments missing/not adding

Hi Experts,
First off, some technical data. We have SAP Business One 9.0(9.02.220) PL 12 running on MS Windows Server 2012 R2 Standard ontop of MS SQL Server 2012
Now as the title suggests, when adding attachments to activities in a service call through the DI-API, they do in-fact not get added to SAP(once you check the actual activity).
Strange thing is that this was working a couple of months ago and I cannot seem to get this working. Now to twist things up, in a development environment, with an older database, exactly the same SAP version and on MS SQL Server 2008 R2 - It works fine as it did before.
I remember reading SAP Note 1290959( 1290959 - Missing attachments after upgrading to 2007 versions), which pretty much describes our situation.
I cannot find the SAP note relevant to my situation. Does anyone know whether this is a known issue or am I just blind and overlooking the SAP note.
Thanks!

Hi Rikus,
While connecting on each environment, do you change the database server type?
Are you using DIS alone, or with B1WS and in such a case, are you using the version 1.2 which is specific to V9?
Regards,
Eric

Similar Messages

  • URGENT: Service Call Activity Issue

    Hi guys, I have a seriously irritating issue concerning the linking of an activity to service call.
    As of Service Pack 01, Patch 36 (at least as far as I know) I get the following error when attempting to create and link an activity to a service call:
    Error Code: -5002
    Error Description: A service call activity does not exist
    I use the folliwing code;
    If oServ.GetByKey(MRI) Then
                    If DocType = "QT" Then
                        oAct = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oContacts)
                        oAct.Activity = SAPbobsCOM.BoActivities.cn_Task
                        oAct.CardCode = oServ.CustomerCode
                        oAct.DocEntry = DocID
                        oAct.DocType = 23
                        oDoc = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oQuotations)
                        If oDoc.GetByKey(DocID) Then
                            oAct.Notes = "Sales Quote: " & oDoc.Comments
                        End If
                        oAct.Details = "Sales Quote " & DocID & " auto created by MRI " & MRI & ""
                        If oAct.Add <> 0 Then
                            oApp.SetStatusBarMessage("Error adding Linked Document Activity for Sales Quote " & DocID & " : " & oComp.GetLastErrorDescription)
                            oLog.WriteLog("Error adding Linked Document Activity for Sales Quote " & DocID & " : " & oComp.GetLastErrorCode & oComp.GetLastErrorDescription, EventLogEntryType.Error)
                        Else
                            oServ.Activities.Add()
                            oServ.Activities.ActivityCode = oComp.GetNewObjectKey
                            oServ.Activities.SetCurrentLine(oServ.Activities.Count() - 1)
                        End If
    If oServ.Update <> 0 Then
                        oApp.SetStatusBarMessage("Error linking Expense Document " & DocID & ":" & oComp.GetLastErrorDescription)
                        oLog.WriteLog("Error linking Expense Document " & DocID & ":" & oComp.GetLastErrorCode & "-" & oComp.GetLastErrorDescription, EventLogEntryType.Error)
                    End If
    the Activity is added without any problem, but the error comes when linking it to the Service Call (oServ.Update)
    Can you please help, I'm going insane with this problem.

    this is how i got it to work:
    ServiceCalls sc = null;
    sc = (ServiceCalls)company.GetBusinessObject(BoObjectTypes.oServiceCalls);
    if (!sc.GetByKey(callId))
          throw new Exception("Failed to add service call activity! Service call does not exist!");
    if (sc.Activities.Count == 1)
             sc.Activities.SetCurrentLine(sc.Activities.Count - 1);
             string temp = sc.Activities.ActivityCode.ToString();
             if (!string.IsNullOrEmpty(temp) && !temp.Equals("0"))
                     sc.Activities.Add();
    else
             sc.Activities.Add();
    sc.Activities.SetCurrentLine(sc.Activities.Count - 1);
    sc.Activities.ActivityCode = int.Parse(lastAcctivity);
    if (sc.Update() != 0)
             company.GetLastError(out errorCode, out errorMsg);
              if (null != sc)
                      System.Runtime.InteropServices.Marshal.ReleaseComObject(sc);
                      sc = null;
    throw new Exception(errorCode + " -> " + errorMsg);
    You could either use that piece of code or make an insert in SCL5.

  • Service Call Activity

    Hi all,
    Does anyone know how to create a service call activity? I've created a service call but now I need to create an activity for that service call. The DI help file states that you need to specify the ActivityCode, and then I assume you call the Add method. 
    But where or how do you obtain an ActivityCode? I've tried setting it to the newly created service call and also to a value of 1 but both of these attempts  did not work.
    Also the Add method does not return a value, so you can't determine whether or not the activity has been created unless you look at the service activiy table or the activity screen.
    Does anyone else have any experience in this area?
    Regards, Lita

    If you create the activity first, this will give you an activity code which you can then use for the service call activity object.
    Here is a sample adding a new activity to an existing service call.
    Private Sub ServiceCallActivities()
        Dim sboServiceCall      As SAPbobsCOM.ServiceCalls
        Dim sboContact          As SAPbobsCOM.Contacts
        Dim lngDocEntry         As Long
        'Create a new Activity
        Set sboContact = sboCompany.GetBusinessObject(oContacts)
        sboContact.CardCode = "SLU003"
        sboContact.Closed = tNO
        sboContact.ContactDate = Date
        sboContact.Details = "Details...."
        sboContact.Notes = "Sample notes..."
        sboContact.DocType = oServiceCalls
        sboContact.DocEntry = 31
        sboContact.Add
        'Get Activity Code
        lngDocEntry = sboCompany.GetNewObjectKey
        'Assign Activity to Service Call
        Set sboServiceCall = sboCompany.GetBusinessObject(oServiceCalls)
        sboServiceCall.GetByKey 31
        sboServiceCall.Activities.Add
        sboServiceCall.Activities.ActivityCode = lngDocEntry
        sboServiceCall.Update
    End Sub
    John.

  • Service call exception java.lang. missing soap end tag..

    Hi Experts,
    I did the soap to rfc sync interface and Create the java deployble client proxy application in nwds. In Nwds i maintaine the PI parameters message server host,port and exectue the application. it is working fine. but i was deploying the another j2ee engine server messager server host name and port parameters I am getting the error. that is Service call exception java.lang. mising soap end tag.
    Could you help me.
    Thanks & Regards,
    Veera

    hi,
    restarting the java stack would be enough. You can do that at SMICM. Before you should deregister all queues in SMQR so that incoming messages has to wait in the queue. Of coz all synchronous msgs would fail, as well messages going to your Java Inbound Adapters.
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Web Service Call with Basic Authentication does not work

    If I try to use Basic Authentication in my Web Service Client with the automatically created methods
    setUsername(inUserName)
    setPassword(inPassword)
    setAddress(inAddress)
    the application does not make a call. Did I forget something?
    Is it possible to use "Test Method" with Basic Authentication?
    Thank you.

    Thank you for your answer.
    But: I already read this article. And it doesn't help me.
    I use the following code:
                getMyServiceClient1().setUsername(inUserName);
                getMyServiceClient1().setPassword(inPassword);With this code I always get a java.lang.NullPointerException.
    The methods setUsername and setPassword are definded as follows:
    public void setUsername(String inUserName) {
            myStub._setProperty(Stub.USERNAME_PROPERTY, inUserName);
      public void setPassword(String inPassword) {
            myStub._setProperty(Stub.PASSWORD_PROPERTY, inPassword);
      }But if I look at the methods which are generated automatically by Sun Java Studio Creator I cannot find _setProperty.
    I also found this thread in your forum:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=54773

  • Service Call in SBO 2005 B PL 38 - Activity done but not added to call

    Hi All,
    I have updated PL 38, SBO 2005 B, I had created Service call, it was created successfully, now i have done activity of return but it dosent add to activity tab and gives us error -> "Generate SCActivity : A Service Call Activity dose not exist"
    Can any one has idea or solution of this please.
    With Warm Regards
    Chintesh Soni

    Hi
    I am not sure note :891809 is suitable for your issue or not.
    this note is about "The Activity exists but it seems that there is no link saved between
    Service Call and Activity."
    hope it could be helpful.

  • Formatted search - Service call

    Dear All,
    Im trying to write a formatted search on the Service call screen to retrieve the email address of a queue. The queue is in the general tab of the Service call. You can add user defined fields for the service call-title, service call -solutions, service call- activities etc.
    I have added the userdefined field on the service call-title.
    My formatted searches can access all the other header details on the service call but I cannot get the queue data in the general tab.
    Kindly assist,
    Thanks,
    Indraj.

    Hi Indraj
    If I understand correctly you cannot add a formatted search on the queue field? If this is not so, let me know. If it is the Queue field, you must select the radial button to the left for the queue field to be active. I tested by doing the following:
    1. Added a UDF on Title level called email (U_email).
    2. Added a query - SELECT T0.[email] FROM [dbo].[OQUE]  T0 WHERE T0.[queueID] = $[OSCL.Queue]
    3. Added a formatted search to the email UDF and linked it to the query. Set auto refresh on field "queue"
    This works 100% whenever I select a queue number.
    Kind regards
    Peter Juby

  • Service call to have duplicate function

    Hi All,
    I was trying to duplicate a Service Call, but the function is not available under Data Menu. Any idea why this function is missing from Service Call screen?
    Regards,
    MH

    Raise the case to helpdesk.

  • Formatted Search on Service Call

    Dear All,
    Im trying to write a formatted search on the Service call screen to retrieve the email address of a queue. The queue is in the general tab of the Service call. You can add user defined fields for the service call-title, service call -solutions, service call- activities etc.
    I have added the userdefined field on the service call-title.
    My formatted searches can access all the other header details on the service call but I cannot get the queue data in the general tab.
    Kindly assist,
    Thanks,
    Indraj.

    HI Indraj,
    On the user defined fields area if you want to use the formatted search, use must have to use the table and field names inside. (also if you have any field which not represented by variables eq: hidden fields):
    $[TABLE_NAME.FIELD_NAME]
    if you use normal fields area, and you have the variable on the form:
    $[$ITEMUID.COLUID.TYPE]
    where Type is:
    0 for gerenal
    NUMBER for numbers,
    etc.
    So Your solution is:
    SELECT T1.[email] FROM OSCL T0  INNER JOIN OQUE T1 ON T0.Queue = T1.queueID WHERE
    T0.[callID] =$[OSCL.callID]
    Regards,
    J.

  • Series Primary overlaps object Service Call

    hI SAP gurus,
    i am trying to create new series in Document Numbering for  'Service Call' , it doesn't allow me to create Series Numbering and following Error is showing ...
    Series Primary overlaps object Service Call
    Does any one know how should i create a new Series for Service Call..?
    i appreciate your help.
    Thanks and Regards,
    kaviprashu

    hi,
    ok i will quote this for you
    Symptom
    It is a legal requirement in Brazil that service calls are numbered.
    Solution
    To facilitate the legal requirement that users can trace and manage service calls efficiently, it is now possible to assign service calls to sequential series numbering. All marketing document numbering rules (search, overlapping numbers, manual series, and etc.) are also applied on service calls. The following fields and objects are added:
    In the Document Numbering - Setup window, the service calls object is added.
    To access the Document Numbering - Setup window, choose Administration -> System Initialization -> Document Numbering.
    In the Series - Service Calls - Setup window, the 'Primary' series is added.
    For new and upgraded companies, the application automatically creates the 'Primary' series for service calls.
    In the Numbering Series - Setup window, the 'Primary' series is added.
    In the Service Call window, the No. fields (selection of series and number) are added.
    To access the Service Call window, choose Service -> Service Call.
    In the Relate Series to Document - Setup window, the service calls object is added.
    For the service reports (Service Calls, Service Calls by Queue, Response Time by Assigned to, Average Closure Time, Service Monitor, My Service Calls, My Open Service Calls and My overdue Service Calls, Service Contract document - subtab Service Calls and Customer Equipment Card - subtab Service Calls):
    Call No. (label text) is changed to Call ID.
    The Document No. field represents the new call no. field.
    Series column is added to service reports.
    The Check Document Numbering - Selection Criteria window also includes checking of the service calls sequence.
    To access the Check Document Numbering - Selection Criteria window, choose Administration -> Utilities -> Check Document Numbering.
    For new created service calls, no record will be written to History Change Log when you add service calls (the same as the system behavior in the marketing documents).
    Only after the actual update on an already added service call, a history record will be added.
    There is no change in the already existing Call ID field, the behavior of this field stays the same.
    Other terms
    service calls, series, numbering, B1, sequential
    Header Data
    Released on     15.08.2011 15:48:33
    Release status     Released for Customer
    Component     SBO-SER-SCL Service Call
    Priority     Recommendations/additional info
    Category     Advance development
    References
    This document is referenced by:
    SAP Business One Notes
    1606253           Overview Note for SAP Business One 8.81 patch 07
    Validity
    Software Component
    Version
    SAP BUSINESS ONE
    8.81
    regards,
    Fidel

  • Asynchronous web service call using PL/SQL

    Hi Guys,
    i'm using Apex 4.1.
    Is that possible to invoke a web service asynchronously within PL/SQL code block ? If so,
    How can i access the return value of the service when execution of that web service completes ?

    Bolev wrote:
    We have (Oracle 10g) automated process (ETL) based on internal data. Now there is an offer to incorporate existing web service call (let's say for additional record verification) in this process. Service call (I do not know what type of it yet) is using data from remote database which is not ours.Web service calls from PL/SQL is not that complex. You can use the standard UTL_HTTP package as shown in {message:id=4205205}.
    I never heard anybody goes this way especially for ETL processes.Well, if you push a million rows through the ETL process and the call overhead for the web service call (assuming perfect network and web server response) is 1 sec, that translates into 277+ hours of runtime alone for the validation to be done via web service.
    So yeah - it would seem kind of silly to use something like a web service to validate large volumes ETL data.

  • Unable To Call Active FM Through Service Call - After Adding To a TP

    Hi,
    I am facing a weird problem.
    I have created a FM "Z_GENERIC_SERVICE" which is remote enabled. I have radio button for Remote Enabled and Start Immediately selected.
    Initially this FM/RFC was a local object (in $TMP package), created in local Function Group.
    I was able to execute this RFC from WDJ as well as from WDA via service calls.
    But later, I added this particular RFC to a Transport request. Hence it is inside a newly created Function Group now.
    And additionally, I recreated the service call to this RFC inside WD Component.
    This FM is in active state!
    Now while running application, I get following error:-
    The following error text was processed in the system KLL : The function module is not active or contains no code.
    The error occurred on the application server KLL_10 and in the work process 3 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: EXECUTE_Z_GENERIC_SERVI of program /1BCWDY/E6VJ1B35GQA0PLHLCWNC==CP
    Method: IF_COMPONENTCONTROLLER~EXECUTE_Z_GENERIC_SERVI of program /1BCWDY/E6VJ1B35GQA0PLHLCWNC==CP
    Method: ONACTIONATESTCALL of program /1BCWDY/E6VJ1B35GQA0PLHLCWNC==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/E6VJ1B35GQA0PLHLCWNC==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Any idea why this is happening?
    Thanks and regards,
    Amey Mogare

    Actually, FM was active but Function Group was inactive!

  • Adding the duration in Activity of Service Call

    Hi All,
    How to construct a query that will add all together the duration of my Activities in Service Call.
    Lets say for example,
    Activity 1 .............. 30 Minutes
    Activity 2 ............... 2 hours
    Activity 3 ................3.5 hours
    thnks
    vin.

    Hi,
    Try this:
    SELECT T0.ParentId,
    SUM(CASE T0.DurType
    WHEN 'M' THEN T0.duration
    WHEN 'H' THEN T0.duration * 60
    ELSE T0.duration * 1440
    END) 'Duration(minute)'
    FROM dbo.oclg t0
    WHERE t0.parentId >= [%0\] and parenttype = 191
    GROUP by T0.parentid
    Thanks,
    Gordon

  • Review Activity - Line manager has not been added as a reviewer

    I have System Center 2012 R2 Service Manager deployed on 3 servers (Management, Datawherhouse and Portal) with Windows Server 2012 R2.
    I notice that review field is empty and line manager account not added as reviewer, when I select check box in review activity for Line manager to approve.
    Abduljalil Abolzahab

    I've noticed some who've run into a similar issue who have the Active Directory relationship established but the users (emphasis on plural) who are being synced via the AD connector inside of SCSM exist in two separate OU's - I only draw this to your attention
    in the event your single AD connector isn't syncing everything
    into SCSM. Because again, while the relationship is correctly defined in AD it's effectively missing inside of SCSM.
    Assuming the above statement is fine, the next thing I'd investigate is the History of that particular RA - presumably from your post I'm led to believe that you may have and the History tab of the RA shows up blank?
    Also, in relation to my first questioncould you check the specific user inside of your Configuration Items inside of SCSM and verify the manager is in fact defined there?
    Adam Dzak

  • Unable to deserialize HTTP response content - SharePoint Designer Call Web Service Workflow Activity

    I am creating a workflow using SharePoint Designer 2013 and I'm using the call HTTP web service action.
    The web service call works (it is for a text messaging service, and I get the text message to my phone) however the workflow stops at this point with internal status "suspended" and gives the error message below when clicking on the "i"
    icon.
    I have tried setting the Accept and Content-Type request headers to "application/json; odata=verbose" (minus the quote marks) as other posts suggested but this doesn't make a difference (e.g. here: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/f0b18411-87d1-466b-aab0-1a0093605ed4/workflow-cannot-read-json-after-latest-sp15-patches?forum=sharepointdevelopment).
    I tried adding in the Content-Length header too but that made no difference.
    I tested calling another web service (https://sharepointurl/_api/contextinfo) and this works fine.
    Is there any way to get the workflow to accept this XML as the response? I don't actually really need anything out of the response content, but I do need the workflow to carry on after this step and carry out other activities after this call.
    Error message:
    Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.IO.InvalidDataException:
    Unable to deserialize HTTP response content. Expected ContentType : 'application/json', 'text/plain' or 'text/html', Received ContentType : 'text/xml'. Content (truncated) : '<?xml version="1.0" ?><outbound-message-delivery messageId="35d60bd2-a829-4382-8189-7a74de2d1cca"
    isError="false"><recipient msisdn="6427xxxxxxx" isError="false"></recipient></outbound-message-delivery>'. ResponseStatusCode : 'OK' Request Uri : 'https://www.txtserviceurl.co.nz/api/3/sms/out?to=6427xxxxxxx&body=test+from+workflow'
    at Microsoft.Activities.Messaging.SendHttpRequest.OnReceiveResponse(NativeActivityContext context, Bookmark bookmark, Object value) at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
    at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) Exception from activity SendHttpRequest HttpPost Switch<String> Sequence Microsoft.SharePoint.WorkflowServices.Activities.CallHTTPWebService
    Stage 1 Sequence Flowchart Sequence Testing 

    Hi,
    Thank you for your post.
    I'm trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact 
    [email protected]
    Lisa Chen
    TechNet Community Support

Maybe you are looking for