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
What is foreign key relationship? : abap hr
What is the lock object?
Interactive Report that list purchase order details of a vendor. When the user double clicks on material number it shows detail list with fields matkl, meins, brgew, ntgew, gewei.The selection screen consist of sales organisation, distribution channel and material number. plz mention the detail coding Tahnks, Rahul
How can we decide weather we can enhance the standard infotype or not ? : abap hr
What is the major difference between pool tables and transparent tables?
What are the events in abap/4 language? : abap hr
What is web dynpro for abap?
What is the different between abap and ooabap? Why do we use ooabap?
What are the domains and data element?
What is img? : sap abap hr
What is your approach to find exit and BAdi?
How to create report in SD open sales order which covers all Organization, delivery status, shipping details and partner function details. plz mention the detail coding Tahnks, Rahul
What kind of BDC programs are written ?
What is a table cluster? : abap data dictionary
Explain the disadvantages of different types of bdc's?