cancel
Showing results for 
Search instead for 
Did you mean: 

CopyValue not working after SAP PI EHP1 Upgrade

0 Kudos

Hi experts,

     The PI Dev system in our landscape was upgraded recently to PI 7.3 EHP1 version. (7.31). Post upgrade the CopyValue function used in a message mapping did not work properly.

Scenario looks like : R3 (Idoc) -> SAP PI -> Webservice (SOAP adapter).

So, messages failed to get updated to the webservice with APPLICATION ERROR in SOAP channel because a field on target side did not get generated.

Error in Receiver SOAP Channel:

Fix:

We were able to fix the issue by doing a slight change in the mapping. Initially, the output of a single CopyValue function was connected as input into three Substring functions. We created two more CopyValue functions and connected each output to the three Substrings. Now, the mapping works as expected. Please refer to screenshots given below:

Original Mapping: (caused error)

Modified Mapping: (Error fixed)

Is there any difference in processing when we use three different instances of CopyValue instead of one ?

We encounter the same issue in acceptance environment post upgrade. So we believe that this issue has something to do with upgrade. Please share your valuable inputs.

Accepted Solutions (0)

Answers (1)

Answers (1)

ambrish_mishra
Active Contributor
0 Kudos

Hi Manoj,

yes it is due to patch upgrade. I encountered the same issue and it was resolved by changing the index of the copyValue function. try changing 0 to 1 and check the initial mapping.

hope it helps!

Ambrish