Introduction to SAP ABAP ALV with OOPs concept

August 4, 2008

- Swarna Munukoti

- L&T Infotech

      In this article we will see of how to make the ABAP report an interactive one.

   One way to make a report interactive is using ALV tool. I will give a brief idea of what ALV is all about using OOPs concept.

 ABAP List Viewers (ALV): 

          The name itself indicates that the output view of a report is in the form of a list. This list can be displayed in two forms

 

  1. ALV List Form
  2. ALV Grid Form

This article covers only ALV grid  form. This is the most preferable form because of its GUI capability. When coming to the implementation part of ALV Grid using OOPs concept, we can use the existing classes for generating ALV output: Here I am listing some of the widely used classes and its purpose:

[Read more]

Automatic SAP ABAP ALV refresh, Get the code right here!

July 21, 2008

- Sandipan Das

- L&T Infotech

Scenario:

 The following code is developed for Locomotive Repairing Workshop scenario which requires a ALV Report that automatically refresh its data after some specified time interval with out any user interventions. It goes like as user i.e. the supervisor will run a report that will show him the list of locomotive which has come for repairing.

When any locomotive come for repairing the data entry operator makes the entry and the data get saved in to database table ZLOCO_REPAIR.

The report program will continuously hit the database at some specific interval and shows the user the current status.

 Concepts Used:

1. OOPS approach For ALV reports for display of data i.e. using the class   CL_GUI_ALV_GRID.

2. GUI Controls i.e. using the class CL_GUI_TIMER.

The main concept is when the event ON_FINISHED of the class CL_GUI_TIMER gets trigger after the specified time interval the code for getting the data form the database gets  executed.

  [Read more]

Technology: SAP ABAP Simplified Part-IV

July 17, 2008

- Swarna Munukoti

-SAP Consultant, L & T Infotech

This is the 4th and last article of the series SAP ABAP Simplified and is also published by GoArticles. This acrticles is morever focused on explaining concepts of function modules and Badis. For your reference earlier articles of the series are as follows: SAP ABAP Simplified part -1, SAP ABAP Simplified part -2, SAP ABAP Simplified part -3

Function Modules:

Function modules are like sub routines which can be called from any part of ABAP program. The difference between sub routines and Function modules is that: Sub routines are useful with in a particular Program where as once a function module is created; it can be used in any program. We can say Function Modules are global where as sub routines are not. The type of the data element used in the import or export parameters of Function Module is to be defined initially in the dictionary. 

[Read more]

eXTReMe Tracker