19
IBM Global Services Advanced ALV with ABAP Obje cts | 5.04 March-2005 © 2005 IBM Corporation Advanced ALV with ABAP Objects

04_Advanced ALV With ABAP Objects

Embed Size (px)

DESCRIPTION

ALV

Citation preview

Page 1: 04_Advanced ALV With ABAP Objects

IBM Global Services

Advanced ALV with ABAP Objects | 504

March-2005 copy 2005 IBM Corporation

Advanced ALV with ABAP Objects

IBM Global Services

copy 2005 IBM Corporation2 March-2005Advanced ALV with ABAP Objects | 504

Objectives

The participants will be able to Get overview of dialog program

Discuss classical list programming as related to ABAP objects

Review SAP Control Framework (CFW)

Build dialog program using ABAP Objects and custom controls Creating a screen with a control

Dialog Modules

GUI Status

Passing Data

Using Classes

Creating Objects

IBM Global Services

copy 2005 IBM Corporation3 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework (CFW)

In the R3 System you can use ABAP to control desktop applications (custom controls) The application logic runs on the R3 application server (automation client) which drives the custom control (automation server) at the frontend

The ability to use these custom controls has been built into the dialog process between SAPGui screens and application programs Custom controls can be added in the screen painter

SAPGUI(frontend)Custom Control 1

Custom Control 2

Events

Instance

Automation Queue

Automation Controller

Events

Instance

Automation QueueOO Control Framework

ApplicationProgram

OK_CODE GUI RFC

Application Server (Backend)

IBM Global Services

copy 2005 IBM Corporation4 March-2005Advanced ALV with ABAP Objects | 504

Classical List Report Programming vs ABAP Objects

How is the end result displayed by this program different from a standard list report displaying data from table SAPLANE

IBM Global Services

copy 2005 IBM Corporation5 March-2005Advanced ALV with ABAP Objects | 504

Overview of a Dialog Program with Custom Controls

Create a simple dialog program to display Plane information

Specifications Launch via transaction code

Display all columns from table SAPLANE

Display rows based on user input Aircraft Type (PLANETYPE)

Use single screen to display data with menu controls to back out of the screen

Use custom control to display the data in SAP List Viewer (ALV) format

IBM Global Services

copy 2005 IBM Corporation6 March-2005Advanced ALV with ABAP Objects | 504

Integrating a Control Area into a Dynpro Screen

Using the screen painter the developer can place custom controls on SAP screens The custom control area is given a name that identifies it In this example it will be ldquoLIST_AREArdquo

Within the application program the developer calls proxy objects from within the superclass CL_GUI_CONTROL

For each control a container object and an application object must be created

To create a container object specifically for the ALV viewer feed the screen name of the custom control (LIST_AREA) to the constructor of the container object

For this dialog program the class CL_GUI_ALV_GRID will be used to create the viewer

The dialog program will feed the SAPLANE data to the ALV object which will be displayed in the custom control are as an ALV grid

IBM Global Services

copy 2005 IBM Corporation7 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework ndash Wrapper Classes for GUI Controls

CL_GUI_OBJECT

CL_GUI_CONTROL CL_GUI_FRONTEND_SERVICES

CL_GUI_DIALOGBOX_CONTAINER

CL_GUI_CUSTOM_CONTAINER

CL_GUI_SIMPLE_TREE

CL_TREE_CONTROL_BASE

CL_GUI_HTML_VIEWER

CL_GUI_ALV_GRID

CL_GUI_ALV_GRID_BASE

CL_GUI_SPLITTER_CONTAINER

CL_GUI_CONTAINER

CL_GUI_PICTURE

Methods1048707FILE_OPEN_DIALOG 1048707GET_DESKTOP_DIRECTORY1048707GUI_UPLOAD 1048707GUI_DOWLOAD

hellip

IBM Global Services

copy 2005 IBM Corporation8 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create the Program and Screen

Step 1 First create a program using SE80 (Object Navigator)

Step 2 Create a Screen for the program using

SE80 -gtProgram-gtRight click on program name-gtselect Screen

IBM Global Services

copy 2005 IBM Corporation9 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Custom Control

Custom Control Area

Input Field

Custom Control

Step 3 Create an Input Field and a Custom Control in the Screen

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 2: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation2 March-2005Advanced ALV with ABAP Objects | 504

Objectives

The participants will be able to Get overview of dialog program

Discuss classical list programming as related to ABAP objects

Review SAP Control Framework (CFW)

Build dialog program using ABAP Objects and custom controls Creating a screen with a control

Dialog Modules

GUI Status

Passing Data

Using Classes

Creating Objects

IBM Global Services

copy 2005 IBM Corporation3 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework (CFW)

In the R3 System you can use ABAP to control desktop applications (custom controls) The application logic runs on the R3 application server (automation client) which drives the custom control (automation server) at the frontend

The ability to use these custom controls has been built into the dialog process between SAPGui screens and application programs Custom controls can be added in the screen painter

SAPGUI(frontend)Custom Control 1

Custom Control 2

Events

Instance

Automation Queue

Automation Controller

Events

Instance

Automation QueueOO Control Framework

ApplicationProgram

OK_CODE GUI RFC

Application Server (Backend)

IBM Global Services

copy 2005 IBM Corporation4 March-2005Advanced ALV with ABAP Objects | 504

Classical List Report Programming vs ABAP Objects

How is the end result displayed by this program different from a standard list report displaying data from table SAPLANE

IBM Global Services

copy 2005 IBM Corporation5 March-2005Advanced ALV with ABAP Objects | 504

Overview of a Dialog Program with Custom Controls

Create a simple dialog program to display Plane information

Specifications Launch via transaction code

Display all columns from table SAPLANE

Display rows based on user input Aircraft Type (PLANETYPE)

Use single screen to display data with menu controls to back out of the screen

Use custom control to display the data in SAP List Viewer (ALV) format

IBM Global Services

copy 2005 IBM Corporation6 March-2005Advanced ALV with ABAP Objects | 504

Integrating a Control Area into a Dynpro Screen

Using the screen painter the developer can place custom controls on SAP screens The custom control area is given a name that identifies it In this example it will be ldquoLIST_AREArdquo

Within the application program the developer calls proxy objects from within the superclass CL_GUI_CONTROL

For each control a container object and an application object must be created

To create a container object specifically for the ALV viewer feed the screen name of the custom control (LIST_AREA) to the constructor of the container object

For this dialog program the class CL_GUI_ALV_GRID will be used to create the viewer

The dialog program will feed the SAPLANE data to the ALV object which will be displayed in the custom control are as an ALV grid

IBM Global Services

copy 2005 IBM Corporation7 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework ndash Wrapper Classes for GUI Controls

CL_GUI_OBJECT

CL_GUI_CONTROL CL_GUI_FRONTEND_SERVICES

CL_GUI_DIALOGBOX_CONTAINER

CL_GUI_CUSTOM_CONTAINER

CL_GUI_SIMPLE_TREE

CL_TREE_CONTROL_BASE

CL_GUI_HTML_VIEWER

CL_GUI_ALV_GRID

CL_GUI_ALV_GRID_BASE

CL_GUI_SPLITTER_CONTAINER

CL_GUI_CONTAINER

CL_GUI_PICTURE

Methods1048707FILE_OPEN_DIALOG 1048707GET_DESKTOP_DIRECTORY1048707GUI_UPLOAD 1048707GUI_DOWLOAD

hellip

IBM Global Services

copy 2005 IBM Corporation8 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create the Program and Screen

Step 1 First create a program using SE80 (Object Navigator)

Step 2 Create a Screen for the program using

SE80 -gtProgram-gtRight click on program name-gtselect Screen

IBM Global Services

copy 2005 IBM Corporation9 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Custom Control

Custom Control Area

Input Field

Custom Control

Step 3 Create an Input Field and a Custom Control in the Screen

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 3: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation3 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework (CFW)

In the R3 System you can use ABAP to control desktop applications (custom controls) The application logic runs on the R3 application server (automation client) which drives the custom control (automation server) at the frontend

The ability to use these custom controls has been built into the dialog process between SAPGui screens and application programs Custom controls can be added in the screen painter

SAPGUI(frontend)Custom Control 1

Custom Control 2

Events

Instance

Automation Queue

Automation Controller

Events

Instance

Automation QueueOO Control Framework

ApplicationProgram

OK_CODE GUI RFC

Application Server (Backend)

IBM Global Services

copy 2005 IBM Corporation4 March-2005Advanced ALV with ABAP Objects | 504

Classical List Report Programming vs ABAP Objects

How is the end result displayed by this program different from a standard list report displaying data from table SAPLANE

IBM Global Services

copy 2005 IBM Corporation5 March-2005Advanced ALV with ABAP Objects | 504

Overview of a Dialog Program with Custom Controls

Create a simple dialog program to display Plane information

Specifications Launch via transaction code

Display all columns from table SAPLANE

Display rows based on user input Aircraft Type (PLANETYPE)

Use single screen to display data with menu controls to back out of the screen

Use custom control to display the data in SAP List Viewer (ALV) format

IBM Global Services

copy 2005 IBM Corporation6 March-2005Advanced ALV with ABAP Objects | 504

Integrating a Control Area into a Dynpro Screen

Using the screen painter the developer can place custom controls on SAP screens The custom control area is given a name that identifies it In this example it will be ldquoLIST_AREArdquo

Within the application program the developer calls proxy objects from within the superclass CL_GUI_CONTROL

For each control a container object and an application object must be created

To create a container object specifically for the ALV viewer feed the screen name of the custom control (LIST_AREA) to the constructor of the container object

For this dialog program the class CL_GUI_ALV_GRID will be used to create the viewer

The dialog program will feed the SAPLANE data to the ALV object which will be displayed in the custom control are as an ALV grid

IBM Global Services

copy 2005 IBM Corporation7 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework ndash Wrapper Classes for GUI Controls

CL_GUI_OBJECT

CL_GUI_CONTROL CL_GUI_FRONTEND_SERVICES

CL_GUI_DIALOGBOX_CONTAINER

CL_GUI_CUSTOM_CONTAINER

CL_GUI_SIMPLE_TREE

CL_TREE_CONTROL_BASE

CL_GUI_HTML_VIEWER

CL_GUI_ALV_GRID

CL_GUI_ALV_GRID_BASE

CL_GUI_SPLITTER_CONTAINER

CL_GUI_CONTAINER

CL_GUI_PICTURE

Methods1048707FILE_OPEN_DIALOG 1048707GET_DESKTOP_DIRECTORY1048707GUI_UPLOAD 1048707GUI_DOWLOAD

hellip

IBM Global Services

copy 2005 IBM Corporation8 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create the Program and Screen

Step 1 First create a program using SE80 (Object Navigator)

Step 2 Create a Screen for the program using

SE80 -gtProgram-gtRight click on program name-gtselect Screen

IBM Global Services

copy 2005 IBM Corporation9 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Custom Control

Custom Control Area

Input Field

Custom Control

Step 3 Create an Input Field and a Custom Control in the Screen

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 4: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation4 March-2005Advanced ALV with ABAP Objects | 504

Classical List Report Programming vs ABAP Objects

How is the end result displayed by this program different from a standard list report displaying data from table SAPLANE

IBM Global Services

copy 2005 IBM Corporation5 March-2005Advanced ALV with ABAP Objects | 504

Overview of a Dialog Program with Custom Controls

Create a simple dialog program to display Plane information

Specifications Launch via transaction code

Display all columns from table SAPLANE

Display rows based on user input Aircraft Type (PLANETYPE)

Use single screen to display data with menu controls to back out of the screen

Use custom control to display the data in SAP List Viewer (ALV) format

IBM Global Services

copy 2005 IBM Corporation6 March-2005Advanced ALV with ABAP Objects | 504

Integrating a Control Area into a Dynpro Screen

Using the screen painter the developer can place custom controls on SAP screens The custom control area is given a name that identifies it In this example it will be ldquoLIST_AREArdquo

Within the application program the developer calls proxy objects from within the superclass CL_GUI_CONTROL

For each control a container object and an application object must be created

To create a container object specifically for the ALV viewer feed the screen name of the custom control (LIST_AREA) to the constructor of the container object

For this dialog program the class CL_GUI_ALV_GRID will be used to create the viewer

The dialog program will feed the SAPLANE data to the ALV object which will be displayed in the custom control are as an ALV grid

IBM Global Services

copy 2005 IBM Corporation7 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework ndash Wrapper Classes for GUI Controls

CL_GUI_OBJECT

CL_GUI_CONTROL CL_GUI_FRONTEND_SERVICES

CL_GUI_DIALOGBOX_CONTAINER

CL_GUI_CUSTOM_CONTAINER

CL_GUI_SIMPLE_TREE

CL_TREE_CONTROL_BASE

CL_GUI_HTML_VIEWER

CL_GUI_ALV_GRID

CL_GUI_ALV_GRID_BASE

CL_GUI_SPLITTER_CONTAINER

CL_GUI_CONTAINER

CL_GUI_PICTURE

Methods1048707FILE_OPEN_DIALOG 1048707GET_DESKTOP_DIRECTORY1048707GUI_UPLOAD 1048707GUI_DOWLOAD

hellip

IBM Global Services

copy 2005 IBM Corporation8 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create the Program and Screen

Step 1 First create a program using SE80 (Object Navigator)

Step 2 Create a Screen for the program using

SE80 -gtProgram-gtRight click on program name-gtselect Screen

IBM Global Services

copy 2005 IBM Corporation9 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Custom Control

Custom Control Area

Input Field

Custom Control

Step 3 Create an Input Field and a Custom Control in the Screen

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 5: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation5 March-2005Advanced ALV with ABAP Objects | 504

Overview of a Dialog Program with Custom Controls

Create a simple dialog program to display Plane information

Specifications Launch via transaction code

Display all columns from table SAPLANE

Display rows based on user input Aircraft Type (PLANETYPE)

Use single screen to display data with menu controls to back out of the screen

Use custom control to display the data in SAP List Viewer (ALV) format

IBM Global Services

copy 2005 IBM Corporation6 March-2005Advanced ALV with ABAP Objects | 504

Integrating a Control Area into a Dynpro Screen

Using the screen painter the developer can place custom controls on SAP screens The custom control area is given a name that identifies it In this example it will be ldquoLIST_AREArdquo

Within the application program the developer calls proxy objects from within the superclass CL_GUI_CONTROL

For each control a container object and an application object must be created

To create a container object specifically for the ALV viewer feed the screen name of the custom control (LIST_AREA) to the constructor of the container object

For this dialog program the class CL_GUI_ALV_GRID will be used to create the viewer

The dialog program will feed the SAPLANE data to the ALV object which will be displayed in the custom control are as an ALV grid

IBM Global Services

copy 2005 IBM Corporation7 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework ndash Wrapper Classes for GUI Controls

CL_GUI_OBJECT

CL_GUI_CONTROL CL_GUI_FRONTEND_SERVICES

CL_GUI_DIALOGBOX_CONTAINER

CL_GUI_CUSTOM_CONTAINER

CL_GUI_SIMPLE_TREE

CL_TREE_CONTROL_BASE

CL_GUI_HTML_VIEWER

CL_GUI_ALV_GRID

CL_GUI_ALV_GRID_BASE

CL_GUI_SPLITTER_CONTAINER

CL_GUI_CONTAINER

CL_GUI_PICTURE

Methods1048707FILE_OPEN_DIALOG 1048707GET_DESKTOP_DIRECTORY1048707GUI_UPLOAD 1048707GUI_DOWLOAD

hellip

IBM Global Services

copy 2005 IBM Corporation8 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create the Program and Screen

Step 1 First create a program using SE80 (Object Navigator)

Step 2 Create a Screen for the program using

SE80 -gtProgram-gtRight click on program name-gtselect Screen

IBM Global Services

copy 2005 IBM Corporation9 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Custom Control

Custom Control Area

Input Field

Custom Control

Step 3 Create an Input Field and a Custom Control in the Screen

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 6: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation6 March-2005Advanced ALV with ABAP Objects | 504

Integrating a Control Area into a Dynpro Screen

Using the screen painter the developer can place custom controls on SAP screens The custom control area is given a name that identifies it In this example it will be ldquoLIST_AREArdquo

Within the application program the developer calls proxy objects from within the superclass CL_GUI_CONTROL

For each control a container object and an application object must be created

To create a container object specifically for the ALV viewer feed the screen name of the custom control (LIST_AREA) to the constructor of the container object

For this dialog program the class CL_GUI_ALV_GRID will be used to create the viewer

The dialog program will feed the SAPLANE data to the ALV object which will be displayed in the custom control are as an ALV grid

IBM Global Services

copy 2005 IBM Corporation7 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework ndash Wrapper Classes for GUI Controls

CL_GUI_OBJECT

CL_GUI_CONTROL CL_GUI_FRONTEND_SERVICES

CL_GUI_DIALOGBOX_CONTAINER

CL_GUI_CUSTOM_CONTAINER

CL_GUI_SIMPLE_TREE

CL_TREE_CONTROL_BASE

CL_GUI_HTML_VIEWER

CL_GUI_ALV_GRID

CL_GUI_ALV_GRID_BASE

CL_GUI_SPLITTER_CONTAINER

CL_GUI_CONTAINER

CL_GUI_PICTURE

Methods1048707FILE_OPEN_DIALOG 1048707GET_DESKTOP_DIRECTORY1048707GUI_UPLOAD 1048707GUI_DOWLOAD

hellip

IBM Global Services

copy 2005 IBM Corporation8 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create the Program and Screen

Step 1 First create a program using SE80 (Object Navigator)

Step 2 Create a Screen for the program using

SE80 -gtProgram-gtRight click on program name-gtselect Screen

IBM Global Services

copy 2005 IBM Corporation9 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Custom Control

Custom Control Area

Input Field

Custom Control

Step 3 Create an Input Field and a Custom Control in the Screen

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 7: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation7 March-2005Advanced ALV with ABAP Objects | 504

SAP Control Framework ndash Wrapper Classes for GUI Controls

CL_GUI_OBJECT

CL_GUI_CONTROL CL_GUI_FRONTEND_SERVICES

CL_GUI_DIALOGBOX_CONTAINER

CL_GUI_CUSTOM_CONTAINER

CL_GUI_SIMPLE_TREE

CL_TREE_CONTROL_BASE

CL_GUI_HTML_VIEWER

CL_GUI_ALV_GRID

CL_GUI_ALV_GRID_BASE

CL_GUI_SPLITTER_CONTAINER

CL_GUI_CONTAINER

CL_GUI_PICTURE

Methods1048707FILE_OPEN_DIALOG 1048707GET_DESKTOP_DIRECTORY1048707GUI_UPLOAD 1048707GUI_DOWLOAD

hellip

IBM Global Services

copy 2005 IBM Corporation8 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create the Program and Screen

Step 1 First create a program using SE80 (Object Navigator)

Step 2 Create a Screen for the program using

SE80 -gtProgram-gtRight click on program name-gtselect Screen

IBM Global Services

copy 2005 IBM Corporation9 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Custom Control

Custom Control Area

Input Field

Custom Control

Step 3 Create an Input Field and a Custom Control in the Screen

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 8: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation8 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create the Program and Screen

Step 1 First create a program using SE80 (Object Navigator)

Step 2 Create a Screen for the program using

SE80 -gtProgram-gtRight click on program name-gtselect Screen

IBM Global Services

copy 2005 IBM Corporation9 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Custom Control

Custom Control Area

Input Field

Custom Control

Step 3 Create an Input Field and a Custom Control in the Screen

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 9: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation9 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Custom Control

Custom Control Area

Input Field

Custom Control

Step 3 Create an Input Field and a Custom Control in the Screen

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 10: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation10 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create GUI Status

Step 4 Create GUI Status to add the exit capability

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 11: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation11 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Create Transaction Code and Define Class

Step 5 Create a transaction code to execute the dialog program

Step 6 Define a class to perform the data retrieval and formatting to the screen

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 12: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation12 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Creating Objects for the Class

Step 7 Create Object for the Class to Implement the methods and displaying the ALV Grid Control with desired functionality

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 13: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation13 March-2005Advanced ALV with ABAP Objects | 504

Demonstration Result

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 14: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation14 March-2005Advanced ALV with ABAP Objects | 504

Container Controls

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 15: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation15 March-2005Advanced ALV with ABAP Objects | 504

Container Controls (Contd)

SAP Custom Container

SAP Dialog Box Container

SAP Docking Container

SAP Splitter Container

SAP Easy Splitter Container

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 16: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation16 March-2005Advanced ALV with ABAP Objects | 504

Demonstration

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 17: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation17 March-2005Advanced ALV with ABAP Objects | 504

Practice

Create a simple ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 18: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation18 March-2005Advanced ALV with ABAP Objects | 504

Summary

Description of SAP Control Framework

Different classes required for various containers

Purpose of different containers

How to handle Events in ALV

Steps to create an ALV report using OOPs concept

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept

Page 19: 04_Advanced ALV With ABAP Objects

IBM Global Services

copy 2005 IBM Corporation19 March-2005Advanced ALV with ABAP Objects | 504

Questions

What is SAP Control Framework

What is container control What are their types

Which class encapsulates the functionality of ALV grid in OOPs

What are the steps required to build an ALV report using OOPs concept