Table <str> has not been declared in module or environment Explanation: The local temporary table has not been declared, or its declaration is not valid in this context. User Action: Declare the local temporary table (DECLARE LOCAL TEMPORARY TABLE) in the module header.