cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass the list of customValues to SAPME_PAPI_Interface createNC service

former_member323997
Participant
0 Kudos
186

Hello,

I am getting question how to send a list of the customValues tags into the SAPME_PAPI_Interface createNC service. I have the example soupUI reqeust below. Can anyone advice me how to put the <non:customValues>xx</non:customValues> into the SAPME_PAPI_Interface createNC service??

Thanks a lot in advance.

Leon

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mep="mepapi:com:sap:me:nonconformance" xmlns:non="http://www.sap.com/me/nonconformance"> <soapenv:Header/> <soapenv:Body> <mep:createNC> <!--Optional:--> <mep:Site>0073</mep:Site> <!--Optional:--> <mep:Request> <!--Optional:--> <non:ncCodeRef>NCCodeBO:0073,FAILURE</non:ncCodeRef> <non:prodCtx> <!--Optional:--> <non:stepIdentifier> <non:operationId>OP_AFT</non:operationId> </non:stepIdentifier> <!--Optional:--> <non:resourceRef>ResourceBO:0073,R_HISRP2AANO</non:resourceRef> </non:prodCtx> <!--Optional:--> <non:comments>TestOfLogNc</non:comments> <non:failureId>33</non:failureId> <!--Optional:--> <non:dateTime>2018-09-27T17:11:16.628+01:00</non:dateTime> <!--Zero or more repetitions:--> <non:customValues> <non:fieldName>FAILURE_TESTSTATE</non:fieldName> <non:value>12342</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_RESPONSECODE</non:fieldName> <non:value>12343</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_TESTVALUE</non:fieldName> <non:value>12344</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_LOWERLIMIT</non:fieldName> <non:value>12345</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_UPPERLIMIT</non:fieldName> <non:value>12346</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_UNIT</non:fieldName> <non:value>12347</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_TESTSTEP</non:fieldName> <non:value>12348</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_TSDESCR</non:fieldName> <non:value>12349</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_PINNO</non:fieldName> <non:value>123410</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_MATNOCOMPONENT</non:fieldName> <non:value>123411</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_ADAPTERID</non:fieldName> <non:value>123412</non:value> </non:customValues> <non:customValues> <non:fieldName>FAILURE_MODULEID</non:fieldName> <non:value>123413</non:value> </non:customValues> <non:sfcRef>SFCBO:0073,TEST8900000000A0005</non:sfcRef> <!--Optional:--> <non:qty>1</non:qty> </mep:Request> </mep:createNC> </soapenv:Body> </soapenv:Envelope>

Accepted Solutions (0)

Answers (1)

Answers (1)

andrew_hopwood
Advisor
Advisor
0 Kudos

Hello Leon,

Your request is in the correct format. Pre-requisite is that the Data Fields should be defined, added to NC Data Type and associated with the NC Code; undefined fields will be ignored.

Regards,

Andrew.