on 01-06-2012 11:05 AM
Dear All,
We have a requirement to pick the file form the Sever which is inside the company network also
Client is not ready to install the FTP / any other protocol and they simply want us to pick the file from the specified folder,
let me know the way forward how can achieve this?
Regards,
Manikandan Shanmugam
Hello,
execute OS Command of File/FTP adapter to pick the file from the server and place the file in SAP PI system and from there send it to the target side.
below is the one of the example to use OS command in SAP PI
http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Kumar,
Thanks for your comments.
The following are the restrictions related to this scenario.
1. NFS protocol need to be used to pick the file from the local system which is in the same network where PI server exists
2. We are not going to use any FTP Protocols / Servers / Tools
3. PI server in Unix machine and local system is Windows XP
Regards,
Mani.
Hello,
You need to write the Shell Script or Java based web service code in the Server where the file is there.........the Shell script will pick the file from the server and place it in PI server( Script need to be scheduled background so that it will check for the file, if file exist then picks the file).........u need to take take help from Unix admin guy for writing the code.
this is not standard as we can't monitor the script, but we can go for it as both the systems are in same network so there will not be any issues. Once the file is placed in your PI system normal process need to send file from ur PI system to target system.
as your requirement is tricky there is no other option.
I think words mean to write some Shell Script like this http://bash.cyberciti.biz/decision-making/copy-file-script/
and save it on server side (where PI installed) and make some job, that will execute it.
This script will copy file from client folder to PI folder, and then in PI u can get it by File Channel (NFS)
Edited by: ChizzT on Jan 10, 2012 11:22 AM
HI All,
Pls note that Server where PI is installed and Server where file need to be picked up are different but within the same network and we don't have a permission to use the Local folder where PI is installed and we are using Unix server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are you working in pi server system itself?if u r working in pi server itself and file is there is in the same system you can pick the file.
or else
As per my knowledge it's not possible.Explain to your client clearly about file processing in pi.u can pick file only using below two ways (if am wrong anyone can correct me).
1.U can pick file from the same system in which u r pi server is installed.
2.U have to configure FTP accessing paramters like ftp server host and basic authentication details.
Thanks
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.