Skip to Content

DBIF_RSQL_INVALID_CURSOR from custom datasource (via FM)

Hi all,

i've created a new custom DS to extract data via function module, it's working fine but sometimes I get this dump during the extraction in ECC.

The ABAP code in error is the following:

*   Fetch records into interface table.
*   named E_T_'Name of extract structure'.
    FETCH NEXT CURSOR s_cursor
               OF TABLE e_t_data
               PACKAGE SIZE s_s_if-maxsize.

    IF sy-subrc <> 0.
      CLOSE CURSOR s_cursor.
      RAISE no_more_data.

The line in ST22 dump is "If sy-subrc <> 0".

The error message in BW is this:

Error message from the source system the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.

An error occurred in the source system.
The error occurred in Extractor .

Further analysis:
Caller 09 contains an error message.
Refer to the error message.

How you remove the error depends on the error message.

System Response

If the source system is a Client Workstation, then it is possible that

Someone has any idea what could cause the problem?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers