0% found this document useful (0 votes)
135 views10 pages

SAP XI 3.0 - JDBC - Receiver

this documentation provides information about creating a JDBC receiver channel receiver means that data is written into a database via XI JDBC adapter Prerequisite for using the JDBC adapter is of course access to a database system like SAP DB or MS SQL server or any database that provides a JDBC driver An appropriate JDBC driver must be deployed on the system. See XI Configuration Guide for more information Be sure that in SQL Server authentication mode is set to “mixed mode”. Right click your DBMS Server in Enterprise Manager Tool and select “properties” ->”security”-> choose “SQL server and windows” authentication To configure a complete roundtrip you could define a file sender channel where the message is send from Routing rules and sender has to be specified as for any other channel in the directory object model

Uploaded by

umesh.soni
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
135 views10 pages

SAP XI 3.0 - JDBC - Receiver

this documentation provides information about creating a JDBC receiver channel receiver means that data is written into a database via XI JDBC adapter Prerequisite for using the JDBC adapter is of course access to a database system like SAP DB or MS SQL server or any database that provides a JDBC driver An appropriate JDBC driver must be deployed on the system. See XI Configuration Guide for more information Be sure that in SQL Server authentication mode is set to “mixed mode”. Right click your DBMS Server in Enterprise Manager Tool and select “properties” ->”security”-> choose “SQL server and windows” authentication To configure a complete roundtrip you could define a file sender channel where the message is send from Routing rules and sender has to be specified as for any other channel in the directory object model

Uploaded by

umesh.soni
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10

XI30 J2EE AE JDBC adapter

receiver channel

Dennis Kropp,
SAP SI AG

JDBC adapter - prerequisites

this documentation provides information about creating a JDBC receiver channel

receiver means that data is written into a database via XI JDBC adapter Prerequisite for using the JDBC adapter is of course access to a database system like SAP DB or MS SQL server or any database that provides a JDBC driver An appropriate JDBC driver must be deployed on the system. See XI Configuration Guide for more information Be sure that in SQL Server authentication mode is set to mixed mode. Right click your DBMS Server in Enterprise Manager Tool and select properties ->security-> choose SQL server and windows authentication To configure a complete roundtrip you could define a file sender channel where the message is send from Routing rules and sender has to be specified as for any other channel in the directory object model

SAP AG 2003, Title of Presentation, Speaker Name / 2

Example : definition in repository (source)


Data type definition in IB repository for source structure

SAP AG 2003, Title of Presentation, Speaker Name / 3

Example : Source structure instance


This structure is provided by a sender, e.g. file adapter

<?xml version="1.0" encoding="UTF-8"?> <ns:MT_Products xmlns:ns="http://sap.com/xi/jdbc"> <Products cat=HARD"> <Product> <ID>3324</ID> <name>AMD Athlon64 3400</name> <number>5</number> </Product> <Product> <ID>4424</ID> <name>INTEL XEON 1600</name> <number>3</number> </Product> </Products> </ns:MT_Products>

SAP AG 2003, Title of Presentation, Speaker Name / 4

Example : expected structure (target)


expected structure by JDBC adapter:

<StatementName> <dbTableName action=INSERT> <table>realDbTableName</table> <access> <col1>val1</col1> <col2>val2</col2> </access> <access> <col1>val11</col1> </access> </dbTableName> </StatementName>

SAP AG 2003, Title of Presentation, Speaker Name / 5

Example : definition in repository (target)


Data type definition in IB repository for target structure

SAP AG 2003, Title of Presentation, Speaker Name / 6

Example : Mapping of structures in IB


you need a mapping to convert source into target structure

SAP AG 2003, Title of Presentation, Speaker Name / 7

Example : structure after mapping


<?xml version="1.0" encoding="UTF-8"?> <ns:MT_OrderJDBC xmlns:ns="http://sap.com/xi/jdbc"> <Statement> <orders action="INSERT"> <access> <artNumber>3324</artNumber> <description>AMD Athlon64 3400</description> <quantity>5</quantity> <new>true</new> </access> <access> <artNumber>4424</artNumber> <description>INTEL XEON 1600</description> <quantity>3</quantity> <new>true</new> </access> </orders> </Statement> </ns:MT_OrderJDBC>

SAP AG 2003, Title of Presentation, Speaker Name / 8

IB Directory receiver channel configuration

SAP AG 2003, Title of Presentation, Speaker Name / 9

Result: data in DB

SAP AG 2003, Title of Presentation, Speaker Name / 10

You might also like