cancel
Showing results for 
Search instead for 
Did you mean: 

Production XML - multiple NC in one Production Request

Former Member
0 Kudos

I'm trying to submit 3 NC's in one production xml message using the manufacturing-xml tool (for testing). I've found out that If i submit the NC's individually, they log correctly against the SFC, but if i try to combine all 3 NC's in one produciton xml message I get the following error message: Error parsing the following XML message: "%MSG%" Exception is "%EXCEPTION%". com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method handleRequest. (Message 614).

Any help would be appreciated.

thanks

Kevin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Can you post the example?

Thanks,

Bakhtiyar

Former Member
0 Kudos

<PRODUCTION_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<NC_LOG>

<SITE>0240</SITE>

<NC_CONTEXT>TEST_SFC_002_MATRIX</NC_CONTEXT>

<ACTIVITY>XML</ACTIVITY>

<LOCATION>1</LOCATION>

<QTY>1</QTY>

<FAILURE_ID>40</FAILURE_ID>

<DEFECT_COUNT>1</DEFECT_COUNT>

<REF_DES>IC1500.23</REF_DES>

<COMMENTS>Zinnauftrag nio (0147)</COMMENTS>

<RESOURCE>DEFAULT_TEST</RESOURCE>

<OPERATION>OP_XRAY</OPERATION>

<COMPONENT>1662627</COMPONENT>

<NC_CODE>FAIL</NC_CODE>

<OWNER TYPE="USER">TESTER</OWNER>

</NC_LOG>

<NC_LOG>

<SITE>0240</SITE>

<NC_CONTEXT>TEST_SFC_002_MATRIX</NC_CONTEXT>

<ACTIVITY>XML</ACTIVITY>

<LOCATION>2</LOCATION>

<QTY>1</QTY>

<FAILURE_ID>40</FAILURE_ID>

<DEFECT_COUNT>1</DEFECT_COUNT>

<REF_DES>IC3070.1</REF_DES>

<COMMENTS>Zinnauftrag nio (0147)</COMMENTS>

<RESOURCE>DEFAULT_TEST</RESOURCE>

<OPERATION>OP_XRAY</OPERATION>

<COMPONENT>1684558</COMPONENT>

<NC_CODE>FAIL</NC_CODE>

<OWNER TYPE="USER">TESTER</OWNER>

</NC_LOG>

<NC_LOG>

<SITE>0240</SITE>

<NC_CONTEXT>TEST_SFC_002_MATRIX</NC_CONTEXT>

<ACTIVITY>XML</ACTIVITY>

<LOCATION>3</LOCATION>

<QTY>1</QTY>

<FAILURE_ID>40</FAILURE_ID>

<DEFECT_COUNT>1</DEFECT_COUNT>

<REF_DES>IC1500.9</REF_DES>

<COMMENTS>Zinnauftrag nio (0147)</COMMENTS>

<RESOURCE>DEFAULT_TEST</RESOURCE>

<OPERATION>OP_XRAY</OPERATION>

<COMPONENT>1662627</COMPONENT>

<NC_CODE>FAIL</NC_CODE>

<OWNER TYPE="USER">TESTER</OWNER>

</NC_LOG>

</PRODUCTION_REQUEST>

Former Member
0 Kudos

We are using following structure and it works:

<PRODUCTION_REQUEST>

<NC_LOG>

<LOCATION></LOCATION>

<SITE></SITE>

<OWNER TYPE="USER"></OWNER>

<NC_CONTEXT></NC_CONTEXT>

<RESOURCE></RESOURCE>

<OPERATION></OPERATION>

<NC_CODE></NC_CODE>

<COMMENTS></COMMENTS>

</NC_LOG>

<NC_LOG>

<LOCATION></LOCATION>

<SITE></SITE>

<OWNER TYPE="USER"></OWNER>

<NC_CONTEXT></NC_CONTEXT>

<RESOURCE></RESOURCE>

<OPERATION></OPERATION>

<NC_CODE></NC_CODE>

<COMMENTS></COMMENTS>

</NC_LOG>

<NC_LOG>

<LOCATION></LOCATION>

<SITE></SITE>

<OWNER TYPE="USER"></OWNER>

<NC_CONTEXT></NC_CONTEXT>

<RESOURCE></RESOURCE>

<OPERATION></OPERATION>

<NC_CODE></NC_CODE>

<COMMENTS></COMMENTS>

</NC_LOG>

</PRODUCTION_REQUEST>

Former Member
0 Kudos

I tried this request (using copy&paste) and it goes through fine. Getting exception in handleRequest method means that the integrity of XML message is compromised. Could it be a case that you have a bad symbol somewhere?

Also, what kind of client do you use to send Production XML message?

Former Member
0 Kudos

It's very strange. I'm using the web based Production XML interface from SAP. If i submit each NC_LOG individually, it works. It only fails with the error message when I combine all 3 into one production_request message, so a bad character wouldn't be the cause. is it possible that there is a setup/config not done to allow multiple nc's in one statement?

Former Member
0 Kudos

It's very strange. I'm using the web based Production XML interface from SAP. If i submit each NC_LOG individually, it works. It only fails with the error message when I combine all 3 into one production_request message, so a bad character wouldn't be the cause. is it possible that there is a setup/config not done to allow multiple nc's in one statement?