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 the differences between abap and ooabap. In which situation we useooabap?
How do you connect to the remote server if you are working from the office for the client in remote place?
What are the differences between macro and subroutine?
What are the disadvantages of logical databases?
What is exception class and test class. How to use it?
How to read files and process BDC's automatically ?
what is difference between (internal table types)standard table and sorted table in sap abap....
What is ps structure? : abap hr
Explain the table, which contain the details of all the name of the programs and forms?
Proxy Programming with ABAP - How to develop the Proxy identification through programming
How many default tab strips are there? How to insert more tabs in it?
Which transaction code is used executing a report (type 1 program)? : abap data dictionary
Can we write the code both call transaction and session method in single program?
What is sap abap data classes?
What is the function of a data element?