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

Scheduling of three inbound JDBC Adapters for a single outbound interface.

Hi,

We have <b>a single outbound interface</b> to XI system where the XI system is getting messages from the R/3 system using ABAP proxy.

The <b>outbound interface has corresponding three inbound interfaces</b>, which are required to update three tables in an oracle database (legacy system). <b>Out of the three tables to be updated, two of them has foreign key relationships.</b>

<b>How can I schedule the JDBC adapters so as to update the related tables in a defined sequence using a single outbound interface?</b>

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2004 at 12:38 PM

    I guess this is XI 2.0 you are talking about ?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      In XI 3.0 I think you could use the Business Process Modeller to do this. Unfortunately this is not available in version XI 2.0.

      It would be something like this in basic terms :

      Start of Business Process -> Send message 1 -> If works ok -> Send message 2 -> If works -> Send message three -> end of Process

      The business process can be triggered on receipt of a single message type so this would work for your scenario.

      One question I have for you :

      Is it not possible of your target object to have all three objects you wish to update and then create the mapping for this ?

      Kind regards

      Colin. 😊

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2004 at 11:51 PM

    Hi Indranil,

    I'm not sure, if this is available in XI 2.0, but in XI 3.0 you use native SQL with the JDBC Adapter to transfer statements unaltered to the database.

    I have not worked with it so far, but the sample for the XML file to send to the adapter looks, like you could submit several statements in one XML.

    "XML Document Format for the Message Protocol XML SQL Format

    You can modify one or more database tables by means of a message. Depending on the

    content of the message, you can either insert (INSERT), update (UPDATE) or delete

    (DELETE) the data. Results from queries (SELECT) can also be included in the response in

    XML format for synchronous messages. The XML document must have the following schema

    in this case:

    <root>

    <StatementName1>

    <dbTableName action=&#8221;UPDATE&#8221; | &#8220;UPDATE_INSERT&#8221;>

    <table>realDbTableName</table>

    <access>

    <col1>val1</col1>

    <col2>val2new</col2>

    </access>

    <key1>

    <col2>val2old</col2>

    <col4>val4</col4>

    </key1>

    <key2>

    <col2>val2old2</col2>

    </key2>

    </dbTableName>

    </StatementName1>

    <StatementName2>

    <table>realDbTableName</table>

    <dbTableName action=&#8221;INSERT&#8221;>

    <access>

    <col1>val1</col1>

    <col2>val2</col2>

    </access>

    <access>

    <col1>val11</col1>

    </access>

    </dbTableName>

    </StatementName2>

    <StatementName3>

    <dbTableName action=&#8221;DELETE&#8221;>

    <key1>

    <col2>val2old</col2>

    <col4>val4</col4>

    </key1>

    <key2>

    <col2>val2old2</col2>

    </key2>

    </dbTableName>

    </StatementName3>

    <StatementName4>

    <dbTableName action=&#8221;SELECT&#8221;>

    <table>realDbTableName</table>

    <access>

    <col1/>

    <col2/>

    <col3/>

    </access>

    <key1>

    <col2>val2old</col2>

    <col4>val4</col4>

    </key1>

    <key2>

    <col2>val2old2</col2>

    </key2>

    </dbTableName>

    </StatementName4>

    <StatementName5>

    <storedProcedureName action=&#8221; EXECUTE&#8221;>

    <table>realStoredProcedureeName</table>

    <param1 [isInput=&#8221;true&#8221;] [isOutput=true]

    type=SQLDatatype>val1</param1>

    </storedProcedureName >

    </StatementName5>

    </root>

    "

    The documentation goes on with detailed explanation and to me, it seems that the only thing you would need to do is putting your 3 inbound interfaces into one.

    Best regards

    Christine

    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.