Skip to Content
0
Former Member
Dec 05, 2005 at 08:14 AM

Package on internal table

214 Views

Hi,

I’m coding a generic extrator based on the expample function module ZRSAX_BIW_GET_DATA_SIMPLE. I’m 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, it’s an internal table. What do I have to change, so that the coding also works in my situation?

Regards,

Gabi