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


Please Help Members By Posting Answers For Below Questions

What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc

602


What is the difference between getting and get late?

581


What is synchronous update?

564


Where the payroll results are stored

1806


What are the domains and data elements?

912






How can you display frames (horizontal and vertical lines) in lists?

608


What is the disadvantage of using exec sql statement in abap?

528


What is generic area buffering in abap?

563


What are extracts?

558


What data is contained? : abap data dictionary

685


What is payroll area

1808


can any one answer these questions 1)How do you convert non-character field to character field? 2)How do you work with semi colon separated files? 3)why cant we use normal function module for data transfer? 4)what is the structure of CTU-PARAMS? 5)can we use transfer dataset to transfer data in internal table?

1534


What are the differences between se01, se09 and se10?

526


What is the difference between call transaction and session method? : abap bdc

651


What are the data types of the external layer?

572