04-09-2009 1:35 PM
Hi, All:
I call RFC function module to transfer from QA to Dev.
why I get some part of data, e.g. in one table there are 3 million records, after I get 1 million record. program automatically exit.
somewhere can control it?
Thanks in advance
04-09-2009 1:37 PM
hi Yunfa,
Go to T-code -->SM58-->see the error --> mostly the data is unable to hold--> on that case use buffer..
Reagrds,
Prabhudas
04-09-2009 1:37 PM
04-09-2009 1:41 PM
Hi Yunfa,
see the sample code in below Function module how to handle large amount of data using buffer while transfering from R/3 to R/3...
* using Buffer we can hadle huge amount of data.
RFC_GET_TABLE_ENTRIES
Regards,
Prabhudas
04-09-2009 3:23 PM
Yunfa, Looks like This is becasue of the large number of entires that you are having.
You may want to restrict the numner of entries sent in one run.
In all cases you should be getting the Log in SM58. You can manually push (try menu options( if entires are lying there.
Regards
Shital
04-09-2009 3:49 PM
Hi Yunfa,
This is not the issue of the Function module if you have written it optimally by improving performance oriented logic.
You need to check with the Basis people why it is failing. Try to check the possibility of splitting up the data and sending it if the requirement agrees to do so.
3 million records is too much of data to send in a single shot and hence that could be the reason for failing.
I faced similar kind of issue once upon a time in the production system but luckily we could solve it with the help of Basis guys(No Idea what they have done)...Also the number of records were less.
Hope this is helpful
Thanks,
Babu Kilari