09-21-2008 7:44 AM
Hi,
In details-
suppose in my selectin screen i am giving one parameter for a field material no. and after that i have done all the required select statement for fetching data & ITAB....
suppose in input screen i am not giving any value to field material no and executing it .. what data shall i get in output ANY ERROR .. or any Internaltable value...
thanks
arya
09-21-2008 7:46 AM
if that parameter is mandatory then it will throw an error.or else it will displays all the values you fetch
09-21-2008 7:46 AM
if that parameter is mandatory then it will throw an error.or else it will displays all the values you fetch
09-21-2008 10:27 AM
hi,
if u r using parameters at ur selection screen ,and if u execute the program without giving any value ,u will not get any value and sy-subrc = 4.
if u r using select-options at ur selection screen ,and if u execute the program without giving any value ,u will get all values and sy-subrc = 0.
@ K.P.N,
or else it will displays all the values you fetch
Wrong.
09-21-2008 8:19 AM
Hi,
If your declareing your Material Number as Select-options or Parameters as Obligatory then definetely u have to give the Mat no other wise it will show you error as plz fill in all the required fields. Else if you are not giving obligatory then all the material number values and the records that u have declared in your select statement will be displayed.
Hope you got the answer.
09-21-2008 8:24 AM
09-21-2008 8:39 AM
>
> hi,
> for parameter it is mandetory to input a value else it will not proceed further.
> byy
????
09-21-2008 8:28 AM
Hi,
It will display all the records when the material no is not an obligatory and executed as an empty.
It will through a message "Fill the required field" when the material no is an obligatory.
It will get the corressponding record for the material no when entered valid material no.
Regards,
Harish
09-21-2008 12:06 PM