2007 Jul 12 5:04 AM
Is it possible - in a dialog screen - to attach a field that has functionality like Select-options fields?
And if so - how?
2007 Jul 12 5:07 AM
Hi
for dialog programming you can't design selection screen using select-options
only for report programs you can use it.
Instead you can use Ranges for the dialog programming .
<b>Reward points if useful</b>
Regards
Ashu
2007 Jul 12 5:07 AM
Hi
for dialog programming you can't design selection screen using select-options
only for report programs you can use it.
Instead you can use Ranges for the dialog programming .
<b>Reward points if useful</b>
Regards
Ashu
2007 Jul 12 5:07 AM
2007 Jul 12 5:09 AM
report ztest .
tables: mara.
* Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*&---------------------------------------------------------------------*
*& Module STATUS_0100 OUTPUT
*&---------------------------------------------------------------------*
module status_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
endmodule.
*&---------------------------------------------------------------------*
*& Module USER_COMMAND_0100 INPUT
*&---------------------------------------------------------------------*
module user_command_0100 input.
endmodule.
* Screen screen 100 with a subscreen area
* called "subscreen_1010"
* Screen Flow Logic follows
process before output.
module status_0100.
call subscreen subscreen_1010
including sy-repid '1010'.
process after input.
call subscreen subscreen_1010 .
module user_command_0100.
aRs
2007 Jul 12 11:16 AM
HI,
Use the following code in your dialog program:
SELECTION-SCREEN BEGIN OF SCREEN 0212 AS SUBSCREEN.
SELECT-OPTIONS : S_QMNUM FOR VIQMEL-QMNUM.
SELECTION-SCREEN END OF SCREEN 0212.
hope this helps.
Reward if helpful.
regards,
Sipra
2007 Aug 13 5:42 AM