Scheduling sender JDBC adater

Hi All,
I'm working on XI 7.0 . I have configured file and JMS adapter scheduling .
But I have a doubt whether we can <u>schedule Sender JDBC adapter</u> to poll daily on specified time.
Thanks,
venu

Hi venu !
you need to give the polling interval there in secs
have a look at the following
/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
In the sender communication channel you have to give
<b>606024*1=?? in Poll interval for 1 days.</b>
Else
You can schedule your communication channel if your SP is 19 and above. Please see this weblog for some information on this:
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
check this link also
Assigning an exact time to poll data using JDBC Sender?
Thanks!!
Questions are welcome here!!
<b>Also mark helpful answers by rewarding points</b>
Regards
Abhishek Agrahari
Message was edited by:
        Abhishek Agrahari

Similar Messages

  • Sender JDBC by schedule function

    Hi,
    I will have to use Sender JDBC by schedule, for exmaple Sender JDBC is executed by specific time, every day 11pm.
    is it possible to use stored procedure by sender JDBC Adapter?
    any other solution will be appreciated for me.
    thanks
    Venjamin(YD)

    Venjamin,
    This is quite late reply, but you may find it useful in future.
    You can do the scheduling stuff in ur Sender JDBC channel (if you are using that).
    I did it that way. This is how i achieved scheduling...
    The condition for me was to pick the records from db when status=0 and on 8th of every month at 10:00 AM. What i did was...
    Select * from <table> where status =0 and  day(getdate())='8' and convert(varchar(20),getdate(),8)>'09' and convert(varchar(20),getdate(),8)<'11' .
    With this query keep the poll interval at 1 hour.
    Explanation :
    day(getdate()) = will give me the day of month.
    convert(varchar(20),getdate(),8) = give me the time (actually timestamp).
    Poll interval 1 hour or anything less than an hour.
    Try it !!! maybe it will help you out sometime.
    NOTE: I was using MS SQL server.For ORACLE the query might be adjusted a bit.
    Cheers
    Amit:)

  • Schedule a sender JDBC adapter

    Can I schedule my sender JDBC adapter to execute and pick up row at 2pm everyday?
    I see an option of poll intervals but not sure how to schedule. Any ideas?
    Thanks,
    Venkat.

    Hi,
    Can I schedule my sender JDBC adapter to execute and pick up row at 2pm everyday? - Yes, go to RWB - component monitoring - adapter engine - comm channel monitoring........in it, you will see a option Availability Time Planning at the right side............click it and then schedule your sender JDBC comm channel.
    Regards,
    Rajeev Gupta

  • Sender JDBC Adapter issue.

    Hi folks,
    I would like to know how can I configure a sender JDBC channel without specify a poll interval? I know that I can specify this poll interval with a period of time that I want; it could be in seconds and even in mseconds. But, this can cause a lot of access to the Data Base SQL Server and consequently can cause network slowness.
    I would like to know if there is any data base event that can trigger my jdbc sender adapter or any other workaround that can prevent many accesses to one Data Base.
    Any ideas are appreciated.
    Thanks in advance,
    Ricardo.

    Hi,
    with XI SP19 you can schedule your jdbc adapter easily:
    (in standard)
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Sender JDBC adapter: duplicate data sent

    Hi experts,
    The scenerio is XI is polling the Data from source system using JDBC  sender adapter. But the duplicate data is being sent to target system. I have check the chaneel configuaration and it is as follows:
    Polling Intervals(secs) = 3600
    and schedulling for the channel in RWB is set as: Daily at ......AM for 2 hours
    as per my understanding the here the adpater is polling the data for one hour and again it starts polling for another one hour which is set in secheduling.
    If I set the Availability planing as Daily at ......AM for 1 hour then problem can be resolved.
    Please advise.
    thanks,
    Regards,
    Mohan

    This could be resolved if you can add a field in the DB table like 'ReadFlag'.And your sql statement should have a check on this field.
    You can ask someone(who can actually make changes in the Database) to add the field in the Table.
    Please refer this blog for more understanding
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter

  • Error while executing the stored procedure through sender JDBC adapter

    Hi All,
    I am getting below error while executing the stored procedure through sender JDBC adapter.
    Database-level error reported by JDBC driver while executing statement 'exec SapgetNextEntity 'SalesOrder''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.'. For details, contact your database server vendor.
    what is the problem? any idea to anyone...
    regards
    Ramesh

    hi Dharamveer,
    I am not getting below statement for your reply
    Try to use Refrence Cursor it will return u reference of resultset.
    I mention SP like this
    exec SapgetNextEntity 'SalesOrder'
    SapgetNextEntity -
    > SP Name
    SalesOrder----
    > Parameter I am passing...
    regards
    Ramesh

  • Sender JDBC

    We have a scenario for sender JDBC adapter returning close to 2000 rows in a single snapshot. But I would like to split these at these into 2000 messages instead of 1 single message without using BPM. Any suggestions.
    Juan

    > Hello,
    >
    > What you are implying is that I can have a single
    > interface and use multi-mapping to split the messages
    > coming inbound, into different messages ? i.e One
    > interface getting 1000 ROWS by using multi mapping
    > the AE would split it into 1 message per row and
    > persist it.
    Juan,
    Yep..!! Use multimappingso that each of the 1000 record in the source is split into a separate target message . Isnt this what you need?
    Regards,
    Bhavesh

  • Sender JDBC Communication Update SQL Command Problem!

    Hi all,
    I am trying to do a SENDER JDBC Scenario in XI.
    I fetch the Records from the table Once per day based on the Current Date.
    I do not have any Update Credentials in the table.
    I can only perform Select Querry.
    But when i am trying to configure the SENDER JDBC Channel its asking me to enter value for Update SQL Command in Sender JDBC communication channel Process Parameters.
    Its not accepting BLANK or ' * '  Values.
    But i have only Select Querry credentials in the table. I can only pick the values cant Update the tables but.
    In the Above scenario how can i configure the Sender JDBC CC without Updating the Table after fetching the value?
    Please Advice
    Regards,
    Senthilprakash.

    Hi,
    Specify the Update SQL Statement value as .
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Thanks
    SaNv...
    Edited by: Sãnthosh Kûmãr  V on Oct 8, 2008 10:44 AM
    Edited by: Sãnthosh Kûmãr  V on Oct 8, 2008 10:45 AM

  • Sender JDBC channel stop send messages

    Hi,
    We have  a sender JDBC scenario which is working correctly time ago.
    However, sometimes this channel   stop sending messages although the Adapter Monitor shows that they regularly execute the polling interval.
    We have confirmed that there isn't any connection from XI to target BD.
    In other ocasions, we  are required to restart XI and, after that, this scenario works without any problem.
    What could be the cause?
    How to solve it?
    thanks, in advance
    Carme

    This is rather strange.
    A few of my observations -
    1. When the sender jdbc adapter polls , and there is no data matching the select query, you will still see a message id in Comm Channel Monitoring but with no hyper link.
    2. The actual message id / message is created only if there is data in the database and also the hyper link is enabled.
    3. If you are confident that the data is being commited on the database and that it is XI not pulling the right data, one issue might be - driver issues. Can you check if you have the right compatible drivers for your database on XI server - is there a new'er driver available?
    We hit a similar issue with JMS adapters and we learnt that the JMS server had been updated as a result of which a new driver had to be installed which we did not until we hit intermittent problems like these.
    Hope this helps
    Regards
    Bhavesh

  • Sender JDBC to Receiver RFC scenario

    Hi All,
    I have to configure an scenario of sender JDBC to receiver RFC wherein SAP PI will be pulling data from third party database (Oracle).
    Since I am configuring such scenario of sender JDBC, I want help on every important key aspects/prerequisites of configuring sender JDBC adapter/channel. I want to understand about Database Connection, Processing Parameters, etc. details while configuring sender JDBC channel and their significance/relevance.
    Also I need guidelines about the source data structure (message type or external definition) to be used/created in ESR.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    Please guide me on this.
    Thanks & Regards,
    Amit Patil

    Hi Amit,
    First of all you should read the sap.help documentation:
    Configuring the Sender JDBC Adapter - Advanced Adapter Engine - SAP Library
    Configuring the Receiver JDBC Adapter - Advanced Adapter Engine - SAP Library
    Later, you can read Rajs's blog to advance concepts and perfomance JDBC Receiver scenarios best practices part-1
    Finally, search the other blogs and documents in the SCN.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    JDBC sender always does a poll to a DB table (with join some tables) in wich table you will need a field checkbox to mark the registers read, and the the receiver JDBC you can do a typical SQL construction like SELECT, INSERT, DELETE, etc. Both cases need the JDBC DB driver installed (check the SAP notes for this, also you can find some examples in the SCN:http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8000cffc-6b92-2d10-3493-f2ac1399242f?quicklink=index&…  PI/XI: deploy a JMS/JDBC driver without JSPM? ).
    Regards.

  • Dynamic query configuration in sender jdbc adapter

    Hi,
    According my undertsnading in XI.3.0 dynamic query in sender JDBC adapter is not possible.
    could any one confirms the possibility of this feature in XI 7.0 .
    Thanks,
    venu

    Hi VJ,
    sorry for late responding to your answer.
    One of our requirements is the query statement that we write in sender communication channel should be changed dynamically, for example in where condition the condition parameters values required to change.
    Thanks,
    venu

  • Stored procedure in Sender JDBC Adapter

    Hi All,
    My Scenrio goes like this ...
    Stored Procedure(SQL Server) --- PI  -
    File
    I need to write the results of  stored procedure to File.Here I don't need any mapping.So how many DT , MT and MI need to be created?
    The interface need to run by 6AM from Monday to Thrusday, how can i achieve this ?
    Stored Procedure has only select statement and no Update statement , but it takes Date as Input parameter , so what i need to provide in sender JDBC adapter.
    Thanks,
    Monish

    Hi Monish,
    As per your requirement it is JDBC to File. Please be careful with the structure to be created for sender JDBC. I am unable to understand why you donot require a mapping for this. How XI will send the data to a file then.As per my knowledge if it's file to file and just pick and drop then we can neglect IR and go for ID.But here you are working with JDBC and File so you will be in need of it.
    IR:
    DT: 2
    JDBC_Sender_DT
    File_Output_DT(Optional)
    You can use the JDBC sender data type structure for File output also.
    MT as per your DT
    MI:2
    Outbound MI: JDBC structure
    Inbound MI : File structure
    MM: 1
    IM: 1
    ID as similar to other scenarios.All 1 objects for RD,ID,Sender Agreement and Receiver Agreement.
    Sender JDBC channel:
    Query: Select * from table where date
    But I have a query how are you providing date in input paramerter.It will be dynamically entered into the query right.
    You can mention the Avalibility planning for your interface to work in RWB.
    Go to RWB>Component Monitoring>Adapter Engine->Communication Channel Monitoring>Avaliablity Planning
    Please explain.
    Regards,
    Nutan

  • Problem in sender JDBC adapter

    hello,
    I am facing one typical problem in sender JDBC adapter.
    Here is the issue,
    JDBC API method getString threw an exception: java.sql.SQLException: Cursor state not valid.
    Can anyone please help me out in solving this problem?
    Actually after a retry of 3 times the message has been successfully sent. Till then i am getting these error
    On 1st attempt ,
    Error during conversion of query result  to XML java.sql.SQLException: Cursor state not valid
    On 2nd attempt,
    Error during conversion of query result  to XML java.sql.SQLException: Internal driver error                                                                               
    (class.java.lang.InterruptedException)
    On 3rd attempt,
    Processing finished successfully.
    This is the scenario that i can see in the audit log.
    Can you please help me out in solving this issue.
    Thanks,
    Soorya

    Hi gaurav,
    It was a good response from your side.
    I have gone through the FAQ but could not able to find anything.
    Can you please help me out in this regard ?
    Also i am using select query of this kind,
    SELECT
    SEFVHRC.VHRBRCD,SEFVHRC.VHRCUCD,SEFVHRC.VHRVIN,SEFVHRC.VHRMOCD,SEFVHRC.VHRCHAS,
    SEFVHRC.VHRSLOR,SEFVHRC.VHRDIVI,SEFVHRC.VHRMGCD,SEFVHRC.VHRMOCH,SEFVHRC.VHRVHTY,
    SEFVHRC.VHRBDTY,SEFVHRC.VHRMFYR,SEFVHRC.VHRMOYR,SEFVHRC.VHRMODS,
    SEFVHRC.VHRMDTL,SEFVHRC.VHRCLBR,SEFVHRC.VHRRCID,SEFVHRC.VHRARDT,
    SEFVHRC.VHRLUTM,SEFVHRC.VHRLUDT,SEFVHRC.VHRKEYN,SEFVHRC.VHRCTORN,
    SEFVHRC.VHRCTIMP,SEFVHRC.VHRPRDT,SEFVHRC.VHRPRDT,SEFVHRC.VHRRCDT,
    SEFVHFT.VHFCLCD,SEFVHFT.VHFCAT,SEFVHFT.VHFCADSC,SEFVHFT.VHFKEY,SEFVHFT.VHFTEXT1,
    SEFVHFT.VHFTEXT2,SEFVHFT.VHFTEXT3,SEFVHFT.VHFTEXT4
    FROM
    SAPTESTLIB.SEFVHRC,SAPTESTLIB.SEFVHFT
    WHERE
    SEFVHRC.VHRVIN = SEFVHFT.VHFVIN AND SEFVHRC.VHRSTTS = ' '
    and update query of this kind,
    Update SEFVHRC SET VHRSTTS = 'R' WHERE VHRSTTS = ' '
    I am using prity big select query. is there any option to optimize it?
    Can you please help me out in solving this problem
    urs,
    Soorya

  • Problem with Sender JDBC adapter using StoredProcedures

    Hi All,
    I am facing some prblem when i am using StoredProcedure. Please look at the error which i observe in the traces when i try to execute a stored procedure using Sender JDBC channel.
    SQLException during query 'execute MAG_C0210.dbo.biz_mag_ubicaciones  @data="MAG_C0210" , @idciclovida=" ", @idmaestro=" ", @idtiporeplicacion=" "':com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set
    Please help me in this regard ASAP.
    Cheers,
    Soorya

    Hi Praveen,
    It is working fine when i executed the same in the SQL editor but when I use with XI it is failing with error
    mentioned earlier. Please check this and help in solving this asap.
    Regards,
    Soorya

  • Error in sender JDBC Adapater

    I have a select query as
    SELECT * FROM ULIDTA2.F5631505 where QSINTF ='Y'
    update query is
    Update ULIDTA2.F5631505 set QSINTF='Y' where QSINTF ='N'
    i get the following error in my Adapater .
    Sender Adapter v2108 for Party '', Service 'BS_Database_to_RFC_BPM':
    Configured at 2006-03-10 12:31:18 GMT+08:00
    History:
    - 2006-03-10 12:33:06 GMT+08:00: Retry interval started. Length: 60.000 s
    - 2006-03-10 12:33:05 GMT+08:00: Error: SQLException during update 'Update ULIDTA2.F5631505 set QSINTF='Y' where QSINTF ='N'': SQLException: [SQL7008] F5631505 in ULIDTA2 not valid for operation.
    - 2006-03-10 12:33:00 GMT+08:00: Processing started
    - 2006-03-10 12:32:05 GMT+08:00: Error: SQLException during update 'Update ULIDTA2.F5631505 set QSINTF='Y' where QSINTF ='N'': SQLException: [SQL7008] F5631505 in ULIDTA2 not valid for operation.
    - 2006-03-10 12:32:00 GMT+08:00: Processing started

    Hi Amit,
    A JDBC sender adapter has 2 essential fields,
    1. SQL Statement
    2. Update Statement
    Your SQL statement will contain your SELECT statement and once your SQL statement is executed, UPDATE statement is executed. This is done so that records that have been selected by the SQL statement should not be selected again as the JDBC sender adapter will poll over the database for every poll interval.
    If you want to SELECT something from your Database, then you will have to go for a JDBC sender adapter.
    But, if you want to insert/update your Database, then you can go for a JDBC receiver adapter.
    Multiple insertions are possible for a JDBC receiver, but multiple Selection queries (different select queries) are not possible for a single JDBC sender adapter.
    Just check these links to understand how JDBC adapters work,
    If you wanna do update/insert you will have to follow the
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm">Document Formats for the Receiver JDBC Adapter</a>
    For Configuring the Receiver JDBC Adapter refer:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm">Configuring the Receiver JDBC Adapter</a>
    For Configuring the Sender JDBC Adapter refer:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm">Configuring the Sender JDBC Adapter</a>
    Regards,
    Abhy

Maybe you are looking for

  • OBIA Financial Analytics - ETL Incremental Load issue

    Hi guys I have an issue while doing ETL Incremental load in DEV. Source, Target ORACLE. issue with these two tasks: SDE_ORA_GL_JOURNALS and SDE_ORA_ImportReferenceExtract incremental load is holding at SDE_ORA_GL_JOURNALS.....on Database sessions the

  • HT1349 I am unable to play the tunes in my iTunes Library.  Can anyone help, please?

    I am unable to play the tunes in my iTunes Library.  Can anyone help, please?  I've checked the obvious things, like the PC volume control.

  • Creating Seperate Libraries

    My wife already has an Ipod and has created a music library. I've just purchased an Ipod and wish to create a seperate library since my wife and I have very different tastes in music. I can't figure out how to seperate our music, yet I get the feelin

  • "GarageBand could not open the file." MANY steps taken, still not working.

    Hi all, VERY Stressed right now. I had a defective hard drive switched out by Apple, an in-warranty service, about a month ago. All of a sudden, GarageBand refuses to open any saved or new project. I can't even open loops! I have taken the following

  • Can't see the song on the ipod

    Hi everyone , really need your help . got a ipod classic 80g. it was working fine until today when all the songs and videos are "gone" from the ipod. when i look at the setting menu it's said that 74g are in use(but it's shown as other?!?) and when i