21.03.2013 Views

Object Oriented ABAP

Object Oriented ABAP

Object Oriented ABAP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

What is the use of aliases?<br />

ALIASES:<br />

This is the aliases name. it is only for interfaces.<br />

Go to se24.<br />

Then go to aliases tab.<br />

Then provide another name for the interface method.<br />

Then provide public.<br />

Save it, check it, activate it.<br />

Then go to SE38.<br />

Change the method name also.<br />

*&---------------------------------------------------------------------*<br />

*& Report ZCL_INTERFACE *<br />

*& *<br />

*&---------------------------------------------------------------------*<br />

REPORT ZCL_INTERFACE .<br />

*provide mara table<br />

DATA: MARA TYPE MARA.<br />

*provide data objects<br />

DATA: OBJ TYPE REF TO ZCL_INTERFACE,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!