2008 Dec 29 6:40 AM
Hi,
Can we trigger a store procedure on Oracle database using ABAP program.
our case is that we are using the stored procedure which was used in source system oracle DB in SAP BI oracle database, we need to schedule this stored procedure.
Regards,
Mani
*
o Answers will be rewarded with points
Hi,
Can we trigger a store procedure on Oracle database using ABAP program.
our case is that we are using the stored procedure which was used in source system oracle DB in SAP BI oracle database, we need to schedule this stored procedure.
Regards,
Mani
*
o Answers will be rewarded with points
2008 Dec 29 7:17 AM
Dear Manikandan,
The statement EXECUTE PROCEDURE calls a procedure proc stored in the database. For all formal parameters of the procedure, you must specify the actual parameters, separated by commas. You must specify IN, OUT, or INOUT before every actual parameter, in order to indicate whether the parameter is an input, output, or input/output parameter. You can use literals or host variables labeled by a colon ( for the actual parameters. When internal tables are used they must be standard tables without secondary table keys.
The codel below should help you:
EXEC SQL.
EXECUTE PROCEDURE proc ( IN p_in1 IN p_in2 ...,
OUT p_out1 OUT p_out2 ...,
INOUT p_inout1 INOUT p_inout2 ... )
ENDEXEC.
Regards,
Nimish
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |