12-21-2006 9:05 AM
hi,
1) parameters: cno like lfa1-lifnr ,in this if iam not taking an input and i will execute wat happens?
2) select-options:cno for lfa1-lifnr
i) if i take no intervals wat happen
2) no intervals no extension wat haapen
3) if iam not take any input for selection criteria and will execute wat happens?
Thanks in advance
rams
12-21-2006 9:10 AM
1) parameters: cno like lfa1-lifnr ,in this if iam not taking an input and i will execute wat happens?
--> If you have used cno in a SELECT or any comparision it would try and equate using cno as blank. So you would see some records where the particular is blank.
2) select-options:cno for lfa1-lifnr
-->It would select all the records from the particular comparision if left blank.
i) if i take no intervals wat happen
When you use no intervals with SELECT-OPTion it would just show you the low part of an select-option(basically you wont be able to select a low-high range but the option to enter multiple values is still possible)
2) no intervals no extension wat haapen
-->acts similar to parameter.
3) if iam not take any input for selection criteria and will execute wat happens?
-->Sorry did not get your question
12-21-2006 9:07 AM
12-21-2006 9:08 AM
1. for parameters it will try to look for a value EMPTY.
2.
i) it considers all the values.
II) still considers all the values
Regards
- Gopi
12-21-2006 9:09 AM
Hi,
If you are giving input for parameter but using in select statement,it won't fetch any result.
If you are not giving input for select-option but using in select statement,it won't fetch any result.No extension means you are not able to give multiple values.No intervals means you cannot give range.
12-21-2006 9:10 AM
1) parameters: cno like lfa1-lifnr ,in this if iam not taking an input and i will execute wat happens?
--> If you have used cno in a SELECT or any comparision it would try and equate using cno as blank. So you would see some records where the particular is blank.
2) select-options:cno for lfa1-lifnr
-->It would select all the records from the particular comparision if left blank.
i) if i take no intervals wat happen
When you use no intervals with SELECT-OPTion it would just show you the low part of an select-option(basically you wont be able to select a low-high range but the option to enter multiple values is still possible)
2) no intervals no extension wat haapen
-->acts similar to parameter.
3) if iam not take any input for selection criteria and will execute wat happens?
-->Sorry did not get your question
12-21-2006 9:12 AM
In select query u will specify the condition where lifnr = cno.
if u didnt give any input in the parameter means that query will not be satified & ur sy-subrc will be 4. U wont get any output.
The same answer for select-option also.
No-interval means u cant give multiple value range only low value can be given (similar to parameter).
No-extension means u wont get the pushbutton.
if u didnt give value for selection criteria means u wont get the required output.
12-21-2006 9:12 AM
Parameter will giver you the possibility of entering only one vendor and the parameter is a variable, select option no intervals is that you can put multiple values but not from/to , no extension and no intervals is that you can put only one value like a parameter a range not a simple variable.
The easiest way for you to see this is to create a test program with all the examples.