cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture MessageID from UDF ?

Former Member
0 Kudos

Hi,

I would like to get the messageid from UDF (Mapping). Please advise me how to do that ?

Thank you and Best Regards

Fernand

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

String MSGID;
MSGID=(String)(container.getTransformationParameters()).get(StreamTransformationConstants.MESSAGE_ID);
return MSGID;

Regards,

Yaghya

Just create a new simple user defined function with no input parameters and add the above code. Then you can use the function to map to any other node

Edited by: Yaghya Nana on Jun 2, 2008 11:36 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Lesmana,

check this link ,it may help you.

https://forums.sdn.sap.com/click.jspa?searchID=12410165&messageID=4419881

Regards,

Ramesh.