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
Which objects are independent transport objects? : abap data dictionary
1. If I send 5 entries of table from one system to another system, if the only 4 entries there in the target system what I have to do? 2. If I send the customer master IDOC from one SAP system to another system, if one field is missing in target table what is the steps? 3. If I want to access the 4th row 3rd column in the hashed table how to do it? 4. Whether there is any other statement than MODIFY statement to modify the content of internal table?
What are different data types in abap/4?
Write syntax for message error (report)?
Some Realtime Examples on Exits .
What is luw?
5) How to rereive text elements in SF and script?
How many types of views are there? : abap data dictionary
why particularly lock object name starts with EZ OR EY?
How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.
What are the organizational related infotypes? : abap hr
Have you worked with support? How ticket comes to you? What were the timings for resolving tickets types of severity?
What is the structure of the bdc table? : abap bdc
What is synchronous update?
How would you set the formatting options statically and dynamically within a report?