on 09-10-2008 3:01 PM
Dear all ,
I have writeen a module in the sender file adapter.
How do I capture the communication channel name , sender Business sys , party name inside the module
com.sap.aii.af.service.cpa
Class Channel
java.lang.Object
+--com.sap.aii.af.service.cpa.impl.cache.AbstractCacheItem |
+--com.sap.aii.af.service.cpa.impl.container.CPAObject
+--com.sap.aii.af.service.cpa.impl.container.AttributeExtendedCPAObject |
+--com.sap.aii.af.service.cpa.Channel
use the methods,
getChannelName(),
getParty() and getService()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
wat is ur exact requirement.
u want all the below information in Mapping. through mapping u can also access the parameter.
refer the below link to access runtime parameters.
http://help.sap.com/saphelp_nw04/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/frameset.htm
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this
Channel channel = new Channel(moduleContext.getChannelID());
String filename = channel.getValueAsString("file.sourceFileName");
String FileNameAvail = msg.getMessageProperty("http://sap.com/xi/XI/System/File","FileName");
Thnaks & Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.