SAP® Documentation

Single view

COMMIT WORK in SELECT loops
Tip-No.: 72 ( INFO72 )

PERFORM Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

COMMIT WORK in SELECT loops
Tip-No.: 72

Symptom

Program abend (RSQL error 4096)

Cause

The data base cursor was closed implicitly or explicitly within a
SELECT or EXEC SQL loop. The following language elements could lead
to this:

Explicit : COMMIT WORK
ROLLBACK WORK

Implicit : MESSAGE (except MESSAGE S... )
COMMUNICATION
CALL SCREEN or other constructions that lead to
screen output.
CALL DIALOG
CALL TRANSACTION
SUBMIT
BREAK-POINT (if an ABAP program or a screen
had to be previously generated, also valid for
dynamically set breakpoints)

Solution

Do not use these language elements in SELECT or SQL loops.






General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1002 Date: 20191024 Time: 005800     sap01-206 ( 26 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.