on 07-21-2010 12:52 PM
Hi,
I could not find a solution: How do I access the Message ID in the graphical mapping?
During Runtime, I need to get the Message ID in graphical mapping and map it to a field in the target rfc.
Can I do this either direct in mapping or is there a parameter in UDF?
thx
holger
Hi Holger,
The requirement specified cannot be directly done through Graphical mapping. You need to write a UDF for it using Dynamic configuration.
Regards
Hareen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
search in sdn before posting...
http://wiki.sdn.sap.com/wiki/display/Snippets/UDFtoReadMessageIDofaPIMessage
Regards,
Raj
Hi Holger,
String constant;
java.util.Map map;
map = container.getTransformationParameters();
constant = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
return constant;
from Michal blog [Simple java code in graphical mapping - XI|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1321] [original link is broken] [original link is broken] [original link is broken];
Regards,
Udo
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.