on 09-29-2006 8:39 AM
Hi all,
can somebody explain me how can I do a mapping between some XML message and message, that comes from database in Design Integration Builder?
I have already done this mapping between 2 xml message and it works.
Now I have to change input-message, it should be from database. I don't know, how I describe this message?
Have I defined there a database structure or only a structure of queryresult? How I can do it? Is there any specification, how it should be done?
I find only an explanation how you can configure JDBC adapter
http://help.sap.com/saphelp_nw04/helpdata/en/e1/091640a991c742e10000000a1550b0/frameset.htm -
Hi Anna,
Please go through these links and i am sure they will help you understand how the structure for the database should look like...
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/frameset.htm
Also go through these links to get more info on the scenario you are trying...
http://help.sap.com/saphelp_nw04/helpdata/en/80/4f34c587f05048adee640f4c346417/frameset.htm
Regards,
Abhy
Message was edited by: Abhy Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anna:
1) communication channel:
First you have to identify the structure of your database table. For this you can use a sender-communication channel the read data from the database by a select statement
2) SXMB_MONI
If your select-statement works correct, you will see a message in SXMB_MONI. This is how you have to design your datatype & message type.
(Do not forget to set your CC inactive. Otherwise you will get lots of messages in SXMB_MONI)
3) Mapping
On this base you can do your mapping
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Mario!
thank you for your answer.
The first one I'v already done. But can not see any message in SXMB_MONI.
I could not create either a "sender agreement" or "interface determination", because I did not have any interface for this channel yet. Order to create this interface I need a date type -- message type -- message interface.
It was my question, how I can define date type or message type from the message from db?
regards and thank you
I could not create either a "sender agreement" or "interface determination", because I did not have any interface for this channel
>>> it is enough to configure the sender agreement with communication channel, that the messages reaches SXMB_MONI!!
You will see a red flag, because there is no receiver- & interface determination.
But for the first step (your mapping) you just need the payload from SXMB_MONI.
Then take the payload and design your date type/message type/message-interface.
Regards Mario
Hello friends,
thank you for your help. I use one of blogs, that Abhy adviced me.
Mario you were right, it is a problem with adapter.
The driver was loaded successfully, but it is not compliant to JDBC.
Could you say me please, which values should I put into connection-field? What driver for MySQL is JDBC compliant?
The error-message, what I am getting, is below:
Processing Error: Accessing database connection 'jdbc:mysql://test:3306;DatabaseName=test;SelectMethod=cursor' failed: java.sql.SQLException: No suitable driver
Addtional information: JDBC driver 'com.mysql.jdbc.Driver' loaded successfully, additional driver information:
Available JDBC drivers:
com.mysql.jdbc.Driver, 3.0 NOT JDBC compliant
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.