‎2008 Feb 14 4:31 AM
Hi gurus,
Please help me in this issue.
First requirement is i have to send customer information from sap to other software in txt format which goes through xi..
Second requirement is i have to take the txt file from that software and modifies changes i have sent it back in form of txt which goes through xi.
Third requirement is a salesorder or purchase order in that software should trigger order in sap.
And we have to bapis.
if u guys have supported program or any suggestions please send me
‎2008 Feb 14 5:29 AM
Hi.
U can use UNIX script for input and out data from SAP to external.
Reagrds.
Jay
‎2008 Feb 14 5:29 AM
Hi.
U can use UNIX script for input and out data from SAP to external.
Reagrds.
Jay
‎2008 Feb 14 9:41 AM
‎2008 Feb 14 11:53 AM
Hi.
Use this Unix script. Give IP and other details as ur requirment.
#################################################################
Setup variables. #
#
Input Directory > #
Output Directory > #
Source System > #
Target System > #
Files FTPed > lxxxxx* #
#################################################################
set -x
DATE="`date +%y%m%d%H%M%S`"
FTP destination details.
ftp_host=""
ftp_user=" "
ftp_pass="a"
ftp_remote_dir=" "
File path and names
host_dir=""
ftp_local_file="lxxxx"
ftp_local_file_dir=" "
ftp_arch_dir=" "
ftp_output=" "
################################################################
FTP
################################################################
if [ -f $ftp_local_file_dir ]; then
ftp -i -n -d -v $ftp_host<<EOINPUT >$ftp_output
user $ftp_user $ftp_pass
cd $ftp_remote_dir
lcd $host_dir
mput $ftp_local_file
bye
EOINPUT
mv $ftp_local_file_dir $ftp_arch_dir$ftp_remote_file_name
else
echo "ERROR: Local $ftp_local_file_dir does not exist.">>$ftp_output;
fi
exit;
Reward if it s helpfull.
Jay