如何从SAP中连接其他数据库
2007-12-14 11:12
561 查看
2006年08月30日 15:07:00
1. 工作环境需求 A. The operating system user >sid B. The R/3 table DBCON must be maintained. C. The correct database library 'dboraslib.>ext<' must exist in the kernel directory.
Connect to SQL Server database Prerequisite: At least one Windows application server must be available on the R/3 system and the DBSL dynamic library (DLL) dbmssslib.dll must be installed on this server. This dll can be downloaded from the SAP Service Marketplace.dbmssslib.dll 2. 配置连接信息配置TCODE: dbco任何配置信息都存储在DBCON表中.配置示例:A. 访问MSSQL的配置示例(参见SAP Notes 178949)CON_NAME: >my_conn_name<
DBMS: MSS
USER_NAME: >db_user<
PASSWORD: >password<
CON_ENV: MSSQL_SERVER=>server_name< MSSQL_DBNAME=>db_name< db_user could be sapr3 for example if the server is running R/3. The password field may be blocked from view by asterisks in sm30. USER_NAME can be left blank in order to use integrated security (4.6d kernel and later). In that case make sure that the OS User running R/3 has the required privilege on the remote server. A dummy password must be entered in sm30, it will not be used when the user name is blank.B. 访问ORACLE的配置示例() Connection name logical name of the connection DBMS ORA User name Oracle users DB password password for the above-mentioned Oracle user Conn.info TNS alias Permanent Usually should not be set for a secondary connection. 3. 程序中如何使用report zdbcon .
data: dbn(128).
EXEC SQL.
CONNECT TO 'DAN1'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'DAN1'
ENDEXEC.
EXEC SQL.
SELECT db_name() INTO :DBN FROM SVERS
ENDEXEC.
write: / 'current database name', dbn.
DAN1在DBCON表中配置
CON NAME DAN1
DBMS MSS
USER NAME iis_log
PASSWORD CON ENV
MSSQL_SERVER=tcp:###.###.###.### MSSQL_DBNAME=iislog
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1144319
1. 工作环境需求 A. The operating system user >sid B. The R/3 table DBCON must be maintained. C. The correct database library 'dboraslib.>ext<' must exist in the kernel directory.
Connect to SQL Server database Prerequisite: At least one Windows application server must be available on the R/3 system and the DBSL dynamic library (DLL) dbmssslib.dll must be installed on this server. This dll can be downloaded from the SAP Service Marketplace.dbmssslib.dll 2. 配置连接信息配置TCODE: dbco任何配置信息都存储在DBCON表中.配置示例:A. 访问MSSQL的配置示例(参见SAP Notes 178949)CON_NAME: >my_conn_name<
DBMS: MSS
USER_NAME: >db_user<
PASSWORD: >password<
CON_ENV: MSSQL_SERVER=>server_name< MSSQL_DBNAME=>db_name< db_user could be sapr3 for example if the server is running R/3. The password field may be blocked from view by asterisks in sm30. USER_NAME can be left blank in order to use integrated security (4.6d kernel and later). In that case make sure that the OS User running R/3 has the required privilege on the remote server. A dummy password must be entered in sm30, it will not be used when the user name is blank.B. 访问ORACLE的配置示例() Connection name logical name of the connection DBMS ORA User name Oracle users DB password password for the above-mentioned Oracle user Conn.info TNS alias Permanent Usually should not be set for a secondary connection. 3. 程序中如何使用report zdbcon .
data: dbn(128).
EXEC SQL.
CONNECT TO 'DAN1'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'DAN1'
ENDEXEC.
EXEC SQL.
SELECT db_name() INTO :DBN FROM SVERS
ENDEXEC.
write: / 'current database name', dbn.
DAN1在DBCON表中配置
CON NAME DAN1
DBMS MSS
USER NAME iis_log
PASSWORD CON ENV
MSSQL_SERVER=tcp:###.###.###.### MSSQL_DBNAME=iislog
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1144319
相关文章推荐
- 如何从SAP中连接其他数据库
- 如何从SAP中连接其他数据库
- 如何从SAP中连接其他数据库
- 如何从SAP中连接其他数据库
- 如何从SAP中连接其他数据库
- 如何从SAP中连接其他数据库
- 如何从SAP中连接其他数据库
- 如何从SAP中连接其他数据库
- 如何从SAP中连接其他数据库
- MySQL 如何从其他主机连接数据库
- [Step By Step]如何在SAP Business Object Data Services中连接到SAP HANA 数据库
- oracle如何用自己的pl/sql developer连接别人的数据库
- 保护代码中的数据库连接字符串和其他敏感设置
- 诸如可更新、可滚动游标及符合ANSI的CASE语句、日期一时间数据类型和连接语法之类的特性便从将在其他数据库上开发的应用程序移植到Oracle 9i中
- web开发 java如何连接数据库并取得数据,实现 增,删,改,查
- java工程中如何连接redis数据库?
- 如何修改DedeEims 数据库连接地址和用户名
- java工程中如何连接redis数据库?
- JDBC连接数据库中CallableStatement执行有参存储过程及注解其他
- php如何同时连接多个数据库