Dear community,
I use the HANA Tools for Eclipse and a free Trial HANA Instance on SAP HANA Cloud Platform.
However I have some Problems with the Application Function Library. I can set the Schema to _SYS_AFL but can't drop, create there some view or table.
My code looks like following:
SET SCHEMA _SYS_AFL; DROP TYPE PAL_DATA_T; CREATE TYPE PAL_DATA_T AS TABLE( "CLIENTID" INT, "ITEM" VARCHAR(100) );
and I get following Errors:
Statement 'SET SCHEMA _SYS_AFL' successfully executed in 12 ms 464 µs (server processing time: 0 ms 212 µs) - Rows Affected: 0 Could not execute 'DROP TYPE PAL_DATA_T' SAP DBTech JDBC: [395]: invalid user-defined type name: PAL_DATA_T: line 1 col 11 (at pos 10) Could not execute 'CREATE TYPE PAL_DATA_T AS TABLE( "CLIENTID" INT, "ITEM" VARCHAR(100) )' SAP DBTech JDBC: [258]: insufficient privilege: Not authorized
Any help appreciated!
Regards Matthias