on 09-18-2008 5:02 AM
I have the problem like,depending on the input ,the output file name will change.
e.g my output file name is SAP<SP><EP>.DAT
here SP-Start period
EP-Ending period
this start period and end period will come from input side.
so evertime the file name will change.this is file file scenario.
THanx toall
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.
Hi,
you have to make use of specific adapter properties (filename) in the receiver file adapter
and then populate the filename in the mapping:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String newfilname = SAPSPEP;
conf.put(key, newfilename);
Pass the SP and EP values as the input parameter to this UDF.
I hope this would help you..
Regards,
Yuga
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.
Hi,
If your filename is coming from payload itself you can go for Variable Substitution. You can check out:
[ Variable Substitution|http://www.saptechnical.com/Tutorials/XI/Variable/substitution.htm]
Regards
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 |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.