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