on 09-20-2017 2:29 PM
Hi Team,
We are using RFC_READ_TABLE Function module to fetch reference data from LAGP (Storage Bin data) table, but the issue is in destination server, there are more ther 1 Lakh data, but we are only able to fetch 1.23k data by this function module, please help me out, if anything is missing out.
Regards
Kumar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
Thanks a lot for your quick help, I have created the custom FM but once I am running this FM system is throwing runtime error CALL_FUNCTION_Not_found, and in your link lastly mentioned is some think like that,
tr = s.GetTableReader("some_table")
tr.Option("tablereader.transportcall") = "ZRFC_READ_TABLE"
tr.Read(0,0)
Where I need to add this thing.
Also output is giving differently for different tables.
Regards
Kumar.
The RFC "Z_AW_RFC_READ_TABLE" is not always provided / installed straight away (it is part of "SAP Data Services"). Please verify if SAP-BASIS is able to obtain this RFC-code as is mentioned in some other posts (link, link).
They should be able to 'install' this additional RFC.
Alternatively, some people also suggest making use of RFC "/BODS/RFC_READ_TABLE" ...
Great (you have some willing / fast BASIS people) ...
Hopefully this can set you on the path to a solution.
Please Close the Question if this has actually answered your Query.
Hi Kumar,
RFC_READ_TABLE has many limitations and shortcomings and you should never use it in a productive scenario. However, I don't recall that a restriction of the number of rows that can be returned is one of them. Are you getting any errors?
In any case, it's a good practice to download data in slices when dealing with this type of volume. Have you tried restricting the result to say 1000 rows and using the rowskip parameter to fetch the data in multiple iterations?
Regards,
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I second @weberpat in that by default RFC_READ_TABLE returns all rows of the logged-in client. So, if it doesn't return the rows you expect, then it means that you don't log in the right system/client.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First read 382318 - FAQ|Function module RFC_READ_TABLE, then (at your own risk) you can look for parameters ROWSKIPS and ROWCOUNT and multiple call of the FM...)
But what is the actual business requirement to extract the whole table?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Didn't you find any less ressource intensive solution, like some delta load or a standard/custom tool like an Idoc/change pointer solution, even considering some implicit enhancements in function group L01S which contains the L_LAGP* update FMs?
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.