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 local objects?

620


Explain some essential objects in abap dictionary?

704


when are objects are passed from task to the change request?

1668


Can we create a gui status in a program from the object browser?

582


What is database view ? : sap abap data dictionary

604






What is the Difference between At Line selection and At user-command?

650


What are the types of records that are transferred to sap r/3 and used by interfaces? : abap bdc

542


What actually happens in real-time recruitment? : sap abap hr

577


How collect statement is different from append?

537


What is the difference between the function module and a normal abap/4 subroutine? : abap modularization

699


Value table VS check Table.

964


How can end-of-selection be used?

636


how to Create a smart form related to gate pass to be submitted to vendor’s location. This form outputs document number, date, vendors name, address, material details, quantity, unit,and the company logo.

4769


How to find the return code of a statement in abap programs?

603


How can a lock object be called in the transaction?

531