cancel
Showing results for 
Search instead for 
Did you mean: 

Important :Mapping

Former Member
0 Kudos

HI experts

I have to create target file based on source field.

the source field should not be mapped to the target field.

Condition: If source field exsist create target file else error.

Any one has any idea???

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Dear Mahesh,

In mapping editor, do like this:

use If then else

compare sourse field with the constant (XYZ, use constant function for this in the same mapping area.)

Right click and assign it as xyz and compare two strings if source and constant are equal then map else reject.

Hope this will help you.

Best of Luck

Regards

Praveen

Former Member
0 Kudos

Hi,

Use if then else or EXIST funtion to find out the source field exists or not.

Regards,

Phani

Former Member
0 Kudos

hi mahesh,

make use of standard function EXISTS

We can handle the error by checking whether the source tag exists and if it does not we can pass an empty value, which generates the required target field.

regards

chandra

Former Member
0 Kudos

HI

the filter criteria is when this value is xyz then the detisnation file should be created.

I dont have to pass this to taget file . it is for check in XI. It is used just for filtering

Former Member
0 Kudos

Hi,

you could map the source to the exist-function and the result in if without else

if true then -> source value

Regards

Patrick

former_member208856
Active Contributor
0 Kudos

use standard function Boolean Function - IF (with Else) for this problem,

regards,

Sandeep Kaushik