cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.1 EHP1 Mapping with Variables feature

Former Member
0 Kudos

HI,

Anyone can point to a blog/something explaining how the variables works in the graphical mapping editor? (PI 7.1 EHP1)

It's working fine for simple one-to-one mapping, but as soon as queues and context come in I'm never getting the expected results.

Now I'm trying to populate a variable to be re-used in 2 differents target fields.

source -> useOneAsMany -> splitByValue -> trim -> variable.
variable -> target1
variable -> some logic -> target 2

Exception: values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD)

Are VARIABLE single value and cannot be used as a ResultList?

Edited by: Martin Lavoie Rousseau on Mar 8, 2011 7:45 PM

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Check this blog. Might be helpful

/people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable

Former Member
0 Kudos

The screenshot made me notice the occurence of the variable is 0..1 so my guess would be it can only be single value and not ResultList.

Also the Display Queue option is not working properly.

This looks like a nice feature on paper but is really limited.

Answers (1)

Answers (1)

Former Member
0 Kudos

Single Value only.