struc and component comp ) as the component of a structure in
ABAP Dictionary specified after LIKE , LIKE refers to the
component of the structure defined in the function group. This leads to
a warning in the syntax check.
Latest notes: Use TYPE instead of LIKE in
the Function Builder; this will always be displayed as TYPE in
the source text. Furthermore, TYPE always relates to types in
ABAP Dictionary and never to local types of the function group.
Formal parameters typed with STRUCTURE can usually be replaced
by formal parameters typed with TYPE . If a casting is necessary,
generic formal parameters should be used and assigned to field symbols
using the statement ASSIGN and the addition
CASTING .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved