Quantcast
Channel: SCN: Message List - SAP on Oracle
Viewing all articles
Browse latest Browse all 5847

Re: INSERT with CONNECTION to an external Database.

$
0
0

Hi James,


   Thank you for your response.. Please let me know is that you are looking for.  The SQL I have used


PERFORM connect_dbase.

Try.

INSERT opdev.opfa_walker_summary_temp_sap@PROD01 connection 'PAYPROD'

             from table gt_summary.

CATCH cx_sy_native_sql_error INTO exc_ref.

       error_text = exc_ref->get_text( ).

       MESSAGE error_text TYPE 'I'.

       STOP.

   ENDTRY.

PERFORM disconnect_dbase.


The Connect_dbase - Establish Connection with the PROD01 server, OPDEV is the Schema.  opfa_walker_summary_temp_sap is the table I am trying to insert from SAP internal table gt_summary.


Regards,

Asha


Viewing all articles
Browse latest Browse all 5847

Trending Articles



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