Application Development and Automation 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: 
Read only

class builder

Former Member
0 Likes
4,974

What is a class builder? Where it is useful.

Warm Regards,

Keerthi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,077

Hi,

Class Builder:

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.

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.

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.

7 REPLIES 7
Read only

Former Member
0 Likes
3,077

Hi,

you need to learn ABAP OO for this. If you understand what a class is and its objects (attributes, methods, exceptions, etc.), you can develop it with the Class Builder (SE24). You enter the class name (ZCL_*) and then you declare some properties like superclass, description, final, package, etc.

Read only

Former Member
0 Likes
3,077

Class builder is for creating classes. Check tcode SE24.

This is for object oriented programming.

don't forget to reward

Sameer

Read only

Former Member
0 Likes
3,077

Calss builder is used To create the Classes and Interfaces. It is basically for Object Oriented Approach.

Read only

Former Member
0 Likes
3,078

Hi,

Class Builder:

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.

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.

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.

Read only

Former Member
0 Likes
3,077

hi,

Purpose

Unlike local in program classes/interfaces, global classes/interfaces can be created and implemented using

the ABAP Workbench Tool Class Builder or transaction SE24. These classes/interfaces are then available

to all developers.

Global class and interface names share the same namespace.

Global classes/interfaces have a TADIR entry: R3TR CLASS <name>

The smallest transport unit is method LIMU METH.

The Class Builder is a tool in the ABAP Workbench that is used to create, define and test global ABAP

classes and interfaces.

In the initial screen, select the object type you want to work with - class or interface. Then choose one of

the display, change, create or test functions.

In the initial screen you have the choice of viewing the contents of the R/3 class library using the Class

Browser or going straight to basic data maintenance of the object types and the Class Editor, where you

can define the object types and their components. The object type definition can be immediately followed

by method implementation in the ABAP Editor. You can also access the test environment from the initial

screen or from the Class Editor.

In the Class Builder you have the same options for creating a global class as for creating a local class

In the Class Builder you have the same options for creating a global interface as for creating a local

interface.

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.

abap oops

http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt

http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf

http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf

http://esnips.com/doc/92be4457-1b6e-4061-92e5-e4b3a6e3239/Object-Oriented-ABAP.ppt

http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf

http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt

Hope this helps, Do reward.

Edited by: Runal Singh on Apr 3, 2008 3:49 PM

Read only

Former Member
0 Likes
3,077

hi ... please find the following test regarding class builder... hope its helpful... do reward.... and get bak if still any troubles..

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.

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.

Read only

Former Member