Connect Non SAP Oracle DB and MSSQL DB to SAP BW 7.0 Orace 10g system
Hi All,
Well I have a scenario, where I have to connect Non SAP Oracle 9i DB and MSSQL DB (2000, 2005) to SAP BW 7.0 Orace 10g system.
There are all together 4 Non SAP systems to be connected.
Up till now I have understood that in order to have to integrate Oracle 9i to BW system - TSNNames.ora has to be updated, then create new Logical system, then Create Source system in RSA1 with all the required information, Create user at Oracle 9i end.
As far as MSSQL Server is concerned - Client Software + DB Shared Library has to be installed in BW server.
Could anybody please guide me in the complete Basis Activities including above to complete the process.
I tried to create Source System, the initial screen has fields - Logical System, Source System & Type and Release.
I have created the Logical system through Tcode SALE
How to create Type and Release - for DB Oracle 9i & MSSQL 2000/2005.
Does OS version of DB & BW also matters ? Do we need to have that information as well.
Thanks & Regards
Rupali S
Hi,
I am getting following error when I try to do TNSping
C:\Documents and Settings\bitadm>tnsping HRPRN815
TNS Ping Utility for 64-bit Windows: Version 10.2.0.2.0 - Production on 06-AUG-2
008 16:40:58
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
E:\usr\sap\BIT\SYS\profile\oracle\sqlnet.ora
TNS-03505: Failed to resolve name
This is my TNSnames.ora file content
BIT.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = poinmssapdev)
(PORT = 1527)
(CONNECT_DATA =
(SID = BIT)
(GLOBAL_NAME = BIT.WORLD)
HRPRN815.VSHODC.LNTINFOTECH.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.25.8.79)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = HRPRN815)
Do we need to manually update Listener.ora as well so as to function.
All this is not letting me create Source system.
Gives me following errors
TNS-12514 TNS:listener could not resolve SERVICE_NAME given in connect
descriptor
Cause: The SERVICE_NAME in the CONNECT_DATA was not found in the
listener's tables.
Action: Check to make sure that the SERVICE_NAME specified is correct.
TNS-12541 TNS:no listener
Cause: The connection request could not be completed because the listener is
not running.
Action: Ensure that the supplied destination address matches one of the
addresses used by the listener. Compare the TNSNAMES.ORA entry with the
appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is to go by
way of an Interchange). Start the listener on the remote machine.
Thanks & Regards
Rupali S
Similar Messages
-
How to extract data from SAP 4.7 and upload data to SAP ECC 6.0
Hi,
How to extract data from SAP 4.7 and upload data to SAP ECC 6.0? Can i use BDC,BAPI,LSMW? Help me please.hi
good
both works not possible simultaneously.
If you want to do it in two separate task than you can use the GUI_UPLOAD function module to fulfill your requirement.
thanks
mrutyun^ -
ODBC connectivity between Oracle 11G and MSSQL Server on Solaris 10
When we were running in 10G, I was able to successfully configure hsodbc using unixODBC and freeTDS to allow for an ODBC connection between Oracle and MSSQL Server.
A few weeks ago we upgraded to 11G and I've been struggling to get the connectivity (dg4odbc) working.
In our 10g environment unixODBC and freeTDS were compiled as 32-bit. I have recompiled them as 64-bit and switched over to an 11G listener and I am getting the following error:
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
here are my configuration files:
/usr/local/unixODBC/etc[PPRD]> more odbc.ini
[ODBC Data Sources]
identipass = MS SQL Server
[identipass]
Driver = /usr/local/freetds/lib/libtdsodbc.so
Setup = /usr/local/freetds/lib/libtdsodbc.so
Description = MS SQL Server
Trace = 1
TraceFile = /export/home/oracle/ODBC/odbc.trace
Server = stormwind
QuoteID = Yes
AnsiNPW = No
Database = identipass
Port = 1433
TDS_Version = 8.0
[Default]
Driver = /usr/local/freetds/lib/libtdsodbc.so
/usr/local/unixODBC/etc[PPRD]> more odbcinst.ini
[TDS]
Description=FreeTDS driver
Driver=/usr/local/freetds/lib/libtdsodbc.so
Setup=/usr/local/freetds/lib/libtdsodbc.so
Trace=Yes
TraceFile=/tmp/freetds.log
FileUsage=1
UsageCount=2
tnsnames.ora
identipass =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = localhost)(PORT = 1522))
(CONNECT_DATA =
(SID = identipass)
(HS = OK)
listener.ora
LISTENERODBC =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENERODBC=
(SID_LIST=
(SID_DESC=
(SID_NAME=identipass)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
(ENV="LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/hs/lib")
(PROGRAM=dg4odbc)
And finally, output from the trace file:
/u01/app/oracle/product/11.2.0/db_1/hs/log[PPRD]> more identipass_agt_1381.trc
Oracle Corporation --- THURSDAY NOV 18 2010 16:00:16.010
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY NOV 18 2010 16:00:16.008
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "Debug"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLSt
atistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "identipass"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:identipass
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=873
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/11/18-16:00:16
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/unixODBC/lib/libodbc.so"
Entered hgolofns at 2010/11/18-16:00:16
symbol_peflctx=0x7a715450
hoaerr:0
Exiting hgolofns at 2010/11/18-16:00:16
Exiting hgolofn, rc=0 at 2010/11/18-16:00:16
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/11/18-16:00:16
Entered hgolgon at 2010/11/18-16:00:16
reco:0, name:identipass, tflag:0
Entered hgosuec at 2010/11/18-16:00:16
Exiting hgosuec, rc=0 at 2010/11/18-16:00:16
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using identipass as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/11/18-16:00:16
HS_FDS_CONNECT_INFO = "identipass"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/11/18-16:00:16
dsn:identipass, name:identipass
optn:
Entered hgocip at 2010/11/18-16:00:16
dsn:identipass
Exiting hgocip, rc=0 at 2010/11/18-16:00:16
Exiting hgogenconstr, rc=0 at 2010/11/18-16:00:16
Entered hgopoer at 2010/11/18-16:00:16
hgopoer, line 233: got native error 0 and sqlstate ; message follows...
Exiting hgopoer, rc=0 at 2010/11/18-16:00:16
hgocont, line 2753: calling SqlDriverConnect got sqlstate
Exiting hgocont, rc=28500 at 2010/11/18-16:00:16 with error ptr FILE:hgocont.c LINE:2772 ID:Something other than invalid authoriza
tion
Exiting hgolgon, rc=28500 at 2010/11/18-16:00:16 with error ptr FILE:hgolgon.c LINE:781 ID:Calling hgocont
Entered hgoexit at 2010/11/18-16:00:16
Exiting hgoexit, rc=0
Can anyone help me see what I'm missing?Thank you for your response.
I modified the envs LD_LIBRARY_PATH parameter in my SID_LIST_LISTENERODBC to be:
(ENV="LD_LIBRARY_PATH=/usr/local/freetds/lib:/usr/local/unixODBC/lib:/u01/app/oracle/product/11.2.0/db_1/lib:/
u01/app/oracle/product/11.2.0/db_1/hs/lib")
and bounced the listener, but I'm still getting the same error.
I do not have a lib64 directory in my Freetds installation, but all the files in the lib directory are 64-bit.
Here is a listing of my DG4ODBC init file:
/u01/app/oracle/product/11.2.0/db_1/hs/admin[PPRD]> more initidentipass.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = identipass
#HS_FDS_TRACE_LEVEL = 0
HS_FDS_TRACE_LEVEL = Debug
HS_FDS_SHAREABLE_NAME = /usr/local/unixODBC/lib/libodbc.so
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_LANGUAGE=AMERICAN.AMERICA.WE8ISO8859P15
# ODBC specific environment variables
set ODBCINI=/usr/local/unixODBC/etc/odbc.ini
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
Thanks for your help with this!
Catina -
How to query data from Oracle, MySQL, and MSSQL?
For an environment consisting of Oracle 11g/12c enterprise edition, MySQL 5.7 community edition, and MSSQL 2008/2012 stanard/enterprise edition, is there any major issue using DG4ODBC to query data from all 3 platforms?
Is there other free alternatives?
If the queried data is mostly contained in MySQL or MSSQL, will it be more efficient to query from MySQL or MSSQL?
If yes, any suggestion of how to do it in those platforms? I know MSSQL can use linked server but it is quite slow.mkirtley-Oracle wrote:
Hi Ed,
It is semantics. By multiple instances I mean you have the gateway installed in an ORACLE_HOME which has 1 listener. However, if you are connecting to different non-Oracle databases or different individual databases of that non-Oracle database then you need multiple gateway instances for each database being connected. I did not mean that you need a gateway installed in a separate ORACLE_HOME for each non-Oracle database to which you are connecting.
Each of these would have a separate instance file within that ORACLE_HOME/hs/admin directory with the connection details for the non-Oracle database to which that instance connects.. So, you would have -
initgtw1.ora - connects to MySQL
initgtw2.ora - connect to SQL*Server northwind database
initgtw3.ora - connect to SQL*Server test database
etc
etc
Each of these instances would have a separate entry in the gateway listener.ora.
In MOS have a look at this note -
How To Add A New Database or Destination To An Existing Gateway Configuration (Doc ID 1304573.1)
Regards,
Mike
Ah yes, we are in agreement, it was just semantics. Thanks. -
SQLJ connection exception in oracle 8i and jdk 1.5
This is the code through which i am trying to extract current date from oracle database and print Helloworld
// import required packages
import java.sql.Date;
import java.sql.SQLException;
import oracle.sqlj.runtime.Oracle;
public class HelloWorld {
public static void main(String [] args) {
java.sql.Date current_date;
try {
// connect to the database
Oracle.connect(
"jdbc:oracle:thin:@localhost:1521:orcl",
"student",
"student"
// get the current date from the database
#sql { SELECT sysdate INTO :current_date FROM dual };
// display message
System.out.println("Hello World! The current date is " +
current_date);
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} finally {
try {
// disconnect from the database
Oracle.close();
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} // end of main()
this is the error
unexpected error occurred...
java.lang.ExceptionInInitializerError
at sqlj.translator.Translator.addUnit(Translator.java:117)
at sqlj.translator.Main.translate(Main.java:112)
at sqlj.translator.Main.runTranslation(Main.java:92)
at sqlj.translator.Main.runTranslation(Main.java:85)
at sqlj.tools.Sqlj.statusMain(Sqlj.java:280)
at sqlj.tools.Sqlj.main(Sqlj.java:125)
Caused by: java.lang.NullPointerException
at sqlj.framework.ClassFileReader.attribute_info(ClassFileReader.java:326)
at sqlj.framework.ClassFileReader.readClass(ClassFileReader.java:224)
at sqlj.framework.ClassFileReader.describeClass(ClassFileReader.java:62)
at sqlj.framework.ClassFileReader.getDeclaringClass(ClassFileReader.java:146)
at sqlj.framework.JSClass$ClassWrapper.getDeclaringClass(JSClass.java:1649)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1496)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1534)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1494)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1534)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1495)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1534)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1494)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1534)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
at sqlj.framework.JSClass.reflectSystemClass(JSClass.java:1340)
at sqlj.framework.JSClass.<clinit>(JSClass.java:49)
... 6 more
HelloWorld.sqlj: Error: Exception caught:
Total 1 error.SQLJ 8i with jdk1.5?
Please try SQLJ 10.2 with jdk1.4. -
Connect to different Oracle server and database in PL/SQL code
Hi,
There are two oracle servers and databese, A and B. I need to read data from database A and insert those data to databse B. Is there anyway I can do it in PL/SQL program?
Regards,
ShivaIn a SQL*Plus session, [connect string] is generally a TNS alias (i.e. in the command "connect scott/tiger@orcl", orcl is a TNS alias). I don't know if it is possible in some release to have a fully qualifies TNS entry (i.e. connect scott/tiger@(DESCRIPTION=(ADDRESS=(...)) ), but it is certainly uncommon. Depending on the version of Oracle, there are various ways to configure a client to resolve a TNS alias, but local naming is the most common, so I'll assume that is what you're using...
If you are trying to query a remote database, you would either have to
- Create a database link (i.e. CREATE DATABASE LINK db_link_name ...) and refer to the database link name in your SQL statement
- Embed the full TNS entry in your query (i.e. SELECT * FROM emp@(DESCRIPTION=(ADDRESS=( .. .)) )
If you choose to create the database link, one of the things you have to specify is the TNS alias (or the fully qualified TNS entry). If you specify a TNS alias there, you would generally have to ensure that the TNS alias existed in the tnsnames.ora file on the database server where the database link is created.
Justin -
_Patch level in SAP HANA Note and _Build No in SAP HANA
Hello Hana Gurus!
I need to know where can I find the patch level in the SAP HANA and SAP HANA Notes
For example, if I want to apply a note
http://service.sap.com/sap/support/notes/1964428
there is specified:
Software Component
Support Package
Patch Level
SAP HANA DATABASE 1.00
SP069
2
SP070
0
Ok. I read a lot of sources and understand the following:
To know the HANA Studio version:
Help->About SAP HANA Studio.
It will be like
Version: 1.0.27
Build id: 201205021925 (361805)
Here 1.0.27 means -> 1.0 version and Revision is 27 and Build No is : 361805
Re: From Studio, how to know the HANA DB Version
That is, if we apply 1964428 note, the system is upgraded to SP069 and SP070. Is that correct?
But what Patch Level means in this (and some other) note (value 2 and 0)?
Where I can check Patch Level in the HANA?
And, what are figures Build No indicate
UPD:
Here Re: Where we can check Patch leveles in HANA? referred to a certain table "M_HOST_CONFIGURATION". But in my system it does not exist. or tell me where to find it?
Message was edited by: Tom FlanaganHi Kirisetti,
please findanswers in italics
1)
I understand the database version and the studio version is not the same thing. But why do they match my system (see picture)? Or still the same thing?
By the way, to see the version of the database I used table SYS.M_DATABASE
A revision is released with all HANA components are part of the revision release and not just HANA DB server. So it is always ideal that you have all HANA components on same version as in your case. However is is technically feasible that you are usinga older version of Studio to connect to a newer version of HANA DB server. so Help-> About Studio would give you version of the studio and "select version from SYS.M_DATABASE" gives you version of the HANA DB server.
2)
and for the version and patch level
1.0.69.02 would mean HANA DB is on Revision 69 , patch 02
1.0.70.00 would mean HANA DB is on Revision 70
Soultion for the problem is to update your HANA DB to revision 69, patch 2 or Revision 70.
Did I understand correctly, if the note indicated Patch Level = 0, then we simply speak about updating to Revision, implying that no Patch Level? Or how it can be understood?
I'm assuming here you wish to know if you are downloading the right software for the update.
if there is a patch mentioned it is available as "Mantainence Revision <rev no>.<patch no>" for download and if there is no patch level mentioned(patch level = 0) they is avaliable as "Revision <rev no.>". Also update procedure for both Revision and patch is the same.
3)
Did I understand correctly, the first figure in the Build number (Build id) indicates the Patch Level? How it is possible to interpret the Build number (Build id) more? These figures represent something?
This build number is something that comes out of build repositiory. HANA version mentioned in all notes and guide refer to just the Revision number and patch level currently. You can ignore the build number -
Why getting WebLogic Connection when using Oracle Driver?
Does anyone know why I would be getting back an instance of weblogic.jdbc.rmi.SerialConnection
when retrieving a connection out of the connection pool, via my JDBC TX DataSource,
when my JDBC Connection pool is configured to use oracle.jdbc.OracleDriver. Seems
that since I'm using the Oracle driver I should not be getting back this WebLogic
connection.
Any insight is appreciated :)
thanks,
Daninnumonenu wrote:
Even we are facing the same problem of ClassCastException when we try to cast to
OracleCallableStatement from the weblogic pool made of Oracle JDBC driver.
What is the URL which explains,
"Our wrappers do provide access to various non-standard
Oracle methods, and we document how to cast (to our concret class or to an interface
we define) in order to access these calls." as said by Joseph.http://e-docs.bea.com/wls/docs70/jdbc/thirdparty.html#1043705
>
>
"Dan Branley" <[email protected]> wrote:
Joseph,
Thanks for the insight. This answers a lot of questions. I appreciate
the thorough
explanation. Your assumption is correct. I am trying to use an Oracle
extension,
specifically I need to call PreparedStatement.setBlob() passing an instance
of
an Oracle BLOB.empty_lob(). I'll take a look at the WLS documentation
for an
alternative.
thanks,
Dan Branley
Joseph Weinstein <[email protected]> wrote:
We never give application code direct access to pooled connections.We
always
supply a wrapper class. These wrapper classes have various extra functionality,
such as cooperating under-the-covers with the transaction coordinator
to provide
EJB/UserTransaction transactional semantics/guarantees, regardless of
the number
of EJBs involved in a given transaction. For instance, when in an EJB/UserTransaction,
our wrapper will cheerfully ignore if application code calls a Connection.commit().
The
application code has no idea really when the transaction is done and
commitable, only
the transaction coordinator does. Most simply, our pools guarantee that
whatever
application reserves a pool connection will have sole use of it until
they close the connection
to return it to the pool. If we allowed direct access to a pooled connection,
one application
could cache the reference, and re-use it later when we presumed to allow
another user to
use it from the pool. Some of our wrapper objects are RMI-enabled so
they work in
external client JVMs and will do JDBC over the wire to the weblogicserver
and it's
pool connections. This wayt application code need not change to work
inside or
outside weblogic.
I suspect this question is because you want to use some of Oracle's
non-standard
extensions to JDBC. Our wrappers do provide access to various non-standard
Oracle methods, and we document how to cast (to our concret class or
to an interface we
define) in order to access these calls. Not all calls can be successfully
proxied by our wrappers
because some Oracle methods (which claim to take java.sql object asarguments)
actually
require oracle specific classes, and reject our proxies, even if they
are standard JDBC objects.
Joe
Dan Branley wrote:
Does anyone know why I would be getting back an instance of weblogic.jdbc.rmi.SerialConnection
when retrieving a connection out of the connection pool, via my JDBCTX DataSource,
when my JDBC Connection pool is configured to use oracle.jdbc.OracleDriver.Seems
that since I'm using the Oracle driver I should not be getting backthis WebLogic
connection.
Any insight is appreciated :)
thanks,
Dan -
Connecting to an oracle database
Hi! I am a student of Computer Engineering. I was hoping someone could help me out giving me options of could be wrong in my database application.
The problem is this:
I connect to an oracle database and i have a username, password and an url direction. Apparently the connection is fine, because my program does not show any errors or exceptions, but when I try to retrieve data from the tables I have in my space of the database, the ResultSet object appears to be empty. And I don't have any idea what the problem is, because when I write the select statement directly in the console, the database retrieves me the information I ask, but it doesn't retrieve me anything when I do it through my program.
I will put the part of my code that is causing me trouble... I hope someone can help me:
//this is the part when I connect to the database
public void connectToDB() {
try {
// Register the ORACLE: oracle:thin driver
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
catch (NoClassDefFoundError e){
System.out.println(e);
return;
System.out.println("Oracle driver succesfully loaded.");
// Connection
System.out.println("Connecting to the database... ");
conn = DriverManager.getConnection(CONEXION_URL,USUARIO,
PASSWORD);
System.out.println("Authentification process...");
System.out.println("Access granted.");
System.out.println("Connection successful.");
//conn.setAutoCommit(true);
} catch (SQLException e) {
System.out.println("Connection failed!");
System.out.println(e);
//this is the part when I make a select statement that doesn't retrieves me
//anything
public void consultaRecibosPeriodo(){
String nombre="",domicilio,fechaContrato,fechaExpedicion;
int importe;
String query = "SELECT NOMBRE FROM CLIENTE";
try{
if(conn!=null){
System.out.println("Entra a consultaRecibosPeriodo");
Statement stmt = conn.createStatement();
ResultSet resultado = stmt.executeQuery(query);
System.out.println(conn);
while(resultado.next()){
System.out.println("entra al while ");
nombre=resultado.getString("NOMBRE");
System.out.println("nombre " + nombre);
}catch(SQLException e){System.out.println("Error: " + e);}
}Hi,
Before loop on your resulset check add this test :
if(resultado.first()) {
while(resultado.next()){
System.out.println("entra al while ");
nombre=resultado.getString("NOMBRE"); // Is NOMBRE is a filed in your table ??
System.out.println("nombre " + nombre);
}skippye -
Running SAP on Linux and HP-UX
Hi
We are planning a new installation of ERP 6.0. The solution architect is advising to install the DB on HP-UX running oracle RAC, and to install the SAP application on a seperate server running LINUX. So the SAP kernel will live on a LINUX server and the DB will live on HP-UX server.
Does anybody know if there are any issues in doing this. Has anything been documented around performance etc.
Any help would be greatly appreciated.
Thanks
SamHi
This is an interesting question, personally i wouldn't mix platforms if it isn't necessary, even if you can keep your SAP kernel on linux. So it would be interesting to know, why your solution architect is suggesting such an installation. Lets look at some questions, they might guide you to the critical points:
- Besides the database are you going to implement SAP high availability? If yes, how?
- How are you going to do your filesystem backups? Do you have a backup environment which covers both hp-ux and linux?
- What is the reason to have SAP on linux and not simply have hp-ux instead?
I am convinced these questions are worth thinking about. So far i installed RAC within a homogenous linux environment with integrated enqueue replication. I also setup systems with database/ci on hp and linux application servers. But i did not mix that so far
Regarding performance: my experiences showed, that RAC is never faster than a single instance installation as long as you can buy a database server big enough, but with RAC you get high availability and you can scale on low cost hardware.
Best regards, Michael -
Brief discussion on SAP XI and its' Integration with SAP MDM.
Hi,
I have never worked on SAP XI.
I am discussing it on brief, please give your valuable replies.
SAP XI consists of System Landascape Directory(SLD).
SLD Consists of Business System and Techinical System.
Technical System contains all information about the software
component. The Business System consists of Inbound and Outbound Business
System which are used as logical names for data transfer.
There is communication Channel for Receiver and Sender Business System and n agreement
is signed between Sender and Receiver.
Outbound Interface defined for Business System Outbound and Techical System associated
with the Business System,
Inbound Interface defined for Business System Inbound and Techical System associated
with the Business System.
In SAP NetWeaver XI Integration Directory, we have defined the Integration Scenarios,
Actions, Interface Objects, Mapping Objects, Adapters Objects.
Mapping Object defines the Structure and Value Mapping.
Adapter Objects defines the Adapter program which implements RFC Adapter, FTP Adapter logic.
FTP Adapter is used for XI-MDM Communication.
RFC Adapter is used for XI-ECC Communication.
Integration Repository: Both Outbound and Inbound Interfaces are Mapped with Value mapping and
Structure Mapping inside Integration Repository.
The File Adapter takes the File from the Outbound port of MDM System
and sends it as IDOC to Receiver Business System.
Value Mapping must be done between Sender and Receiver interfaces.
Value Mapping is done by XSLT or Java based program.
SAP NetWeaver XI Integration Server at runtime:
Message Split, Interface Determination, Receiver Identifaction, Mapping, Techincal Routing
and Call Adapter Proccess are done.
In SAP XI 3.0 and MDM 5.5:
Step 1: Create busines system as service.
Step 2: Create communication channel for each business service. If the system can communicate
through different channels, then create all possible channel types if necessary.
Step 3: Create receiver agreement between the systems.
Step 4: Interface determination:
- Here you see for the first time the software component mentioned;
there are some special requirements regarding this software component in relation to the customizing ID mapping.
- To modify this software component, the customer needs to copy the SAP standard delivered software component
into its own namespace. The customer is able to modify to create archives
for the customized ID mapping.
Receiver determination.
Configure an FTP Server on the MDS.
Create a send folder for outbound messages using outbound port(s) for
remote systems(s).
Create receive folder inbound messages using inbound port(s) for remote systems.
This ia all about concept of SAP XI Infractsture and its' Integration with SAP MDM 5.5.
Regards
Kaushik BanerjeeHi Kaushik,
You must be aware of File types that MDM Import Manager can Import i.e. we have XML, Excel etc. Now there are two transactions to extract data from R3
1. MDMGX -
- For lookup table extraction
- Output in XML format which MDM can import without using XI.
- FTP can be configured to put the file in the desired folder which will be then picked by Import Server.
2. MDM_CLNT_EXTR -
- For Main table records.
- Output is in Idoc format which MDM doesn't understand hence we need XI in between which converts Idoc file received from R3 into XML which can then be imported using Import Manager or Import Server. For this we need to implement XI Scenario that consists of Source System, Receiver System, Type of Data etc.
Just a basic understanding...
Regards,
Jitesh Talreja -
Hi all,
My Qualification is MSc(Geophysics) related to oil and gas exploration.cureently i am working on sap abap from past two years.now i want to shift my career in to sap-is oil and gas. what is sap-is oil and gas. what are the prerequisites for the sap-is oil and gas.My Qualification is MSc(Geophysics)
It is amazing that the world is still oval and not flat again.
>cureently i am working on sap abap from past two years.
You have also been a pain in the ABAP forums and still have 51 questions you have not followed up on.
now i want to shift my career in to sap-is oil and gas.
That is probably a good thing for ABAP.
what is sap-is oil and gas.
If I remember correctly, that is the way you started your career in ABAP as well... but the thrêad was deleted together with vaste number of others.
what are the prerequisites for the sap-is oil and gas.
Huge oil and gas reserves distributed redundantly, preferably on other planets which mirror the earth in case something goes wrong... (Swamy's Law)
Good luck, take care and don't look back!
Bye,
Julius -
Difference between SAP 4.7 and ECC 6.0 for mm
hi sap guru ,
Difference between SAP 4.7 and ECC 6.0 mm point of view
4.7 already implemented now upgradetion to 6.0 what is major role as a mm consultant,
thanks
biswaHi,
check the links for complete info
vimp link
http://erp.fmpmedia.com/Default.aspx?alias=erp.fmpmedia.com/english
Here select source Release version as SAP R/3 and Target version as SAP ERP 6.0, solution area as "Procurement and logistics execution" then Module as "MM"
click on "Search"
U will get the complete info
ECC 6 has new gl ledger concept which is different for 4.7
version in the folloiwng manner.
1. It enables Business area posting - Segment reporting
made easy
2. Profit centre accounting is through new GL
3. Split of entry to post assets and liabilities to
respective profit centres. (Balance sheet items)
4. Enables commitment of FM
http://www.allinterview.com/showanswers/71032.html
Edited by: Mohd Uzair Hussain on Mar 11, 2010 9:58 PM -
Connect Non-SAP Oracle db (32bit) in sql 2005 (64 bit) using linked server
Hi,
I am connecting Oracle 10g database from SQL 2005 using linked server, in which i get the error
"Cannot initialize the data source object of OLE DB provider "MSDAORA" for linked server "L2ORACLE".
OLE DB provider "MSDAORA" for linked server "L2ORACLE" returned message "Oracle client and networking components
were not found. " (Microsoft SQL Server, Error: 7303)
SAP Server with sql 2005 db is in 64 bit server / Windows 2003
Non-SAP Oracle 10g is in 32 bit windows 2003 server.
i have installed Oracle 64 bit client in the SAP Server and also copied the 64 bit version of dboraslib.dll to the DIR_LIBRARY path. I am able to view the oracle tables in the oracle client.
But, when i create the linked server, it gives the above error.
If i install 32 bit version of Oracle client in the SAP Server, i am able to create the linked server in the db level, but, it says "Work Process restarted, session terminated" message in the Z program in SAP.
The same works in the test environment where both are 32 bit servers. problem is when SAP server is in 64 bit and non sap is in 32 bit.
Please suggest.
Thanks and Regards,
Nagu"Cannot initialize the data source object of OLE DB provider "MSDAORA" for linked server "L2ORACLE".
OLE DB provider "MSDAORA" for linked server "L2ORACLE" returned message "Oracle client and networking components
were not found. " (Microsoft SQL Server, Error: 7303)
check the workprocess traces for errors (and/or SM21). It seems that the system is "not aware" that an Oracle client is installed.
64bit programs can´t load 32bit libraries/DLLs that´s why the workprocess dumps when you use the 32bit client.
Markus -
Insert /delete data from SAP Z table to Oracle table and opposite
Hi,
Can u help me write this FM from the SAP side?
So, I have two tables ZTABLE in SAP and Oracle table ORAC.
Let's put three columns in each of them, for example
TEL1
TEL2
ADRESS
NAME
where TEL field is primary from ZTABLE to ORAC...
(in FM there shoud be abap code for writing data in ZTABLE after we press some pushbutton made in sap screen painter..)
for example, when we write new record in ZTABLE
00
112233
Street 4
Name1
this data shoud be inserted in Oracle table ORAC.
when we write new record in Oracle table for example
01
445566
New Street
Name2
this data shoud be inserted in ZTABLE.
Field TEL1 can be only of two values 01 or 02, other combination is not valid...
I must have all data from Oracle table ORAC in ZTABLE and opposite.
It should be the same scenario for DELETE...
And this communication should be online between sap and table in oracle database...
Can u help me from sap side? and give idea how to configure on oracle side??
Thanks a lot,
NihadI dont know if we can directly connect to a oracle database ( wait for the answers from others on this )
but in XI we have the JDBC adaptor to insert and retrieve data.
so for the outbound from SAP the flow can be something like this (with XI in landscape):
1) You have a screen to maintain a new entry / delete an entry
2) On save , this record gets saved or deleted from the Ztable in SAP
3)) In the same screen you can call a proxy class-method (generated using SPROXY transaction ) to send the record to XI.
4) XI to format it and insert into the oracle table
Mathews
Maybe you are looking for
-
IMac no longer prints to network printer
I am running OS 10.3.9 on our iMac G4 and it seems that we can no longer print to our networked Brother 1870N laser printer. We execute a print command and the queue opens, the printer wakes up like it normally does to start a job, but then the docum
-
How do i sync my iphone 5 to my ipad2 for Messages?
My 13 year old daughter has an iPhone 5, on which she uses Messages / texting. I have an iPad2. I have the latest iOS on my iPad, but she has 6.0.2 on her iPhone. When she gets a message on Messages, I want them to also come to my iPad, whether it is
-
Listening to my favorite podcast just got harder
I love to listen to "Coast to Coast AM." If you don't know it's a late night AM radio show that focuses on the weird, conspiratorial, supernatural, and offbeat. I'm a paid subscriber. There is a C2C app for the iPhone that is horribly designed but wo
-
Can I update to iOS 8.0 a different way?
Due to an earlier accident, the bottom part of my iPad screen is no longer tactile; I had dropped the device, the screen cracked and all was well until I got the screen replaced... I tried installing iOS 8.0, but failed because I can't agree to the T
-
HEllo my problem that i putted an passcod for my i phone then i forget it so i tryed many time than they gave me i should conect to i tunes but i want to know how i can unlocked my phone without losing my files please tell me