on 06-16-2005 10:15 PM
Hi
Can anyone please tell me how to restrict the number of records (amount of data) that is returned by a R/3 system through BAPI call when using JCA?
Is there any thing that i got to setup in R/3 or in the JCA api???
Any help appreciated.
Thanks
Sasi
Hi Sasidhar,
The bapi returns data based on it's import parameter and if it is supposed to return certain number of records then it will. If you still want to restrict the number of records has to be restricted on the BAPi side. The ABAP code has to be modified. SAP doesn't let you modify it's BAPI but you can always write your own by copying the original one.
Prakash.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Prakash, but the thing is if you restrict the no.of records to, lets say 200, then how do you get the remaining set of data (if the query result has like 1000 records)???
Do you set an import parameter which will return first 200 records or second 200 records or so on??? Is this the only way we have?
BTW ur web log on broadcast was great.
Thanks
Sasi
Thanks for the compliment. Sasi, it depends on the BAPI. If the bapi has a parameter to restrict the number of records then you could use that parameter but there is no comman way for all the BAPIs. It is specific to each BAPI.
So in simple words, if you are using a BAPI that return 2000 records and it doesn't have a parameter to restrict it then the only way for you to restrict it is write a new BAPI(RFC) in ABAP.
Message was edited by: Prakash Singh
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.