Im coding a generic extrator based on the expample function module ZRSAX_BIW_GET_DATA_SIMPLE. Im new in ABAP and have problems to adjust the following part of the coding (creating the data packages in line 92-123):
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT (S_S_IF-T_FIELDS) FROM SFLIGHT
WHERE CARRID IN L_R_CARRID AND
CONNID IN L_R_CONNID.
ENDIF. "First data package ?
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.
In my case SFLIGHT is not a standard table, its an internal table. What do I have to change, so that the coding also works in my situation?