cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the RECEIVER_SERVICE in java mapping in 7.31.

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

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.

former_member184720
Active Contributor
0 Kudos

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()

.....

...

}

}