Skip to Content
-3
Jun 18, 2020 at 03:03 AM

Abap method with parameter

187 Views

Hi!

I have some trouble in method with parameter. I did follow https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abapmethods_parameters.htm And this is was my code :

....

PUBLIC SECTION.

INTERFACES if_oo_adt_classrun.

METHODS loop.

IMPORTING num type i.

...

got error on importing says " This Statement IMPORTING is unexpected ". I using Abap Class instead of Abap Program.

Thank you for your time.