Hi,
I am trying to create a procedure in PAL using the following script and I get the following error -
Script - CALL SYSTEM.AFL_WRAPPER_GENERATOR ('PAL_ABC', 'AFLPAL', 'ABC', PAL_ABC_SIGNATURE);
Error - Could not execute 'CALL SYSTEM.AFL_WRAPPER_GENERATOR ('PAL_ABC', 'AFLPAL', 'ABC', PAL_ABC_SIGNATURE)' in 117 ms 623 µs . SAP DBTech JDBC: [423]: AFL error: [423] SYSTEM.AFL_WRAPPER_GENERATOR: line 38 col 1 (at pos 1957): AFL error exception: AFL error: registration finished with errors, see indexserver trace
Trace -
pop.setNameOfMainFunction('main')
pop.addParameter('PROC','PAL_ABC',0,83, 5000, 0)
pop.addParameter('AREA','AFLPAL',0,83, 5000, 0)
pop.addParameter('AFL','ABC',0,83, 5000, 0)
pop.addInputNodeMapping('DATA','DATA')
pop.setNameOfContext('sp')
pop.setSchema('SYSTEM')
pop.setExecuteUser('SYSTEM')
pop.setScenarioName('SYSTEM:_SYS_SS_CE_4511176_TMP')
pop.setCacheKey('"SYSTEM"."_SYS_SS_CE_4511176_TMP".525E8F815F0DA183E10000000A749ED1')
pop.setOriginalNodeName('$$DUMMY$$')
[6324]{203808}[353/29262417] 2013-10-23 15:11:53.958468 e cePlanExec cePlanExecutor.cpp(06282) : Error during Plan execution of model SYSTEM:_SYS_SS_CE_4511176_INS (-1), reason: SYSTEM.AFL_WRAPPER_GENERATOR: line 38 col 1 (at pos 1957): AFL error exception: AFL error: registration finished with errors, see indexserver trace
I have used the following scripts to create the other components -
CREATE TYPE PAL_T_ABC_DATA AS TABLE (CUSTOMER VARCHAR(60), LIFESPEND DOUBLE);
CREATE TYPE PAL_T_ABC_PARAMS AS TABLE (NAME VARCHAR(60), INTARGS INTEGER, DOUBLEARGS DOUBLE, STRINGARGS VARCHAR (100));
CREATE TYPE PAL_T_ABC_RESULTS AS TABLE (ABC VARCHAR(60), CUSTOMER VARCHAR(60));
CREATE COLUMN TABLE PAL_ABC_SIGNATURE (ID INTEGER, TYPENAME VARCHAR(100), DIRECTION VARCHAR(100));
INSERT INTO PAL_ABC_SIGNATURE VALUES (1, 'PAL_T_ABC_DATA', 'in');
INSERT INTO PAL_ABC_SIGNATURE VALUES (2, 'PAL_T_ABC_PARAMS', 'in');
INSERT INTO PAL_ABC_SIGNATURE VALUES (3, 'PAL_T_ABC_RESULTS', 'out');
Whats the issue and how can it be fixed, please advise. Thanks.