on 08-20-2009 10:49 PM
Hello everybody,
I need to do an interface between legacy system and SAP ECC, the legacy systems have a DB so i use the jdbc adapter (sender) and receive the information to SAP ECC with proxy, so i need to activate the polling option from my jdbc adapter working as a sender, i read a table with lot of records, and i need to know how many records does jdbc adapter support when the polling is executed, because is necessary read all records from the table and change the status of the processed field.
Is possible to get all the records from that table in one polling interval (50,000 records aprox)?, or i need to do the polling by blocks of records until finish all records from the table?, the second option, i dont have idea how can i do it.
Regards,
Vicman
Hi Vicman,
Whats the message size and whats the value you have given in EO_MSG_SIZE_LIMIT?
You can also write a query which will pick smaller chunks of records from the DB, say 10,000-15,000.
Hope this is helpful.
Regards,
Neetesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vicman,
In Recordsets per Message you specify the number of recordsets to be grouped together in a message.
This is only used in the File CC and not relevant in your situation.
Please use the pointers given by me and Satish and you will be able to resolve your issue.
regards,
Neetesh
Edited by: Neetesh Raj on Aug 20, 2009 4:45 PM
Hi again!,
i still working on that, but i have a question, is possible to handle Store Procedure in jdbc adapter?? is supported?, like PL SQL, because i was working in the next query but i don't know if it works and where do i need to locate the query in the Query SQL Statement or in Update SQL Statement field or both? but how?.
-
DECLARE c_cursor CURSOR FOR
SELECT * FROM tablename
WHERE processed=0
OPEN c_cursor
FETCH NEXT FROM c_cursor
WHILE @@FETCH_STATUS = 0
BEGIN
update tablename set processed=1
FETCH NEXT FROM c_cursor
END
CLOSE c_cursor
DEALLOCATE c_cursor
-
Regards,
Hi Vicman,
Please refer to this link from SAP help for sender JDBC CC.
http://help.sap.com/saphelp_nwpi711/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
Regards,
Neetesh
Hi Vicman,
The direct answer would be there is no limit. So it all depends upon your hardware, network etc. When you poll it tries to read all the records in the database, the time to reach in sxmb_moni and to process them will depend upon all the above factors.
But for safety we always read them in chunks because the processing might be fast with this. If you try to read a million records at one shot all other interfaces behind this interface is in queue until it completes that transaction.`
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.