Hi Patrick,
Taking your sample as sample.
call "_SYS_BIC"."myProcedure" ('122',var_out, another_var_out);
I'm guessing the 2 results of myProcedure are of same type. Isn't it?
If yes you just need to union these two results to fill var_out, like:
call "_SYS_BIC"."myProcedure" ('122',lt_result1, lt_result2);
var_out = CE_UNION_ALL(:lt_result1,:lt_result2);
or with SQL should be:
var_out = select MyFirstCount from :lt_result1 UNION ALL select MyFirstCount from :lt_result2;
In other hand if the output of your procedures are scalar variable, you first need to "transform" it on same table type for varout...
call "_SYS_BIC"."myProcedure" ('122',lv_var1, lv_var2);
var_out = select :lv_var1 as MyFirstCount from dummy union all select :lv_var2 as MyFirstCount from DUMMY;
Sorry, but as the sample is too generic the answer is also too much generic. I hope you understand what's behind.
Regards, Fernando Da Rós