on 05-02-2012 7:29 AM
Hello,
What is the proper way to connect to SAP db for third party app ?
I see two alternatives:
a. db vendor provided db API - like ODBC driver and etc. (maybe sap provides it's own db specific drivers?)
b. sap RFC
Which method is recommended in read-only/read-write scenarios ?
thanks,
Vilius
Hello,
I'm assuming that what you call an SAP db is an database in which the SAP data is. Not the SAP DB database RDBMS.
If you intend to update some SAP data, you must use the applicative SAP layer.
Meaning , you must use the interfaces provided by SAP ( like standards API, BAPI etc ... ) and RFC.
You must not update the SAP database directly through custom code, using for example an ODBC connection and performing inserts in the db tables.
The SAP application layer is responsible for data integrity, therefore if you bypass it in some way, this data integrity is not insured anymore. This can lead to major problems.
The SAP data is spread across multiple tables and you' ll have an hard time trying to find out which set of table to update throughout the application in order to keep the data integrity by yourself.
It's the same for reading data from SAP. You must use the standard objects provided by SAP.
Best regrads,
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.