ABAP Objects2995243

De BISAWiki

Edição feita às 05h39min de 21 de fevereiro de 2013 por LeighqtjqndukviOckenfels (disc | contribs)
(dif) ← Versão anterior | ver versão atual (dif) | Versão posterior → (dif)

Dependent on your present understanding of procedural programming with ABAP, we will describe the item-oriented strategy and inspire you to use it programowanie ABAP. The primary emphasis will be on explanation. At this phase, it is critical to introduce you to the subject matter and its ideas, so that we can build on this information later on.

For now, it would not make sense to consider to argue a conclusive circumstance for or towards the object-oriented technique. Just before you can make a certified selection, you need to have to get to know all object-oriented ideas and their rewards and disadvantages.

As we can see from the programming language Simula sixty seven, object-oriented programming was designed at around the very same time as the rational and procedural programming designs. In the earlier, COBOL and, previously mentioned all, the procedural programming design as expressed in languages like C or Pascal had been dominant in company software growth. Just before ABAP, SAP initially used a macro assembler. Even today, a lot of builders nevertheless have much more encounter with procedural programming than object-oriented programming. Therefore, this introduction to item-oriented programming also employs references to the procedural model in its explanations wdrożenia SAP.

A standard procedural ABAP plan is made up of variety definitions and data declarations, which explain the composition of the knowledge the program uses when it is executed. Modularization models (for illustration, subroutines or perform modules) can be encapsulated. Nevertheless, on the main system amount, there is no specific security for the global knowledge objects. Any variables can be accessed by any means.

Every single time a perform module is known as in a main software, its perform group is loaded into the inner session. The operate group continues to be active right up until the major plan is concluded. The principal software and the operate groups that were referred to as in it are all saved in separate memory areas. Even if their data objects have the exact same names, they are not shared. You can only contact the operate modules of the purpose groups from the principal system. In flip, the operate modules can access the other elements particularly the worldwide info of the perform teams. In other terms, it is not achievable to entry the perform group's worldwide data straight from the major program. Encapsulation also incorporates the notion that the implementation of a support can be concealed from the system's other components, so that these cannot and do not have to make assumptions about the inner status of the modularization device konsultanci SAP. This way, the layout of these other parts is not dependent on a distinct implementation of the other modularization models. Therefore, a perform team is a unit of data and features that manages this info. Encapsulated accessibility to knowledge and companies 1 of the many concepts of the object-oriented programming product can as a result be supported in the procedural part of ABAP Objects. This meant that BAPIs could be executed as operate modules and Company Objects could be implemented as function groups.

The item-oriented principles of ABAP Objects are essentially the same as people of other modern day object-oriented languages like C or Java. A small variety of principles that did not demonstrate to be profitable in these other languages were not included in ABAP Objects. On the other hand, ABAP Objects also has useful language components that C and Java do not supply. Some certain characteristics of ABAP Objects only exist since of the certain upward compatibility of more mature ABAP language elements. Key differences in comparison to other object-oriented languages are in the growth setting. You can use the total range of features of the ABAP Workbench with ABAP Objects.

ABAP Objects is not a new language, but has been designed as a systematic extension of ABAP. All of the extensions, including the old procedural elements, are upwardly suitable.

Ferramentas pessoais