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

How to define selection screen?

600


Explain how do you get output from idoc?

616


Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called?

637


Can we write the code both call transaction and session method in single program?

612


Persistent class

906






What are the basic functions of database utility?

586


Explain how do you move on to the next screen in interactive reporting?

579


Explain what is the difference between sy-tabix and sy-index? Where it is used?

566


how to Create a smart form related to gate pass to be submitted to vendor’s location. This form outputs document number, date, vendors name, address, material details, quantity, unit,and the company logo.

4771


Differentiate between abap memory and sap memory?

645


What is the difference between Exit and Stop?

621


What are the types of views? : sap abap data dictionary

644


Explain the difference between a dialog program and a report?

553


What are the functional modules used in sequence in bdc? : abap hr

597


What are types of select statements?

579