Ansicht
Dokumentation
Tip-No.: 615 ( INFO615 )
Abend due to invalid statement
Tip-No.: 615
( INFO615 )
General Material Data
ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Short text
Abend due to invalid statement
Tip-No.: 615
Symptom
Abend of ABAP/4 runtime system with error message:
"Statement ... not permitted in current state."
Cause
The ABAP/4 runtime system distinguishes at present bt. following
circumstances:
- Dialog
- VUpdating
- Batch
- Calling from C environment via ab_rperf()
(this state is also reached internally, if Dictionary fields are
either transported with conversion exit bt. screen and module pool or
or output with WRITE To)
In the various states, the following language elements are not supported
- Dialog:
. With "SET ... TRACE" - on/off batch tracr options
- Updating:
. CALL SCREEN, EXIT FROM STEP LOOP
. CALL DIALOG, CALL TRANSACTION
. SUBMIT
. With "SET ... TRACE" - on/off batch trace options
- Batch: no restrictions
- Calling from C environment ab_rperf():
. CALL SCREEN, EXIT FROM STEP LOOP
. CALL DIALOG, CALL TRANSACTION
. SUBMIT
. COMMUNICATION (CPIC- interface
. BREAK-POINT (Debugging)
. COMMIT, ROLLBACK
. MESSAGE of Type W or I (restartable message)
Solution
If code is to be executeable in various conditions, then you may only
use the language scope supported in all of the states.
Fill RESBD Structure from EBP Component Structure Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 1526 Date: 20240425 Time: 164257 sap01-206 ( 18 ms )