on 04-24-2013 3:00 AM
Hello,
We are implementing ECC to SNC via SAP PI. I have used the standard Operation Mappings provided by SAP from the SNC SWCV.These standard Mappings have Java Mapping as the underlying mapping, I am facing a strange issue in Purchase Order create scenarios now. The SNC team ha reported that some fields are not getting populated at SNC side. When I look through the Java Mapping, some Fileds mapping is completely ommitted. This is one such field, but when I look through all fields, there are many such fields whose mapping is not provided by standard Java Mappings. Now my question is, since this is Java code, I wanted to rewrite the Java code with the mapping to the missing fields.
Should I go with Java Mapping only or can we completely redo the whole thing in Graphical Mapping, which is much easier to do and maintain in later point of time. Please share your experiences in case you have faced such issue. Some how I feel Grahical is better, it might take a little time initially for the interpretation of Java Mapping and redoing the Graphical mapping.
Awaiting replies.
Hi Aparna,
do you have a table or functional specification which shows the mapping from source to target xml? If you have one, you can try graphical mapping. The reason SAP is providing a java mapping solution for this scenario is the fact that perhaps the mapping is complicated. They have standardised the solution and applying it. If you do not have a table or functional specification which shows mapping conditions then only way, you can convert it to message mapping is by understanding each line of java mapping code. Thus if you have to interpret the java mapping code (to revert to message mapping) it's better that you include new fields in java mapping itself. This will be lot easier to code and to maintain in future.
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anupam,
As asked regarding table or functional specification which shows the mapping from source to target xml, i did not find anything like this. Where do we find these in ESR? Does making changes to the existing code not hit the performance, if the load on PI system increases? Since it is Java Mapping and it is always an over head(this is purely my view).
Aparna
>Does making changes to the existing code not hit the performance, if the load on PI system increases? Since it is Java Mapping and it is always an over head(this is purely my view).
Not necessary java mapping cause overhead and performance issues. As you know all the standard graphical functions are internally coded in Java as that of simple udf . Since the current design is already has java mapping(not able to handle your requirement with standard functions), I would recommend at this stage to look at the java code and handle accordingly in the java mapping itself. Please share your java mapping code and see if we could help.
Hi Aparna,
Functional specs(FS) are prepared by project members after taking down requirements from the business. If you do not have one , it means you might have to interpret the java mapping code to understand how to convert it to graphical mapping. Java mapping is not an overhead but applied only in complicated cases like this. As you know SAP PI is slowly shifting towards java only stack. Internally all grahical mapping is basically java code. Load in PI increases with size of the payload and not java mapping. There is some dependency between memory utilization between various parsers used for java mapping. For example DOM parser uses more of main memory than SAX parser etc. In your case i feel java mapping will be best solution.
In case you face problems with the java mapping you can take expert advice from the forum.
Regards
Anupam
few more cents...
First you need to check standard mappings output before java mapping generating misisng fields are not.
If data misisng in standard gui mappings then add logic in Graphical mapping or write in Java mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sripada,
you have to export the java mapping and make the changes according to your need , import the same updated java code in mapping .
Thanks,
Abhay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.