cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue DEBMAS06

Former Member
0 Kudos

Hi all,

I have a DEBMAS06 structure like this:

DEBMAS06

E1KNA1M

KUNNR

LAND1

NAME1

ORT01

PSTLZ

REGIO

STRAS

BRAN1

E1KNVVM

E1KNVPM

PARVW

KUNN2

and PARVW can have AG, RE, WE

KUNNR PARVW KUNN2

0000300027 AG 0000300027

0000300027 RE 0000300016

0000300027 WE 0000300016

I'm having problem mapping, I have a situation where,

if WE partner = KUNNR , assign PRIMARY else rest all Independent.

So here I need to query PARVW and see weather it has WE and later compare its KUNN2 with KUNNR.

Can someone help me with the mapping.

Thanks,

Srinivas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Srinivas,

You are dealing with the Queue with multiple values. SO this kind of complex runtime logic can be possible only with UDF.

If you can give receiver side structure also then it will be easy to suggest you the solution.

Thanks

Swarup

Former Member
0 Kudos

Swarup,

Receiver side MT is like this:

MT

DT

Name

Address

'

'

'

Addess_type where this PARVW field goes in, so it will be Primary type if parvw is WE and equals kunnr

else 'Independent type'. But parvw will come with other values also like AG,RE,RG,WE.

--

Srinivas

Edited by: Srinivas Davuluri on Jun 26, 2008 9:10 AM

Former Member
0 Kudos

Swarup,

Receiver side MT is like this:

MT

DT

Name

Address

'

'

'

Addess_type where this PARVW field goes in, so it will be Primary type if parvw is WE and equals kunnr

else 'Independent type'.

--

Srinivas

Former Member
0 Kudos

Swarup,

Receiver side MT is like this:

MT

DT

Name

Address

'

'

'

Addess_type where this PARVW field goes in, so it will be Primary type if parvw is WE and equals kunnr

else 'Independent type'.

--

Srinivas

agasthuri_doss
Active Contributor
0 Kudos

Srini,

>if WE partner = KUNNR , assign PRIMARY else rest all Independent.

Need to read the data and apply the logic hence go ahead with a UDF

Regards

Agasthuri Doss

Former Member
0 Kudos

can you help me out with the code