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

JDBC source in a Synchronous BAPI call.

Hello,

I have PO creation integration setup. The source is a JDBC staging table and the goal is to create the PO in SAP from the info in the table, and then kick back a PO number to a return table for the source system to use.

To do this, I have an sender JDBC adapter setup and a receiver RFC adapter for the BAPI_PO_CREATE1 BAPI.

The question I have is around the response. The BAPI sends back a BAPI_PO_CREATE1.Response message that should come back through my mapping and then needs to post to a return table. Do I need to create a separate Receiver determination or agreement for the JDBC outbound transaction, or will the JDBC adapter setup as the sender (for the initial pull) be used in a receiver mode automatically?

I hope this makes sense.

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2005 at 08:47 PM

    Hi Tom,

    Were you able to achieve this end-to-end communication as mentioned below ? I am trying a similar scenario in XI 3.0 here JDBC <-- > XI < --> SAP . I am using a sender JDBC adapter to query a DB send the message out to XI --> translates into an RFC call to SAP --> synchronous response from RFC call --> XI --> Mapping in XI --> Synchronous response back to DB...

    In my case, the synchronous response back from RFC is getting lost - I guess the receiver JDBC adapter is asynchronous and hence have to use a Async --> Synch bridge....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2005 at 08:59 PM

    Hi ,

    I would suggest you to split the scenario into two scenarios.

    Scenario I : From SAP you will pull information from the JDBC table, create PO in SAP

    Scenarios II : Now push the PO number from SAP to the staging table.

    Naveen

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 29, 2005 at 12:03 AM

    Hi Tom,

    To your question of whether the sender JDBC can be used in a receiver mode - the answer is NO...

    The solution could be like....You will have a BPM which 1.receives the message from the sender JDBC adapter, 2.makes the syncronous RFC call and get the result back and

    3.make a jdbc call(using a JDBC receiver channel) to do an update of your original record in the staging table

    Thanks & Regards,

    Renjith

    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.