Skip to Content

Message Mapping Scenario- Field Mapping with list of values

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 06 at 03:04 PM

    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,


    Add comment
    10|10000 characters needed characters exceeded