Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

What will happen if we dont give any inputs in the selection screen

Former Member
0 Kudos

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



Former Member
0 Kudos

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

Former Member
0 Kudos

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>

Former Member
0 Kudos

If you had given the fields as OBLIGATORY and dont fill any data then it will give error message 'Enter the data'


Parameters : p_matnr like mara-matnr OBLIGATORY.

If not then it will not give any error.

Former Member
0 Kudos

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.

Former Member
0 Kudos


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......


0 Kudos


Thanks for the reply..

If it shows any messages wht exactly the error will be ???



0 Kudos

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.