on 11-08-2007 7:26 PM
Want to make an SQL request to database table and ruturn data back to XI.
Flow: SAP BW--
SAP BW<----rfc--- XI -
SAP BUS ONE
1. XI-- request -- from> SQL Table Select * from Sap_B1 where date > payload_date.
2. Based on results pass those records back to XI to be mapped to inbound RFC for BW.
Does XI JDBC provide this capability or is there other options?
so basically you will be sending request from BW system to JDBC via XI and want to get back the response from JDBC to BW,right?
if yes,then its definitely possible.on BW side you need to have either RFC or proxy(depending upon your requirement) on JDBC side you can have either a stored procedure or you can fetch the data by designing proper message type on receiver side
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aamir, thks I am familiar with the Rfc/proxy side and passing/insert_update data in SQL table using Jdbc via XI.
My question is with Jdbc, can you perform a request and reply sync process with jdbc? Is Jdbc protocol only one way? If one way, how would it work via stored procedure? You trigger the stored procedure via jdbc, but How does Stored Procdure send the data back to XI and call XI interface?
hey
yes,receiver JDBC is capable of handling both request and response in a single interface so you can use it in your scenario without any problem.
if you want to go with stored procedure way then the stored proc. needs to be on the database and the JDBC receiver communication channel from XI will pass data to it and get back response from it.get in touch with database guys to write stored proc.
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
if you dont want stored proc,then you can give the conditions in the receiver message type itself,this will query the database and will send back the response.
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
both approaches are feasible,you just need to decide upon which one is more suited for u
Thanx
Aamir
Message was edited by:
Aamir Suhail
Aamir,
hey buddy this is fine, but he wants to connect to SAP tables, how come its possible using JDBC adapter?
@William: Since you want to connect to SAP Table, the only option is by using RFC call to the SAP system. You can use function module called RFC_READ_TABLE and get the response from the SAP Table.
Please correct me if I didn't understood your requirement correctly!!
raj.
William,
From where do you want get the database values, is it from SAP table? Or anyother RDBMS system? Can u please clarify it?
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Raj,
Get values from Sap Bus One sql table.
Basically XI makes Jdbc Select request of Bus One table where daterange passed = BusOne_date_range.
Ex. Get data for given month only. Then pass that month data back to XI map another interface RFC/proxy to BW Sys. I am familiar with the RFC/Proxy calls. Not the Jdbc functionality for making a reqeust and getting reply back via Jdbc.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.