Synchronus file to jdbc Adapter configuration.
Hi ,
I want to configure for Synchronus File to Jdbc Adapter.
Can anyone tell me how to do it.
hemant
Hi,
In this case you would definitely need one file sender and one jdbc receiver adapter.
Create data taype and message type for file sender ,then create message interface for this message type.
Then create datatype for receiver i.e. jdbc.
For jdbc receiver there is one standard format as below:
<root>
<StatementName1>
<dbTableName action=UPDATE | UPDATE_INSERT>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2new</col2>
</access>
<key1>
<col2>val2old</col2>
<col4>val4</col4>
</key1>
</dbTableName>
</StatementName1>
Then create message type and message interface for this message type.This interface will be inbound and synchronous.
Map your file message to jdbc receiver message.
Then map interfaces.
In ID create configuration scenario,assign file sending and jdbc receiver business system to this scenario.
Then create file sender and jdbc receiver communication channel.Create receiver determination,sender agreement and receiver agreement.
But if you want file synchronous scenario then,you need to use BPM for this.
Thanks.
Similar Messages
-
JDBC Adapter configuration not initialized:null
i
we have a synchronous scenario with the following adapters , RFC <> XI <> JDBC.
1.JDBC Driver installation is done
2.RFC Destination type t is done in sap(sender) system.
3.checking the jdbc in VA is done
while running it is giving the following error.
com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
where we have to initialize JDBC Adapter configuration
Thanks in advance
Prasad Nemalikantihi prasad
There are 2 jar files that may be missing from your SQL JDBC driver --> msbase.jar and msutil.jar, I think once you add these to the driver it might work.
also check the driver string for the SQL driver 2 parameters
i.e 'com.microsoft.jdbc.sqlserver.SQLServerDriver' now becomes
'com.microsoft.sqlserver.jdbc.SQLServerDriver'
This will solve your problem
follow this link
Re: MS SQL Server jdbc Driver installation on XI .
XI JDBC Adapter using stored procedures
thanks
sandeep
Reward points if helpful -
Hi All
I am trying to configure File to JDBC Adapter to insert data in the database .I am having problem with message mapping.I get the error with the statement field in mapping .Please can anyone let me know what mapping changes need to be done
My Mapping is as follow
SOURCE TARGET
MT_INFO_DATA----
>MT_JDBC_REC
Header----
> Statement
TABLENAME
Update_insert----
>Action
T_EMPLOYEE(TABLE NAME)----
> TABLE
ACCESS
EMP_NO----
>EMP_NO
COMP_ID----
>COMP_ID
BRANCH----
>BRANCH
Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
Please can anyone let me know what is to be mapped with the field STATEMENT.
Thanks
AmitHi Bhavesh
I did as suggested but still i am getting the following error
Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: ORA-01861: literal does not match format string
- 2007-05-24 06:21:17 IST: Processing started
- 2007-05-24 06:07:48 IST: Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
- 2007-05-24 06:07:48 IST: Processing started
- 2007-05-24 06:05:48 IST: Error: TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found -
Error in JDBC Adapter Configuration....
Hi,
My scenario is like this FTP->XI->Oracle Database.
The problem is that the files are not getting posted to the database though it is running well.
In XI receiver comm channel in JDBC adapter, I have provided the Connection path as jdbc:oracle:thin:@esealmw275.al.sw.ericsson.se:1521:S14. Whereas in channel monitoring it is taking jdbc:oracle:THIN:@esealmw275.al.sw.ericsson.se:1521:S14. Please note it is taking THIN as in caps.
Can anybody suggest me is this the proposed error for that, if it is so, then pls provide me the suitable solution for that.
BR
SoumyaHi Soumya,
Have a look at ths blog...
<a href="/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 to JDBC Adapter using SAP XI 3.0</a> by Anirban Ghatak
Also have a look at this wiki
https://wiki.sdn.sap.com/wiki/display/XI/JDBCTOJDBC
Regards
Santi
<a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way. -
JDBC Adapter configuration not initialized Error
Hi,
I am doing a RFC to JDBC scenario in PI 7.1. I am getting the following error:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: JDBC Adapter configuration not initialized: null
In communication channel monitoring, it shows the following,
Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL '<URL>': SAPClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
The JDBC parameters for driver & connection are correct only.
Is the problem related to deployment of JDBC driver or something else? How can i ensure that the JDBC driver deployment is succesful in PI 7.1?
Edited by: senthil nathan on Mar 25, 2009 10:57 AMHi Senthil,
Your drivers are not installed properly. Please re-deploy them through SDM.
Regards
joel -
JDBC Adapter configuration not initialized
Hi,
I have tested one scenario for WebService to JDBC. Integration engine shows success message.But i got some error in Adapter engine. It shows "JDBC Adapter configuration not initialized".
So, plz anyone give the solution for this problem.
Regards
VijayHi,
1.Check whether the JDBCAdapter is Activated.
2.Check if any firewalls are there frm client side and open
3.Check the password used to connect the Database is correct one.
If all these are fine..do the complete cache refresh once.
Please award marks if found useful.
Thanks
Hamja -
RFC to JDBC JDBC Adapter configuration not initialized: null
Hi Experts,
My scenario is Proxy to JDBC scenario. I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
there is no problem with the User id or password.
com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
let me know how to solve this.
Thanks,
Prem.I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
there is no problem with the User id or password.
com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
Can you ensure that Drivers are properly installed and no problem with them?
Also proper connection parameters are maintained in the JDBC receiver Channel.
Regards,
Abhishek. -
Acknowledgment messages from file 2 jdbc adapter (DB2)
Hi everybody
in a File 2 JDBC scenario I need to set up a technical Ack, at integration server level. In order to achieve this I configured the integration engine with category "RUNTIME" in the following way:
Parameter: ACK_SYSTEM_FAILURE value "1" as appears from Help on line documentation.
But I didn't reach any result.
Do you know how is possible to set up <b>SystemErrorAckRequested=</b>" " to "true" in <b>SAP:ReliableMessaging</b> of the SOAP header,in an inbound message, even though the sender is a file adapter ?
Thanks a lot in advance for any suggestions
Gianluigi BrennaHi Arnab,
Pls find the solution in the following How to guides....
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a04cd6f9-9eb0-2a10-07b8-a0fc6e88f4d4]
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252bto%252bjdbc%252bstep%252bby%252bstep]
Regards,
RajeshKumar.D -
File to JDBC adapter , beginner in doubt
Hi,
i created a scenario JDBC as receiver and File as sender. Data should be inserted in mysql Databank.
Msg Interface is defined as
regards
HüsniyeHi,
SQL table insertion example:
Below the sample .xsd of datatype that runs suceesfully via the JDBC adapter.
You must import this .xsd and study.
In this datatype Vendor01 is tablename
action is an attribute
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://borcelik.com/tbit40/ms_sql" targetNamespace="http://borcelik.com/tbit40/ms_sql">
<xsd:complexType name="VendorMaster_insert_DT">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
fa3c1bd0ad8111d996a0001185be9a9f
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Insert1">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
6f642270a5b411d999c1f82f0a0407da
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Vendor01">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
6f642271a5b411d98e60f82f0a0407da
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="access" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
6f642273a5b411d9b62df82f0a0407da
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="VendorNumber" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
6f642274a5b411d9ba32f82f0a0407da
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="LastName" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
6f642275a5b411d9c92cf82f0a0407da
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="SearchTerm" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
6f642276a5b411d9ca6bf82f0a0407da
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="Currency" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
6f642277a5b411d9889cf82f0a0407da
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="key1">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
e20d53b0a5b811d98519f82f0a0407da
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="VendorNumber" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
716d5130a5ba11d9b907f82f0a0407da
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="action" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
094ca410aa7a11d9ae7ccc950a0407da
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema> -
Hello,
In JDBC Adapter, is there any other way to fetch the data other than select query?
Our Scenario is like Transferring Project Information (PS Module) from Primavera to SAP. We fetch data from Primavera Through JDBC adapter with writing a select query. And we also give poll interval so after every pollinterval JDBC adapter again run the query and send it to integration Engine.
But our requirement is once the project query executed next time only updated record transfer to SAP. IS XI gives this kind of feature?
Regards,
Gaurav JainHi Giridhar,
Check out this
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
also check this interesting blog by Bhavesh
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
Thanks,
Prakash
Message was edited by: Prakash Arunachalam -
Configuring file and JDBC adapter using MAX DB
Dear Experts..!!!
The problem description is i need to store a text file in Database(MaxDB).....
in receiver communication channel there is database connection in that i want to know what entrys to be done..... and plz do let me know is there any other things to be done to achieve the output.Hi Vinod,
I also do not have idea about MaxDB, but you can refer these links. It will help you out in getting some more information about MaxDB and XI:
<a href="/people/joerg.hoffmeister/blog/2006/12/07/maxdbsdn:///people/joerg.hoffmeister/blog/2006/12/07/maxdbsdn
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/maxdb">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/maxdb</a>
Go through the home page of MaxDB on SDN, it has plenty of information to help you.
Regards,
Subhasha ranjan -
Error in JDBC Adapter Configuration...Pls help..
Hi,
My scenario is like that..XI has to pick up the xml files from FTP and has to insert them into a particular table "clientsystemlog"in database. From sxmb_moni I can see that it is success, but there are no data in the database.
Here are the details of the error in the Channel Monitoring:-
Error while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
Any hlp would be appreciated
BR
SoumyaHi,
Here is my table structure for DB:-
ACK_RM_MT=>Action(INSERT)(attribute)->xsd.string
=>Table(clientsystemlog)(element)==>>GlobalID
==>>LocalID
==>>DistributedTime, etc etc
That is what I have created in IR for DB.
Can you pls check whether the structure is in correct format or not.I have to insert all the elements of Table(clientsystemlog) into the table clientsystemlog in oracle database.
But still facing the error in Action. In channel monitoring Attribute Action contains error. It seems this Action cannot be performed in the DB table clientsystemlog.
That is why I can see in sxmb_moni msg processed successfully, but in DB, there are no records at all.
Tell me one thing, is the table name and the elements of the table are case sensitive?
Please provide a solution to me, I was braeking my head since last week to sort it out, but unable to sort it out.
BR
Soumya -
JDBC adapter configuration problem while design
Hi,
I am connecting SAP TO THIRD PARTY using RFC and JDBC,which is using a stored procedure.
I have mapped in such a way that
table = is mapped with the stored procedure name.
isinput = true.
type = char.
But If i look into the monitor its showing a problem with DATATYPE,which i have mentioned is char.The metioned below is log.
Can any one help me,what changes I have to make.
com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'STORED_PROCEDURE_NAME' (structure 'Statement'): java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'MaterialNumber' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
With Regards,
KishoreJ.hi kishore,
<i>Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'MaterialNumber'</i>
As the error implies, you have missed defining the TYPE attribute while for the field MATERIAL NUMBER. Assign a valid type to it , and it should work fine.
From the online help,
<i>The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).</i>
<i>The following SQL data types are supported:
INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (input and output),CLOB (input and output), CURSOR (output; only in conjunction with the Oracle JDBC driver).</i>
Also, check this blog for any help,
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
Regards,
Bhavesh -
JDBC Adapter - Established database connection failed
Hi Guys,
we have installed the JDBC Adapter based on the How To Guide and we checked after the installation the Libaries :Cluster --> Server --> Libraries --> com.sap.aii.af.jmsproviderlib and the box Box "JARs Contained" was filled.
So in my point of view we have done everything right during the installation.
Now the developer tested theJDBC Adapter and he comes back with following Error:
Attempt to establish database connection failed with SQL error com.sap.aii.adapter.jdbc.sql.DriverManagementException: Cannot establish connection to URL "jdbc:microsoft:sqlserver://xxx.x.xx.xxx:1433; databaseName=CZZ03;":ClassNot FoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
Do you have any ideas?
Regards
MarkusHello Markus,
To install JDBC driver follow the how to guide.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
Configuration of JDBC Adapter for SQL Server
JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
UserID and Password.
If the connection is not working find the correct port number.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
JDBC- X I - R/3 Scenario
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Thanks,
Satya Kumar
Reward Points If it is Useful.. -
Hello,
Can anyone email me some or all usefull files about using and step by step procedure of configuration of JDBC adapter please? I am using JDBC adapter to connect the oracle database and ECC system through XI.
[email protected]
Many thanks in advance.
Andy.Hi,
Here you are :
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9aedca11-0d01-0010-3b90-9ea04182875f
/wg
Maybe you are looking for
-
WVC54GCA camera can't see video on Internet Explorer but can on Chrome and Safari
I installed the camera, and I can see the video on Chrome and Safari, but not on Internet explorer Version 8. I can see the screen where the video would go, including the headings, but there's just a red "x" in the upper left hand corner.
-
ITunes has mysteriously deleted songs and entire albums from my Library...
I just looked at my iTunes Library and 2GB of songs have literally disappeared from my iTunes folder. What causes this? Can someone tell me?
-
HI all, If I have function as create or replace function func(id) return number as begin loop loop ......does some calculations.... end loop amt:=........ end loop return amt end now if ihave a query as select id,gp from t; id gp 1 20 2 40 Now iwant
-
Bapi for T-code LSO_PV11 Create course
Hi Anyone pls suggest the bapi for the T-code LSO_PV11 i.e Create course
-
Dear all, Pls show me how to delete a View Cluster that made by Se54? Thanks, Quanglv