Hi all,
I am trying to create a simple PAL procedure, described in this thread:
http://scn.sap.com/thread/3374278
and each time I try to do this I get this error:
Could not execute 'CALL SYSTEM.AFL_WRAPPER_GENERATOR ('PAL_TS_S', 'AFLPAL', 'SINGLESMOOTH', PAL_TS_SIGNATURE)' in 254 ms 967 µs .
SAP DBTech JDBC: [423]: liveCache error: [423] SYSTEM.AFL_WRAPPER_GENERATOR: line 34 col 1 (at pos 1717): liveCache error exception: liveCache error: registration finished with errors, see indexserver trace
when I see the index server trace file I find that the origin of this error is the following:
2013-06-13 05:29:44.021650 e AFLPM_SQL AFLPM_SQLDriverObj.cpp(04529) : Registration of AFL wrapper my_proc_14_20_13_06_2013 failed at "CREATE TYPE _SYS_AFL.PAL_TS_S__TT_P1 AS TABLE ( "CALENDAR_ID" INTEGER, "CALENDAR_ID" INTEGER, "CALENDAR_ID" INTEGER, "CALENDAR_ID" INTEGER, "CALENDAR_ID" INTEGER, "SALES_AMOUNT" DOUBLE, "SALES_AMOUNT" DOUBLE, "SALES_AMOUNT" DOUBLE, "SALES_AMOUNT" DOUBLE, "SALES_AMOUNT" DOUBLE )" with error 272: "duplicate column name - CALENDAR_ID: line 1 col 65 (at pos 64)"!
[81119]{218365}[148861656]
where you can see clearly that the column names for the TYPE TABLE PAL_TS_S__TT_P1 are duplicated. The problem is that this code is automatically generated by the AFL_WRAPPER_GENERATOR file. Do you know what can be causing this problem, and what to do to solve this problem?
Please, if you any ideas, feel free to share.
Thanks & Regards
Mohamed Ali