on 01-17-2011 3:46 PM
Hi,
I am using Max DB Database studio to write stored procedure, I am calling stored procedure from MII Query using CALL statement.
Can anyone guide me how to pass output values of stored procedure.
Examlpe::
call ProcName('[Param.1]','[Param.2]','[Param.3]','[Param.4]','[Param.5]', :isSuccess, :Trace)
In the above line of code I am not able to get the output values of stored procedure that is isSuccess and Trace values in Query template when executed. But same thing I get when executed in Database studio.
How do I call with outputs for any stored procedure in MII.
Any help would be appriciated.
Thanks,
Padma
Hi Padma,
In your query inside of MII, what Mode are you using? Have you tried "FixedQueryWithOutput" mode?
Kind Regards,
Diana Hoppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My call statement is like this
call RESULTDATA_INSERT('[Param.1]','[Param.2]','[Param.3]', :isSuccess, :Trace)
I am able to insert record in DB, But I am not getting output values in Query template.I have done this in Fixed Query, when I execute it throws me "Fatal error as Loaded content empty".
I tried giving select below call but it dont work.
Regards,
Rao
Hi Simon,
I was never able to find a resolution for this issue. I advise that you create a ticket in the SAP Support system. I could call the stored procedure from Database Studio and return a result set, but I could not do it from MII, using FixedQuery or FixedQueryWithOutput modes. I'm thinking it may be an issue with the driver.
Kind Regards,
Diana Hoppe
Edited by: Diana Hoppe on May 27, 2011 11:09 AM
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.