comp1 comp2 ... or the content of all components ALL FIELDS .
The specification of individual components comp is made as
described in the section Specification of
Components . Access to class attributes is possible using the object
component selector.
Example ABAP Coding Deletes all multiple rows with respect to the primary
key in the internal table connection_tab . The result of this
example corresponds to the one in the example for the position
specification for INSERT .
DATA: BEGIN OF connection,
cityfrom TYPE spfli-cityfrom,
cityto TYPE spfli-cityto,
distid TYPE spfli-distid,
distance TYPE spfli-distance,
END OF connection.
DATA connection_tab LIKE SORTED TABLE OF connection
WITH NON-UNIQUE KEY cityfrom cityto
distid distance.
SELECT cityfrom cityto distid distance
FROM spfli
INTO TABLE connection_tab.
DELETE ADJACENT DUPLICATES FROM connection_tab.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved