Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Interface Transaction Code

AlexGiguere
Contributor
0 Kudos

Hi, is there a transaction to create/manage interfaces, I mean interface in the terms of OO,

I know we can create interface throught transaction SE24,

thanks!

Alex

1 ACCEPTED SOLUTION

GrahamRobbo
Active Contributor
0 Kudos

Hi Alex,

that would be transaction se80 - ABAP Workbench. Select Class/Interface from the dropdown listbox on the left-hand side.

Cheers

Graham

4 REPLIES 4

GrahamRobbo
Active Contributor
0 Kudos

Hi Alex,

that would be transaction se80 - ABAP Workbench. Select Class/Interface from the dropdown listbox on the left-hand side.

Cheers

Graham

Former Member

Hi

Unlike local program classes and interfaces, global classes and interfaces can be created and implemented using the <b>ABAP Workbench tool Class Builder(SE24).</b> These classes and interfaces are then available active throughout the whole system.

reward if usefull

0 Kudos

Thanks guys, my problem was that each time I create a class throught SE24, I was prefixing the ZCL_*, so I was thinking SE24 was only for class, but if I put ZTEST and click on create it will ask me for interface or class, I did not know that, I found it myself but I reward you some points for answering me,

thanks

Alex

Former Member
0 Kudos

Hi

Interfaces only describe the external point of contact of a class (protocols), they do not contain any implementation.

Interfaces are usually defined by a user. The user describes in the interface which services (technical and semantic) it needs in order to carry out a task.

The user never actually knows the providers of these services, but communicates with them through the interface.

In this way the user is protected from actual implementations and can work in the same way with different classes/objects, as long as they provide the services required. This is known as polymorphism with interfaces.

You can access interface components using an object reference, whose class implements the interface. Syntactically this is done with the interface resolution operator, just as with the method definitions in the implementation part of the class.

A compound interface contains other interfaces as components (component interfaces) and summarizes the extension of these component interfaces.

reward if usefull