hello team
i have created a simple procedure with input and output parameters as below
Begin
Out_Put = select * from "ABC"."BOOKS_TABLE" where "BOOK_ID" = :input; ( ie. i have defined a input parameter here)
end
Here my Out_Put parameter is having all the same fields with size of table BOOKS_TABLE. now i want to call this procedure to display all the fields.
As per my understanding i need to call this procedure in script based calculation view or any sql based procedure.. please correct me if i am wrong here.
What i have done to call this procedure as below to display all fields values in result
1, i have created a calculation view (script based) and tried to call the procedure with input and output parameters. I am not success here.
2. i have created all the output columns same as which are there in my Out_Put parameter and specified attributes and measures also in sematics.
3. i have called my procedure with call statement like CALL <procedure name> (input, output) as below.
BEGIN
IT_CURR = CE_COLUMN_TABLE("ABC"."BOOK_TABLE");
var_out = CALL "_SYS_BIC"."zraj_pack/ZPROC_SIMPLE" ("M1",IT_CURR);
END /********* End Procedure Script ************/
Request you to please check and let me know where i am doing a mistake.. i dont want to do any calculations i just wants to display all the fields of the BOOK_TABLE.
Rgrds
Raj