Below error was occurring during activation of a scenario.
sap hana java.lang.IllegalStateException: java.sql.SQLException: Table type not found
I created a stored procedure as below
PROCEDURE "SRM_GRP_REPL"."RFX_Business_Scenario::chk_replication" ( out OUTPUT_TABLE table(TOTAL_COUNT integer) )
calling this function is legal. But when I use this in a scenario it generates error.
Unexpected problem ocurred while validating scenario artifacts
java.lang.IllegalStateException: java.sql.SQLException: Table type not found

Probably OPInt have difficulty with a temp table declaration. ( table(TOTAL_COUNT integer) )
Converting it into a real table type fixed the problem.
PROCEDURE "TARGET_SCHEMA"."RFX_Business_Scenario::chk_replication" ( out OUTPUT_TABLE "MYSCHEMA"."DAILYCOUNT" )
No comments:
Post a Comment