How to cofigure the JDBC Sender adaptor

how to cofigure the JDBC Sender adaptor,
i want to do the scenario JDBC>XI>SAP
Thanks & Regards,
priya reddy

HI
Database (JDBC) Adapter
The JDBC Adapter allows access to any DB that allows a JDBC driver to access the DB. This driver is not supplied with the adapter but must come from the DB provider or a 3rd party. The adapter converts database content to XML and vice versa.
Database content can be read with any SQL statement using a special XML format. This format enables SQL INSERT, UPDATE, SELECT, DELETE or even stored procedures. A message is always processed in one database transaction.
Refer the following links for further assistance
JDBC ADAPTER:
http://help.sap.com/saphelp_nw2004s/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/frameset.htm
Use thes step by step guidese
https://wiki.sdn.sap.com/wiki/display/XI/JDBCTOJDBC
https://wiki.sdn.sap.com/wiki/display/XI/XMLFile2XMLFile
tutorial /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
http://help.sap.com/saphelp_nw2004s/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/frameset.htm for sender side JDBC configuration.
Follow this link
/people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
cheers
reward points if found useful

Similar Messages

  • How many times does the JDBC sender adapter retry ?

    Hi All,
    How many times does the JDBC sender adapter retry in the  ' Retry Interval' specified .
    I know that it retries after the time specified in the ' retry interval' , but if it again fails after the first retry will it retry again and again .And while doing it will it block the next Select query which should get executed.
    Thanks & Regards,
    Rahul

    Hi,
    The no of times to be retired on failure of message is default 3 times.
    You can set this in Visual Administrator->Server->Services----> SAP XI Adapter
    Thanks
    Swarup
    Edited by: Swarup Sawant on May 30, 2008 7:19 PM

  • Update SQL Statement in the JDBC sender

    Hello!
    I have a AS400/DB2 table which I am polling for my XI scenario using the JDBC sender adapter.
    I would like to know if it is possible to use system variables (data/time) in the UPDATE statement field? This because we would like to timestamp the exact date/time we read a table. (We can use stored procedures, I know, but would preferr not if at all possible.) Or is there another way?
    Thanks,
    Nam

    Hello!
    a little more detail:
    We have a fairly simple scenario. We are polling the AS400/DB2 table for information using the JDBC sender with a SELECT statement in the SQL query. We take the data, map it and push it into SRM.
    Bhavesh: What I meant is that for error handlig purposes we would like to update the polled record with date and time at the same time as we poll. Using the system date/time of the db system would be ideal, but XI time would be just fine to. So wondering if there is any way to pick up the system data/time (of either system) and pass it in the UPDATE statement as system variables or some such.
    Nimrod: one question.... how do we do the mapping in the poll? Meaning the polling is the trigger of the whole scenario, so there is no mapping preceding it. I am fairly new to XI, especially the mapping bit, any help or advice appreciated!
    Thanks!
    Nam

  • How to know the mail send by outlook or owa ?

    how to know the mail send by outlook or owa ?
    Please click the Mark as Answer button if a post solves your problem!

    Hi Eric,
    I think there is no possible way to check if the mail is sent was from Outlook or OWA.
    Regards.
    Naren Neelam, Messaging Consultant, ITBigBang (P) Ltd Www.ITBigBang.Com | Hire Us for Messaging Consulting
    It actually is possible for an admin to tell if a message was sent from Outlook or OWA by looking at the MessageTracking and the information in
    SourceContext. MOMT is Outlook and the other two speaks for them self.
    Get-MessageTrackingLog -Start 2014-05-12 -Sender
    [email protected] -EventId submit | fl Sender,sourceContext
    Sender        :
    [email protected]
    SourceContext : MDB:995793b8-2c2c-4a14-b617-3e54371179ec, Mailbox:5e29199f-b877-46ed-b985-f2ede9bad293, Event:8351505, MessageClass:IPM.Note, CreationTime:2014-05-12T16:41:29.038Z, ClientType:MOMT
    Sender        :
    [email protected]
    SourceContext : MDB:995793b8-2c2c-4a14-b617-3e54371179ec, Mailbox:5e29199f-b877-46ed-b985-f2ede9bad293, Event:8351552,MessageClass:IPM.Note, CreationTime:2014-05-12T16:44:52.039Z, ClientType:OWA
    Sender        :
    [email protected]
    SourceContext : MDB:995793b8-2c2c-4a14-b617-3e54371179ec, Mailbox:5e29199f-b877-46ed-b985-f2ede9bad293, Event:8351611,MessageClass:IPM.Note, CreationTime:2014-05-12T16:46:25.772Z, ClientType:AirSync
    Martina Miskovic

  • Update query not working in the JDBC sender Communication channel

    Hi,
    We are working on JDBC to File scenario. As per the configuration, XI should pick the data from SQL database every 20 secs and should update the corresponding flag. We are using subquery in the select and update statement as both header and detail tables are involved.
    Now the issue is, select query is working fine but update statement is not working as expected. It is somehow updating some other records rather than doing for the ones selected by the adapter.
    Moreover logSQLstatement is also not working. Hence we are unable to identify the records which are getting updated.
    Please advise.

    Hi Rumi,
    See Question 8. Transaction Handling (Sender) in [SAP Note 831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter|https://websmp130.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=831162].
    8.  Transaction Handling (Sender)
    Q: If I have the following configured in a JDBC Sender:
    Select Query:
    SELECT column FROM TABLENAME WHERE FLAG = "TRUE"
    Update Query:
    UPDATE TABLENAME SET FLAG = "FALSE" WHERE FLAG = "TRUE"
    How do I know that the JDBC adapter will not update newly added rows (rows that were
    added between the time that the SELECT and UPDATE queries were executed) that were
    not read in the initial SELECT query?
    A: The SELECT and the UPDATE are run in the same DB transaction, i.e. both statements
    have the same view on the database.
    Make sure that both statements use the same WHERE clause. An additional
    requirement for the correct operation of this scenario is the configuration of
    an appropriate transaction isolation level on the database
    (i.e., repeatable_read or serializable). You might also consider using a
    "SELECT FOR UPDATE" statement instead of a plain SELECT statement to
    ensure proper locking on the database. "SELECT FOR UPDATE"
    is not supported in MS SQL database. In this case please make use of an
    appropriate transaction isolation level on the database. For more details
    please contact your DB vendors.
    After, see Transaction Handling Issues in [SAP Note 1039779 - JDBC Adapter issues(Escape character,Transaction handling)|https://websmp130.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1039779].
    Best Regards.
    Pedro Baroni

  • How to get the message Sender's information in MSMQ?

    Hi, everyone
    I am going to develop a Windows server to monitor the messages in MSMQ. Now I wanna get the message sender's name(that is the API of this message, like class name or function name of who send the message.) I make a simple demo and it can easy to get
    the message body. But is it possible to get the sender's info by using any MSMQ method ? Looking forward any answers. Thanks so much.
    Shuo Lei

    Hi,
    Sender object is type of object any time if you want to use any property/attribute of sender object first you need to type cast it with your desire object.
    For more information, you could refer to:
    http://blog.jsinh.in/managing-msmq/#.VPe5mnkfqM8
    http://forums.asp.net/t/343932.aspx?How+can+I+get+values+of+sender+object+in+C+
    Regards

  • How to increase the JDBC connections peroformacnce

    Hi Iam new to Weblogic admin
    We are using weblogic 10. in solaries + oracle database env
    We are facing the slowness issue for internet application users, after submitting the user name and password, user will not get any response from the application except blank page,
    I have observed that there are somany; more than 200 Waiting For Connection Total. This will increase in peak time.
    wii this is the cause for the issue or if any other.
    Please suggest us to resolve the issue.
    Edited by: user11103866 on May 8, 2009 2:12 AM

    more than 200 Waiting For Connection Total.<<This is from a JDBC pool? If so, then you have more users than your pool can handle.
    How many initial / maximum connections does this particular pool allow, and how many servers are within your cluster?
    What is your applicaiton's session timeout value?
    Ask your DBA how many connections the database currently allows.
    You can also configure the shrink period of the pool if your user sessions are short, or if your users are not logging out ( which results in their session holding a connection until the session times out ).
    Are you seeing Leaked Connections ( you can configure the console to report these )?

  • How to configure the Http sender adapter

    Now i have look through the sap lib about the http sender adapter
    and i know the url is
    http://hostname:port/path?namespace=<...>
    &interface=<...>&service=<...>&cmd=T&loaderXML=< message object >&end=yes
    My questions are:
    1)the path in the URL is "/sap/xi/adapter_plain", if not, what is it?
    2)the message payload is right?
    any reply is appreciated
    Thank you very much

    Hi Leo,
    For a HHTP Scenario:
    DESIGN:
    1. Create DataTypes for source and Destinations. Create elements for all the text fields of your HTTP Client so that they can all be mapped into the destination file
    2. Create MessageTypes for the two datatypes.
    3. Create Message Interfaces. The One for HTTP is the sender, Asynchronous ( as no response is expected) and one for File is receiver, asynchronous.
    4. Do the mapping. It will be mostly a one to one mapping of the fields.
    5. Create the Interface Mapping.
    Configuration:
    1. Import your Business System under your Configuration Scenario.
    2. Create 2 communication channels. One for Http as a sender and one for your receiver say IDoc.
    Check these links for the configuration part.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    3. Do the Receiver Agreement for Idoc. HTTP doesn’t need a sender agreement.
    4. DO the Receiver Determination and Interface Determination.
    Weblog which talk about the same scenario:-
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
    aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
    (use case) and explained it...
    Check this SDN tv demo, it has detail of HTTP adapter setup.
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
    Refer to this link for adapter settings.
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    You should also have a HTTP client to send message to XI. In the connecting parameters to XI u have to use the URL in the pattern mentioned . U have to give all the configuration details in the URL.
    If you give me your mail id or if you can mail me at [email protected], i can send you a HTTP CLIENT.....In which you need to view the source code and change the username and password to send message to XI.
    Regards,
    Abhy

  • How to use the http sender adapter

    Hi,
    I'm trying to use the http sender adapter but not getting the result.
    1)  I've created the commnunication channel in Integration Directory.
    2)  I have my url:
    http://<server>:56000/sap/xi/adapter_plain?service=BS&namespace=urn%3Acompany%3Apoc&interface=interface
    3)  When i copy that url in a browser i get a login prompt. When i log in i get a message that navigation is cancelled.
    What steps do i need to do to use this url to send my xml message to the adapter engine. Do i need a special system user for this? Any other tools required? (i have httpclient but using that doesnt send messages to the adapter_plain; i think)
    I feel i'm just missing one little thing, but what is it.
    kr
    Robert

    Hello Team,
    I added the user name & pwd to query string & trying to access from IE and still getting blank page.
    Is this what is expected or there is something wrong in URL. I am able to send the XML from HTTP Test tool.
    My URL is :
    http://abc:50000/sap/xi/adapter_plain?namespace=urn:xyz.com:A_To_ERP_Payment_balance_Request&interface=SI_A_CHK_balance_OUT&service=BC_XX_XXX&sap-user=myuser&sap-password=mypassword&sap-client=001&sap-language=EN
    Please advice.

  • How to handle the jdbc receiver error

    hi,expert:
      I have a synchornous scenario:SAP/ECC(Proxy) to JDBC(SQLServer),ECC Send the message and insert data into the  database,when insert sucessfully the receiver returns the count of the sucessfull inserted  record . Not use store    procedure.
    I have a problem: When insert into the table occurs errors,like insert Duplicated record,how can i capture this exception and return  to the ECC? And if it is possible to solve this problem by using fault message?
         wait for reply ,thanks!

    Have you identified why duplicate record error coming?? you dont want to insert duplicate records in DB?? then in this case you contraol sending data in Proxy it self,
    If you want response (error message or success status from Data base you can design/develop easily, JDBC recv will support syn communication.
    even you can go for fault message type to handle this error,
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/dd/b7623c6369f454e10000000a114084/content.htm
    Regards,
    Raj

  • How to use the JDBC adapter

    Hello Every one,
    we have third party sales order process systems in our company, one system is in Borland data base and the other is using SQL Server. presently what we are doing is sending this orders from respective databases to SAP using LSMW (XLs spreadsheets)on nightly basis. so the challenge is we want to USE SAP-XI instead of LSMW, could any one tell me what could be the right idea for this. please give me some  suggestions. thanks in advance.
    kind regards,
    Gayatri.

    Hi Gayatri,
    You can refer the following links to give you a clear idea about your query.
    http://help.sap.com/saphelp_nw04/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    The links there can be further expanded to get more information
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    then
    check this document:
    How To Install and Configure External Drivers for JDBC & JMS
    https://websmp206.sap-ag.de/~sapdownload/011000358700003994312004E/HowTo_ConfigExtAdapters.pdf
    Regards,
    Ramesh.

  • How to get the jdbc statement profile in 8.1

    the wls 8.1 api does not have the methods in the wls 7 api for jdbc statement profiling...
    in 7, the connection pool mbean has
    setSqlStmtProfilingEnabled()
    and the connection pool runtime mbean has
    getStatementProfiles(int index, int count)
    but in 8, i don't see these. i see the JDBCStatementProfile object in the api, but i don't see how to enable it or retrieve it.
    is this feature removed? or moved?
    thanks

    Thanks for your response. But I need Process ID
    not Product ID.
    GetCurrentProcessID
    Function should return you Process ID.
    Gaurav Khanna | Microsoft .NET MVP | Microsoft Community Contributor

  • How to synchronize the signal sending and data acquiring process dynamically with one DAQ_Urgent

    Dear Sir,
    I am using one DAQ card to send a modulation signal (which is a signal summed by a low frequency saw tooth and high frequency sin signal) to the laser controller, and acquire voltage signal from another instrument  (It is in a same measurement system with the laser controller)?
    I would like these two process happening at the same time.
    In the attachment, there are two parts, one of them is signal generating program, the other one is data acquiring program, how to do like this: when I press"run", first the modulation will be sent to the laser controller immediately, and at the same time, the acquiring program starts as well...
    In addition, I think my program is not complete, could you please help me check if there are any other problems with it? 
    Thank you very much.. and appreciate your quick reply in advance.
    Best regards,
    Memorysun
    Attachments:
    Signals generation and lockin recording.vi ‏1227 KB

    Jamie S. wrote:
    Hi Memorysun,
    Thank you for your post and welcome to the forums.
    From your description what you want to achieve is:
     Write data to a Analog Output channel that is then recieved by the Laser
     Acquire (read) data from using an Analog Input channel (output from Laser/Instrument)
    This can be achieved using a single VI with 2 seperate DAQ tasks, one the "Continuously Writes" to the Laser and the other that "Continuously Reads" from the Laser/Instrument. Can I recommend the following examples that can be found in the NI Example Finder (Help>>Find Examples>>Hardware Input and Output>>DAQmx):
     "Cont Gen Voltage Wfm-Int Clk.vi" (for continuous writing)
     "Cont Acq&Graph Voltage-Int Clk.vi" (for continuous acquisition)
    The code from within both these VI's can be placed in a single VI therefore achieving the desired functionality.
    Many Thanks
    Jamie,
    They would be better served with an example that routes the AO hardware sample clock to the source of an externally clocked AI.
    Using the examples you posted will still leave them with the challenge of trying to alligh stimulus with response.
    Ben 
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to implement the JDBC call over SSL on Oracle?

    I searched the forums and google. It seems to support Oracle 9i JDBC call, Thin driver can not work and we should use OCI.
    I referenced OTN Oracle java example about the SSL, it talked about the security socket but not anythingabout JDBC. http://download-west.oracle.com/docs/cd/B10501_01/network.920/a96573/asoappf.htm#634403
    Who can provide a clear description and resource URL to tell how to make a simple implementation on JDBC over SSL.
    Thanks a lot.

    That article you referenced is referring to the JVM that runs when one runs java stored procedures. It has nothing to do with JDBC.
    You have a unusual requirement (probabaly originated as the same place as your alias.)
    Most of the time SSL is not needed for the database because the database and the applications that talk to it are already on a secured network.
    You can investigate some third party drivers, I believe I recall seeing that one of them does SSL.
    Alternatively you might look into a secure VPN connection. The connection travels over IP and tunnels other traffic through it. Given that the tunned itself is secure, the contents are as well.

  • How to configure pi jdbc sender adapter

    Dear all:
    i know adapter can poll data at a interval time ,but  i have a special requirement.does the  interval time  that pi poll data can modify in a webdynpro project .if possible.how to do?
    thinks very much !

    Hi Kevin ,
    The way you want may be scheduling the adapter can help you.
    checkout the threads  :
    Scheduling adapters
    File adapter schedule
    Scheduling the file adapter
    Re: Availability Time Planning for communication channels
    check the concept of availabilty time planning concept of XI/PI :
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417400%29ID0150513450DB01316163558791549419End?blog=/pub/wlg/5078
    Regards ,

Maybe you are looking for

  • Retrieve Users Email Address from Login

    Hi, I'm trying to get the users e-mail address from the login providers (EG. MS, Google, Facebook and Twitter) so that I can insert it into the database on the Mobile Services side. I have gone through various articles about getting their full name e

  • IPhoto Library opens up iPhoto application

    Every time I go to open my iPhoto library it automatically launches the iPhoto application instead of taking me to the various folders it is suppose to. The only way I can access the photos is to Right Click > Show Package Contents. Normally, this wo

  • Unicode String Issue while Using Results from Another Query

    Hi All, In a webi report i have 2 queries say Sales Out and Investment. I need to have only those chains which are in Investement in Sales Out. So in Sales Out query i am using the option Results from another Query. The Chain values are in Unicode fo

  • Numbers templates for baseball

    Are there any templates I can use in Numbers to keep track of baseball statistics? I don't need anything as sophisticated as the commercial software, just a template that calculates batting average, on base percentage, ERA.

  • In jb6,It can not find javax.ejb,how can i do?

    I want to use jb6 to develop ejb beans , but In my jb6,when I complile,It show "can't acess javax/ejb",and i can't find ejb in javax,how can i do? where ejb?