SAP ABAP

Archive for May 22nd, 2007

Object-oriented programming (OOP) is a programming language model organized around “objects” rather than “actions” and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data. The programming challenge was seen as how to write the logic, not how to define the data. Object-oriented programming takes the view that what we really care about are the objects we want to manipulate rather than the logic required to manipulate them. Examples of objects range from human beings (described by name, address, and so forth) to buildings and floors (whose properties can be described and managed) down to the little widgets on your computer desktop (such as buttons and scroll bars).
The first step in OOP is to identify all the objects you want to manipulate and how they relate to each other, an exercise often known as data modeling. Once you’ve identified an object, you generalize it as a class of objects (think of Plato’s concept of the “ideal” chair that stands for all chairs) and define the kind of data it contains and any logic sequences that can manipulate it. Each distinct logic sequence is known as a method. A real instance of a class is called (no surprise here) an “object” or, in some environments, an “instance of a class.” The object or class instance is what you run in the computer. Its methods provide computer instructions and the class object characteristics provide relevant data. You communicate with objects – and they communicate with each other – with well-defined interfaces called messages.

The concepts and rules used in object-oriented programming provide these important benefits:

The concept of a data class makes it possible to define subclasses of data objects that share some or all of the main class characteristics. Called inheritance, this property of OOP forces a more thorough data analysis, reduces development time, and ensures more accurate coding.
Since a class defines only the data it needs to be concerned with, when an instance of that class (an object) is run, the code will not be able to accidentally access other program data. This characteristic of data hiding provides greater system security and avoids unintended data corruption.
The definition of a class is reuseable not only by the program for which it is initially created but also by other object-oriented programs (and, for this reason, can be more easily distributed for use in networks).
The concept of data classes allows a programmer to create any new data type that is not already defined in the language itself.
One of the first object-oriented computer languages was called Smalltalk. C++ and Java are the most popular object-oriented languages today. The Java programming language is designed especially for use in distributed applications on corporate networks and the Internet.

Other Useful Link :

Learn Object Oriented ABAP online and Download Tutorial

BAPI

Posted on: May 22, 2007

BAPI (Business Application Programming Interface) is a set of interfaces to object-oriented programming methods that enable a programmer to integrate third-party software into the proprietary R/3 product from SAP. For specific business tasks such as uploading transactional data, BAPIs are implemented and stored in the R/3 system as remote function call (RFC) modules.

1) A format (noun, pronounced FOHR-mat) is a preestablished layout for data. A computer program accepts data as input in a certain format, processes it, and provides it as output in the same or another format. All data is stored in some format with the expectation that it will be processed by a program that knows how to handle that format. Generically, data formats tend to fall into bitmaps (strings of 0s and 1s) that describe images or sound patterns (or both), text formats (in which usually each byte value is mapped to a character), and numeric data formats (used by spreadsheet and other database programs).

A hard disk or other storage device is also said to be formatted when its space has been organized and divided into pieces that can be controlled for convenient storage and access. For example, a hard disk may be formatted into areas called sectors, tracks, and clusters.

2) To format (verb) a document or file for printing or displaying is to add the necessary information to it so that the output device will know how to present the output.

3) To format (verb) a hard disk or diskette is to set up the space divisions on the medium and initiate a space allocation table that will know exactly how to reach each bit of data that may be stored there later.

A data structure is a specialized format for organizing and storing data. General data structure types include the array, the file, the record, the table, the tree, and so on. Any data structure is designed to organize data to suit a specific purpose so that it can be accessed and worked with in appropriate ways. In computer programming, a data structure may be selected or designed to store data for the purpose of working on it with various algorithms.


Read Whole Site there

http://abapcode.info

Topic Wise Content

blog content

May 2007
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  

Blog Stats

  • 550,558 hits