Positioning radiobuttons

Hi Experts,
                 when i execute below code all the radio buttons are displaying one by one line, my requirement is it has to be disaplyed in a single line two radio buttons can anyone guide me,,,,
selection-screen begin of block k with frame title text-011.
parameter : cweek radiobutton group o default 'X' USER-COMMAND RB,
            pweek radiobutton group o ,
            month radiobutton group o ,
            prandc radiobutton group o ,
            PRCANDM RADIOBUTTON GROUP O,
            user radiobutton group o.
selection-screen end of block k.
Regards,
Thiru. R

here i have taken into 3 lines.
if u want in one line put them in single  begin of line---- end of line.
   SELECTION SCREEN
selection-screen begin of block b1 with frame title text-014.
select-options: s_vkorg for  vbak-vkorg modif id org,
                s_matkl for  vbap-matkl modif id not,
                s_erdat for  vbak-erdat modif id gre.
selection-screen begin of line.
selection-screen end of line.
selection-screen begin of line.
selection-screen end of line.
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-015.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: POSITION 5.
parameters: Y2D radiobutton group G1 USER-COMMAND BS.
SELECTION-SCREEN: COMMENT 8(30) text-002.
SELECTION-SCREEN: POSITION 40.
parameters: Q2D radiobutton group G1.
SELECTION-SCREEN: COMMENT 43(30) text-003.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: POSITION 5.
parameters: M2D radiobutton group G1.
SELECTION-SCREEN: COMMENT 8(30) text-004.
SELECTION-SCREEN: POSITION 40.
parameters: D2D radiobutton group G1 default 'X'.
SELECTION-SCREEN: COMMENT 43(30) text-005.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: POSITION 5.
parameters: CUS radiobutton group G1.
SELECTION-SCREEN: COMMENT 8(30) text-006.
SELECTION-SCREEN: END OF LINE.
selection-screen end of block b2.
selection-screen begin of block b3 with frame title text-016.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 5.
parameters: NA radiobutton group G2 USER-COMMAND BS.
SELECTION-SCREEN: COMMENT 8(30) text-008.
SELECTION-SCREEN: POSITION 40.
parameters: LA radiobutton group G2.
SELECTION-SCREEN: COMMENT 43(30) text-009.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: POSITION 5.
parameters: EP radiobutton group G2.
SELECTION-SCREEN: COMMENT 8(30) text-010.
SELECTION-SCREEN: POSITION 40.
parameters: AP radiobutton group G2.
SELECTION-SCREEN: COMMENT 43(30) text-011.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: POSITION 5.
parameters: GB radiobutton group G2 default 'X'.
SELECTION-SCREEN: COMMENT 8(30) text-012.
SELECTION-SCREEN: POSITION 40.
parameters: CU radiobutton group G2.
SELECTION-SCREEN: COMMENT 43(30) text-013.
SELECTION-SCREEN POSITION 75.
selection-screen: pushbutton 75(7) text-007 user-command exe.
SELECTION-SCREEN: END OF LINE.
selection-screen end of block b3.

Similar Messages

  • Change RadioButtons position in Selection Screen.

    HI is there any way to change the default position of a radiboutton in a selection screen.
    I mean, show the text option of the radiobutton in the right side, not the left side.
    Thanks a lot.

    hi Jose,
    you have to do something like:
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT x(y)... "x for starting position, y for length
    SELECTION-SCREEN POSITION 20. "next line will start at this position
    PARAMETERS : p_rb RADIOBUTTON GROUP rb1
    SELECTION-SCREEN END OF LINE.
    hope this helps
    ec

  • Radiobutton position:is it possible for it to be displayed before the text?

    Hello experts,
    I am currently modifying a report wherein in the selection screen, the users want the radiobutton to be placed before the its text. Just like below:
    o Display
    o Add
    o Edit
    Currently, the selection screen looks like this:
    Display        o
    Add            o
    Edit           o
    Again, thank you guys and have a nice day!

    selection-screen begin of line.
    parameters p_display default 'X' radiobutton group rtyp.
    selection-screen comment 4(70) text-ty1.  "DISPLAY
    selection-screen end of line.
    selection-screen begin of line.
    parameters p_add               radiobutton group rtyp.
    selection-screen comment 4(70) text-ty2. "ADD
    selection-screen end of line.
    selection-screen begin of line.
    parameters p_edit              radiobutton group rtyp.
    selection-screen comment 4(70) text-ty3. "EDIT
    selection-screen end of line.
    selection-screen skip.

  • Regarding radiobutton text

    hi
    can any body make me know how to put text on the right hand side of the radio button.
    thanks in advance.
    prasad

    Hi Prasad,
    Try the following code:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: r1 RADIOBUTTON GROUP g1 USER-COMMAND ucomm DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 3(17) text-002 FOR FIELD r1.
    SELECTION-SCREEN POSITION 32.
    PARAMETERS: r2 RADIOBUTTON GROUP g1 .
    SELECTION-SCREEN COMMENT 34(17) text-003 FOR FIELD r2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK b1.
    Hope this will help.
    Regards,
    Nitin.

  • Placing radiobuttons side by side in report

    Hi,
    How to place two  radio buttons side by side in a report program. Can anyone help me on this.
    Thanks,
    Rose.

    HI
    To position a set of parameters or comments in a single line on the selection screen, you must declare the elements in a block enclosed by the following two statements:
    SELECTION-SCREEN BEGIN OF LINE.
    define radio buttons
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS :
    r1  RADIOBUTTON GROUP rad1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 3(10) text-001.
    PARAMETERS :
       r2  RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN END OF LINE.
    Regards
    Pavan

  • How to write selection-screen block on 15th position?

    Hello all,
    I want to write selection-screen block on 15th position, How can I do this?
    I know that we can write parameter/select-option on perticuler position using following code.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE t7.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 15.
    PARAMETERS: fdat LIKE SY-DATUM,
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    It writes parameter(FDAT) on 15th position. How can I write whole block on 15th position?

    Hi,
    For this u have to use comment lines. See the below simple program...
    SELECTION-SCREEN COMMENT /2(50) TEXT-001 MODIF ID SC1.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN COMMENT /10(30) COMM1.
    SELECTION-SCREEN ULINE.
    PARAMETERS: R1 RADIOBUTTON GROUP RAD1,
    R2 RADIOBUTTON GROUP RAD1,
    R3 RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN ULINE /1(50).
    SELECTION-SCREEN COMMENT /10(30) COMM2.
    SELECTION-SCREEN ULINE.
    PARAMETERS: S1 RADIOBUTTON GROUP RAD2,
    S2 RADIOBUTTON GROUP RAD2,
    S3 RADIOBUTTON GROUP RAD2.
    SELECTION-SCREEN ULINE /1(50).
    INITIALIZATION.
    COMM1 ='Radio Button Group 1'.
    COMM2 ='Radio Button Group 2'.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'SC1'.
    SCREEN-INTENSIFIED = '1'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.

  • How to get radiobutton & parameter side by side?

    Hi abapers,
    Could any one tell me how to get radiobutton & parameter side by side.Iam trying to get in the single line....
    But i could not.
    thanks
    Kaki

    Hello Kaki,
    The code given by Rainer should give you the idea (to use   SELECTION-SCREEN BEGIN OF LINE.) If you need a parameters on the same line, then you just need to do something like this -
    SELECTION-SCREEN BEGIN OF BLOCK test WITH FRAME TITLE frametxt.
      SELECTION-SCREEN BEGIN OF LINE.
        PARAMETERS: Option1 RADIOBUTTON GROUP xyz.
        SELECTION-SCREEN POSITION 10.
        PARAMETERS: P_TEST1 TYPE I.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN BEGIN OF LINE.
        PARAMETERS: Option2 RADIOBUTTON GROUP xyz.
        SELECTION-SCREEN POSITION 10.
        PARAMETERS: P_TEST2 TYPE I.
      SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK test.
    Regards,
    Anand Mandalika.

  • How to make a CallOut be positioned fully on screen?

    I'm running AIR 3.4/Flash Builder 4.6 on Mac OS X 10.7.4.
    I have a CallOutButton and I'm setting the size of my callout when it's opened. When it first displays, it's partially off screen. When I close and re-open it, it's positioned correctly.
    I've tried invaliding the size, properties, skin and display list and it is still happening.
    What do I need to do to get it positioned properly the first time it's displayed?

    SELECT-OPTIONS: s_bukrs   FOR rbkp-bukrs, 
        s_ekorg   FOR  ekko-ekorg NO INTERVALS <b>MODIF ID md2,</b>
        s_ekgrp   FOR  ekko-ekgrp NO INTERVALS MODIF ID md2,
        s_werks   FOR  rseg-werks NO INTERVALS MODIF ID md2,
        s_lifnr   FOR  rbkp-lifnr NO INTERVALS,
        s_matkl   FOR  ekpo-matkl NO INTERVALS              MODIF ID md1,
       s_ebeln   FOR  rseg-ebeln NO INTERVALS MODIF ID md2,
                                                    PARAMETERS : rb_user  RADIOBUTTON GROUP za DEFAULT 'X' USER-COMMAND rad MODIF ID md2.
    PARAMETERS :  rb_man   RADIOBUTTON GROUP za MODIF ID md1.
    AT SELECTION-SCREEN OUTPUT.
    * Checking Radiobuttons and modifing Material Group field  .
      PERFORM f13000_check_radio.
    FORM f13000_check_radio.
    * When the FI button is selected hide the fields under group md1 and MD2
      LOOP AT SCREEN.
        IF screen-group1 = 'MD2'.
          IF rb_man  = c_x.
            screen-active = 0.
          ELSE.
            screen-active = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    * If the user output radiobutton is checked then make the screen
    * input of Material Group off
      LOOP AT SCREEN.
        IF screen-group1 = 'MD1'.
          IF rb_user = 'X'.
            screen-active = 0.
          ELSE.
            screen-active = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.           " f13000_check_radio
    Try similarly.
    Hope this helps.

  • Position of Block

    Hi  Gurus ,
                 1.How to set a position of block in selection screen.
                    Ex . I want a block to display in right corner of screen or middle of the screen
                    How to set the position ?.
                2.How to put a Select -option in Dialouge programming with out calling the selection screen.
    Thanks & Regards
    T.Velmurugan

    HI,
    Try this way for your second question...
    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.

  • How to put label name for a radiobutton

    how to label the radiobutton in abap code?

    This code will help you.
    give the proper text to text elements to lable the radio buttons.
    File options
    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    SELECTION-SCREEN: BEGIN OF LINE.
    Presentation server
    PARAMETERS:
      pa_pre RADIOBUTTON GROUP rad    
               USER-COMMAND app1 DEFAULT 'X'.
    SELECTION-SCREEN:
           COMMENT 8(16) text-004 FOR FIELD pa_pre.
    SELECTION-SCREEN:POSITION 31.
    Presentation Server File
    PARAMETERS:
      pa_pfile TYPE dynfnam MODIF ID pre.  " File on Local drive
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE.
    Application server
    PARAMETERS:
      pa_app RADIOBUTTON GROUP rad.       
    SELECTION-SCREEN: COMMENT 8(22) text-005 FOR FIELD pa_app.
    Application Server file
    PARAMETERS:
    pa_afile LIKE rlgrap-filename
            MODIF ID app LOWER CASE.       " File Name on Appl.Server
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: END OF BLOCK b2 .

  • Regarding Radio button position

    Hi All,
    I have a requirement in which i have 2 radio buttons and 1 push button and i have declared these three like this
    PARAMETERS: r1  RADIOBUTTON GROUP g1,
                r2 RADIOBUTTON GROUP g1.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: PUSHBUTTON 30(30) pb01 USER-COMMAND onli
                      VISIBLE LENGTH 15.
    SELECTION-SCREEN: END   OF LINE.
    If i select the first radio button and click on the push button ztable should be updated. i have written code for this but 2nd time when user clicks on the push button with out changing the radio button position, a pop up message should be displayed like 'Nothing has been changedu2019.
    Please suggest me in this issue.
    Thanks in advance.
    Regards,
    Samatha

    text 001 :Selection screen sample
    tex t002 : List
    text 003: Alv
    text 004: None
    CONSTANTS : rbSelected TYPE c LENGTH 1 VALUE 'X'.
    DATA : p_txt type c LENGTH 100.
    SELECTION-SCREEN BEGIN OF BLOCK frame1 WITH FRAME TITLE text-001.
      SELECTION-SCREEN ULINE /10(40).
      SELECTION-SCREEN BEGIN OF LINE.
        SELECTION-SCREEN POSITION 15.
        PARAMETERS: rb1 RADIOBUTTON GROUP rb.
        SELECTION-SCREEN COMMENT 20(30) text-002.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN BEGIN OF LINE.
        SELECTION-SCREEN POSITION 15.
        PARAMETERS: rb2 RADIOBUTTON GROUP rb.
        SELECTION-SCREEN COMMENT 20(30) text-003.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN BEGIN OF LINE.
        SELECTION-SCREEN POSITION 15.
        PARAMETERS: rb3 RADIOBUTTON GROUP rb.
        SELECTION-SCREEN COMMENT 20(30) text-004.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN ULINE /10(40).
    SELECTION-SCREEN END OF BLOCK frame1.
    IF rb1 = rbSelected.
      CONCATENATE 'You selected' text-002 INTO p_txt SEPARATED BY space.
    ELSEIF rb2 = rbSelected.
      CONCATENATE 'You selected' text-003 INTO p_txt SEPARATED BY space.
    ELSEIF rb3 = rbSelected.
      CONCATENATE 'You selected' text-004 INTO p_txt SEPARATED BY space.
    ENDIF.
    WRITE / p_txt.

  • Checking a radiobutton

    Hy !
    I have this :
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 5.
    SELECTION-SCREEN COMMENT (13) text-p03 FOR FIELD sb_wks.
    PARAMETERS: sb_wks RADIOBUTTON GROUP myg.
    And same for another radiobutton from the same group, in another line.
    I want to perform something is the radiobutton is choosed .
    I tried:
    IF NOT sb_wks IS INITIAL.
    PERFORM ods_wks.
    ENDIF.
    Not working ,
    Suggestions? Solutions?
    Thank you.

    hi,
    check the sample pg: declare radio buttons like below in program and use
    if P_list = 'X'.
    perform validation.
    endif.
    REPORT  ZSUDHA_SCREEN.
    **--- Radiobuttons
    PARAMETERS: p_up   RADIOBUTTON GROUP a DEFAULT 'X' USER-COMMAND rb,
                p_list RADIOBUTTON GROUP a.
    PARAMETERS: p_pcfile LIKE rlgrap-filename OBLIGATORY DEFAULT 'C:\'
                MODIF ID ccc,
                p_pctype LIKE rlgrap-filetype OBLIGATORY DEFAULT 'ASC'
                MODIF ID ccc,
                p_unix   LIKE rlgrap-filename OBLIGATORY DEFAULT '.\'
                MODIF ID ccc.
    PARAMETERS: p_dir LIKE rlgrap-filename OBLIGATORY DEFAULT '.'
                MODIF ID ddd,
                p_fp  LIKE rlgrap-filename
                MODIF ID ddd.
    AT SELECTION-SCREEN OUTPUT.
      IF p_up = 'X' .
        LOOP AT SCREEN.
          CASE screen-group1.
            WHEN 'CCC'.
              screen-input = 1.  "Enable
              screen-invisible = 0. "Disable
              MODIFY SCREEN.
            WHEN 'DDD'.
              screen-input = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
          ENDCASE.
        ENDLOOP.
      ENDIF.
      IF p_list = 'X'.
        LOOP AT SCREEN.
          CASE screen-group1.
            WHEN 'CCC'.
              screen-input = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            WHEN 'DDD'.
              screen-input = 1.
              screen-invisible = 0.
              MODIFY SCREEN.
          ENDCASE.
        ENDLOOP.
      ENDIF.

  • Components' position and size

    I've noticed that awt and swing components have methods which are supposed to resize and move them directly, without using LayoutManagers (methods like setX(), setY(), setLocation(), setSize(), reshape() etc).
    But when I try to use them, the component always stays the same. Let's say I have a single component on a Frame, so it takes all the available space. I don't seem to be able to resize and then move it using the above methods.
    Or do I miss something? Is there any way that I could lay my components out on a container just by using these methods, or do I need to do something for them to work?
    Thanks in advance. =D

    Hirsch wrote:
    But why is that, that
    Container.setLayout(null);
    should never be used?I suppose that absolute statements should never be made. null layout has its place (in fact, some here such as navy coder use it exclusively), but many if not most of us prefer to use the layout managers for many reasons. They automate the placement of your components, they make it much easier to create resizeable applications, they make it safer to create GUIs that will be used in multiple environments where different screen sizes are possible.
    For example, suppose you create a program that displays JRadioButtons like so:
    import java.awt.GridLayout;
    import javax.swing.ButtonGroup;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JRadioButton;
    public class FuPanel2
      private static void createAndShowUI()
        String radioLabels[] =
          "Fubar", "Snafu", "Bohica"
        // create a JPanel for jradiobuttons and have it use gridlayout
        JPanel radioPanel = new JPanel(new GridLayout(0, 1, 5, 5));
        ButtonGroup btnGrp = new ButtonGroup();
        for (int i = 0; i < radioLabels.length; i++)
          JRadioButton rBtn = new JRadioButton(radioLabels);
    btnGrp.add(rBtn);
    radioPanel.add(rBtn);
    JFrame frame = new JFrame("FuPanel2");
    frame.getContentPane().add(radioPanel);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.pack();
    frame.setLocationRelativeTo(null);
    frame.setVisible(true);
    public static void main(String[] args)
    java.awt.EventQueue.invokeLater(new Runnable()
    public void run()
    createAndShowUI();
    You'll notice that the JPanel that holds the JRadioButtons uses the GridLayout. If I want to add another JRadioButton, "Tarfu", all I have to do is add the String to the array and another radiobutton is produced and placed in the right location. I don't have to worry about setting sizes or positions of anything as it's all done for me:
        String radioLabels[] =
          "Fubar", "Snafu", "Bohica", "Tarfu" // have added "Tarfu"
        };Edited by: Encephalopathic on Aug 10, 2008 4:58 AM

  • Sending the Value to the database of the selected item in the radioButton

    I want to pass  the value to the database that I selected on the radioButton
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
         <mx:Text y="36" text="The Christian and Missionary Alliance Churches of the Philippines, Inc" width="581" fontWeight="bold" fontSize="15" horizontalCenter="46"/>
         <mx:Text y="59" text="( C A M A C O P)" fontWeight="bold" fontSize="12" horizontalCenter="8"/>
         <mx:Text y="77" text="MEMBERSHIP IDENTIFICATION FORM" width="502" fontSize="17" fontWeight="bold" textAlign="center" horizontalCenter="0"/>
         <mx:Text y="101" text="Date: " width="47" fontWeight="bold" textAlign="center" horizontalCenter="-71"/>
         <mx:DateField y="99" id="dateToday" horizontalCenter="18" editable="true" width="140" enabled="true"/>
         <mx:Label y="153" text="District:" fontWeight="bold" horizontalCenter="-418"/>
         <mx:TextInput y="151" maxChars="15" id="district" width="249" enabled="true" horizontalCenter="-260"/>
         <mx:Text y="179" text="Name of Local Church:" fontWeight="bold" horizontalCenter="-378"/>
         <mx:TextInput y="177" width="400" id="nameLocalChurch" maxChars="255" enabled="true" horizontalCenter="-104"/>
         <mx:Text y="205" text="Local Church Address:" fontWeight="bold" horizontalCenter="-378"/>
         <mx:TextInput y="203" width="401" id="addressLocalChurch" maxChars="255" enabled="true" horizontalCenter="-105"/>
         <mx:Text y="231" text="Name:" fontWeight="bold" horizontalCenter="-422"/>
         <mx:TextInput y="229" width="489" id="givenName" maxChars="255" enabled="true" horizontalCenter="-149"/>
         <mx:Text y="254" text="(Given Name/Middle Name/Family Name - CAPITALIZE)" fontStyle="italic" horizontalCenter="-158"/>
         <mx:Text y="284" text="Position in the Church: " fontWeight="bold" horizontalCenter="-376"/>
         <mx:TextInput y="276" width="401" id="posInChurch" maxChars="225" enabled="true" horizontalCenter="-105"/>
         <mx:Text y="310" text="Profession/Title:" fontWeight="bold" horizontalCenter="-393"/>
         <mx:TextInput y="306" width="434" id="professionTitle" maxChars="225" enabled="true" horizontalCenter="-121"/>
         <mx:Text y="333" text="Community Involvement/Work" fontWeight="bold" horizontalCenter="-351"/>
         <mx:Text y="355" text="Gift Skill:" fontWeight="bold" horizontalCenter="-415"/>
         <mx:TextInput y="353" width="475" enabled="true" horizontalCenter="-142" id="giftSkill" maxChars="225"/>
         <mx:Text y="381" text="Home Address:" fontWeight="bold" horizontalCenter="-397"/>
         <mx:TextInput y="379" width="448" id="homeAddress" enabled="true" horizontalCenter="-128" maxChars="225"/>
         <mx:Text y="406" text="Status:" fontWeight="bold" horizontalCenter="-420"/>
         <mx:Text y="432" text="Date of Marriage:" fontWeight="bold" horizontalCenter="-391"/>
         <mx:TextInput y="430" enabled="true" id="dateOfMarriage" horizontalCenter="-258" maxChars="225"/>
         <mx:Text y="432" text="(If Married)" fontWeight="normal" fontStyle="italic" horizontalCenter="-144"/>
         <mx:Text y="458" text="Tel./Cell Phone:" fontWeight="bold" horizontalCenter="-396"/>
         <mx:TextInput y="456" width="436" id="cell" enabled="true" horizontalCenter="-122" maxChars="225"/>
         <mx:Text y="484" text="SSS/GSIS No." fontWeight="bold" horizontalCenter="-402"/>
         <mx:TextInput y="482" width="215" id="sss" enabled="true" maxChars="15" horizontalCenter="-243"/>
         <mx:Label y="484" text="Blood Type" fontWeight="bold" horizontalCenter="-94"/>
         <mx:TextInput y="482" width="154" id="bloodType" enabled="true" maxChars="15" horizontalCenter="19"/>
         <mx:Text y="509" text="Height" fontWeight="bold" horizontalCenter="-421"/>
         <mx:Text y="510" text="Weight" fontWeight="bold" horizontalCenter="-279"/>
         <mx:TextInput y="508" id="weight" enabled="true" maxChars="15" horizontalCenter="-168"/>
         <mx:Text y="510" text="Birthday" fontWeight="bold" horizontalCenter="-53"/>
         <mx:Text y="536" text="TIN No." fontWeight="bold" horizontalCenter="-420"/>
         <mx:TextInput y="534" id="tin" enabled="true" horizontalCenter="-311" maxChars="225"/>
         <mx:Text y="536" text="Date of Baptism" fontWeight="bold" horizontalCenter="-174"/>
         <mx:Text y="536" text="(If Baptized)" fontStyle="italic" horizontalCenter="32"/>
         <mx:Text y="573" text="Annual Income:" fontWeight="bold" height="18" fontSize="13" horizontalCenter="-384"/>
         <mx:RadioButton y="563" label="Below 10K" id="first" enabled="true" horizontalCenter="-276" groupName="annualIncome"/>
         <mx:RadioButton y="593" label="76k-100k" id="fifth" enabled="true" horizontalCenter="-192" groupName="annualIncome"/>
         <mx:RadioButton y="563" label="11k-20k" id="second" enabled="true" horizontalCenter="-195" selected="false" groupName="annualIncome"/>
         <mx:RadioButton y="563" label="21k-40k" id="third" enabled="true" horizontalCenter="-116" selected="false" groupName="annualIncome"/>
         <mx:RadioButton y="593" label="101k-above" id="sixth" enabled="true" horizontalCenter="-106" groupName="annualIncome"/>
         <mx:RadioButton y="593" label="41k-75k" id="fourth" enabled="true" horizontalCenter="-280" groupName="annualIncome"/>
         <mx:Text y="589" text="(The &quot;k&quot; = thousand)" horizontalCenter="-383" fontStyle="italic"/>
         <mx:TextInput y="508" id="hayt" enabled="true" width="76" horizontalCenter="-356" maxChars="15"/>
         <mx:Text text="In case of Emergency Please Notify" fontSize="12" fontWeight="bold" horizontalCenter="-326" y="621"/>
         <mx:Text y="642" text="Name:" fontWeight="bold" horizontalCenter="-370"/>
         <mx:TextInput y="640" id="EName" enabled="true" width="446" horizontalCenter="-125" maxChars="225"/>
         <mx:Text y="668" text="Address:" fontWeight="bold" horizontalCenter="-363"/>
         <mx:TextInput y="666" width="434" id="EAddress" enabled="true" horizontalCenter="-117" maxChars="225"/>
         <mx:Text y="740" text="Endorsement/Signature of PASTOR" fontWeight="bold" fontSize="12" horizontalCenter="-298"/>
         <mx:Text y="740" text="Signature of Member" fontWeight="bold" fontSize="12" width="208" horizontalCenter="55"/>
         <mx:Text y="804" text="Endorsement/Signature of DMS" fontWeight="bold" fontSize="12" horizontalCenter="-310"/>
         <mx:Text y="806" text="Confirmation of the BISHOP/PRESIDENT" fontWeight="bold" fontSize="12" horizontalCenter="88"/>
         <mx:Text y="867.7" text="Reminders" fontSize="15" fontWeight="bold" horizontalCenter="-76"/>
         <mx:Text y="899.25" text="Pastor/CMT shall verify each filled up membership form." fontWeight="bold" textAlign="center" fontSize="12" horizontalCenter="-86"/>
         <mx:Text y="921.8" text="The pastor will endorse the forms to their respective DMS." fontWeight="bold" fontSize="12" textAlign="center" horizontalCenter="-78"/>
         <mx:Text y="942.35" text="The donation for I.D. is 50.00php." fontWeight="bold" textAlign="center" fontSize="12" horizontalCenter="-62"/>
         <mx:Text y="961.9" text="Get your receipts from the DMS as a whole." fontWeight="bold" textAlign="center" fontSize="12" horizontalCenter="-69"/>
         <mx:Text y="980.35" text="Check carefully the neatness of I.D. pictures." fontWeight="bold" fontSize="12" textAlign="center" horizontalCenter="-64"/>
         <mx:Text y="997.9" text="This form is to be completed by all CAMACOP members and workers." fontWeight="bold" fontSize="12" horizontalCenter="-83"/>
         <mx:Spacer x="47" y="9"/>
         <mx:Button y="1034" label="Submit" id="submit" enabled="true" horizontalCenter="-89" click = "sample1.send()"/>
         <mx:DateField y="508" id="birthday" enabled="true" horizontalCenter="35" width="122"/>
         <mx:DateField y="534" width="105" id="dateOfBaptism" enabled="true" horizontalCenter="-64"/>
         <mx:RadioButtonGroup id="work"/>
         <mx:RadioButton x="273" y="331" label="Private" groupName="work" width="80" id="prayvate" enabled="true"/>
         <mx:RadioButton x="416" y="331" label="NGO" groupName="work" enabled="true" id="NGO"/>
         <mx:RadioButton x="359" y="331" label="GO" groupName="work" enabled="true" id="GO"/>
         <mx:RadioButtonGroup id="status"/>
         <mx:RadioButton x="133" y="404" label="Married" groupName="status" id="Married"/>
         <mx:RadioButton x="207" y="404" label="Single" groupName="status" id="Single"/>
         <mx:RadioButton x="274" y="404" label="Widow" groupName="status" id="Widow"/>
         <mx:RadioButton x="342" y="404" label="Widower" groupName="status" id="Widower"/>
         <mx:HTTPService id="sample1" method="POST" url="http://localhost/frontPage-debug/add.php">
              <mx:request xmlns="">
                   <dateToday>
                        {dateToday.text}
                   </dateToday>
                   <district>
                        {district.text}
                   </district>
                   <nameLocalChurch>
                        {nameLocalChurch.text}
                   </nameLocalChurch>
                   <addressLocalChurch>
                        {addressLocalChurch.text}
                   </addressLocalChurch>
                   <givenName>
                        {givenName.text}
                   </givenName>
                   <posInChurch>
                   {posInChurch.text}
                   </posInChurch>
                   <professionTitle>
                   {professionTitle.text}
                   </professionTitle>
                   <work>
                        {work.text}
                   </work>
                   <giftSkill>
                        {giftSkill.text} <!--THIS IS WHERE THE ERROR HAPPENS-->
                   </giftSkill>
                   <homeAddress>
                        {homeAddress.text}
                   </homeAddress>
                   <status>
                        {status.text} <!--THIS IS WHERE THE ERROR HAPPENS-->
                   </status>
                   <dateOfMarriage>
                        {dateOfMarriage.text}
                   </dateOfMarriage>
                   <cell>
                        {cell.text}
                   </cell>
                   <bloodType>
                        {bloodType.text}
                   </bloodType>
                   <sss>
                        {sss.text}
                   </sss>
                   <weight>
                        {weight.text}
                   </weight>
                   <birthday>
                        {birthday.text}
                   </birthday>
                   <tin>
                        {tin.text}
                   </tin>
                   <dateOfBaptism>
                        {dateOfBaptism.text}
                   </dateOfBaptism>
                   <annualIncome>
                        {annualIncome.text}          
                   </annualIncome>
                   <EName>
                        {EName.text}
                   </EName>
                   <EAddress>
                        {EAddress.text}
                   </EAddress>
              </mx:request>     
         </mx:HTTPService>     
    </mx:Application>
    This is are the errors
    1119: Access of possibly undefined property text through a reference with static type mx.controls:RadioButtonGroup.  
    1120: Access of undefined property annualIncome.

    Hi,
    instead of
    {status.text}
    should be {status.selection.label} (status.selection is a RadioButton or null and after that you can get label property). It's better to set one of the variants in radioButtonGroup to selected and do not check null selection or selectedValue property.
    It seems that {giftSkill.text} is ok, but {work.text} above it has the same problem as I've described above.

  • Regading radiobuttons

    hai guys,
                   if i want two blocks in selection-screen and in 1st block i need two radio buttons and in 2nd block one radio button.then if i take different radio button groups it is giving syntax error as 2nd radio button group has only one parameter.can anybody give solution for this.of course if i take only one radio button group then it is giving syntax error as alresdy 1st block has delared with the radio buttons.
    if u want plz check my code also.
    SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME.
    SELECTION-SCREEN BEGIN OF BLOCK blk3 WITH FRAME TITLE text-006.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 1.
    PARAMETERS: p_rad1 TYPE c RADIOBUTTON GROUP grp1 USER-COMMAND urad.
    SELECTION-SCREEN COMMENT 5(15) text-008 FOR FIELD p_lofile.
    SELECTION-SCREEN POSITION 15.
    PARAMETERS: p_lofile LIKE filename-fileintern.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 1.
    PARAMETERS: p_rad2 TYPE c RADIOBUTTON GROUP grp1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(15) text-009 FOR FIELD p_infile.
    SELECTION-SCREEN POSITION 15.
    PARAMETERS      : p_infile  LIKE rlgrap-filename default
    'ZS_SESAM_SEND_EDI'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK blk3.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK blk4 WITH FRAME TITLE text-007.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 1.
    PARAMETERS: p_rad3 type c RADIOBUTTON GROUP grp1 default 'X'.
    SELECTION-SCREEN COMMENT 5(15) text-011 FOR FIELD p_lfile.
    SELECTION-SCREEN POSITION 15.
    PARAMETERS      : p_pfile   LIKE rlgrap-filename.
    PARAMETERS: p_lfile   LIKE filename-fileintern.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK blk4.
    SELECTION-SCREEN END OF BLOCK blk2.

    >
    Srinivas Gurram Reddy wrote:
    > declare 2 radio buttons in the second radio button group also
    > and disable one radio button ...
    >
    >
    >
    > at selection-screen output.
    >
    > loop at screen.
    >
    >   if screen-name = 'P_RAD4'.  <-- disable a radio button
    >     screen-active = 0.
    >   endif.
    >
    > modify screen.
    > endloop.
    What's the point in that though?!  You still end up with a radio-button that does nothing...
    To the OP, I'm guessing you want to allow the user to switch processing between the options in the first box and those in the second box.  In that case, why not put two radio-buttons outside of the boxes and control them with that.  So you have a radio-button that selects blk3 and another that selects blk4 and inside blk3 you have your two existing radio buttons and insde blk4 you won't need any radio buttons.
    Gareth.

Maybe you are looking for

  • ITunes 10.1.1 moving files to wrong location and then losing connection.

    This morning I tried to play one of my albums and it told me it wasn't able to locate the files (on my external disk) so I located them manually and for some reason it has created a new iTunes folder in the root of my HDD (even though the iTunes pref

  • Android Kitkat 4.4.2 Update Kills Visual Voicemail

    I updated my Note 3 to KitKat 4.4.2 using Kies3 software.  It works great, but visual voice mail is now DOA & impossible to use!  This has GOT TO BE FIXED!  I see that a few others are having the same problem.  I called Verizon tech Support about it

  • IMac Calendar wont sync, iPad and iPhone do

    Recent update to Mountain Lyon and iTunes, iPad, and iPhone all up to date. iPhone and iPad Calendars sync to each other, but iMac Calendar will not sync. I am using just Apples Calendar and iTunes for syncing. Help. Tried checking syncing only Calen

  • Migration of open QM stability study data to SAP

    Hi experts, We are planning to implement SAP QM stability module, we have some stability studies in our legacy sysem that are open, meaning some time points in the study have been completed in the past, but some open time points in future. Is there a

  • BR*Tools Studio assistance / feedback

    Hello All, Those of you who are trying out / playing with the new SAP DBA tool (BR*Tools Studio), please place your experience in the forum. I have installed BR*Tools Studio on a development instance in a dedicated server mode and trying to get hang