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
What are the two methods for modifying sap standard tables?
List some of the many different ways that the sap standard functionality can be changed by a customer?
What is logo in sap script?
What do you understand by work area and internal tables in abap? Why do we use it?
What is the function of the correction system?
How can we upload a text file having delimiters in to legacy system? : abap bdc
What are the parameter types for a method?
What are the different methods of bdc? : abap bdc
What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
What are the Various Types of internal tables?
What are the disadvantages of logical databases?
What two statements would be used to exchange data between programs using abap memory?
What is a subroutine?
Can we control the sequence in which multiple implementations of a multiple use BADI are called? If yes, how?
What are the difference between pool tables and transparent tables?