Ansicht
Dokumentation

SQ20430 - Global variable &1 in &2 may not be used in this context. ( OS/400 )

SQ20430 - Global variable &1 in &2 may not be used in this context. ( OS/400 )

PERFORM Short Reference   General Data in Customer Master  
This documentation is copyright by IBM.
SAP E-Book


Message : SQ20430
Global variable &1 in &2 may not be used in this context.

Message Long Text :

Cause . . . . . : Global variable &1 in &2 may not be set or used for one of the following reasons:
-- A global variable value may not be set in a user-defined function or trigger, or in any routine invoked by a user-defined function or trigger. A global variable can be set when it is specified on the left side of SET, in the INTO variable list of SELECT INTO or VALUES INTO, or as an argument for an output parameter on CALL.
-- A global variable may not be used in a PREPARE, OPEN, EXECUTE IMMEDIATE or FETCH statement when the current connection is to a remote database.
Recovery . . . :
-- Remove the failing statement from the function or trigger body and set the global variable value prior to invocation of the function or trigger.
-- Run the PREPARE, OPEN, EXECUTE IMMEDIATE or FETCH statement when the current connection is to the local database.

Message File : QSQLMSG
Library Message File : QSYS2924


Addresses (Business Address Services)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by IBM.

Length: 3247 Date: 20240420 Time: 021814     sap01-206 ( 4 ms )