Answer Posted / preethi
INITIALIZATION IS THE FIRST EVENT WHEN U R WRITING THE
REPORT.
IT WILL TRIGGERS BEFORE DISPLAYING THE SELECTION SCREEEN.
THIS EVENT IS USED TO PROVIDE DEFAULT VALUES TO THE
SELECTION SCREEN.
BUT DIRECTLY WE GIVE DEFAULT VALUES TO THE SELECTION SCREEN
USING DEFAULT KEY WORD FOR SELECT-OPTIONS STATEMENT.
THE USE OF INITIALIZATION EVENTS IS WE HAVE TO CALCUTATE
THE LOW AND HIGH VALUES IN THE INITIALIZATION EVENT THEN IT
WILL DISPLAY ON THE SELECTION SCREEN.
FOR EX:
LOW = SY-DATUM.
HIGH = 10 + SY-DATUM.
HERE WE ARE NOT GIVING DIRECT VALUES TO THE SELECTION SCREEN
WE ARE CALCULATING THE HIGH VALUE THEN AFTER WORDS WE ARE
GIVING THE HIGH VALUE TO THE SELECTION SCREEN.
SELECT-OPTIONS : EVBELN FOR VBAK.
INITIALIZATION.
EVBELN-LOW = '7580'.
EVBELN-HIGH = '7590'.
EVBELN-SIGN = 'I'.
EVBELN-OPTIONS = 'BT'.
I MEANS INCLUDE. THOSE 7580 AND 7590 ARE INCLUDED.
IF WE USE E EXCLUDE.
BT MEANS BETWEEN .
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is pakey structure, pshd1 structure and what type of fields it contains? : abap hr
How is conversion of data types done between abap/4 & db layer?
What are the components of selection table?
How do you do bdc for a table control? : abap bdc
Explain the use of table maintenance allowed?
What is the syntax for ‘call transaction’?
How do u set up background jobs in SAP? What r the steps? What are the event driven batch jobs?
How do you get the number of lines in an internal table?
What are two methods of modifying sap standard tables? : abap data dictionary
How do you find out whether a file exits on the presentation server?
Explain the different types of screen keywords?
Give 3 scenario of reporting due to which you require reporting help of ABAP consultant?
What are internal tables? How do you get the number of lines in an internal table?
What is “call mode”?
What is the difference between free and refresh?