2009 Apr 01 11:47 PM
Hi all,
My requirement is to set a parameter ID using a range instead of a field like this:
SET PARAMETER ID 'KOS' FIELD gr_kostl.
Is there any way to do this??
Every helpful answer will be appreciated.
Regards,
Roberto
2009 Apr 02 12:20 AM
I hope at a time you can set only one value to the parameter ID.
Hi all,
My requirement is to set a parameter ID using a range instead of a field like this:
SET PARAMETER ID 'KOS' FIELD gr_kostl.
Is there any way to do this??
Every helpful answer will be appreciated.
Regards,
Roberto
2009 Apr 02 12:20 AM
I hope at a time you can set only one value to the parameter ID.
2009 Apr 02 2:38 AM
i think that you cant use parameter id with range, but you can change you mind like that
to find program of system which you want to call.
REPORT report1.
DATA text TYPE c LENGTH 10.
SELECTION-SCREEN BEGIN OF SCREEN 1100.
SELECT-OPTIONS: selcrit1 FOR text,
selcrit2 FOR text.
SELECTION-SCREEN END OF SCREEN 1100.
*************************************************************
REPORT report2.
DATA: text TYPE c LENGTH 10,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
2009 Apr 02 3:25 PM
Thanks for your answers.
I think i'll use EXPORT TO MEMORY.
Regards,
Roberto
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |