on 08-11-2008 7:43 AM
Hi,
I am doing java mapping. I have to write a code to get the "sender system" from XI. So could anyone please help me in this to retrieve the sender system using Java.
Regards,
Murugavel.S
Hi,
For java mapping use
param.get(StreamTransformationConstants.SENDER_SYSTEM);
where param gets the value from setParameter() method in mapping
For UDF you can use
Map param = container.getTransformationParameters();
String str = (String)param.get(StreamTransformationConstants.SENDER_SYSTEM);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Sender System is referred as the SenderService in the XI runtime.
Use this Java Coding.
map = container.getTransformationParameters();
String sendersystem = (String) map.get(SenderService);
Thanks
SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
java.util.Map map;
// get runtime constant map
map = container.getTransformationParameters();
return (String) map.get("SenderSystem");
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check these links,
[for Dynamic Configuration|http://help.sap.com/search/highlightContent.jsp]
[Special Access to Mapping Runtime Constants|http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm]
The above links are pretty straight forward, Let us know if you still need help.
Thanks,
Gujjeti
Edited by: Praveen Gujjeti on Aug 11, 2008 8:50 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.