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.
cancel
Showing results for 
Search instead for 
Did you mean: 

what data shall i get after execute in my output ?

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

if that parameter is mandatory then it will throw an error.or else it will displays all the values you fetch

7 REPLIES 7

Former Member
0 Kudos

if that parameter is mandatory then it will throw an error.or else it will displays all the values you fetch

0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

This message was moderated.

0 Kudos

>

> hi,

> for parameter it is mandetory to input a value else it will not proceed further.

> byy

????

Former Member
0 Kudos

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

Former Member
0 Kudos

thanks...