cancel
Showing results for 
Search instead for 
Did you mean: 

context mapping - check many values to then map a single value

Former Member
0 Kudos

I am having problems getting the context right for some mapping and i am not sure it can be done successfully....

i have multiple values coming in like this:

http://img130.imageshack.us/img130/347/onlineadvert.jpg

i need to check to make sure that the 02 Type Code exists, if it does, i need to map that description across to the field.

if it does not exist i need to default in a value... however it is not proving to be as simple as that!

sounds simple.... but appears to not be the case...

the queue looks like this...

http://img249.imageshack.us/img249/4936/dispalyqueue.jpg

any thoughts on the best way to do this? i am sure a UDF could do it... but i have no idea where to begin as i am only an ABAP beginner... and my Java skills are worse... :o(

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

use ifWithoutElse - mapWithDefault.

Check this blog:

/people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool

Former Member
0 Kudos

Hi Stefan

i tried to over complicate it!

the simple approach works much better!

thank you!

Answers (0)