FTP Script For Upload SAP Transport Request

FTP Script For Upload SAP Transport Request

If the transport landscape, each system uses its own transport directory, it may be necessary to transfer files of transport requests between servers.
In case Unix simple solution is FTP Script For Upload SAP Transport Request

#!/bin/bash

HOST=hostname #This is the FTP servers host or IP address.
USER=username
PASS=password
ftp -inv $HOST <<EOF
user $USER $PASS
bin
cd /usr/sap/trans/cofiles/
lcd /usr/sap/trans/cofiles/
get KXXXXXX.YYY
cd /usr/sap/trans/data/
lcd /usr/sap/trans/data/
mget *XXXXXX.YYY
quit
EOF

Where
YYYKXXXXXX – name of transport request
KXXXXXX.YYY – cofile of transport request
RXXXXXX.YYY and DXXXXXX.YYY – data files of transport request

More from SAPBC.RU

Your Message To SAP Basis Expert

Leave Reply
Your email address will not be published.