Quantcast
Viewing all articles
Browse latest Browse all 4841

Multiple parametric Data Collection using createMultipleParametricData API

Dear Experts,

For the first time we are using the SAP ME PAPI functionality in SAP MII. As per the requirement we need to do the data collection against a SFC from SAP MII Transaction. We are successfully able to do the data collection  for single parametric Measure using the SAP ME PAPI createParametricData. But now we need to do the data collection for multiple parametric measures in one call and for that we can see that the createMultipleParametricData API is available. The sample xml file from which we are getting the data for three parametric measures Temprature, Pressure and Volume is pasted below.

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<Rowsets CachedTime="" DateCreated="2014-02-10T06:52:01" EndDate="2014-02-10T06:52:01" StartDate="2014-02-10T05:52:01" Version="14.0 SP4 Patch 1 (Jan 8, 2014)">

    <Rowset>

        <Columns>

            <Column Description="Temperature" MaxRange="1" MinRange="0" Name="Temperature" SQLDataType="-9" SourceColumn="Temperature"/>

            <Column Description="Pressure" MaxRange="1" MinRange="0" Name="Pressure" SQLDataType="-9" SourceColumn="Pressure"/>  

            <Column Description="Volume" MaxRange="1" MinRange="0" Name="Volume" SQLDataType="-9" SourceColumn="Volume"/>

</Columns>

        <Row>

            <Temperature>32</Temperature>

            <Pressure>30</Pressure>

            <Volume>40</Volume>

        </Row>       

    </Rowset>

</Rowsets>

 

This is the input source from which we need to extract tag names and values under node-Row and then do Data Collection against an SFC with the help of Public API createMultipleParametricData.

But we are not able to assign multiple parameters as request parameters to this API.

Can anybody help us with what input format is required to assign multiple parameters to this API or to assign multiple parameters at a time?

It would be great if you can paste the request xml stucture also.

 

Image may be NSFW.
Clik here to view.
MultipleParameterQ.JPG
Image may be NSFW.
Clik here to view.
MultipleParameterQ1.JPG

 

 

Thanks in advance,

Sanjeev Sharma


Viewing all articles
Browse latest Browse all 4841

Trending Articles