Radio button in screen painter
if we create number of Radio buttons in the screen painter using the drag and drop , then should we group up all the radio buttons , if so pls let me know how to group up all the radio buttons .
I created 3 radio buttons using drag and drop in screen painter . I dont know to group them up . I used these radio buttons in my ABAP prog . while i executed all the radio buttons are checked . I think i need some help...
hi...
I am also facing a similar problem.....I have created two raidbuttons using screen painter......and I need to group them......I tried to select the radiobuttons and group them....but the define grouping option is greyed out....kindly assist..
Regards,
Gayatree
Edited by: gayatree.b on Jun 18, 2010 1:36 PM
Edited by: gayatree.b on Jun 18, 2010 1:36 PM
Similar Messages
-
How to set Function Code for Radion Buttons in Screen painter
Hi,
I have faced problem of grouping 3 radio buttons in screen painter (no graphical editor). How to do it?
I have checked similiar threads in SDN, but those are for graphical editor.
Radio Buttons in custom screeen
http://****************/Tutorials/ABAP/Checkbox/page1.htm
http://****************/Tutorials/ABAP/Checkbox/page2.htm
Regards,
SukhboldHi,
U want to create radio button in the selection screen then u can create like this
PARAMETERS : c1 AS CHECKBOX USER-COMMAND cd,
r1 RADIOBUTTON GROUP rad,
r2 RADIOBUTTON GROUP rad.
AT SELECTION-SCREEN OUTPUT.
IF c1 = 'X'.
LOOP AT SCREEN.
IF screen-name = 'R1'.
screen-input = '0'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-name = 'R1'.
screen-input = '1'.
screen-active = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks, -
Option button in screen painter
Hi everyone,
Can I group option buttons in screen painter? How?
I have two problems:
1. The options buttons seem disabled: when i click on them, they aren't checked
2. I can't group them
Thanks
CarlesHi
First bind your option buttons to a same datasource then use the following to group then
Dim ob1 As SAPbouiCOM.OptionBtn = oForm.Items.Item("ob1").Specific
Dim ob2 As SAPbouiCOM.OptionBtn = oForm.Items.Item("ob2").Specific
Dim ob3 As SAPbouiCOM.OptionBtn = oForm.Items.Item("ob3").Specific
ob2.GroupWith("ob1")
ob3.GroupWith("ob2")
Hope this helps
Regards
Arun -
How to set / reset radio buttons in screen..
hi,
i have 4 radio buttons in my screen, initially only the first one must be active and all other must not be in selected state. at any point of time only one must be selected and based on the selection the subscreen area must be filled with the subscreen.
whats the code to check if the radio button is selected or how to set the action for the radio button selection ?
also whats the statement to reset the radio button ?
thksYou put them all in a radiobutton group.
For example:
PARAMETERS: rb_pres RADIOBUTTON GROUP rbf,"Presentation Server Files
rb_app RADIOBUTTON GROUP rbf."Application Server Files
The first one is defaulted to "X", but you can also do that yourself.
You check the value = "X" to see which is selected or say IS NOT INITIAL.
Hope this helps,
Mark -
How to handle Radio buttons on screen.(urgant)
Dear all,
my req is : i had a screen , on that there are 3 radio buttons,Based on the radion button selection on that screen i've to trigger the 3 select statements.
if Radio button 1
execute select stmt 1.
if Radio button 2
execute select stmt 2.
if Radio button 3
execute select stmt 3.
how to write this and where.
Pls frnds this is urgant for me.
please help me,
Thanks in advance,
With regards,
Ajay Kumar K,
9908979994.hiii....
you have to remember that you have to define the radio buttons in 1 group.because if changes are made in the group from the elements list then it would affect on all the radio buttons for a particular tasks.
again radio buttons are always been declared with the parameter statements.
for eg..
Parameters:
p_rad1 radiobutton group rad1 default 'X' user-command rad1,
p_rad2 radiobutton group rad1,
p_rad3 radiobutton group rad1.
AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
IF p_rad1 = 'X'.
select statement 1.
elseif p_rad2 = 'X'.
select statement 2.
elseif p_rad3 = 'X'.
select statement 3.
endif.
The group group over here is RAD1.
the default radio button over here is in radio button 1. you can also also check any of the radio buttons as default.
thanks..
any more help pzz revert back... -
How to dspaly the radio buttons on screen
hi experts
i used generating alv list using alv oops . now in my list radio button s to display .
what is the code for that .Hi,
Refer this http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-RadioButtonsinALVGRIDREPORT
and do search...
regards, -
Issue in using radio button in module pool
For same field I need 2 different search help. Based on radio button on screen I need company codeu2019s from different table. Issue is, at execution radio button remains blank. Radio button works only when I use them in PAI under CASE SY-UCOMM. WHEN u2018DONEu2019. IF Normal_Run = u2018Xu2019u2026u2026
Can I use radio button with the below code. Please refer the below code.
PROCESS ON VALUE-REQUEST.
FIELD COMP_CODE MODULE POPULATE_COMP_CODE.
MODULE POPULATE_COMP_CODE INPUT.
IF REPEAT_RUN = 'X'.
PERFORM COMP_CODE_POPULATE.
ELSEIF NORMAL_RUN = 'X'.
PERFORM COMP_CODE_POPULATE_N.
ENDIF.
ENDMODULE.
FORM COMP_CODE_POPULATE .
SELECT COMP_CODE
FROM ZIFRS_D_PROCESS
INTO CORRESPONDING FIELDS OF TABLE VALUES_TAB_CC
WHERE PROC_NAME = 'DEPRECIATION RUN'.
READ TABLE VALUES_TAB INDEX 1.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'COMP_CODE'
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD = 'COMP_CODE'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = VALUES_TAB_CC.
ENDFORM. " COMP_CODE_POPULATION
FORM COMP_CODE_POPULATE_N .
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = '/BI0/SCOMP_CODE'
FIELDNAME = 'COMP_CODE'
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD = 'COMP_CODE'.
ENDFORM. " COMP_CODE_POPULATE_N
Moderator Message: Please use "code" tags to format the code snippet.
Edited by: Suhas Saha on Nov 23, 2011 5:13 PMHi
You need to make the Grouping for these Radio button on the screen
Search for how to make Radio buttons grouping
radio buttons in screen painter
http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCDWBTUT/BCDWBTUT.pdf
and search for Radio button Group in this document
assign a Function Code for one of the radio buttons(It allows for only one Radio Button)
This triggers automatic PAI so when you take the F4 Help this is readily available
In TOP include make sure you define the variables corresponding to the Radio buttons on the screen and also provide default value X to one of the Radio buttons
Hope this serves your purpose
Cheerz
Ramchander Rao.K -
Using a radio button to populate another group of radio buttons?
I am new to Adobe forms and new to Javascript. I have a question on my form with a radio button group (PHQ) with four choices 1, 2, 3 or 4. If the user chooses "1", I want a check to appear in the "No" box for another radio button group (Screen). If, on the other hand, the user chooses 2, 3, or 4, from the PHQ group, I want a check to appear in the "Yes" box of the Screen group. Is this possible? Not sure how to go about doing this.
I suspect that you have a problem in some portion of your code that you have not posted. To help debugging I suggest you create a simple test using two pages: input.cfm and action.cfm. Get the most simple case working then add the javascript, css, and CF code to make your application work.
<!--- contents of input.cfm --->
<html>
<head>
<title>Input</title>
</head>
<body>
<form action="action.cfm" method="POST">
Choose type: <br />
<input name="type" type="radio" value="male" /> Male<br />
<input name="type" type="radio" value="female" /> Female<br />
<input type="submit" />
</form>
</body>
</html>
<!--- content of action.cfm --->
<html>
<head>
<title>Action</title>
</head>
<body>
<cfif form.type eq "male">
Type is male.
<cfelseif form.type eq "female">
Type is female.
</cfif>
Here is a cfdump of the form variables:<br />
<cfdump var="#form#" />
</body>
</html>
Message was edited by: JR "Bob" Dobbs
Added sample for action.cfm -
Layout problem in screen painter
hi all,
the screen is not appearing when i click 'layout' button in screen painter when i am enabling a wsp client proxy server. Is there any solution?some times SAP Gui behaves like this, in my case i faced this problem many times, some times after shutdown my sap logon pad. and restart the sap , go to se51 , it will open the Screen painter normally. But some cases i uninstalled the Gui, and re installed .then only it opens properly. select all components when installing.
-
How we can add tabs button within tab button in screen painter???
hi,
Check this thread
Screen Painter
Jeyakanthan -
Push Buttons, Radio Buttons, Folder Tabs
Could someone please let me in on the secret to selecting
background colors for push-buttons, radio-buttons and folder
tabs. I've tried the obvious properties with no luck.
I am developing on a Windows NT 4.0 platform using Developer
6.0. I will be releasing my app to the web soon and could
really use some help.
Ideally, I would like to be able to select any color ( i.e. to
match the background color of the canvas ), but so far the only
choices seem to be black, white or a couple of other non-
desirable colors ( bright red, green, yellow, yuck! ). Is a
custom color palette the ticket?
I realize that many button properties are controlled by Windows.
If this is the case, are there any work-arounds? When I
distribute the application, will I be able to offer my customers
the ability to configure Windows to correctly define the button
colors?
I am sure that others have these same questions. I have not
been able to find any answers. Any help is greatly appreciated.
Mike
[email protected]
nullHi,
1. Disabling Push button.
In PBO loop at sccreen and check the field name is equal to push button name
set screen-input = 0.
modify screen.
endloop.
2.assign a function code to radio button in screen element it will trigger the PAI.
In PAI during loop at table control check the field value is equal to 'X'.then not down the roqw number and in PBO enable the button based on the row number by looping at screen.
3Assign the fcode to push button.Once the user presses the button in PAI check the focde and see for which line it is pressed based on it call the pop up screen using FM or dialog box.
Regards,
Nabheet Madan
Never give Up.
Edited by: nabheet1234 on May 11, 2009 2:26 PM
Edited by: nabheet1234 on May 11, 2009 2:27 PM -
Help required : Dynamic Radio Buttons.
Hi All,
Requirement is as follows :
1. I am having an internal table , suppose it has 5 records , then I need 5 radio buttons on screen.
2. I need to dynamically name these radio buttons , based on one of the field of same internal table .
Please help to get an optimised approach to implement the same .
Thanks and Regards
HarshHi Harsh,
A better approch would be to create a selection-screen with 15 buttons to start and make invisible other radio buttons that you dont want in the at selection-screen output event.
You can try like below:
parameters: r1 radiobutton group rad1 default 'X',
r2 radiobutton group rad1,
r15 radiobutton group rad1.
at selection-screen output.
describe table itab lines n.
l_cnt = 15 - n.
do l_cnt times.
n = n+1.
concatenate 'r' n into l_radioname. <<< n no of radio buttons wanted
loop at screen.
if screen-name = l_radioname.
screen-invisible = 1.
modify screen.
endif.
endloop.
enddo.
i hope you got a breif idea as to how you can go forward.
Regards,
Himanshu -
Creating Radio Button in Module Pool
Hi All,
I have created a Two radio button on screen 100.
When I run this I will get both radio button selected.
I am unable to group these.
How can I group both?
I am using 4.7. I am not getting Graphical Layout of the screen.
How to group in classical only.Hi Praveen,
Steps to group radiobuttons with alphanumeric editor.
<li>Place the cursor on first radiobutton and click on Graphical element button in the application toolbar.
<li>Now place the cursor on 2nd radiobutton and click on Define graph.group button in the application toolbar.
<li>Now radiobuttons are grouped and first one is defaulted.
Thanks
Venkat.O -
Sub screen: Handling the Radio button selection?
Hi,
Scenario:
I have a Main screen and a sub screen. From the main screen I am calling the sub screen. On the Sub screen, I have 2 radio button. On the selection of the Radio buttons, I am activating/deactivating few of the screen elements on the sub screen.
I have grouped the radio button and also tried assigning Function code to it, but in vain..:(
Issue
I am not able to handle the event triggered by the selection of the radio buttons?
Kindly suggest.
Regards
s@kHi,
Are you still have any Issue, Let us know
In the Main Screen Element List there is a field OK_CODE pass an entry into it
in the TOP Include
DATA : OK_CODE type SY-UCOMM. " This captures the OK_CODE from the Screen.
Since SUb Screen cant have their Own OK_CODE this can be handled in the Main Screen only
Try in PAI of Sub Screen using OK_CODE if it is not working then Implement the same in PAI of Main Screen
The system will generate UCOMM for Radio Button since they are in One Group only. Each Radio button cannt have a separate UCOMM assigned. In Screen Painter (if It is Module Pool) assign a FCode for the Radio Button.
Even if try changing the FCODe Value they still will have the New Changed Value but cannot be changed.
This automatically triggers PAI . only way to capture it is check
case ok_code. " Optionally you can omit this
when ok_code = 'RAD'. " This is common for all the Radio BUttons but cant be different
if r1 = 'X'.
elseif r2 'X' " Etc.
endif.
endcase.
Ram
Edited by: Ramchander Krishnamraju on Feb 26, 2010 10:37 AM -
How to create radio button between two slection screen
hello all.
could you please guide me how to create radio button between two SELECTION-SCREEN in screen painter.
Thank you,
srinivashi
SEE THIS CODE
REPORT ZNNR_REPORT NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).
******DATA DECLARATIONS**********
DATA : BEGIN OF IT_PLANT OCCURS 0,
MATNR LIKE MARA-MATNR,
WERKS LIKE MARC-WERKS,
PSTAT LIKE MARC-PSTAT,
EKGRP LIKE MARC-EKGRP,
END OF IT_PLANT.
DATA : BEGIN OF IT_PONO OCCURS 0,
EBELN LIKE EKKO-EBELN,
EBELP LIKE EKPO-EBELP,
MATNR LIKE EKPO-MATNR,
WERKS LIKE EKPO-WERKS,
LGORT LIKE EKPO-LGORT,
END OF IT_PONO.
TABLES EKKO.
********END OF DATA DECLARATIONS*********
********SELECTION SCREEN DESIGN ***********
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : R3 RADIOBUTTON GROUP G2 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R3.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : R4 RADIOBUTTON GROUP G2.
SELECTION-SCREEN COMMENT 5(20) TEXT-004 FOR FIELD R4.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : R2 RADIOBUTTON GROUP G1.
SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B2.
******END OF SELECTION SCREEN DESIGN****************
<b>rEWARD IF USEFULL</b>
Maybe you are looking for
-
I have to deal with large 3-D, I16 matrices that are stored in files. This data represents the density of an object at a sample point in 3-D space. I need to be able to display a 2-D section through the cube in an Intensity Chart. Since I want to upd
-
Customize fields for BP in CRM 4.0
Hi all, I would appreciate if you could provide me the best practice for customizing, i.e. remove, add and rename fields for a BP in CRM 4.0. As I can see, for one single change in a standard view, e.g. remove a field group, a new dataset has to be c
-
Video Sound Settings on external speakers via Airport
When I playback my music videos from iTunes, why can't I get any sound through speakers plugged into an Airport base. No problems with music from the Library just effects video or DVD. The 'multiple speaker' flag is still there and I haven't changed
-
I have no video option when I call some contacts.T...
I have no video option when I ring some contacts.there is no video picture of me
-
How do I load iTunes match for my iPad?
I tried to play music on my new iPad but got a message I needed to subscribe to iTunes Match. How do I do that?