
With NetWeaver 7.31, a new capability is introduced to use PI mappings in BPM. Even though BPM has a powerful mapping capability using XPath expressions, it is not quite as powerful or flexible as PI’s Operation Mapping. Using Operation Mapping, we have the following advantages:
In this blog, I will go over the steps of how to use PI’s Operation Mapping in BPM.
It is assumed that the user is familiar with using the NWDS tool to design BPM processes.
Limitations
There are some limitations:
Operation Mapping Design in the ESR
We can develop or use the existing mappings in the ESR as before. The Service Interface used can have any interface pattern; it is not examined by BPM. Therefore, we can just use "stateless", or whatever the existing interface pattern is using.
The Operation Mapping I am using is very simple; it uses a key then use the Fixed Values Lookup Table to find the value.
There is no need for any configuration in the Integration Directory. Operation Mapping is exposed as a web service and can be call by BPM directly.
BPM Process Design in NWDS
I will not go through the steps and how-tos of using the BPM design tool in NWDS, this information can be obtained from SAP Help and other SCN blogs and articles. However, I will only detail the how-tos of using Operation Mapping during the design phase.
The basics steps are:
These mappings are normally drag-n-drop, one-to-one…very simple.
As you can see in the Composite Designer perspective, where we design our BPM process, there is no place where we can import Operation Mapping:
Therefore, we have to use the Process Development perspective:
You will be prompted for username and password to logon to the ESR. Select the Operation Mapping from the ESR by navigating the SWCV and namespace.
After importing, you should see something like the screen below with the WSDL of the mapping:
You can now switch back to the Composite Designer perspective and find the WSDL under Service Interfaces:
In BPM design tool, we create a mapping step of Automated Activity:
Select in the mapping WSDL in the drop-down for the Service Interface:
Select "New..." for Service Reference:
In the New Service Reference dialog box, check the "Local Provider System" and "Finish".
Perform Input Mapping:
Perform Output Mapping:
That is it!
Additional Reference:
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/d9/ccbfe89e2a4b80b818e28f1107db9a/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
18 | |
14 | |
11 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 |