in start of selection if we perform validation ,what happens?
Answer Posted / nehruu g
Use "at selection-screen" to perform validation
Example :
at selection-screen on s_bedat.
if s_bedat ne '00000000'.
data1 = s_bedat-low.
data2 = s_bedat-high.
data3 = ( data2 - data1 ).
if data3 > 367.
MESSAGE 'Date interval should be 1 year period.'
TYPE 'E'.
endif.
endif.
Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
In which particular scenario we use sorted table and which particular scenario we use standard table?
What are authorization objects and what statement is used to perform an authorization check in an abap program?
Can there be more than 1 main window in sap script?
What are the user groups?
What are the components of sap scripts? : abap hr
Different types of luws. What are they?
In the `select' statement what is group by ?
How do you convert non-char field into char type fields ?
What is pass by value and what is pass by reference? Which is better?
What is the meaning of table buffer? This buffer is used by which type oftable?
Does sap handle multiple currencies?
Explain what are the problems in processing batch input sessions? How is batch input process different from processing on line?
What is the difference between leave transaction and call transaction?
How can you distinguish between different kinds of parameters?
How will you transfer data into a file in application server?