on 11-25-2009 7:27 AM
hi,
i need to access comm. channel parameters from UDF. please let me know if it is possible.
regards,
meenakshi pradhan
Hi Meenakshi,
You can access communication channel by its name, but you cannot access its individual fiedls like Fielname, directory path etc..
May be try explaining the scenario we can see why you want to access them
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it should be possible.
Check the ASMA attributes in the sender channel....suppose if you have file sender then FileName, Directory.
In Message Mapping write a UDF which will have a different Dynamic key defined for each of the parameter like:
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
Similarly for other parameters which you want to pull
Then the return statement should have the value which you want to see....you can concat all the values separated by semi-colon or something else
May not be possible to query Receiver CC in similar manner.
The above mentioned behavior is shown in ablog by Michal: /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
The method described is called Dynamic Configuration .... if you want more information then just hit the [Search option of SDN|http://forumsa.sdn.sap.com/search.jspa?threadID=&q=&objID=f44&dateRange=all&numResults=15]
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.