on 02-02-2007 6:26 AM
Hi Team,
In my scenario, i did the mapping as follows:
SAPSide i am using MATMAS IDOC in this i have a segment E1MVKEM and fields are(production hierarchy level):
PRODH
VMSTD
PMATN_VERSION &
PMATN_EXTERNAL
Target side i have three fields like:
HIERLEVEL1
HIERLEVEL2
HIERLEVEL3
DESC1
DESC2
DESC3
and the for the first three fields is 1to1 simple mapping, it is as follows:
PRODH -> HIERLEVEL3
PMATN_VERSION -> HIERLEVEL2
VMSTD -> HIERLEVEL1
if PRODH exists THEN PMATN_EXTERNAL - > DESC3
if PMATN_VERSION exists THEN PMATN_EXTERNAL -> DESC2
if VMST exists THEN PMATN_EXTERNAL -> DESC1
1)the problem is mappin is executing successfully and response i am getting from the target system as successfully created, whereas DESC1 & DESC2 fields are nto getting populated in the target.
2)when i tried to change the context to parentnode E1MARAM for the said fields, all the three fields are carrying the values populated in the first segment i.e. PRODH & PMATN_EXTERNAL
3)when i checked the que it is showing the output value correctly but not getting poulated
i really cldn't make out, what i am missing... your expertise is highly solicited
regards
Hi,
try, you can map nodes as you want, and if the parent node is having multiple occurr..then you can map with empty constant.this is one way of solution.
Second way is removecontext and copy value/splitbyvlaue. check..
Let me clear the parent node and child node occurr..
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijaya Lakshmi,
Just once try to use remove context
if PRODH exists THEN PMATN_EXTERNAL --> remove context- > DESC3
Then mail me if it is not working..
Thanks and Regards,
sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijaya,
When the queue check is working why it was not populating i cant say , it should show as we have seen in Queue...
One thing have you mapped the target node properly with the source once try to check...
And also once test the payload in the Mapping.. r those values visible?
regards,
sridhar
hi vijaya
<b>1)the problem is mappin is executing successfully and response i am getting from the target system as successfully created, whereas DESC1 & DESC2 fields are nto getting populated in the target.</b>
just a normal check....have u mapped tha target node of descrptions? and if yes check if the source node is populated with the value. also u can check by removing the if condition and test if the fields are populated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.