Abap objects

14
Quality, sustainability, and future readiness 1

description

 

Transcript of Abap objects

Page 1: Abap objects

Quality, sustainability, and future readiness

1

Page 2: Abap objects

Agenda Quality

Customer Service

Innovation

Low Cost

People

2

Page 3: Abap objects

Quality - Performance Methods are the fastest running code, so performance

is better, (but, you can always write bad code, so this is provided the method is written correctly)

OO is more granular, so the code you write has many more options, you can write it at a finer level, and do more with it that you just can’t do with procedural code

3

Page 4: Abap objects

Quality - Maintenance benefits ABAP Objects

better supports separation of concerns data encapsulation explicit instantiation inheritance interfaces event-driven flows cleansed syntax Access to new SAP technologies Add additional flexibility of inheritance and encapsulation

which can reduce development times in subsequent projects and increase the ease of maintenance and stability of programs.

4

Page 5: Abap objects

Customer Service Web Driven User Interface

Ease of use

Once we have our repository – quicker development time

Better requirements for user interfaces – Design the screen that they will see while in the meeting

5

Page 6: Abap objects

Innovation – OO Technologies Global classes are heavily used for implementing business layer

functionality Local classes should be used for local modularization (instead of

forms) BADI Implementation SAP List Viewer All other SAP Controls Web Services ICF services BSP FPM All programs that are based on one of the former UI technologies RTTS (which is important for dynamic programming)

6

Page 7: Abap objects

Innovation OO Technologies SOAP

ABAP Proxy

Enhancement Spots

ABAP Eclipse for HANA programming

All new technology

7

Page 8: Abap objects

Innovation / Cost –SAP Platforms All these platforms are built around OO. It would cost

money to support without internal resources.

SRM

EWM

RPM

EMCS

Other systems we have now???

8

Page 9: Abap objects

Low Cost / Innovation - OO Mandatory OO is mandatory to take advantage of the great stuff

out there in code exchange like abap2xlsx, abap2gapps, abap2qrcode, ZSAPLINK

WDA and CRM UI is the strategic UI technology for SAP, so basically you say eventually everything is going to be in WDA whether or not you like it, so start getting ready now.

9

Page 10: Abap objects

Low cost - Maintenance Official SAP programming guidelines by Horst Keller

Prohibits many obsolete statements and additions

Requires implicit statements to be explicit

Detecting and preventing potentially incorrect data handling

Data Encapsulation

Explicit object instantiation

Improved code reuse by inheritance

Standalone interfaces

Explicit event raising and handling

Provides access to newer technology

10

Page 11: Abap objects

Low cost - Maintenance About 35% of running programs in ECC have objects.

Number of objects having the object type CLAS or INTF=> 125000 + 39000 = 164000

Look for number of objects having the object type PROG => 302000

More OO in each EP / version

11

Page 12: Abap objects

Low Cost - Classic programming Classic programming is still needed for:

RFCs

ABAP Dynpros

Certain Frameworks

12

Page 13: Abap objects

People - Who? Everyone

Consultants

Employees

Customers

13

Page 14: Abap objects

People - Development Current SAP Development Training courses

BC100 – Basic ABAP Techniques including structured programming – 2 Days

BC400 – ABAP Workbench foundations – 5 days objects and all the next courses in development assume you know objects (Programming reports ALV OO)

14