cancel
Showing results for 
Search instead for 
Did you mean: 

Values are not populated properly - if then else conditon

Former Member
0 Kudos

Hi,

I 've a requirement like...

If meinh = ZTU then lfimg/umrez else display the values of lfimg

I 've used if then else condition afterthat i mapped to target field lfimg. But, when i check the queue the result displays correctly, but when i execute the mapping from Test tab it displays all the values for LFIMG

My question here is ...Why the output is not display properly after i use if then else condition

Help me how can i get proper values to display at target

Kind regards,

Y.Raj

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi YeswanthRaj,

First try to check with simple if else then condition to check if you are getting values correctly. Use some constant values instead of ordernum,c and a......

Thanks

Amol

vijay_kumar133
Active Participant
0 Kudos

hi

As my understanding you are giving both cases true and false the same input.

If meinh = ZTU then lfimg/umrez else display the values of lfimg

if meinh = ZTU

then umrez

else lfimg

try this

if still its not working write a simple UDF for the same.

Regards

Vijay

Former Member
0 Kudos

Hi,

I 've done the exact mapping...

Pls check this URL.

http://4.bp.blogspot.com/_5ov9AjKNCiY/S6uLJv4kY3I/AAAAAAAABwU/g62W0JZ7WIs/s1600/Mapping.png

Regards,

Y.Raj

stefan_grube
Active Contributor
0 Kudos

In your example, you have to align the context of Ordernumber, c and a. Otherwise it will not work.

Former Member
0 Kudos

that is also i did.

I 've selected the fields based on the contexts which it comes from the source.

But am not getting the proper output

Former Member
0 Kudos

I had major problems with Graphical If Statements back in 2007... are you on XI3.0 or PI7.0? these may relate to you

please check these two OSS Notes:

https://service.sap.com/sap/support/notes/1053706

and

https://service.sap.com/sap/support/notes/1085331