what is difference between parameter & select-option

Answer Posted / sathish kumar

Hi,

Select-option
use keyword for.
use operator IN.
provide ranges for selection.
create selection table .
when i/p blank all records are selected.
select option will have low, high,sign, option.

Parameter
use keyword like, type.
Use operator = .
no ranges, only single value .
when i/p is blank none of teh records are selected.

Select-option can acts as parameter by using 'no-extension' 'no-internal' but all the records will be seleceted whenthe input is blank.


SELECT-OPTIONS sel FOR f.

Additions

1. … DEFAULT g
2. … DEFAULT g … OPTION xx … SIGN s
3. … DEFAULT g TO h
4. … DEFAULT g TO h … OPTION xx … SIGN s
5. … MEMORY ID pid
6. … MATCHCODE OBJECT mobj
7. … MODIF ID key
8. … NO-DISPLAY
9. … LOWER CASE
10. … OBLIGATORY
11. … NO-EXTENSION
12. … NO INTERVALS
13. … NO DATABASE SELECTION
14. … VALUE-REQUEST
15. … VALUE-REQUEST FOR LOW/HIGH
16. … HELP-REQUEST
17. … HELP-REQUEST FOR LOW/HIGH


PARAMETERS p Additions
1. … DEFAULT f
2. … TYPE typ
3. … DECIMALS
4. … LIKE g
5. … MEMORY ID pid
6. … MATCHCODE OBJECT mobj
7. … MODIF ID key
8. … NO-DISPLAY
9. … LOWER CASE
10. … OBLIGATORY
11. … AS CHECKBOX
12 […]

Regards,
Sathish kumar

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are subroutines? : abap modularization

862


What are the three hierarchical levels of data types and objects?

872


Work most on which module: name a few tables?

794


Differentiate between static and dynamic step loops?

805


What are the types of subroutines? : abap modularization

804


Have you printed any report?

1986


What work you have done in HR module

1124


What are the events in classical reports?

882


What is a multiple line field?

811


Why do we use logical blocks in abap program?

1813


Is it possible to pass data to and from include programs explicitly? : abap modularization

1020


Explain the relationship between a functional area, user group, and query when developing queries using the sap query tool?

802


What is your approach to find exit and BAdi?

1096


What is the difference between field-group header and other field groups? : abap modularization

785


Cds views

8095