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 happens if a function module runs in an update task? : abap modularization
What are the differences between a database index and a match code? : abap data dictionary
What are number ranges?
In the MM module for finding out the standard cost what is the view one has to look at?
What are the uses of secondary indexes?
What is the difference between call transaction and session method? : abap bdc
If i wont like to change the standard print program where i copied standard script to customer namespace,in this case is it possible to retreive the data if u connect the script with standard program.if yes how?if no why? Is it possible to print the logo in first page only,where the form consists of 10 pages.How can u do this? How can u set a table format where it cosists of fields like cust no, custname, amount ...in a script? How do u know that the particular BADI is suitable for the existed report.How do u findout this?When do u opt for BADI OR USEREXIT?did functional people tell u to adopt BADI or USEREXIT? What is the difference between SY-INDEX & SY-TABIX ? I have a report with fields Status,time & date. the contents it consists are Status Time Date AAA 01:20:15 05-06-10 AAA 11:02:32 O3-06-10 AAA 23:11:00 05-06-10 AAA 09:14:46 05-06-10 HOW DO U WRITE A CODE TO DISLAY A ROW WHICH WAS RECENTLY EXECUTED?( for this question it should display AAA 23:11:00 05-06-10 AS Output)
Can you give the Example for the structure of an ABAP program? REPORT... NODES: SPFLI, SFLIGHT. DATA:... INITIALIZATION. AT SELECTION-SCREEN. START-OF-SELECTION. GET SPFLI... GET SFLIGHT... GET SPFLI LATE. END-OF-SELECTION. FORM... ENDFORM.
What are the system fields?
Type casting and error handling
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?
Where do you code the hide statement?
Explain the difference between tables and structures?
What is cts and what do you know about it? : abap hr
What is the difference between semi-monthly and Bi-weekly payroll area