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 function does data dictionary perform?
Interactive Report that list purchase order details of a vendor. When the user double clicks on material number it shows detail list with fields matkl, meins, brgew, ntgew, gewei.The selection screen consist of sales organisation, distribution channel and material number. plz mention the detail coding Tahnks, Rahul
What are the events in classical reports?
ABAP : Classical reports events name
What is the function of a data element? : abap data dictionary
any one can tell me which is the tables can store in ddic plese dont say db02l,please give me different ways of resideing the tables ?
What is the significance of the screen number ‘0’?
What are the different types of the variable in the sap abap?
Name some system global variables you can use in abap programs?
What are the different types of abap reports in sap?
What is the difference between a dialog program and a report?
After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?
Give examples of transparent table?
What is the tcode to create indexes?
what is diff between ECC 5.0 AND ECC 6.0