Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime error DBIF_RTAB_SQL_ERROR

cfahad483
Explorer
0 Kudos

Runtime error DBIF_RTAB_SQL_ERROR

Short text | | SQL error occurred in the database when accessing a table.

How to correct the error | | Database error text........: "SQL30081N A communication error has been | | detected. Communication protocol being used: "TCP/IP". Communication API being | | used: "SOCKETS". Location where the error was detected: "209.55.149.77". | | Communication function detecting the error: "recv". Proto" | | Internal call code.........: "[RTAB/INS /VBMOD ]" | | Please check the entries in the system log (Transaction SM21).

PERFORM internal_addlock
USING
ptoken
gluw_guid
ltoklock_num
ltoklock_ts
sy-uname
pmoninfo
ltoklock_tokmgr
ltokref_num
pscope
lactual_scope
lfcisac-isact
CHANGING
lsubrc.
* "Ausnahmebehandlung"
IF lsubrc <> 0.
CASE lsubrc.
WHEN cex_precondition. " erwarteter Eintrag fehlt
re_raise inconsistency.
WHEN cex_lock_accumulation_failed. " neuer Eintrag "passt" nicht
re_raise inconsistency.
WHEN OTHERS.
MESSAGE x000. " Unerwarteter Fehler
ENDCASE.
ENDIF.

* Informiere ggf. sofort Verbucher
IF gin_updatetask = csl_false
AND ginstant_dlg2upd_transfer = csl_true.
CALL FUNCTION 'CSLTM_DLG2UPD_INTERNALADDLOCK' IN UPDATE TASK
EXPORTING
ptoken = ptoken
ptoklock_luw = ltoklock_luw
ptoklock_num = ltoklock_num
ptoklock_ts = ltoklock_ts
ptoklock_user = sy-uname
ptoklock_moninfo = pmoninfo
ptoklock_tokmgr = ltoklock_tokmgr
ptokref_num = ltokref_num
prequested_scope = pscope
pactual_scope = lactual_scope
pisact = lfcisac-isact.
ENDIF.

ENDFUNCTION.

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos

As a rule-of-thumb, if you have a short dump, first follow the instructions given in the short dump how to search SAP notes. If you don't find anything: if it's a standard program, please raise a ticket at SAP support; if it's a custom program, please explain how you get this short dump, and attach the whole short dump as a text file.