on 07-27-2010 5:46 PM
Hi ALL
I would like to populate one of the target fields with SAP PI GUID or Message ID.
Can you please let me know, how to get the GUID in my message mapping and map it to the target field.
Thank you,
Ritu
Hi Ritu ,
its simple you can pick the messageID from the streamtransformation constant and map it to ur target field .
use this UDF it does not taes any input and its output can be mapped to target field where you want to populate the messageid.
java.util.Map param = container.getTransformationParameters();
String MSGID = (String) param.get (StreamTransformationConstants.MESSAGE_ID);
return MSGID
Regards,
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ritu,
Please refer the weblink given below for passing the message ID to the target field:
http://wiki.sdn.sap.com/wiki/display/Snippets/UDFtoReadMessageIDofaPIMessage
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.