cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Error in posting order confirmation from SAP ME

Former Member
0 Kudos

Hello Experts,

When I try to post a confirmation for the operation from SAP ME, I am getting following error in MEINT:

Error evaluatin xpath '/ns1:CorrelatedYieldConfirmationRequest/ns1:site/ns1:site':Plant is not found.

I have checked the work flow configuration for  yieldConfirmationCorrelationRequest and could see that all settings are in place as furnished in the help documentation.

What could be the possible reason for this?

Thanks in advance.

Srinivas

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Srinivas,

Thanks for pointing it out to CTC. After looking at the installation guide and checking SAPMEINTCTC config the answer was there.

Use Correlation Workflow for Yield Confirmation Messages

Selected: SAPMEINT sends correlated production yield confirmation messages to SAP ERP. For more information, see Transfer of Correlated Production Yield Confirmation in SAP ME 15.1 application help.

Deselected: SAPMEINT sends individual production yield confirmation messages to SAP ERP. For more information, see Transfer of Production Yield Confirmation in SAP ME 15.1 application help. See also SAP Note 2003366 .

We got it working by deselecting the flag above. It wouldn't fit our business scenario.

Thanks,

Ricardo

0 Kudos

Hi,

I am also getting same error.

STD_INIT Error evaluating xpath /ns1: CorrelatedYieldConfirmationRequest/ns1:site/ns1:site' Plant is not found

In the Request XML, we have following

<CorrelatedYieldConfirmationRequest xmlns=""http://sap.com/xi/ME/erpcon""><messageID xmlns="http://sap.com/xi/ME/erpcon">10-65a51660:1549f5bdeec:18bc</messageID><site xmlns="http://sap.com/xi/ME/erpcon"><site>2010</site></site><orderNumber xmlns="http://sap.com/xi/ME/erpcon">1003040</orderNumber><router xmlns="http://sap.com/xi/ME/erpcon"><siteRef><site>2010</site></siteRef><router>50000048-1</router><revision>A-1</revision><routerType>U</routerType></router><operation xmlns="http://sap.com/xi/ME/erpcon"><siteRef><site>2010</site></siteRef><operation>50000048-1-0-0010</operation><revision>A</revision></operation><item xmlns="http://sap.com/xi/ME/erpcon"><item>319022700</item><siteRef><site>2010</site></siteRef><revision>A</revision></item><stepId xmlns

Former Member
0 Kudos

Hello Ricardo,

I had tried to post my reply when you raised this first but could not.

As regard the issue that you are facing, all I remember is that there were some table entries missing for the order / material. I am not sure how or why. But as far as I remember, CTC was run and after that we did not get this issue any more or have not heard from client regarding its repetition.

May be you can check with your MII counterpart and see if this could be done?

I will also try to contact my tech colleague and try and find out some inputs on this if possible.

Regrets but right now I am able to give only this input.

Regards,

Srinivas

sergiy_katerinich
Active Contributor
0 Kudos

Hi!

Please check how you defined "Partner/Customer Get Correlation Key Transaction Parameters" field for yieldConfirmationCorrelationRequest workflow.

Regards,

Sergiy

Former Member
0 Kudos

Hello Sergiy,

Thanks for the reply.

There is nothing maintained in Partner or Customer for "Get Correlation Key Transaction Parameters" field.

Following is maintained in the Get Correlation Key Transaction Parameters:

correlationKey=/*/ns1:site,/*/ns1:orderNumber,/*/ns1:stepId,/*/ns1:batchData/ns1:batchNumber,/*/ns1:erpCapacityCategory,/*/ns1:splitId,/*/ns1:rework;

Do I need to assign the same parameters under Customer or Partner field also?

Thanks

Srinivas

sergiy_katerinich
Active Contributor
0 Kudos

In your CorrelatedYieldConfirmationRequest message, do you actually have the xPath from the error message?

Former Member
0 Kudos

Hello Sergiy,

Following message is seen in MEINT for CorrelatedYieldConfirmationRequest

Error evaluating xpath '/ns1:CorrelatedYieldConfirmationRequest/ns1:site/ns1:site':Plant is not found.

Thanks

Srinivas

sergiy_katerinich
Active Contributor
0 Kudos

I mean, if you open the actual CorrelatedYieldConfirmationRequest message by means of Trace button of Queue Monitor, do you see that such path exists in the XML structure of the message?

Former Member
0 Kudos

No Sergiy. There is no error message displayed in the trace report. In fact in trace, I get to see only original document. Request and Response are not appearing.

I could see the following in the alarmrequest_sync trace:

<sch:MessageText>Confirmation Yield failed for the messageID=;site=; Batched Qty=; SHOP_ORDER=; reportingStep=;batch=. The error message is: </sch:MessageText>

Does it help?

Thanks

Srinivas

sergiy_katerinich
Active Contributor
0 Kudos

Yes, please check the structure of Original document in Trace. Request is empty because the error message terminated the process of generating this Request. As result, Response is empty too.

Former Member
0 Kudos

Hello Sergiy,

Regret the delay in replying back.

All my previous data from MEINT are gone so could not post the same here. But I have been in touch with my colleague from MII team and he is checking it out too.

But in the original document structure the only error message I saw was what I have mentioned in my previous reply.

Will revert back on this.

Thanks

Srinivas

sergiy_katerinich
Active Contributor
0 Kudos

Hi Srinivas,

You need to take the xpath from the error message and then check the structure of the Original Document whether this xpath exists in the document and whether it has a correct value of the site/plant.

Regards,

Sergiy

Former Member
0 Kudos

Thanks Sergiy. Will revert back if I get any further observations on this.

Thanks

Srinivas

Former Member
0 Kudos

Hello Srinivas,

I find myself on the same situation of your original issue. Were you able to find a solution for it?

I know it has been a couple of months since you posted it but I was hoping you could share what your solution was?

Many thanks!

Ricardo

0 Kudos

Dear Sergiy,

I am getting same Error : STD_INIT Error evaluating xpath /ns1: CorrelatedYieldConfirmationRequest/ns1:site/ns1:site' Plant is not found

In my request XM, I do have the site

<CorrelatedYieldConfirmationRequest xmlns=""http://sap.com/xi/ME/erpcon""><messageID xmlns="http://sap.com/xi/ME/erpcon">10-65a51660:1549f5bdeec:18bc</messageID><site xmlns="http://sap.com/xi/ME/erpcon"><site>2010</site></site><orderNumber xmlns="http://sap.com/xi/ME/erpcon">1003040</orderNumber><router xmlns="http://sap.com/xi/ME/erpcon"><siteRef><site>2010</site></siteRef><router>50000048-1</router><revision>A-1</revision><routerType>U</routerType></router><operation xmlns="http://sap.com/xi/ME/erpcon"><siteRef><site>2010</site></siteRef><operation>50000048-1-0-0010</operation><revision>A</revision></operation><item xmlns="http://sap.com/xi/ME/erpcon"><item>319022700</item><siteRef><site>2010</site></siteRef><revision>A</revision></item><stepId


xmlns

Former Member
0 Kudos

Hi Vikash,

See my answer below.

Thanks,

Ricardo