Many of us already started working on PI 7.1 installations but for some of our clients starting to work on PI 7.1 means upgrading the old XI/PI (3.0/7.0) system first. There are a few articles and blogs that show how to deal with such an upgrade/migration. Some of the objects from older (3.0/7.0) versions like adapters, adapter modules, java proxies just won’t work with the PI 7.1 release but on the other hand we have a few objects that will work with PI 7.1 but in a different way. Judging from the PI/XI forum on SDN I believe it’s worth to mention that some of most popular message mapping functions may not work with PI 7.1 as they used to with 3.0/7.0. The funcitons that I refer to are – If, Ifwithoutelse and Context caching functions. As you can see from SAP OSS Note 1264871 – Ifs,Ifswithout else, Context caching functions their behavior got changed a little bit with PI 7.1. Fortunately for us SAP prepared a nice help for correcting those mappings. As OSS Note 1264871 suggests aftr you import correct patch (SAPXIESR06P patch #16) a new report will be available at :
This report lists all message mappings in which functions that got changed are being used. Sample output from the report can be seen in the screen below:
There is one function migrated from PI 7.0 to PI 7.1 – ORDERS_to_MT_SalesOrder. As per OSS note mentioned in order to retain the old functionality we need to add one parameter to the init method of the Functions tab in our message mapping – retainlastValueofPreviousContext=true; as shown in the screen below.
Once you add this parameter you can run Message Mapping Upgrade report once more and you will see that the Retains Old Behavior column for our mapping got changed.
This way this mapping will work on PI 7.1 exactly as on PI 7.0 and XI 3.0 versions.
Hope this will info will help some of you and you won’t have to ask question on PI/XI forum why my mapping does not work after an upgrade.