cancel
Showing results for 
Search instead for 
Did you mean: 

WebService to find all revisions for an item

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Johan,

Soudns like a bug to me. For example if you use Data XChange interface it allows to export all Materials using a request like this:

<DX_REQUEST>

<EXPORT>

<ITEM_OBJECT>

<ROW>

<ITEM>ITEM1</ITEM>

</ROW>

</ITEM_OBJECT>

</EXPORT>

</DX_REQUEST>

Regards,

Alex.