cancel
Showing results for 
Search instead for 
Did you mean: 

constant values to the target field

Former Member
0 Kudos

Hi friends,

how to assign three constant values to the target field in XI..?

like :

constant--->Trget field.

There is one target field but 3 constant values have to be assigned....

is it thr FixValue fuction..?

Regards

Sam

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi,

Take 3 constant functions ans give that value(R1) to that value and map to the corresponding receiver.

In the target side only one node is available then repeat that node for 3 times and follow the same.

If you want to assign the Receiver value(R1) with some constant value then we can concate that 2 strings and send to the target field.

Former Member
0 Kudos

Hi,

Your requirment i hope would be either getting towards below requirment

But before that --> target element can get hooked up with only one content value

it can be either -> sum of all constant value from Source fileds or Value mapping of Fixed type can be used.

srini

ambili_jose
Explorer
0 Kudos

Hi,

In FixValues function, you can provide 3 constants depending upon the input.

Eg:-

If input = 1 , value = aaa

If input = 2 , value = bbb

If input = 3 , value = ccc

Source ---> FixValues function ---> Target

Is this what u looking for?

Regards,

Ambili

Reward if useful.

Former Member
0 Kudos

hello Ambili,

There r no conditions ....

cant we assign three constants so that the message will pick the relavant one at run time...

Former Member
0 Kudos

Thanks for ur immediate response ..

My requirement is as below..

there are three plants A, B, C for which there are receipent id for each like R1,R2 R3 respetively.

We need to assign the target field (Receipent ID) with constant values R1,R2,R3.But there are no conditions....also the message for receipent ID will sometime send R1, or R2 etc..

Regards

Sam

Former Member
0 Kudos

Hi,

source ->fix value mapping-->target.

in fix valuemapping define

A -


>R1

B -


>R2

C -


>R3.

Thanks,

Vijaya.

Former Member
0 Kudos

Hi,

Goto MM Editor

Conversion --> FixValues

Double Click

Fill in the "Key" "Value" pair as per u r requirment

Key Value

A R1

B R2

C R3

So from Source structure A comes it gets R1 in target

hope this is helpful

Srini

Former Member
0 Kudos

hello Vijaya,

there is no source field to be mapped with....

I feel this is bit tricky....

any idea how to do it..?

thanks

Sam

Former Member
0 Kudos

Hi

Try to sort out any thing from source structure which is unique , and helps u to identify what to be sent to target.

srini

former_member194786
Active Contributor
0 Kudos

Hi,

You replicate the node in the target field for 3 times and map each of them with constant value that you need.

Reward points if helpful.

Regards,

Sanjeev.

Former Member
0 Kudos

Hi Sam,

Is it like...U have A,B,C plants and R1,R2,R3 are their mail recipients respectively.

And based on mail recipient your target field should be assigned.

Is this you want?

Thanks,

Vijaya.

former_member194786
Active Contributor
0 Kudos

Hi,

Did you try my solution?

Regards,

Sanjeev.

Former Member
0 Kudos

Hi SDN people,

No one knows the answer? Please help

Former Member
0 Kudos

Hi,

I exactly didn't get your question.

But target field can be assigned only once.

or based on some conditions u can assign 3 constant values to the target field or through concatenation.

Or duplicate the target field and assign 3 constants to the field.

fixed value mapping is like...

suppose 01-JAN

02-FEB and soon..

when ever source is 01 JAN will eb assigned to the target.

Thanks,

Vijaya.

Edited by: Vijaya Lakshmi Palla on Jun 3, 2008 6:35 AM

Former Member
0 Kudos

Hi,

yeh you can do it through fix value mapping

Thanks

Vikranth

Former Member
0 Kudos

Hi,

do you want to have 3 target fields each with one constant?

In this case right click on target field and choose "duplicate subtree".

Regards

Patrick

Former Member
0 Kudos

Hi,

If we assign 3 constant values at a time to Target Field means which value do you want to pass finally to target??

case shld be like this if some condition is satisfied means we have to assigh one constant value, otherwise another constant vale have to assign

Regards

seshagiri