Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

Object Oriented ALV

Code generator
- Lakshmi Sailaja Nalam
(Laksmi S Nalam/India/IBM)

May 2017

1 IBM Confidential © 2017 IBM Corporation


Software Development Life Cycle(SDLC)
The intent of an SDLC process is to help to produce a cost-efficient, effective and of high quality
product.

Analysis

Deploy Design

Document Code

2 IBM Confidential © 2017 IBM Corporation


Development Effort Distribution
In many of the scenarios, code development shares major section of the development efforts.

Design
15%

Analysis
10%

Code
60%
Deployment
10%

Document
5%

3 IBM Confidential © 2017 IBM Corporation


Efficient and effective!
Many techniques are introduced to deliver an efficient and effective piece of code.

4 IBM Confidential © 2017 IBM Corporation


ALV – Prior to Netweaver 2004

5 IBM Confidential © 2017 IBM Corporation


Object oriented ALV – SAP Netweaver 2004
SAP has introduced a new programming model to develop Object Oriented ALV (OO ALV) using class
CL_SALV family class.

 Simplified design: This Model uses a highly integrated object oriented design which provides the
simplicity to programmers to develop the ALV.

 Unified Object models: This model has only one main class which will get and set the
parameters of entire layout.

6 IBM Confidential © 2017 IBM Corporation


Object oriented ALV Code generator – Utility program
 Automate code generation for many of the common specifications requested for report
programs.

 Effective way of program development using modularizing concepts.

 Provides a template with generated lines of code based on the values given on the input
screens. This has to be enhanced to meet the business requirements.
o Code is only displayed in text editors. Includes, screens, PF-status are not created.

Developer

Code generated by OO ALV Code Enhanced code to meet all business


Generator requirements

7 IBM Confidential © 2017 IBM Corporation


Object oriented ALV Code generator – Benefits

Reduces significant development efforts. Quick turnaround time

8 IBM Confidential © 2017 IBM Corporation


Object oriented ALV Code generator – Features

9 IBM Confidential © 2017 IBM Corporation


Object oriented ALV Code generator – Efforts

Time taken to generate code Time taken to develop code % of Development


Complexity using OO ALV code generator manually Efforts reduction
Low 15 minutes 16 to 20 hours 98.4%
Medium 20 minutes 24 to 30 hours 98.5%
High 25 minutes 32 to 40 hours 98.6%

10 IBM Confidential © 2017 IBM Corporation


Object oriented ALV Code generator – Screens

Determine ALV type

Input parameters to meet business requirements

11 IBM Confidential © 2017 IBM Corporation


Object oriented ALV Code generator – Screens

Modularization techniques are applied while code generation. Code corresponding to different includes
is saved in different text editors.

12 IBM Confidential © 2017 IBM Corporation


13
13 IBM Confidential © 2017 IBM Corporation

You might also like