cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping Scenario- Field Mapping with list of values

former_member595526
Active Participant
0 Kudos

Hi All,

I have requirement in message mapping. I need to map the value dynamically based on following. for example

EN -> ENGLISH

JP -> JAPANESE

ZH -> CHINESE

FR -> FRENCH

What is the correct technical approach resolve the above mentioned scenario? can we store it anywhere in CPI? Currently We plan to use script with switch case. Is there any other option available in SCPI(HCI).

Please help. Share any links which could address the above mentioned problem.

Thanks in Advance

Accepted Solutions (1)

Accepted Solutions (1)

josantonio_roldnluna
Participant

Hi,

You should create a Value Mapping artifact in your CPI package.

Refer this blog:

https://blogs.sap.com/2018/07/18/dynamic-value-mapping-in-sap-cpi/#

But you don't have to do java code. Only populate Value Mapping artifact.

And use Value Mapping brik (or function) in CPI Message Mapping.

Sorry but, now I don't have any tenant for take pictures about whole procces.

Regards,

Answers (0)