Get Example source ABAP code based on a different SAP table
ABAP Code Snippet ARTICLE
Cannot Use Untyped Interface Parameters In ABAP Objects, the TYPE addition is required for the interface parameters of procedures. The only procedures allowed in ABAP Objects are methods.
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.