Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are the events in ABAP?

Answer Posted / munnaluri siva

Example of Classical Report

LINE-SIZE 70
LINE-COUNT 30(3)
NO STANDARD PAGE HEADING . " We will give for describing our
own format
Select-options : S1 for P_Matnr
Initialization. "ABAP will process this first and when you
activate the program it will called first .
s1-low = '45'
s1-high = '89'
AT Selection-screen . " it will do some validation , on the
screen , before your compiling it will check whether user
enter any fields or not.
if S1-low='' and S1-high = ''.
Message ' Enter some value' type 'E'.
Endif.
Start-of-selection . " this mainly used for retrieve the
data from the Db and logic will be executed here .
SELECT MATNR MBRSH MTART FROM MARA INTO TABLE ITAB WHERE
MATNR IN S1.
TOP-of-Page." Mainly used for display .
WRITE:/ 'TEST FOR CLASSICAL REPORTS' COLOR 7.
ULINE.
END-OF-SELECTION. " To display the data which is fetched
from the db .
LOOP AT ITAB.
WRITE:/ ITAB-MATNR,ITAB-MBRSH,ITAB-MTART.
ENDLOOP.

End-of-page. " this is used to display the end of the report .

WRITE:/ 'THIS IS END OF PAGE' COLOR 5.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is modularization and its benefits?

1017


What is the difference of update types in call transaction method ? : abap bdc

1159


What are the objects of the abap dictionary or what types of objects can be created in the abap dictionary? : abap data dictionary

970


Does every abap/4 have a modular structure?

1052


What is going life actually? What is the role of a functional consultant in it? : sap abap hr

1034


How is conversion of data types done between abap/4 & external level? : abap data dictionary

1163


What is the use of dequeue function module? : sap abap data dictionary

1149


Update types in Call transaction method. What is the difference?

1129


How can we declare a table control in the abap/4 program?

1171


What are the advantages of different types of bdc's?

935


can any one answer these questions 1)How do you convert non-character field to character field? 2)How do you work with semi colon separated files? 3)why cant we use normal function module for data transfer? 4)what is the structure of CTU-PARAMS? 5)can we use transfer dataset to transfer data in internal table?

1998


What is the difference between rfc and bapi function modules? : abap bdc

1144


What are conditional chain statement?

1216


How the at-user command serves mainly in lists?

1089


Why do we use Abstract classes give an example from your project?

1334