Skip to Content
author's profile photo Former Member
Former Member

SAP PI call stored procedure and retrieve results with query

Hi PI experts,

in on of our projects we have a synchronous scenario where we first need to call a stored procedure with some input parameters and then query (select) some database tables which were updated by the stored procedure:

SAP <=> PI <=> JDBC

As part of the JDBC access, we would have to first call the stored procedure and then do the select to obtain the data.

Any ideas how to do this using the JDBC receiver adapter (without ccBPM)?

Any help is appreciated.

Best regards,

Matthias

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 14, 2013 at 11:05 PM

    Any ideas how to do this using the JDBC receiver adapter (without ccBPM)?

    Any help is appreciated.

    One possible approach I can think of is use SAP -> PI -> JDBC(SP) request and send some dummy response from the SP to jdbc as response and in the response mapping you can use jdbc lookup to do select (query) those updated database tables or JDBC UDF or java mapping if the query is so complex and send the response to SAP back.

    SAP (request) - PI --> JDBC(SP) Request

    JDBC(Resp) -PI->(response mapping jdbc lookup)->SAP

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.