Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapis

jhansi_raja
Explorer
0 Likes
595

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
582

Hi.

U can use UNIX script for input and out data from SAP to external.

Reagrds.

Jay

3 REPLIES 3
Read only

Former Member
0 Likes
583

Hi.

U can use UNIX script for input and out data from SAP to external.

Reagrds.

Jay

Read only

0 Likes
582

if u have any documentation or related program please send me

Read only

Former Member
0 Likes
582

Hi.

Use this Unix script. Give IP and other details as ur requirment.

#################################################################

  1. Setup variables. #

  2. #

  3. Input Directory > #

  4. Output Directory > #

  5. Source System > #

  6. Target System > #

  7. Files FTPed > lxxxxx* #

#################################################################

set -x

DATE="`date +%y%m%d%H%M%S`"

  1. FTP destination details.

ftp_host=""

ftp_user=" "

ftp_pass="a"

ftp_remote_dir=" "

  1. File path and names

host_dir=""

ftp_local_file="lxxxx"

ftp_local_file_dir=" "

ftp_arch_dir=" "

ftp_output=" "

################################################################

  1. 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