Hi Sophia,
To use a stored procedure in sender jdbc is easy, you have an example here: Executing stored procedure from Sender adapter in SAP PI 7.1
Also, with Oracle database i got a correct UPDATE typing the next in the UPDATE SQL Statement box:
DECLARE RESULT NUMBER; BEGIN RESULT := mySotoredProcedure(1); END;
The stored procedure has to be in the Database then you need PL/SQL knowledge (or someone in your team) to do the stored procedure with a third database management application like the TOAD.
Regasds.