Skip to Content
author's profile photo Former Member
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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.