Removing a linked Activity from a Service Call via the DI Server

Has anyone done this or something similar? Below is the XML sent and received while trying to remove the last linked activity. I get a successful response but the Service Call isn't updated. If I try and remove an activity that isn't the very last I get an error. Am I doing something wrong, or is this a bug?
(XML posted below as it isn't previewing properly)

Original XML:
<?xml version="1.0"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><GetByKeyResponse xmlns="http://www.sap.com/SBO/DIS"><BOM><BO><AdmInfo><Object>oServiceCalls</Object></AdmInfo><ServiceCalls><row><ServiceCallID>1</ServiceCallID><Subject>tecbician issue</Subject><CustomerCode>C20000</CustomerCode><CustomerName>Norm Thompson</CustomerName><ContactCode>1</ContactCode><ManufacturerSerialNum></ManufacturerSerialNum><InternalSerialNum>A6-000011</InternalSerialNum><ContractID>0</ContractID><ContractEndDate></ContractEndDate><ResolutionDate></ResolutionDate><ResolutionTime>0000</ResolutionTime><Origin>0</Origin><ItemCode>A00006</ItemCode><ItemDescription>HP 600 Series Inc</ItemDescription><ItemGroupCode>102</ItemGroupCode><Status>-3</Status><Priority>scp_Medium</Priority><CallType>0</CallType><ProblemType>0</ProblemType><AssigneeCode>1</AssigneeCode><Description></Description><TechnicianCode>0</TechnicianCode><Resolution></Resolution><CreationDate>20100323</CreationDate><CreationTime>2336</CreationTime><Responder>1</Responder><UpdatedTime>1446</UpdatedTime><BelongsToAQueue>tNO</BelongsToAQueue><ResponseByTime>0000</ResponseByTime><ResponseByDate></ResponseByDate><ResolutionOnDate></ResolutionOnDate><ResponseOnTime>1428</ResponseOnTime><ResponseOnDate>20100325</ResponseOnDate><ClosingTime>0000</ClosingTime><AssignedDate>20100323</AssignedDate><Queue></Queue><ResponseAssignee>1</ResponseAssignee><EntitledforService>tNO</EntitledforService><ResolutionOnTime>0000</ResolutionOnTime><AssignedTime>2337</AssignedTime><ClosingDate></ClosingDate><U_Tested>2</U_Tested><U_Comment>Updated via a web service through the DI Server2</U_Comment><U_Type>hmm</U_Type></row></ServiceCalls><ServiceCallActivities><row><LineNum>0</LineNum><ActivityCode>1</ActivityCode></row><row><LineNum>1</LineNum><ActivityCode>2</ActivityCode></row><row><LineNum>2</LineNum><ActivityCode>3</ActivityCode></row></ServiceCallActivities><ServiceCallInventoryExpenses><row><LineNum>3</LineNum><PartType>sep_NonInventory</PartType><DocumentType>edt_Invoice</DocumentType><DocumentPostingDate>20100325</DocumentPostingDate><DocumentNumber>1100001</DocumentNumber><StockTransferDirection>bos_TransferToTechnician</StockTransferDirection><DocEntry>96</DocEntry></row></ServiceCallInventoryExpenses></BO></BOM></GetByKeyResponse></env:Body></env:Envelope>

Similar Messages

  • Provide WCF service caller to a SQL server that is access by a technical user account

    Hi,
    we have a WCF Service that is hosted in a windows service and access a SQL Server database. The database is accessed with the technical user the windows service runs with. That means nevertheless of the WCF service caller, the database is always
    accessed in context of the technical user. Furthermore some company users access the database via the SQL Management Studio and sign in via Windows Authentication.
    The management now wants us to provide a change log functionality. In case data is changed by the WCF service the caller should be logged. In case of using the SQL Management Studio the domain-user's account should be logged.
    Because both ways must be supported we want to use a table trigge to monitor insert/update/delete ddl events, but we got struggled by passing the WCF service caller to the SQL server database.
    Does anyone have a good idea for the issue? Any advice is appreciated.
    Kind regards,
    Christian

    Do you know a way to use the 'SET CONTEXT_INFO' expression wth LINQ2SQL?
    This is a T-SQL forum. There are other forms for LINQ.
    No, I don't know LINQ. Then again, why on earth would you? This would be a command you would submit when the WCF connects. Ah, of course, you are only connecting when you submit a query. Which you do through LINQ. Oh well. Could be an incitement to move
    away from LINQ maybe? :-)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Linking expense document to service calls

    Hello
    Can anyone tell me if it is possible to link expense documents to service calls, after they are created in Sales A/R module or after an approval procedure?
    I have found de following note (1052012)  that says that is possible, but i can not see how.
    Thanks in advance.
    Miguel Machado

    Hi Miguel,
    I'm not entirely sure where this conversation is going and why you are querying tables.
    From your original post you asked is it possible to link expenses that have already been added to the system, the simple answer is yes.
    When you are creating a service call, go to the Expenses tab and click on the Expense Details button.  From here click New Document.  Select the type of document you want to add such as Sales Order.  This automatically opens up the Sales Order form in Add mode, from here you can go in to Find mode (Cntrl & F), enter the Sales Order number that you want to add, when that is on the screen click OK.  This will move that sales order number to the Service Call expenses screen where you can update.
    Regards,
    Adrian

  • How to create Activity to a Service Call

    Hi,
    how can i create an activity to a service call?
    i have to create an activity first and then add a line in the activities collection of the service call, right?
    but i always get an error message, when i want to create the contact.
    Error-Message: "Invalid Code  [OCLG.CntctSbjct]"
    What is that? The contact has got a subject!

    ServiceCalls oSC = (ServiceCalls)oCompany.GetBusinessObject(BoObjectTypes.oServiceCalls);
            Contacts oContact = (Contacts)oCompany.GetBusinessObject(BoObjectTypes.oContacts);
            oContact.Activity = BoActivities.cn_Other;       
            oContact.Subject = sFreitext;
            oContact.StartTime = Convert.ToDateTime(dtDatum.ToString("yyyy-MM-dd") + " " + sVon);
            oContact.EndTime = Convert.ToDateTime(dtDatum.ToString("yyyy-MM-dd") + " " + sBis);
            oContact.CardCode = sKundennummer;
            int iRet=oContact.Add();
    what is wrong?

  • Service Call via RFC

    Hi all.
    I am currently starting with WDA and facing some problems in calling BAPI via RFC.
    We have a "plain" WAS without SD or other modules. Our data is distributed over multiple R/3 systems.
    When I try to implement a Service Call to the BAPI BAPI_CUSTOMER_GETLIST via RFC I got the error message that this FM is not available in the current system (WAS).
    Does anyone has experience in how to get this working?
    What is the best practice here?
    - Building wrapper on WAS which calls the FM via RFC on the other system?
    - Installing missing modules on WAS ?
    Any comment would be appreciated.
    Cheers,
    Sascha

    Hi again.
    To shorten development time we considered the following solution:
    We are generating web service proxy classes on the WAS for the BAPIs of the R/3 system we want to use. Afterwards we are generating wrapper function modules which will use these proxies. So we do not have to import all missing structrues cause these are generated automatically during proxy generation.
    I tested this already with BAPI_CUSTOMER_GETDETAIL2. Calling the wrapping fm which calls the service proxy works fine from se80. I do get a result via the service.
    Then i generated a service call for my WEBDynpro component using the wizard in WDA.
    Silly is that the generated code is not compilable cause of missing ,. Anyway after correcting I tried to run my webdynpro application and when the fm gets called via the generated service method I receive the following message:
    CODE           SOAP:111
    ERRORTEXT     Unallowed RFC-XML Tag (SOAP_EINVALDOC)
    Any ideas?
    Why is it working when i call the fm directly but not when calling it from my webdynpro app?
    Thanks in advance
    Sascha
    Message was edited by: Sascha Dingeldey
    Message was edited by: Sascha Dingeldey

  • HT4528 how do i stop my iphone 4 from doing random commands while talking on calls via the touch screen? Can i lock the screen while talking?

    how do i stop my iphone 4 from doing random commands while talking on calls via the touch screen? Can i lock the screen while talking?

    The iPhone has a proximity sensor located on the top of the phone near the earphone speaker that is supposed to automatically turn off the screen when it is close to your face while on a call, to prevent that very thing from happening.  If your phone isn't doing that, try cleaning your screen.  Also, if you put a screen protector on your phone made for a different model it may lack the cut-out that is supposed to keep it from blocking the sensor.  Try removing your screen protector to see if that helps.  If it does, get another screen protector.

  • Blocking service call with the same serial no

    Hi,
    One of my client having this requirement.
    they are having two service centers, In one service center they posted the service call for the particular serial no. where as another user of the service center department try's to enter the same service call with same serial no system should block until the first service call is closed for that serial no.
    Regards,
    Srinu

    Hi Srinu
    Not possible within the Scope of B1 if u want to have this scenario then u would have to involve the SDK consultant to help u further
    Regards,
    Manish

  • When I send a mail from my iPhone, it displays the mail server name to the receiver if the mail and does nog display my name or e mail address. This only since upgrading my iPhone5 to iOS7

    When I send a mail from my iPhone, it displays the mail server name to the receiver if the mail and does not display my name or e mail address. This only since upgrading my iPhone5 to iOS7. I've checked all settings etc. anyone have a solution please?

    Rectory wrote:
    Please can someone tell me how  I can change this so when I send a mail from my phone and from the IPad that it reads from me.
    You need a separate email address but you've already ruled out that solution.

  • Are there any shortcuts to connecting the printer with web services and/or the eprint server?

    (HP Officejet Pro 8600 Plus, IE, Windows 7)
     As I am unable to execute the instructions given by
    by Ryamond 1411, I'm looking for  other avenues to connect my printer to web services and/or
    the eprint server so I can release 4 emails for printout now stuck in que.

    Hello MurrayJ,
    The first thing I would do is follow step six in this document to set a static IP: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02817031&cc=us&dlc=en&lc=en&product=4023246&tmp...
    When it askes for DNS information, enter in Google's DNS. Preferred DNS = 8.8.8.8 Alt DNS = 8.8.4.4
    If that does not help, if you could provide me with the following information it would help me out. First, who is your ISP( Internet Service Provider, i.e. Comcast, AT&T, Verizon, ect.)? Second, who is the maker of your router? Lastly, what is the model number and firmware version of your router?
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • OniPhone 6 Plus. Connectinge 6 Plus. Connecting Bluetooth to my Prius bluetooth has been successful However, I am unable to answer or place calls via the bluetooth connection even though the connection has been established. Can anyone help with this?

    With my new iPhone 6 Plus. Connectinge 6 Plus. Connecting Bluetooth to my Prius bluetooth has been successful. However, I am unable to answer or place calls via the bluetooth connection even though the connection has been established. It worked well with my previous iPhone 4S. Can anyone help with this?

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • 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!

  • New Activity date in Service Call Activities folder

    Hi,
    Does anyone know how to get the new activity date that appears in Service Call Activities folder?
    Best Regards,
    Ana Silva

    Hi,
    Check this if it helps you start off :
    SELECT distinct T0.[ClgCode] as ' Activity Number', T0.[CardCode] as ' Business Partner',
    T0.[CntctDate] as 'System Date', T0.[Recontact] as 'Activity Date'
    FROM OCLG T0 left outer join OSCL T1 on t1.customer = t0.cardcode
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Why does TCP tunneling remove http 503 response from async WS call?

    Hi all,
    I am facing a bit of a weird problem.
    I have developed and tested an asynchronous BPEL process which among other things invokes a 3rd party web service.
    It works fine in development environment.
    When I migrate to the customers test environment I get a http 503 error back to the BPEL process (only difference in the BPEL code is the endpoint to the WS).
    Trying to figure out what went wrong I used a TCP monitor to tunnel through. This solved the problem!
    So why does going through a TCP monitor running on the BPEL server help?
    Continuing with the TCP monitor in production is obviously not an option, so not only do I need to figure out why using a TCP mon helps, but also figure out how to fix the underlying issue.
    I should mention that I am using BPEL version 10.1.3.3, and that I have testet the connection between the BPEL server and the 3rd party web service and found no problem.
    Any help is much appreciated.
    Regards,
    Aagaard
    Edited by: Aagaard on Mar 23, 2009 9:48 AM
    In Metalink in "TCP Tunneling the Oracle BPEL Process Manager" (document id 283484.1) it is suggested to change the "opt-soap-shortcut" property in the "Manage BPEL domian" from false to true if you want to use TCP tunneling.
    I don't see this property in the BPEL console or in the domain.xml file found at $ORACLE_HOME/bpel/domains/<domain used>/config.
    Could this be part of the problem?
    The BPEL server in the customers test environment is a clone of the BPEL server in our development environment, so I don't see how this could be the problem.

    Hi,
    Status update: Accessing the remote web service from the BPEL server works fine if not done through BPEL.
    My current thinking is that the problem may be linked to port numbers and firewalls. Obviously, there is an opening in the firewall from my BPEL servers (installed on port 8888) and to the remote web service running on port 19313.
    However, sniffing at the connection between BPEL and the TCPMon it can be seen that BPEL is trying to make a connection in a range of ports in the 1400s (so far I have seen between 1454 and 1481).
    In the Oracle documentation at [http://download.oracle.com/docs/cd/B31017_01/core.1013/b28940/portnums.htm] there is a list of default ports.
    The 1400 range does not appear anywhere.
    So my thinking is that maybe the TCPMon goes through a static port, which is opened in the firewall, and BPEL is trying to go through a dynamic range which can get to the TCPMon but not to the remote service.
    Any comments, ideas or suggestions is most welcome.
    Regards,
    Aagaard
    PS: James - Thank you for the assistance. As always it was very helpful.
    Edited by: Aagaard on Mar 26, 2009 8:45 AM
    The 1400 range may have to do with wireshark sniffer tool ...
    So that might explain it.

  • How to launch an application with elevated administrator account privilege from windows service even if the account has not yet logon

    Here is the case:
    OS environment: Windows 7
    There are two user accounts in my system, standard user "S" and administrator account "A", and there is a windows service running with "Local System" privilege.
    Now i logged-in with account "S", and i want to launch an application with elevated administrator account "A" from that service program, so here is the code snippet:
    int LaunchAppWithElevatedPrivilege (
    LPTSTR lpszUsername, // client to log on
    LPTSTR lpszDomain, // domain of client's account
    LPTSTR lpszPassword, // client's password
    LPTSTR lpCommandLine // command line to execute e.g. L"C:\\windows\\regedit.exe"
    DWORD dwExitCode = 0;
    HANDLE hToken = NULL;
    HANDLE hFullToken = NULL;
    HANDLE hPrimaryFullToken = NULL;
    HANDLE lsa = NULL;
    BOOL bResult = FALSE;
    LUID luid;
    MSV1_0_INTERACTIVE_PROFILE* profile = NULL;
    DWORD err;
    PTOKEN_GROUPS LocalGroups = NULL;
    DWORD dwLength = 0;
    DWORD dwSessionId = 0;
    LPVOID pEnv = NULL;
    DWORD dwCreationFlags = 0;
    PROCESS_INFORMATION pi = {0};
    STARTUPINFO si = {0};
    __try
    if (!LogonUser( lpszUsername,
    lpszDomain,
    lpszPassword,
    LOGON32_LOGON_INTERACTIVE,
    LOGON32_PROVIDER_DEFAULT,
    &hToken))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if( !GetTokenInformation(hToken, (TOKEN_INFORMATION_CLASS)19, (VOID*)&hFullToken,
    sizeof(HANDLE), &dwLength))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if(!DuplicateTokenEx(hFullToken, MAXIMUM_ALLOWED, NULL,
    SecurityIdentification, TokenPrimary, &hPrimaryFullToken))
    LOG_FAILED(L"DuplicateTokenEx failed!");
    __leave;
    DWORD dwSessionId = 0;
    WTS_SESSION_INFO* sessionInfo = NULL;
    DWORD ndSessionInfoCount;
    bResult = WTSEnumerateSessions(WTS_CURRENT_SERVER_HANDLE, 0, 1, &sessionInfo, &ndSessionInfoCount);
    if (!bResult)
    dwSessionId = WTSGetActiveConsoleSessionId();
    else
    for(unsigned int i=0; i<ndSessionInfoCount; i++)
    if( sessionInfo[i].State == WTSActive )
    dwSessionId = sessionInfo[i].SessionId;
    if(0 == dwSessionId)
    LOG_FAILED(L"Get active session id failed!");
    __leave;
    if(!SetTokenInformation(hPrimaryFullToken, TokenSessionId, &dwSessionId, sizeof(DWORD)))
    LOG_FAILED(L"SetTokenInformation failed!");
    __leave;
    if(CreateEnvironmentBlock(&pEnv, hPrimaryFullToken, FALSE))
    dwCreationFlags |= CREATE_UNICODE_ENVIRONMENT;
    else
    pEnv=NULL;
    if (! ImpersonateLoggedOnUser(hPrimaryFullToken) )
    LOG_FAILED(L"ImpersonateLoggedOnUser failed!");
    __leave;
    si.cb= sizeof(STARTUPINFO);
    si.lpDesktop = L"winsta0\\default";
    bResult = CreateProcessAsUser(
    hPrimaryFullToken, // client's access token
    NULL, // file to execute
    lpCommandLine, // command line
    NULL, // pointer to process SECURITY_ATTRIBUTES
    NULL, // pointer to thread SECURITY_ATTRIBUTES
    FALSE, // handles are not inheritable
    dwCreationFlags, // creation flags
    pEnv, // pointer to new environment block
    NULL, // name of current directory
    &si, // pointer to STARTUPINFO structure
    &pi // receives information about new process
    RevertToSelf();
    if (bResult && pi.hProcess != INVALID_HANDLE_VALUE)
    WaitForSingleObject(pi.hProcess, INFINITE);
    GetExitCodeProcess(pi.hProcess, &dwExitCode);
    else
    LOG_FAILED(L"CreateProcessAsUser failed!");
    __finally
    if (pi.hProcess != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hProcess);
    if (pi.hThread != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hThread);
    if(LocalGroups)
    LocalFree(LocalGroups);
    if(pEnv)
    DestroyEnvironmentBlock(pEnv);
    if(hToken)
    CloseHandle(hToken);
    if(hFullToken)
    CloseHandle(hFullToken);
    if(hPrimaryFullToken)
    CloseHandle(hPrimaryFullToken);
    return dwExitCode;
    I passed in username and password of account "A" to method "LaunchAppWithElevatedPrivilege", and also the application i want to launch, e.g. "C:\windows\regedit.exe", but when i run the service program, i found it do launch
    "regedit.exe" with elevated account "A", but the content of regedit.exe is pure back. screenshot as below:
    Can anyone help me on this?

    You code is not dealing with the DACL access to Winsta0\Default.  Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly.  You'll need to grant access to your user. 
    You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser().  You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
    thanks
    Frank K [MSFT]
    Follow us on Twitter, www.twitter.com/WindowsSDK.

  • Error while running SSIS package from Integration service or via Job

    Hi All,
    I encounter the below error while running SSIS Package from Job or integration service. However on execution completes success fully while running from data tools. The issue occurs after migration to 2012 from 2oo5 dtsx. PFB the error.
    SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on OLE DB Source returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by
    the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    A buffer failed while allocating 10485760 bytes.
    The system reports 26 percent memory load. There are 206110765056 bytes of physical memory with 150503776256 bytes.
    free. There are 2147352576 bytes of virtual memory with 185106432 bytes free. The paging file has 208256339968 bytes with 145642921984 bytes free.
    The package also runs successfully from other servers. This happens only in one of our server.seems like issue with some sql configuration.

    Hi ,
    Are you running using SQL Agent Job and Data tools on same server or different?
    If it is executing fine using Data tools and failing with Job it might be User credentials issue.Try
    to run Job with your credentials by using proxy .
    Regards,
    Prathy
    Prathy K

Maybe you are looking for

  • Not sure if Windows Vista will meet the video requirements

    I checked for all the requirements to download iTunes. My computer meets all of them except for _2GHz Pentium class processor or better._ My computer has only 1.90GHz. What does the mean? Will i not be able to put movies in my iPod nano [Third Genera

  • Regarding contact person creation from SAP SUS to SRM

    Hi, We are using Extended classic scenario and we are having SRM and SUS are in different clients. When buyer, ticks the SRM vendor as Portal vendor. XML is getting triggered to SRM SUS and vendor is getting created there. Also mails will be triggere

  • External HD suddenly "unreadable" - PLEASE HELP!

    Im in total panic mode right now, so I'll try and provide all the information exactly as I remember it. Last night, I wanted to move some things off my 350GB Maxtor (model escapes me at the moment, I'm at work...) to a DVD. The External HD is connect

  • Error opening URL

    Hello, I am working on a project in Flash CS 3 Profesional but I am using Actionscript 2.0.  I am using Adobe's Flash 8 Actionscript:  Training from the Source book.  I am attempting to open a file from a URL on my site and I am getting an error sayi

  • What's the best Mac for Photoshop?

    I daily work on layered photoshop files, up to 10 (ten) GB. I currently have a G5 with 8 gb of ram. I finally can afford to upgrade to a faster computer and need to figure out if the 8core 2.93GHZ at $5,899 is the best buy for me. The 8 core 2.26GHZ