what is Initialization Purpose?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nilanjan das
Preethi is right but will like to mention here.
INITIALIZATION.
EVBELN-LOW = '7580'.
EVBELN-HIGH = '7590'.
EVBELN-SIGN = 'I'.
EVBELN-OPTIONS = 'BT'.
after this you need to write APPEND EVBELN.Otherwise it
won't work.
Thanks
Is This Answer Correct ? | 4 Yes | 0 No |
What is meant by read lock? : sap abap data dictionary
Polindrome Program for string and Polindrome Program for numbers in ABAP
what is the full form of ECC 5.0?
What is size category?
when you are using 2 internal table in program, you have decided to use for all entries statement to retrieve data but unfortunately there are no records in the first internal table. What will be the result? (2nd internal table contains records).
What are the function module types
I am having an internal table with field name 'type' which consists of values 'a' 'b' 'c' 'a' 'a'.Now i used 'at new fieldname' control statement on this field so what could be the output
what is ment by view?how many types are there ?what are they?and what is the difference between data base view and projection view?
tell me about status codes?
When we append a record to a sorted internel table how it is appended?
Explain the relationship between a functional area, user group, and query when developing queries using the sap query tool?
What are the uses of the information in the data dictionary? : abap data dictionary