Skip to Content
0
Former Member
Apr 12, 2010 at 11:39 AM

Interfaces in ABAP Objects

38 Views

some body please tell why this code snippet is giving a syntax error

syntax error:interface component "INTERF~A" doesnot exist

interface interf.

data a type i.

aliases a1 for interf~a.

endinterface.

class abc definition.

public section.

interfaces interf.

private section.

methods use.

endclass.

class abc implementation.

method use.

endmethod.

endclass.

data obj type ref to abc.

start-of-selection.

create object obj.