SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
Cannot Use Untyped Interface Parameters
In ABAP Objects, the following statement causes an error message:
METHODS meth IMPORTING p1
EXPORTING p2.
Correct syntax:
METHODS meth IMPORTING p1 TYPE ANY
EXPORTING p2 TYPE ANY.
Cause:
In ABAP Objects, the interface parameters of parameters must always be explicitly typed. Use the TYPE ANY addition if you want an interface parameter to be completely generic.