Skip to Content
0

DBIF_RSQL_INVALID_CURSOR from custom datasource (via FM)

Oct 26, 2016 at 03:56 PM

34

avatar image

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
               APPENDING CORRESPONDING FIELDS
               OF TABLE e_t_data
               PACKAGE SIZE s_s_if-maxsize.


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

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.


Diagnosis
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.


Procedure
How you remove the error depends on the error message.


System Response


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

Someone has any idea what could cause the problem?

Regards

Stefano

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers