cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping - node creation with condition

11-10-2021 5:13 PM
DLange Participant
5089 views 2 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi community,

why is it no possible to bind the creation of an node in message mapping based on one element below this node? To make example:

In Pre exit the node E1KNVPM (right side) should be created only if specific values are in the PARVW element on the left side. When I add some logic / conditions e.g. with fixed values + ifWithoutElse none of those nodes will be created at all.

Thanks

Best regards

DL

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello

I think you need to adjust the context on the left side to be E1KVPM. And you should use CreateIf for your check.

I tested this out with a simple xml and it seems to work--see the image.

Thanks,
Marty

DLange
Participant
0 Likes

Hi Marty McCormick,

thanks. Proposed solution is working fine.

Thanks for that.

Best regards

DL

Answers (0)