changed FTP server IP for QA environment
This commit is contained in:
@ -76,32 +76,30 @@ end
|
||||
|
||||
Main:
|
||||
|
||||
RepoID = ''
|
||||
SAPEnviron = Environment_Services('GetSAPPath')
|
||||
RepoID = ''
|
||||
SAPEnviron = Environment_Services('GetSAPPath')
|
||||
FTPServerIP = Environment_Services('GetSapFtpServerIP')
|
||||
FTPUser = Environment_Services('GetSapFtpServerUser')
|
||||
FTPPassWord = Environment_Services('GetSapFtpServerPassword')
|
||||
FTPCapturePath = Environment_Services('GetApplicationRootPath') : '\SAP\FTPFiles\'
|
||||
|
||||
BEGIN CASE
|
||||
CASE SAPEnviron = 'PRD'
|
||||
TransFilePathIn = Environment_Services('GetFTPRootPath') : '\FTP_IN'
|
||||
TransFilePathOut = Environment_Services('GetFTPRootPath') : '\FTP_OUT'
|
||||
FTPScriptPath = Environment_Services('GetFTPRootPath') : '\FTPScript\'
|
||||
FTPServerIP = '172.23.28.185' ;* This is the new EU server (sappnfs.eu.infineon.com)
|
||||
FTPUser = 'prdopeni'
|
||||
FTPPassWord = 'sapprdopeni'
|
||||
FTPCapturePath = Environment_Services('GetApplicationRootPath') : '\SAP\FTPFiles\'
|
||||
Begin case
|
||||
|
||||
Case SAPEnviron = 'PRD'
|
||||
TransFilePathIn = Environment_Services('GetFTPRootPath') : '\FTP_IN'
|
||||
TransFilePathOut = Environment_Services('GetFTPRootPath') : '\FTP_OUT'
|
||||
FTPScriptPath = Environment_Services('GetFTPRootPath') : '\FTPScript\'
|
||||
|
||||
CASE SAPEnviron = 'QA'
|
||||
TransFilePathIn = Environment_Services('GetFTPRootPath') : '\FTP_IN_TEST'
|
||||
TransFilePathOut = Environment_Services('GetFTPRootPath') : '\FTP_OUT_TEST'
|
||||
FTPScriptPath = Environment_Services('GetFTPRootPath') : '\FTPScript_Test\'
|
||||
FTPServerIP = '172.28.150.80' ;* IFX EU FTP Server IP address or URL
|
||||
FTPUser = 'qasopeni'
|
||||
FTPPassWord = 'sapqasopeni'
|
||||
FTPCapturePath = Environment_Services('GetApplicationRootPath') : '\SAP\FTPFiles\'
|
||||
Case SAPEnviron = 'QA'
|
||||
TransFilePathIn = Environment_Services('GetFTPRootPath') : '\FTP_IN_TEST'
|
||||
TransFilePathOut = Environment_Services('GetFTPRootPath') : '\FTP_OUT_TEST'
|
||||
FTPScriptPath = Environment_Services('GetFTPRootPath') : '\FTPScript_Test\'
|
||||
|
||||
CASE 1
|
||||
Case Otherwise$
|
||||
ErrMsg('Invalid SAPEnviron variable in obj_SAP')
|
||||
RETURN
|
||||
END CASE
|
||||
return
|
||||
|
||||
End case
|
||||
|
||||
BaseFromSAPScript = 'lcd ':TransFilePathIn:CRLF$ ;* Change local directory to C:\FTP_IN
|
||||
|
||||
@ -130,7 +128,7 @@ Main:
|
||||
CASE Method = 'SendOutbound' ; GOSUB SendOutbound
|
||||
CASE Method = 'SendReconcile' ; GOSUB SendReconcile
|
||||
|
||||
CASE 1
|
||||
CASE Otherwise$
|
||||
ErrorMsg = 'Unknown Method ':QUOTE(Method):' passed to routine.'
|
||||
|
||||
END CASE
|
||||
@ -1504,4 +1502,3 @@ CheckForErrors:
|
||||
|
||||
return
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user