‎2008 May 14 5:12 PM
Hi Experts.
I need in my selection screen (I do it with code not with Paint Painter) put anything that permit multiple selection...,
We have a class which have a characteristics multi value..., and I need to get in my selection screen put with code SELECTION SCREEN or PARAMETERS... or another thing to get a multi value selection.... I mean, when user introduce a value ..., automatically appear another square to permit introduce another value.
thks.
‎2008 May 14 6:51 PM
PARAMETERS only allows one value, to be able to get multiple values just use
SELECT-OPTIONS
e.g.
DATA: lv_matnr TYPE matnr.
SELECT-OPTIONS s_matnr FOR lv_matnr
This will give you the possibility to put in a material number or range with inclusions, exclusions etc., just click on the green arrow on the right hand side of the field once you execute your report.
Michael
‎2008 May 14 6:51 PM
PARAMETERS only allows one value, to be able to get multiple values just use
SELECT-OPTIONS
e.g.
DATA: lv_matnr TYPE matnr.
SELECT-OPTIONS s_matnr FOR lv_matnr
This will give you the possibility to put in a material number or range with inclusions, exclusions etc., just click on the green arrow on the right hand side of the field once you execute your report.
Michael
‎2008 May 14 7:13 PM
HI check this..
select-options:s_pernr for pa0002-pernr .
the select options can have multiple selections and it can hold 1624 multiple values..for the requirement you said u need to write in your own way..with the function module..
REPORT ZPOPDATE.
DATA: V_CODE LIKE SY-SUBRC.
PARAMETER: V_MONTH LIKE ISELLIST-MONTH.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR V_MONTH.
CALL FUNCTION 'POPUP_TO_SELECT_MONTH'
EXPORTING
ACTUAL_MONTH = '200205'
LANGUAGE = SY-LANGU
START_COLUMN = 8
START_ROW = 5
IMPORTING
SELECTED_MONTH = V_MONTH
RETURN_CODE = V_CODE
EXCEPTIONS
FACTORY_CALENDAR_NOT_FOUND = 1
HOLIDAY_CALENDAR_NOT_FOUND = 2
MONTH_NOT_FOUND = 3
OTHERS = 4.
regards,
venkat.
‎2008 May 19 1:02 PM
Hi, Pedro.
Just use SELECT-OPTIONS instead of PARAMETERS.
SELECT-OPTIONS has two fields - LOW and HIGH. There, you'll come up with a value range, from LOW to HIGH.
Like this:
TABLES: mara.
SELECT-OPTIONS: s_matnr FOR mara-matnr.
Regards,
Brian Gonsales
‎2008 May 19 1:06 PM
hi pedro,
use SELECT-OPTIONS.
here is an example.
tables: bkpf.
select-options s_belnr for bkpf-belnr.
regards,
Peter
‎2008 May 19 3:15 PM