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 spa/gpa parameters (sap memory)?
From Excel to ABAP - Is batch mode possible ?
What are the different types of mode (run code) in call transaction method?
How do you save data in bdc tables? : abap bdc
What do you do when the system crashes in the middle of a BDC batch session?
Select query optimisation
Write syntax for message error (report)?
What is view? Different types of view. Explain?
How can an internal table with header line and one without header line be distinguished when passed to a subroutine? : abap modularization
List the various components of the enterprise structure in systems, applications, and products (sap) in human capital management (him)? : sap abap hr
singleton class
What is the difference between call transaction and session method? : abap bdc
What data is contained in data dictionary? : abap data dictionary
What is the use of a pretty printer?
What is occurs in internal table?