cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC mapping issue-

Former Member
0 Kudos

dear experts,

my req is-

I have 1 node suppose Address

Address-

city

Hosue No.

now based on the value of city I have to map house No with IDOC fields.

for example if City = Delhi

map House no with E1EDKA1-ADRNR

if City = Toronto

Map House No. with E1EDKA1-ADNR1.

there can be multiple occurnce of Adress node as well.

Please advise how we can implement this?

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for the answers experts.

Former Member
0 Kudos

Hi Arya,

> for example if City = Delhi map House no with E1EDKA1-ADRNR

> if City = Toronto Map House No. with E1EDKA1-ADNR1.

if without else function

city equals (function) Delhi

map city to E1EDKA1-ADRNR

if without else function

city equals (function) Toronto

map city to E1EDKA1-ADNR1

......

Regards

Ramesh

Former Member
0 Kudos

I think you can use fixed value mapping, in which you can store the city and address parameter pair, pass it to UDF and get the output value from that.

Let me know if you want me to explain it in deep.

Thanks,

Hetal

Former Member
0 Kudos

Hi hetal,

Thanks for the reply.

can't we do it without writing UDF.

many thanks

Former Member
0 Kudos

Yes, you can do this without UDF. Use the standard functions.

Former Member
0 Kudos

Hi,

could u pls explain more which standard function can be used to implement this?

thanks in advance.

Former Member
0 Kudos

Give this a try -



City
        Equals                       If-without-else       Map House No -> E1EDKA1-ADNR1
Constant (Toronto)

I hope I am able to understand your requirement correct, because this looks like a pretty straight forward requirement.