cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping problem

Former Member
0 Kudos

All fields are belonging to E1Idb02 segment only.

If qualifier is 'BA' & fiikwaer eq 'CNY' then move some constant

If qualifier is 'BA' & fiikwaer NE 'CNY' and qualifier eq ''BE' & FIIBKCDE EQ 002

then "SWF"

If qualifier is 'BA' & fiikwaer NE 'CNY' and qualifier eq ''BE' & FIIBKCDE NE 002

then blank.

All this shud be mapped to address code field..

can some one guide me how can I do this. a screen shot wud be highly appreciated.

Thanks

kiran

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Write a UDF .

See below

If (qualifier.equals("BA")) && (fiikwaer.equals("CNY"))

{

return "constant";

}

If (qualifier.equals("BA")) && (! fiikwaer.equals("CNY") && (qualifier.equals("BE")) && (FIIBKCDE.equals("002"))

{return "SWF";}

If (qualifier.equals("BA")) && (! fiikwaer.equals("CNY") && (qualifier.equals("BE")) && (! FIIBKCDE.equals("002"))

{

return "" ;

}

Regards

Chilla

Former Member
0 Kudos

Hi,

you can achieve this using Graphical Function...

1) use <b>AND</b> operator for this-with qualifier is 'BA' & fiikwaer eq 'CNY'

2) Use <b>AND</b> and <b>Notequal</b> and <b>AND</b> operator-If qualifier is 'BA' & fiikwaer NE 'CNY' and qualifier eq ''BE' & FIIBKCDE EQ 002

then "SWF"

3)same as above..

please use the AND operators for checking condition and use constant to check the qualifier value.

qualifier->constant(BA) and filkware-->constant(CNY).

Please let me know if you need any help.

Thanks and Regards,

Chandu.

Message was edited by:

Chandu

null