Skip to Content
avatar image
Former Member

Need for parameterised mapping?

Hi,

When do we use parameters in our mapping and why?

thanks in advance.

regards,

Ramya Shenoy.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Mar 04, 2009 at 07:08 AM

    Let me give you one simple example for your understanding.

    Say you have a Mapping where input has First Name and Last Name. Your target has the field Full Name.

    Now imagine you have to send this data to 3 different receivers. Receiver A expects the first and last name to be concatenated separated by a space, while B expects a . (period) and C expects a _ (underscore).

    With parametrized mapping, you can now specify this in runtime in ID. So with a single mapping you can handle all this conditions and also in case tomorrow there is a new system added which expect a # between the first and last name, all you need is a minor change in your ID in PRD rather than transporting your mapping from Dev -> QA -> PRD.

    Just a minor example. Hope you understand the usage.

    Also have a look at the blog mentioned by Joel for a better understanding.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 04, 2009 at 06:56 AM

    Hi Ramya,

    Refer: SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings

    /people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings

    Rgds

    joel

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 04, 2009 at 06:57 AM

    SAP's recommendation is to configure the IR part once in Dev environment and move it further to QA and Prod. In case of mappings with RFC lookups, certain ID related parameters like communication channel or business system name has to be provided which makes it necessary to be edited in QA and Prod environments. In order to avoid it, and change these parameters at configuration time (in ID), parameterized mappings have been eveolved.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 04, 2009 at 06:58 AM

    Hi Shenoy,

    Please go through this link . It will provide you all the details you require for your understanding.

    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/bbb7fd90f5332ee10000000a11466f/content.htm.

    let me know if i have given you the correct link or not ?

    regards

    Ashwin Kumar Dhakne

    Add comment
    10|10000 characters needed characters exceeded