on 09-15-2014 1:55 PM
Hi,
I am trying to get the StreamTransformationConstants.RECEIVER_SERVICE from the map object , this was working in 7.0. When we moved the java mapping to 7.31, it is failing. setParameter method is not being called and setting the map object. Any one had this issue.
Syam Pilla
Hi Syam,
Go ahead with Haresh suggestion. If you read SAP documentation: Special Access to Mapping Runtime Constants - Managing Services in the Enterprise Services Repositor... ,only the get methods are available in PI 7.3X to access to runtime constants and the method setParameter is not needed.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share the code which you are using?
Did you try?
public void transform(TransformationInput transformationInput, TransformationOutput transformationOutput) throws StreamTransformationException
{
try
{
InputHeader messageHeader = transformationInput.getInputHeader();
String recvrService= messageHeader.getReceiverService()
.....
...
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.