on 04-02-2009 4:08 PM
Hi Experts.
I have a file to proxy scenario where I just want to get the file path and dont want to read the whole file using sender file adapter.
Is there any way where i can just get the file path and the file should not get prosessed in XI/PI.
Thanks,
Aditya.
YOu know the file path already right?
It will be unique for a single scenario.
Do you mean File name?
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use ASMA with Dynamic conf.
Ref:
Accessing ASMA -
http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
Dynamic Conf vs variable substitution - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
Note:
the get method will help you retrieve the FileName ref. the code in this blog also - Same file name -
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Hi,
Thanks a lot for all your helpful answers.I am already using Dynamic Configuration to get the file name at run time. No issues in that.
The thing i want to know is that i just need the name of the file to be passed to the proxy and the not the data of the whole file. Is there any way possible by which i can get only the name of the file without getting the file processed. I am looking for this as i just want that we can avoid unnecessary loading the PI server.
Any suggestions are appreciated.
Thanks,
Aditya
hi,
filepath is a configuration parameter (of the channel)
so you can just query the channel to the filepath
(you can do it using directory API)
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.