Skip to Content
0
Aug 06, 2012 at 09:46 AM

WebService to find all revisions for an item

17 Views

Hi,

I am trying to use the Web Service ItemProcessingInBinding.FindItemByBasicData to find all

revisions for an item.

It says the Revision field is optional, but when I delete the Revision tag it gives me an empty response (not an error)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME">

<soapenv:Header/>

<soapenv:Body>

<me:ItemByBasicDataQuery_sync>

<me:ItemByBasicDataQuery>

<!--You may enter the following 3 items in any order-->

<me:Item>JOHANTEST</me:Item>

<me:SiteRef>

<me:Site>TEST1</me:Site>

</me:SiteRef>

</me:ItemByBasicDataQuery>

</me:ItemByBasicDataQuery_sync>

</soapenv:Body>

</soapenv:Envelope>

<SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SOAP-ENV:Body>

<ns2:ItemByBasicDataResponse_sync xmlns="http://sap.com/xi/SAPGlobal/GDT" xmlns:ns2="http://sap.com/xi/ME"/>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Br,

Johan