02-28-2010 7:00 AM
Hi all,
I'd like to have p_x as rain 'p_x as CHECKBOX.' how can i do it can you help me please?
02-28-2010 7:06 AM
02-28-2010 7:06 AM
02-28-2010 7:13 AM
Sorry about that I have a selection screen where I'd like to include rain as radio button so I have the following
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_snow AS CHECKBOX,
p_rain AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK b1.
How can I have the 2 radio buttin as
Snow
Rain
I hope you got the point
02-28-2010 7:21 AM
In SE32 transaction, you can give the declaration like that.
Ex: p_snow as snow and p_rain as rain.
02-28-2010 7:22 AM
See below code to get Radio buttons for snow and rain.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_snow RADIO BUTTON GROUP rg DEFAULT 'X,
p_rain RADIO BUTTON GROUP rg.
SELECTION-SCREEN END OF BLOCK b1.
Regards,
vinod
02-28-2010 7:50 AM
02-28-2010 8:00 AM
Hi,
In the SE38 menu, select GOTO->TEXT ELEMENTS->SELECTION TEXT, then you could edit the text element.
If you wanna use customized text at specified positon, you may need to use the following command:
SELECTION-SCREEN COMMENT [/][pos](len)
{text|{[text] FOR FIELD sel}}
[VISIBLE LENGTH vlen]
[MODIF ID modid]
[ldb_additions].
SELECTION-SCREEN BEGIN OF LINE.
...
[SELECTION-SCREEN POSITION pos [ldb_additions]].
...
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE,
PUSHBUTTON 2(10) push USER-COMMAND fcode,
POSITION 16.
PARAMETERS para TYPE c LENGTH 20.
SELECTION-SCREEN: COMMENT 40(40) text,
END OF LINE.
INITIALIZATION.
push = 'Push'.
text = '<--- Fill field, then push button!'.
Cheers,