Professional Documents
Culture Documents
Value Mapping Replication For Mass Data in PI 7.0 or PI 7.1
Value Mapping Replication For Mass Data in PI 7.0 or PI 7.1
Value Mapping Replication For Mass Data in PI 7.0 or PI 7.1
Applies to:
PI 7.0 – PI 7.1
Summary
Here you’ll find a little example of how you can make a value mapping replication for mass data. It’s an
easier example for beginners. I hope you enjoy it and useful.
Author Bio
PI Senior consultant certified like developer and installation, worked in SAP Chile for 5 years,
including education area as PI instructor in different countries in LA, now working as senior
Business Consultant at NEORIS Chile.
Table of Contents
Integration Repository or Enterprise Service Repository (ESR)........................................................................3
Integration Directory..............................................................................................................................................4
Receiver Communication Channel.....................................................................................................................................5
Sender Communication Channel .......................................................................................................................................6
Sender Agreement ..............................................................................................................................................................7
Crear Receiver Determination ............................................................................................................................................8
Interface Determination.....................................................................................................................................................10
Receiver Agreement .........................................................................................................................................................11
How to Test?........................................................................................................................................................12
Scenario
Well, we need to complete our value mapping tables from an external data, may be you’ll find a lot of
solutions, but why invent the wheel, if we already have a service interface available for this purpose.
Ok here we go:
First, we must register the service in our java proxy, to do this you have to put this link on your browser,
remember change the host and port of this for your own data.
http://<host>:<port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplicati
onOutSynchronous&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous&m
ethod=ValueMappingReplicationOutSynchronous
Great, first step done. Now we need to do some things, I’ll explain now.
Well have you found something weird??.. no right, it’s all know or us. Well let’s continue with our little
introduction.
Integration Directory
Here we need to create a new business component, called Test_Value_Mapping, and do not forget put the
inbound and outbound interface ValueMappingSynchronous.
Sender Agreement
Well the sender agreement is like this, appointing to our Communication channel.
Receiver Determination
Ok, we have the half of our job done it, now we configure the receiver determination, like this:
Interface Determination
The interface determination do not need a message mapping, because we sending the same structure like
the message type of the service interface, great, easier no?...
Receiver Agreement
Well, we have done our configuration, now we need test our interface, like we say here in Chile “listo”.
How to Test?
To make the test we will use the SAP PI HTTP Client
<ns1:ValueMappingReplication xmlns:ns1="http://sap.com/xi/XI/System"
xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
<Item>
<Operation>Insert</Operation>
<GroupID>fe9ffaa0494211dea47b001e372d2d65</GroupID>
<Context>http://sap.com/xi/XI</Context>
<Identifier scheme="TESTVALMAP"
agency="UXD">TESTVALUEMAPPING</Identifier>
</Item>
</ns1:ValueMappingReplication>
Well we put this payload in the client, complete the information on the blanks, you can take the information
from the receiver determination.
<ns:ValueMappingReplicationResponse
xmlns:ns="http://sap.com/xi/XI/System">true</ns:ValueMappingReplicationResponse>
Then you must choose the corresponding Value Mapping depending of your group.
Can you See?!!!! … It’s easier, now you can make more examples by you, and make and stronger value
mapping in your interfaces.
Regards.
Marco Salazar
Marco.salazar@neoris.com
Related Content
Please include at least three references to SDN documents or web pages.
http://help.sap.com/saphelp_nwpi711/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm
http://sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5
https://www.sdn.sap.com/irj/scn/weblogs
Copyright
© Copyright 2009 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9,
iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,
PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,
BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX,
Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of
Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts
Institute of Technology.
Java is a registered trademark of Sun Microsystems, Inc.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by
Netscape.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and
other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered
trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document
serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP
Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the
express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.