‎2008 May 17 11:19 AM
SELECT-OPTIONS pr_matnr FOR lv_matnr-matnr.
What this does is display a 'From' and 'To' field, plus a little right-hand arrow to allow additional ranges to be added. I'm trying to achieve the same but within a dialog screen. Anyone?.
I just know that I'm going to kick myself when I find out how to do it, but I have all but given up searching for it. Perhaps it's just a bad day and I've chosen the wrong search params.
thanks.
‎2008 May 17 11:46 AM
Hi.
I tried this at my system and the following seems to work
1) Create a report that defines a subscreen:
REPORT ztst.
TABLES mara.
SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
SELECT-OPTIONS: s_matnr FOR mara-matnr.
SELECTION-SCREEN END OF SCREEN 1010.
2) Call this subscreen from your dialog screen
in PBO:
CALL SUBSCREEN subscreen_1 INCLUDING 'ZTST' '1010'.
in PAI:
CALL SUBSCREEN subscreen_1.
Reward if helpfull...
Cheers,
Sundar.