0% found this document useful (0 votes)
29 views

Types of Class The Syntax For Creating Local Classes: - Definition of Class

Uploaded by

nstomar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Types of Class The Syntax For Creating Local Classes: - Definition of Class

Uploaded by

nstomar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Types Of Class

1) Local Class -> Local class to program (SE38-ABAP Editor).


2) Global Class -> Class Builder Tool (SE24).
The syntax for creating local classes: –
1) Definition of class -> Declaration of components.
2) Implementation of class -> Implementation of method
Definition of class
Class <class name> definition.

Declaration of components.

Endclass.

Implementation class

Class <class name> implementation.

Implementation of methods.

Endclass.

Object Creation: –
1) Create reference for the class

Syntax: – Data <ref name> type ref to <class name>


Note: – Whenever an Object is created memory will be allocated for the
attributes of the class and the attribute gets initialized to default values.

VDM in ABAP CDS view

Access specifiers in ABAP / Public, private, protected in SAP ABAP


1) Public Section
2) Protected Section
3) Private Section
Application Of OOPS: –
1) BAPI’S
2) BADI’S
3) Enhancement Frame Work
4) Webdynpro
5) HR-ABAP
6) CRM-Technical
7) SRM
8) EP
CDS view core annotations

OOPs ABAP step by step tutorial

You might also like