on 06-26-2008 3:18 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.