cancel
Showing results for 
Search instead for 
Did you mean: 

Data Services - Error on SQL Transact

mtayibi
Participant
0 Kudos
106

Hello,

I am getting an error while scheduled job has failled with " SQL submitted to database <datastore> resulted in error <>. The SQL submitted is <SQLTransact> "

And the same job has successfully ran after manually triggered. I also run it successfully after sheduled it.

Data Service Version 14.2.11.2187

Database connection via ODBC S4HANA

 

Error

Log File: error_03_13_2025_01_05_03_149__4ed10ab8_c515_45f6_b874_74f912834377.txt

(14.2) 03-13-25 01:07:04 (E) (17364:18112) DBS-070404: |Data flow DF_EXT_S4_SALES_VBAK_VBAP | Loader Query_EXT_S4_SALES_VBAK_VBAP

SQL submitted to the ODBC data source S4HANA_PROD resulted in error <>. The SQL submitted is SQLTransact.

(14.2) 03-13-25 01:08:06 (E) (12872:9500) DBS-070404: |Data flow DF_EXT_S4_SALES_VBAK_VBAP | Loader Query_EXT_S4_SALES_VBAK_VBAP

SQL submitted to the ODBC data source S4HANA_PROD resulted in error <>. The SQL submitted is SQLTransact.

error message.png

kr

View Entire Topic
jmuiruri
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @mtayibi,

The issue appears to be happening on the database side, The SQLTransact shown here indicates that it is requesting a commit or rollback operation for all active operations on all statements associated with that particular connection. 

Since you are using ODBC, i wonder if enabling ODBC tracing will provide us with insights into what's happening. I don't know what's your target DB, but i assume it's HANA, in which case you could try enabling ODBC tracing as per the guide below

Then reproduce the issue and check the generated logs. Before attaching the odbc logs here, please make sure that you have redacted all the PII.

Regards,

Joe