|Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
ABAP Classes in Workflow
By Anwesha Bhattacharya , Capgemini India
ABAP Classes and Business Workflow:
We can use ABAP classes in the definition and runtime components of SAP
WebFlow Engine in the same way as object types defined in the Business
object Repository (BOR).
Before proceeding further we
need to know where to create and maintain ABAP
Classes and ABAP Interfaces.
What is Class Builder and its purpose?
The Class Builder allows us 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. We can display existing classes and interfaces in the class library using the Class Browser.
We 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 classes are processed using the Class Builder.
How to reach Class Builder?
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.
How does it integrate?
The Class Builder allows us to create Web development objects within the
ABAP Workbench. We 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)
From here, we can either display the contents of the class library or edit a class using the Class Editor. Once we have defined an object type, we can implement its methods. From the initial screen or the Class Editor, we can also access the Class Builder’s test environment. We 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.
How to use the Class Builder?
Use the Class Builder to:
What are the constraints?
We cannot define object types on the basis of graphical object modeling.
creating global classes and interfaces:
Global classes and interfaces that we create in the Class Builder are stored
in the class library and administered by the R/3 Repository: they therefore have
the same namespace as all other Repository objects. It is therefore necessary to
have naming conventions for object types and their components and to use them
uniformly within program development.
Naming Conventions in ABAP Objects:
The following naming convention
has been conceived for use within the SAP namespace. If we do not observe
the naming conventions for object types (classes and interfaces), conflicts will
occur when the system creates persistent classes, since it will be unable to
generate the necessary co-classes.
Conventions for Object Types:
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards