Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3257

Native SQL ( EXEC SQL .. ENDEXEC) statements in BW while migrating from Oracle to HANA

$
0
0

Hello ,

 

Need some help around Native SQL statements in SAP BW!

 

We are migrating from BW 7.3 on Oracle to BW 7.4 on HANA. we have come across Native SQL statements in some of the ABAP functions/programs in BW.

 

Examples are given below.

 

e.g1 :

_____________________________________________________________

EXEC SQL.

    open dbcur for

    select f1,f2,f3

               FROM dba_tables

               WHERE      table_name LIKE param_tabnme

                    AND   num_rows > param_numrow

  ENDEXEC.

 

      EXEC SQL.

        fetch next dbcur into :wa_tab

      ENDEXEC.

_____________________________________________________________

e.g2 :

_____________________________________________________________

 

EXEC SQL.

  connect to 'XXX1_CONN' as 'XXX1'

ENDEXEC.

 

EXEC SQL.

  set connection 'XXX1'

ENDEXEC.

 

EXEC SQL.

  OPEN dbcur FOR

  SELECT CA,COC, U_T

  FROM CONGIF_BW.TB_CMAUTH

ENDEXEC.

 

DO.

  CLEAR: l_s_auth.

 

  EXEC SQL.

    FETCH NEXT dbcur .....

 

  ENDEXEC.

___________________________________________________________

 

Now question is do we need to take any precautionary measures before we migrate to HANA regarding these statements? Or will these work just fine

post migration too? Please try to answer.

 

 

 

Regards,

Dinakar


Viewing all articles
Browse latest Browse all 3257

Trending Articles



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