Get Example source ABAP code based on a different SAP table
Standard SAP Help for FETCH
INCLUDE ABAPFETCH_SYNTAX OBJECT DOKU ID SD
What does it do?Extracts lines from the resulting set of adatabase-cursor> opened with OPENCURSOR>.
ABAP AdditionINTO wa >> Reads a line and assigns it to a work area wa>. INTO (dobj1, dobj2, ...)>> Reads a line and assigns it to several data objects dobj1>, dobj2>, ... INTO|APPENDING TABLE itab>> Reads several lines and assigns them to an internal table itab> resp. attaches them to the table. CORRESPONDING FIELDS OF>> Restricts the transport to homonymous components of the work areas wa> resp. to the internal table itab>. PACKAGE SIZE n>> Hands over the lines in pakages from n> lines to the internal table itab>. CREATING READER|LOCATOR FOR ... COLUMNS ...>> Specifies what type of LOB handle>> is created.