ERRORS in connect to Sybase DB in ABAP
I need to connect to a sybase database for development,so firstly I create it in "DBCO" as below shows:
my format of conn. info is:SYBASE_DBNAME=<name> SYBASE_DBOWNER=dbo SYBASE_SERVER=<ip> SYBASE_PORT=<port>
and I write these codes to make a test and get below error:
BEGIN OF itob,
costcenterno LIKE ZIT_CC_USER-COSTCENTERNO, "ZIT_CC_USER is a DB table in my abap system.
end of itob.
DATA: itab TYPE TABLE OF itob,
wa TYPE itob.
EXEC SQL PERFORMING test.
FROM ZIT_CC_NEWUSER@SYBASE-TEST "ZIT_CC_NEWUSER is the database in Sybase
WHERE SAPID = 'I004218'.
APPEND WA to itab.
the error is this:
I cheak it in ST04 and it says:-- ERROR Database connection SYBASE-TEST: SQL error 4002 [ASE Error SQL4002:28000]SQL Anywhere Error -103: Invalid user ID or password.
BUT I cheak my Sybase DB's username&password and find no matters with it!
What should I do for this scenario?
Thanks a lot!!
Jeff Albion replied
As mentioned previously in How to db connect from SAP to SYBASE SQL anywhere 16 remotely, SQL Anywhere isn't currently a supported target for DBCO (dbacockpit) connections.
The specific reason for it failing to log in in this context is that you're currently trying the ASE ODBC driver ("SQL error 4002 [ASE Error SQL4002:28000]") with a SQL Anywhere database server ("SQL Anywhere Error -103: Invalid user ID or password").
SAP Active Global Support