Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

Open Cursor of secondary HANA database with ADBC

$
0
0

Hi HANA-experts,

 

I need help to change an open cursor of the primary database to an open cursor of the secondary HANA database with ADBC. The open cursor of the primary database is the following:

 

OPEN CURSORcursorFOR

SELECTfieldname1 fieldname2

FROMviewname

WHEREfieldnameIN rangetab.

 

DO

FETCH NEXT CURSORcursor

INTO CORRESPONDING FIELDS OF TABLEinterntab

PACKAGE SIZEcursor_size.

IF sy-subrc <> 0.

EXIT.

ELSE.

"todo

ENDIF.

ENDDO.

 

CLOSE CURSOR:cursor.

 

I have defined the view in HANA Studio. I want to call this view with an open cursor in ERP. I need now a SELECT with cursor using ADBC. Can you give me the best way to solve it?

 

Thx, mlf


Viewing all articles
Browse latest Browse all 831


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