on 04-06-2011 6:59 AM
Hi All,
I'm using the new nCo 3.0 to get access to tables via the RFC_READ_TABLES function.
I am able to access the tables and download data OK, however i sometimes get these error messages
'RfcCompressor: CsRDecompress failed with rc = -22'. (normally happens towards the end of a table data extraction)
'End mark of RFCID.TableContLZ not found.' (occurs while trying to invoke the RFC_READ_TABLES function, however occurs randomly)
I'm grabbing the data from tables at 50,000 rows at a time, and have set the below parameter values.
tableRead.SetValue("QUERY_TABLE", Trim(dr("saptbl")))
tableRead.SetValue("ROWCOUNT", GetDownloadChunkSize)
tableRead.SetValue("ROWSKIPS", 0)
If hasFields = True Then
tableRead.SetValue("FIELDS", fieldsTable)
End If
If hasOptions = True Then
tableRead.SetValue("OPTIONS", optionsTable)
End If
Just wondering whether anyone has come across these error messages and are able to explain why they are occurring?
Regards,
Huu
Hi,
The .net connector nco3.0 that was recently released (25th August 2011) on the SAP marketplace seems to have resolved this issue.
I've tested many times and the rfc_read_table errors don't occur anymore.
Cheers
Huu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also am getting this same error when calling a function module which returns a large number of rows, RfcSerializationException was unhandled - End mark of RFCID.TableContLZ not found. Looks like something is being truncated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
RFC_READ_TABLE function module has a lot of problems with assign statements and conversion. It doesn't support all data types. RFC_READ_TABLE function should not even exists any more in ECC6.0.
However there is an alternative function which you can use and to my experience it doesn't have the problems rfc_read_table had. Check SAP note 1175255, how to implement BBP_RFC_READ_TABLE. It is used exactly like the rfc_read_table.
jani
Cheers Alan, we'll await their response to this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm getting this error to.
I am going to raise a support call with SAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.