In production system, sometimes it dumps with this error:
Runtime Errors DBIF_RSQL_INVALID_RSQL
Exception CX_SY_OPEN_SQL_DB
And here is the code cause this problems:
CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = 'ZVKN_TRPHIST'. MODIFY zvkn_trsphist FROM TABLE lt_trsphist. <<<<<< Error CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = 'ZVKN_TRPHIST'. IF sy-subrc EQ 0. return-type = 'S'. ELSE. ROLLBACK WORK. return-type = 'E'. ENDIF.
I have tried to use ENQUEUE statement with WAIT but no succeed. How to manage with no dump?