Hi All,
My aim is to triggered the stored procedure in SQL and get the data into Internal table. Connections looks good.
My Code -
types: begin of ithead,
ID1(10) type c,
ID2(10) type c,
end of ithead.
data: wa type ithead,
it type table of ithead.
DATA: year(4) TYPE C VALUE '2012',
month TYPE I value 12,
CB type string.
* opening the connection
EXEC SQL.
CONNECT TO 'ELIPSE'
ENDEXEC.
*executing procedure
EXEC SQL.
EXECUTE PROCEDURE GetTrialBalTable ( IN :year,
IN :month,
OUT :it )
ENDEXEC.
But it is going to dump saying "The error 8144 occurred in the current database connection "ELIPSE"."
But when i write EXECUTE PROCEDURE without OUT then procedure is working but i need the data into my internal table.
EXEC SQL.
EXECUTE PROCEDURE GetTrialBalTable ( IN :year,
IN :month )
ENDEXEC.
Any help on this ?
Regards
VEnk@