04-13-2007 2:47 PM
Hello Experts,
Well and Wish
Here i have small question ...
1.) What message shown by the system if i dont give any inputs in the selectio-screen and press execute??
[Whther it is parameter, select-options, ranges]
Thanks and Regards
Santosh
04-13-2007 2:50 PM
Hi santhosh
It depends on the code i.e written by you only
You can do whatever you want , but you need to write the corresponding code for that
Regards Rk
04-13-2007 2:50 PM
it will directly got to the list(that is output of the program)
SAP don't consider for the above parameters(ranges ,parameters ,select-options)
<b>if it is not mentioned in the program</b>
04-13-2007 2:50 PM
If you had given the fields as OBLIGATORY and dont fill any data then it will give error message 'Enter the data'
Eg:
Parameters : p_matnr like mara-matnr OBLIGATORY.
If not then it will not give any error.
04-13-2007 2:52 PM
it wont show any message but will try to fetch values using the selection screen fields... as everything is empty it will try to fetch all the data relevant to the where condition in the select statement....
if u want to have any message, then u should check that
at selection-screen on block b1.
check for values and if empty put message to enter values....
or else....if the select statement has not fetched any values into internal table.... put message as no values retrieved.
04-13-2007 2:53 PM
Hi...
it all depends...
if u have any Mandatory fields then an error message will appear
bet if u don,t have any such fields then all parameters will take their initial values.
Hope it helps you...
Let me know if u have any more doubt...
Reward points if useful......
Suresh.......
04-13-2007 3:12 PM
hi,
Thanks for the reply..
If it shows any messages wht exactly the error will be ???
Regards
Santosh
04-13-2007 3:18 PM
Hi Santosh,
If any of the field is obligatory, then you will get error 'Required Entry not made' if you try to execute by not giving any inputs.
Hope this helps.
Thanks,
Srinivasa