on 12-18-2008 4:39 AM
Hi experts,
Can i use variable substitution for taking a part of the input filename.
My output filename contain only a part of the input filename.
Regards,
Divia
Hi all,
Thank you very much for your answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
You cannot take part of file name using variable substitution. ony full file name will be possible. You need to think for some other alternative.
I will say that use two mappings in interface mapping. One to bring the source file name(Just 1 to 1 mapping) and, other to map trimmmed file name and also the actual mapping.
Kulwinder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
instead of variable substitution use Dynamic configuration. it is much more flexible to use.
http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Divia
Yes u can!!
You have to use ur Variable Name in between % % and you can add other fixed values in it also.
eg.
%ABC%xyz.txt
where the value of ABC will come from variable substitution while xyz.txt will remail static.
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes. You will require to store the part of the input file name in a output files structure and refer to it in the variable name.
Thanks
SaNv....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>With out storing the part of the input file name in a output files structure, is it not possible to achieve?
You can use Dynamic Configuration UDF to set the file name instead of Variable substution.
Have a look at Scenario #2 in my wiki [More with the File Adapter|https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/morewiththeFileAdapter]
Thanks
SaNv...
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.