14.01.2020 Views

ABAP_to_the_Future

Create successful ePaper yourself

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

Customization Options with User-Defined Plug-Ins 1.4

worry off your mind, go back into Eclipse to have a look at the generated code

(Listing 1.17). Remember that in Eclips e everything is a source code–based view

of what you might see in SE24 or SE37 in a form-based view.

Figure 1.27 Importing a UML Diagram to the ABAP System

class ZCL_REALLY_SCARY_MONSTER definition

public

create public .

public section.

data MONSTER_NAME type INVALID .

data MONSTER_NUMBER type INVALID .

methods HOWL

importing

!NUMBER_OF_HOWLS type INVALID .

protected section.

data SANITY type INVALID .

private section.

ENDCLASS.

CLASS ZCL_REALLY_SCARY_MONSTER IMPLEMENTATION.

method HOWL.

endmethod.

ENDCLASS.

Listing 1.17 Generated Code in Eclipse

Sure enough, Eclipse has successfully gene rated the code for you, including the

subclasses (Listing 1.18).

77

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

Saved successfully!

Ooh no, something went wrong!