Former Member

# Mapping Issue : Use generated output value as input for next source

Dear All,

I have a requirement as follows:

First :

If E1EDP20(Source) - Not Exist then map value '5' else map '3' to - LIN_1229 (Target). --- I am done with it.

Second:

If LIN_1229 Not Equal '3' then

E1EDP19-IDTNR(Source) to LIN_7140.(Target).

I am done with first case and the only problem with second case where as how can we capture and use the runtime value of first case.

Can you all please suggest me a way to achieve it.

Regards

Hari

10|10000 characters needed characters exceeded

### Related questions

• Former Member
Posted on Apr 10, 2008 at 01:11 PM

If E1EDP20 does not exist(means LIN_1229 Not Equal '3' ) then map E1EDP19-IDTNR(Source) to LIN_7140

Regards

Ratan

10|10000 characters needed characters exceeded
• Former Member
Posted on Apr 10, 2008 at 01:30 PM

Do you need to perform the checks in the same mapping?

If yes, then I guess you can still check based on the source segment E1EDP20

10|10000 characters needed characters exceeded
• Former Member
Posted on Apr 10, 2008 at 02:06 PM

> First :

>

> If E1EDP20(Source) - Not Exist then map value '5' else map '3' to - LIN_1229 (Target). --- I am done with it.

>

Let's consider it other way around.

If E1EDP20(Source) - Not Exist then map value '3' else map '5' to - LIN_1229 (Target).

It means when E1EDP20 does not exist then you will never get a value '3'. you will get only '5'.

So, lets come to the second point.

> Second:

>

> If LIN_1229 Not Equal '3' then

> E1EDP19-IDTNR(Source) to LIN_7140.(Target).

>

Now map it like this.

E1EDP20 -

> exists -

> Not -

> If ( then map E1EDP19-IDTNR ) -

> LIN_7140(Target).

I guess this is what you are looking for.

Regards,

Sarvesh