on 01-03-2008 12:05 PM
Hi
I am trying to dynamically change the filename using Dynamic Configuration bean with some constant value but target file is having same name as source. In communication channel monitoring logs I can see the successul processing log but actually file name is not getting changed at all.
Regards
Akhil
Hi,
M not sure what will be the error with this when u r using dynamic configuration bean.But same functionality can be better achieved by using this dyanamic configuartion UDF :
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
conf.put(key, a);
return value;
Regards,
Anoop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think logically u r correct. If u r bypassing IR, then there shouldn't be mapping just for achievin dynamic filename functionality. Have u used the variable substitution as mentioned here
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Regards,
Prateek
Hi Prateek
First of all thanks for your reply..
I just found a blog which deals with my problem
/people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean
But even for that Dynamic Configuration bean should work.
I have check Adapter specific message attributes in sender side and configuration seems fine to me.
But still i am not getting results as desired...
Is there any pre requisite with this module?
Regards
Akhil
Hi,
Did you select the Set Adapter Specific Message Attribute check box in Communication Channel?
Thanks and Regards,
Sanjeev.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
How u chaged the File name,in UDF which u have written.
give complete datails so that we can give any idea.
regards,
phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
11 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.