Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Mickaël QUESNOT © https://www.linkedin.

com/in/mickaelquesnot/

Introduction to the Class Builder in SAP S/4HANA

Purpose

The Class Builder allows you to create and maintain global ABAP classes and interfaces. Both of
these object types, like global data types, are defined in the ABAP Repository, thus composing a
central class library. Together, they form a central class library and are visible throughout the system.
You can display existing classes and interfaces in the class library using the Class Browser.

You can define local classes as well as global classes. They are defined locally in
programs, function groups or as auxiliary classes of global classes of the class pools. Local
classes are only visible within the defining module.
Integration

The Class Builder allows you to create Web development objects within the ABAP Workbench. You can
use the Class Browser to display and maintain existing global object types from the class library. The
diagram below illustrates the architecture of the Class Builder and the relationships between its
components (including the Class Browser).
To reach the initial screen of the Class Builder, choose Development à Class Builder from the initial
screen of the ABAP Workbench or enter transaction code SE24. From here, you can either display the
contents of the class library or edit a class using the Class Editor. Once you have defined an object
type, you can implement its methods. From the initial screen or the Class Editor, you can also access
the Class Builder’s test environment. You can define the object types immediately after implementing
the method in the ABAP Editor. It is also possible to access the test environment from the initial screen
or Class Editor.

Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Directeur SAP SCM & Cloud Solutions (Concur, EnableNow)

1|Page
Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Features

Use the Class Builder to:


· Display an overview (in the Class Browser) of global object types and their relationships.
· Maintain existing global classes or interfaces.
· Create new global classes and interfaces.
· Implement inheritance between global classes
· Create compound interfaces
· Create and specify the attributes, methods, and events of global classes and interfaces.
· Define internal types in classes.
· Implement methods.
· Redefine methods
· Maintain local auxiliary classes.
· Test classes or interfaces in a simulated runtime environment.
Constraints

You cannot define object types on the basis of graphical object modeling.

Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Directeur SAP SCM & Cloud Solutions (Concur, EnableNow)

2|Page
Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Copy class CL_EXM_IM_ACC_DOCUMENT via SE24.

Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Directeur SAP SCM & Cloud Solutions (Concur, EnableNow)

3|Page
Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Directeur SAP SCM & Cloud Solutions (Concur, EnableNow)

4|Page
Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Activate.

Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Directeur SAP SCM & Cloud Solutions (Concur, EnableNow)

5|Page
Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Directeur SAP SCM & Cloud Solutions (Concur, EnableNow)

6|Page
Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Directeur SAP SCM & Cloud Solutions (Concur, EnableNow)

7|Page
Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Mickaël QUESNOT © https://www.linkedin.com/in/mickaelquesnot/

Directeur SAP SCM & Cloud Solutions (Concur, EnableNow)

8|Page

You might also like