cancel
Showing results for 
Search instead for 
Did you mean: 

ME60 - Return a serialized parent SFC information with webservice

former_member323997
Participant
0 Kudos

Hi all,

I have a parent SFC that has been serialized and the status has been changed to Invalid, I want to return this serialized SFC step information using SfcService - FindStateByBaiscData, but there is the error returned from the response message, I am not sure the error means this doesn't support or some bug behind of this webservice?

Here is my sample:

Request:

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

   <soapenv:Header/>

   <soapenv:Body>

      <me:SfcStateRequest_sync>

          <me:SfcStateRequest>

            <me:SiteRef>

               <me:Site>TEST</me:Site>

            </me:SiteRef>

            <me:SfcRef>

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

               <me:Sfc>T_LEON_TEST_006</me:Sfc>

               <!--Optional:-->

               <me:SiteRef>

                  <me:Site>TEST</me:Site>

               </me:SiteRef>

            </me:SfcRef>

            <me:includeSFCStepList>t</me:includeSFCStepList>

         </me:SfcStateRequest>

      </me:SfcStateRequest_sync>

   </soapenv:Body>

</soapenv:Envelope>

Response:

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

      <SOAP-ENV:Fault>

         <faultcode>SOAP-ENV:Client</faultcode>

         <faultstring>java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of an object loaded from local variable 'convertedValue'</faultstring>

         <detail>

            <yq1:com.visiprise.frame.mapping.bean.BeanMappingException xmlns:yq1="http://sap-j2ee-engine/client-runtime-error">java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of an object loaded from local variable 'convertedValue'</yq1:com.visiprise.frame.mapping.bean.BeanMappingException>

         </detail>

      </SOAP-ENV:Fault>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Thanks a lot and best regards,

Leon

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Leon,

I see that similar issue of processing Invalid/Scrapped/Deleted SFC by FindStateByBasicData was fixed in ME 6.1. And some other changes were implemented in 6.0.3.4 and 6.0.3.5.

If you can replicate this in 6.0.3.5, please submit a support ticket.

Regards,

Sergiy