01-18-2008 5:11 AM
hi,
In How many ways we can define select-options and parameters.
01-18-2008 5:13 AM
PARAMETERS for single fields
SELECT-OPTIONS for complex selections
Check this link for defining Parameters and select options
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba68335c111d1829f0000e829fbfe/content.htm
Regards,
Maha
01-18-2008 5:30 AM
hi uday,
Usually we use PARAMETERS for single value input and
SELECT-OPTIONS is used to give a range of input values for a single field
SELECT-OPTIONS implicitly consists of internal table with fields
OPTIONS
LOW
HIGH
SIGN
eg:
DATA: G_VBELN TYPE VBAK-VBELN.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS : P_VBELN LIKE VBAK-VBELN.
SELECT-OPTIONS: S_VBELN FOR G_VBELN.
SELECTION-SCREEN END OF BLOCK B1.
o/p:
P_VBELN: _________________.
S_VBELN:___________ TO ____________.
reward if helpful
regards.
shashikanth naram.
01-18-2008 6:55 AM
Hi,
Please refer to the link:
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba66935c111d1829f0000e829fbfe/frameset.htm
Regards,
Renjith Michael.
01-18-2008 8:55 AM
Hi uday Kiran,
There is only one method to define SELECT-OPTIONS but there is two methods are available to define PARAMETERS.
SELECT-OPTIONS:
TABLES:MARA
SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
PARAMETERS:
TABLES:MARA
1.PARAMETES : S_MATNR TYPE MATNR.
2.SELECT-OPTIONS: S_MATNR FOR MARA-MATNR NO-EXTENSION NO INTERVALS.
Reward points if helpful.
Kiran Kumar.G.A
Have a Nice Day..