on 03-09-2012 10:35 AM
Hi Team,
I have working on Jdbc to idoc interface.
i have 3,00,000 records in DB.if i use top command in jdbc sender cc for every 30,000 records.
should pi generates 10 idocs in target sap?
Regards
Srinivas
Your requirement not clear,
If you want to create single IDoc for multiple JDBC records then you have to build a maping logic in mapping.
change IDoc occurance to 1 to undbounded.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivas,
The easiest way to limit the number of records selected is simply to use "LIMIT 30000" at the end of the SELECT statement, but this only works with certain DBMS. Refer here for details:
http://en.wikipedia.org/wiki/Select_(SQL)
Hope this helps,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>i have 3,00,000 records in DB.if i use top command in jdbc sender cc for every 30,000 records.
should pi generates 10 idocs in target sap?
Yes. That is possible. In the sender JDBC communication channel specify the select statement something similar below...
Select * from tablename where rownum < 30000
Followed by
Update statement should update the flag that set value = true for the read 30000 records.
This will yield one message with 30,000 records.
Next time the same select query and update statment reads the second set of 30,000 records and update the flag for the read records.
Here is the link.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.