Ansicht
Dokumentation

SQL0751 - SQL statement &1 not allowed. ( OS/400 )

SQL0751 - SQL statement &1 not allowed. ( OS/400 )

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by IBM.
SAP E-Book


Message : SQL0751
SQL statement &1 not allowed.

Message Long Text :

Cause . . . . . : The statement &1 is not allowed in a stored procedure, user-defined function, or trigger.
-- Statements not allowed in a trigger program are CONNECT, SET CONNECTION, RELEASE, DISCONNECT, and SET RESULT SETS.
-- RUNSQLSTM is not allowed in a trigger program.
-- COMMIT and ROLLBACK are not allowed in a trigger program if the trigger program is running in the same activation group as the triggering program. COMMIT and ROLLBACK are not allowed in an SQL trigger.
-- ALTER TABLE is not allowed in a trigger program when commitment control is active.
-- COMMIT and ROLLBACK are not allowed if the procedure is defined as COMMIT ON RETURN YES or for a distributed unit of work.
-- Statements not allowed in an SQL BEFORE trigger are INSERT, UPDATE, DELETE, MERGE, ALTER, COMMENT ON, CREATE, DROP, GRANT, LABEL ON, RENAME, REVOKE, REFRESH TABLE, and any subselect containing a data change reference.
-- The RETURN statement is not allowed in an SQL trigger.
Recovery . . . : Remove the statement &1 from your trigger program, user-defined function, or stored procedure. Try the request again.

Message File : QSQLMSG
Library Message File : QSYS2924


ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by IBM.

Length: 3225 Date: 20240419 Time: 102244     sap01-206 ( 3 ms )