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 the structure of itab of screen?
How do you get the number of lines in an internal table?
Which FM do you use to find out who is reporting to whom
What are user exits? What is involved in writing them? What precautions are needed?
Can you delete data element, which is being used by table fields. : abap data dictionary
What is meant by slab? How is indian slab and us slab? : sap abap hr
which of the following are used to define data in abap 1)parametrs 2)tables 3)class 4)data
how to Implement a BADI in which it restricts the access when purchase order is created against contract using definition ME_PURCHDOC_POSTED. please tell me the answers if any one knows. thanks in advance. :ravikiran
what exact functionality of the END-OF-SELECTION event? and in a report im using the END-OF-PAGE and END-OF-SELECTION events which one will triggers first?
Differentiate between ooabap and abap?
How do you get the number of lines in an internal table? How to use a specific number occurs statement?
What is function group?