cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed value mapping not wprking properly

Former Member
0 Kudos

Hi

This issue looks very weird. I have 20 entries in my fixed mapping for the field " Manner Of Transport " that have Values. I have to maintain some other entries with no value. I am doing like this becasue if we have the other values and no value is maintained whole interface will fail.

Key Value

011 ZUS002_FDXMPS

015 TEST15_TEST15

010 ZUS003_FDXMPS

012 ZUS004_FDXMPS

013 ZUS005_FDXMPS

300 ZUS007_FDXMPS

015 ZUS008_FDXMPS

017 ZUS011_FDXMPS

060 ZUS012_FDXMPS

027 ZUS014_FDXMPS

001 ZUS002_UPSN

002 ZUS003_UPSN

004 ZUS004_UPSN

007 ZUS005_UPSN

009 ZUS008_UPSN

027 ZUS014_UPSN

650 ZUS010_GAML

660 ZUS014_EWCF

670 ZUS007_ITTT

680 ZUS014_ITTT

690 ZUS001_PAX1

700 ZUS002_PAX1

000

003

005

006

008

014

016

018

019

021

022

023

024

025

026

When I have key as '011' in the first three records, value is picked up fine. But for the 4th record if I have 015, it still picks up the first value. If I delete the first 3 records then it is picking up the correct value.

Why is this happening in Fixed Mapping.

Did anybody have this issue?

Thanks

Naga

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
When I have key as '011' in the first three records, value is picked up fine. But for the 4th record if I have 015, it still picks 
up the first value. If I delete the first 3 records then it is picking up the correct value.

For me it looks like a Context problem.....the issue is not with the 3rd value or the 4th value......if you give first 4 records as 011 then the first 4 will be mapped.....because the mapping is not going to the next ModeOfTransport node occurence....just play with the context of the source node and check....you can either try raising the context or use RemoveContext function....just check if this is the case......

Regards,

Abhishek.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello Abhishek and Srini

Thanks for your reply. I changed the context, it worked fine. I rewarded you points.

Naga

Former Member
0 Kudos

Hi

This problem would be Source / Target Interface Node mapping and context.

So please post u r Source / Target Interface structure with Occurence.

right click on the element in Message mapping editor of target "Diapay Queue" , do the same on each function u can see the transformation and find out at which point it's getting hit and why.

rgds

srini

Former Member
0 Kudos

Naga,

Can you give the mapping for that field and payload where you are using?

Regards,

---Satish

Former Member
0 Kudos

Hi Naga

This issue is very strange...I have an issue when "FixValues doesnot return default value" . I fixed with a one sap note ,maybe your values in the source are an different contexts.

This issue is only for these values or maybe is another value in differents positions?