in start of selection if we perform validation ,what happens?
Answers were Sorted based on User's Feedback
Answer / monalisa
If we validate in Start-of-selection event,then selection
screen will not appear for input.We have to start the
execution of the program again.
Is This Answer Correct ? | 14 Yes | 1 No |
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 |
What is use of transparent table in abap? How it is different from pool tables?
What are the differences between structure and table in data dictionary in abap? : sap abap data dictionary
How to add segments to IDOC?
It is possible to assign a local data object defined in a subroutine or function module to a field group. State true or false. : abap modularization
What is schema and transaction code
I am looking for Professionals with 4+ yrs in ABAP HR Module (atleast 2yrs).
Can you create a Lock Object? What are Lock Objects?
how to creat a table with out primary key
How to upload data using catt ? : abap hr
what are conversion routines
How to handle Errors in Function Modules?
wat is the default file name of BAPI trace?