Skip to Content
avatar image
Former Member

Calling SAP ME web services with out reference names

Hello,

When calling SAP ME web services from non SAP clients, is there a way the users can by pass the reference names? Just pass SFC details instead of SFCREF.

example:- Data collection web service expects SFCRef:- SFCBO:<SITE>,<SFC> rather than that, what we are expecting is just pass SFC name and get response from ME.

-Adarsha.K.S

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 01, 2015 at 11:52 AM

    Hi Adarsha,

    ME always accepts references only.you can do this in two ways,

    1. Form a string with respective business object + site + object and pass.(ex: SFCBO:<SITE>,<SFC>) and then pass as reference.

    2. through SOAP UI request XML. ex:

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

         <ParametricRequest_sync xmlns="http://sap.com/xi/ME">

      <ParametricRequest>

      <SiteRef>

      <Site>SITE1</Site>

      </SiteRef>

      <me:SfcRef>

      <me:Sfc>SFC1</me:Sfc>

      </me:SfcRef>

       <DcGroupRef>

      <DcGroup>ABC</DcGroup>

      <Revision>A</Revision>

      </DcGroupRef>

      <ParametricMeasure>

      <MeasureGroup>ABC</MeasureGroup>

      <MeasureName>PARAM1</MeasureName>

      <Actual>1</Actual>

        </ParametricMeasure>

      <ResourceRef>

      <Resource>RESOURCE1</Resource>

      </ResourceRef>

      <me:OperationRef>

                    <me:Operation>OPERATION1</me:Operation>

                    <me:Revision>A</me:Revision>

            </me:OperationRef>

      </ParametricRequest>

      </ParametricRequest_sync>

       </soapenv:Body>

    </soapenv:Envelope>

    hope this helps.

    Add comment
    10|10000 characters needed characters exceeded