on 04-09-2004 8:02 AM
I have installed Oracle Client 9.2.0.4.0 on my Linux RedHat.
Now I have SAP System and Oracle Client in the same computer.
I check the file tnsname.ora and it's ok.
Then I tryed to run tnsping and it connect to remote oracle database on Win NT.
I inserted the tnsname (alias) in the conn info field of DBCON table but I still have the same connection problem in the Native Sql EXEC SQL CONNECT TO 'identifier' statement!
Maybe the ABAP Program does not have the environment variable set for Oracle (ex. ORACLE_HOME, ORACLE_BASE),
so it can't find the tnsnames.ora file?
Can anyone help me?
Thank's in advance.
Andrea
Did you enter the user name and password in the DBCO transaction (dbcon table)?
I used this snipped of code to connect to an external Vertex database ...
REPORT ZCONNECT.
DATA: BEGIN OF wa,
LOCNAMESTATE(30) TYPE C,
LOCGEOSTATE(2) TYPE N,
END OF wa.
EXEC SQL.
CONNECT TO 'VERTEX' AS 'V'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'V'
ENDEXEC.
EXEC SQL PERFORMING LOOP_OUTPUT.
SELECT LOCNAMESTATE, LOCGEOSTATE
INTO :wa
FROM locstate
ENDEXEC.
FORM LOOP_OUTPUT.
WRITE: /, wa.
ENDFORM.
Good luck ...
---Hugo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know how can I resolve this problem.
I need to access to SAP NOTES (link in the website help.sap.com) but it request a login/password that I don't have.
I try to register to SAP Service MarketPlace to receive login/password but the system give me an error "the specified data was not sufficient to generate the user ID request"!
Can you help me?
Thank's.
Andrea
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.