Hi Ravi,
I get the below error with this sample code and I am writing this using File --> New --> cerate new procedure where in the procedure is created in the project explorer tab and we can debug this procedure as well.
CREATE PROCEDURE update_proc ( )
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
DEFAULT SCHEMA "SYSTEM"
READS SQL DATA AS
BEGIN
/*****************************
Write your procedure logic
*****************************/
INSERT INTO "SYSTEM"."cp_Trend" VALUES ('1020','TP1','PF2','TR1','CN1','10','180','10/1/2012');
END;
2) The below code without SECURITY INVOKER which gives me the privilege error as shown in my previous post:
CREATE PROCEDURE update_proc ( )
LANGUAGE SQLSCRIPT AS
--SQL SECURITY INVOKER
--DEFAULT SCHEMA <schema>
--READS SQL DATA AS
BEGIN
/*****************************
Write your procedure logic
*****************************/
INSERT INTO "SYSTEM"."cp_Trend" VALUES ('1020','TP1','PF2','TR1','CN1','10','180','10/1/2012');
END;
If I write a procedure out of SQL console (which is not a recommended approach from SAP) I would not be able to debug it by setting up a break point so basically I want to write a procedure with INSERT/UPDATE/DELETE and be able to dug it as well. Appreciate any help around this!
Thanks,
Anil
Thanks,
Anil
