what is Initialization Purpose?

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


Please Help Members By Posting Answers For Below Questions

What are the types of data types in the sap abap?

645


How to add a column to a table control while using alphanumerical layout editor ?

2032


Differentiate database index and match code.

796


Which transaction code can I used to analyze the performance of ABAP program.?

842


Difference between sap script and report?

932






What is a transport?

825


What are the function modules used to create batch input session? : abap bdc

858


How the at-user command serves mainly in lists?

835


What are the uses of secondary indexes?

776


Explain the difference between get and get late?

773


How the transaction that are programmed by the user can be protected?

832


Can matchcode object contain ids with different update types? : abap data dictionary

814


What are the contents in technical specifications?

822


Can you define a field without a data element?

722


What is a batch input session? : abap hr

848