Skip to Content
2
May 14, 2020 at 12:46 PM

SAP ByD ManageServiceOrderIn - ID of party with role Service Recipient missing

311 Views Last edit May 15, 2020 at 12:05 AM 2 rev

Hello

I am trying to use the webservice ManageServiceOrderIn to create service orders, but I'm faced with blocking errors when trying to execute the request with the following ServiceOrder bloc :

<ServiceOrder>
   <Name languageCode="EN">Test ATM WS</Name>
   <BuyerID>3000001</BuyerID>
   <DateTime>2020-03-28T12:00:00.1234567Z</DateTime>
   <BuyerParty>
      <PartyID>3000001</PartyID>
   </BuyerParty>
   <AccountParty>
      <PartyID>3000001</PartyID>
   </AccountParty>
   <ProductRecipientItemParty>
      <PartyID>3000001</PartyID>
   </ProductRecipientItemParty>
   <ShipToParty>
      <PartyID>3000001</PartyID>
   </ShipToParty>
   <BillToParty>
      <PartyID>3000001</PartyID>
   </BillToParty>
   <PayerParty>
      <PartyID>3000001</PartyID>
   </PayerParty>
   <ItemServicePerformerParty>
      <PartyID>3000001</PartyID>
   </ItemServicePerformerParty>
   <ItemVendorParty>
      <PartyID>3000001</PartyID>
   </ItemVendorParty>
</ServiceOrder>

Here is the response I get :

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
   <env:Header/>
   <env:Body>
      <n0:ServiceOrderBundleMaintainConfirmation_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:LDI:/1SAI/TAE735F216FA2EBB96040B1:804">
         <Log>
            <MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>
            <Item>
               <TypeID>017(/CL_CDA_ORGPT/)</TypeID>
               <CategoryCode>INC.BOI</CategoryCode>
               <SeverityCode>2</SeverityCode>
               <Note>1 additional sales areas exist for organizational unit EVFR01 (AULNAY)</Note>
            </Item>
            <Item>
               <TypeID>020(/CL_CDA_SRVHD/)</TypeID>
               <CategoryCode>ENV.CBM.BRU</CategoryCode>
               <SeverityCode>1</SeverityCode>
               <Note>Service level not determined</Note>
            </Item>
            <Item>
               <TypeID>005(//PAPR/PARTY_ADMIN/)</TypeID>
               <CategoryCode>SEI.FSI</CategoryCode>
               <SeverityCode>3</SeverityCode>
               <Note>ID of party with role Service Recipient missing</Note>
            </Item>
            <Item>
               <TypeID>001(/Y8ETX407Y_A7CEF899DE/)</TypeID>
               <CategoryCode>INC.BOI</CategoryCode>
               <SeverityCode>3</SeverityCode>
               <Note>*** Bénéficiare du service obligatoire dans l'onglet Parties impliquées. - Party Service Recipient is mandatory.</Note>
            </Item>
         </Log>
      </n0:ServiceOrderBundleMaintainConfirmation_sync>
   </env:Body>
</env:Envelope>

Even though I filled all the fields I could find regarding a "PartyID" possibly related to the service recipient, I could not get rid of the last two errors ("Bénéficiaire du service" = "Party Service Recipient" missing).

Here is a view of a Service Order in SAP ByD which highlights the concerned field (yellow rectangles = customer name) :

So I know how to find this info in ByD, but I just don't know how to fill it appropriately in the webservice.

Any ideas ? :)

Best regards,

Attachments