Skip to Content

Web Service Error - SOAP ( <Note>Key for Root node missing in Request Message</Note>)

Hi Experts,

I created web service for Fixed Asset.

I try to update the fixed asset->OrganizationAssignment date through web service: I have downloaded web service and test it in soap URL. I got a below error.

Request:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">

<soap:Header/>

<soap:Body>

<glob:FixedAssetMassDataUploadUpdateRequest_sync>

<BasicMessageHeader>

<UUID>00163e02-6345-1ee3-abb7-d94d4d00d85c</UUID>

</BasicMessageHeader>

<FixedAsset>

<!--1 or more repetitions:-->

<OrganisationalAssignment ActionCode="02">

<ValidityPeriod>

<StartDate>2016-09-09</StartDate>

</ValidityPeriod>

<ProfitCentreID>AG2100</ProfitCentreID>

<!--Optional:-->

<CostCentreID>AG2150</CostCentreID>

</OrganisationalAssignment>

</FixedAsset>

</glob:FixedAssetMassDataUploadUpdateRequest_sync>

</soap:Body>

</soap:Envelope>

Response:

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

<env:Header/>

<env:Body>

<n0:FixedAssetMassDataUploadUpdateConfirmation_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:LDN:/1SAI/TAS4E2CF614A172BE4046E4:804">

<Log>

<MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>

<Item>

<TypeID>015(/CSG_RUNTIME/)</TypeID>

<CategoryCode>SEI.SCV</CategoryCode>

<SeverityCode>3</SeverityCode>

<Note>Key for Root node missing in Request Message</Note>

</Item>

</Log>

</n0:FixedAssetMassDataUploadUpdateConfirmation_sync>

</env:Body>

</env:Envelope>

Please help me solve this problem.

Regards & Thanks

Sankaran A

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2016 at 09:00 AM

    Hi Sankaran,

    You're getting this error message because you've not specified a fixed asset instance key. I'm not sure if you can use the key element with the web service but the UUID works with the web service.

    Try this:

    <FixedAsset>

    <UUID>Fixed Asset UUID Here</UUID>

    <OrganisationalAssignment ActionCode="02">

    Will

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.