Skip to Content
0
Former Member
Oct 17, 2012 at 04:40 PM

DBIF_RSQL_INVALID_CURSOR in data extraction after SP 11 implementation

105 Views

Hi,

After installing support package SAP BASIS 11 in our source system ECC 701, we have a extraction (Data Source 0CA_JVA_4B) that ends in a short dump.

Short text: Invalid interruption of a database selection.

What happened?

The current ABAP program "GP_GLX_JVTO2" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Unable to perform database selection fully.

Source Code Extract

687 IF I_APPENDING_TABLE EQ GUSL_C_TRUE.

688 DESCRIBE TABLE C_T_DATA LINES L_LINES.

689 ELSE.

690 L_LINES = 0.

691 ENDIF.

692 L_LINES_MAX = L_LINES + I_PACKAGE_SIZE.

693

694 C_S_CURSOR-SUBRC = 0.

695 WHILE I_PACKAGE_SIZE EQ 0 OR

696 L_LINES LT L_LINES_MAX.

697 FETCH NEXT CURSOR C_S_CURSOR-CURSOR

698 INTO CORRESPONDING FIELDS OF TABLE G_T_RECORD

699 PACKAGE SIZE L_PSIZE.

>>>>> IF SY-SUBRC NE 0.

701 C_S_CURSOR-SUBRC = SY-SUBRC.

702 FREE G_T_RECORDS.

703 L_CURSOR = C_S_CURSOR-CURSOR.

704 CLOSE CURSOR L_CURSOR.

705 EXIT.

706 ENDIF.

The version management shows that the last change has been done at the moment of the SP install, but I can’t find a note SAP that describe our problem.

Thank you for your help.