Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Re: why ADODB.connection can not be used in background?

$
0
0

Hello Jin Pan

 

The ABAP statements 'CREATE OBJECT' and 'CALL METHOD OF' use OLE automation on a (Windows) sapgui client. When you run a program in background it is executed directly on the SAP backend and there is no connection to a client computer. The SAP backend might even not run on Windows but on another operating system that doesn't support OLE automation. But even when it is these OLE statements only apply to client computers.

 

When you need to connect to a database in background you need another solution then OLE automation. Solutions like DBCON or UDConnect.

 

Regards Jack


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>