cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving Message Id in to Mapping

Former Member
0 Kudos

Hi,

How to retrive the message id in to message mapping.

Thanks,

Kiran.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member

Hi Kiran,

Put this code in a UDF and use it.



java.util.Map map = container.getTransformationParameters();
String MessageID = (String)map.get(StreamTransformationConstants.MESSAGE_ID);
return MessageID;

Babu

Former Member
0 Kudos

Thanks, this works perfect.

Best Regards,

Jose Camacaro

Former Member
0 Kudos

Thanks

sugata_bagchi2
Active Contributor
0 Kudos

Hi Kiran,

You can access all the Runtime Constant by Dynamic configuration.

please have look into this link -

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm

Thanks

Sugata

Former Member
0 Kudos

Hi Kiran,

How to retrive the message id in to message mapping.

This can be easily achived by using a simple UDF and map it with message ID filed in target side.

Use the same piece of code given above.

Regards,

Pinangshuk.

Former Member
0 Kudos

HI,

same as like file parameters of an adapter

retrieve the message id using dynamic configuration..

HTH

Rajesh