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...

Similar Messages

  • How to handle radio-buttons in FB05  bdc????

    How to change Additional selections radio-button from none to Document numbers in CALL TRANSACTION BACKGROUND MODE..............................................
    Edited by: Raghavender Poosarla on Apr 8, 2008 10:32 AM

    I have BDC requirement of FB05 transaction... I am stuck at one point where this recordin is working in Foreground mode and not in Backgroung mode...The reason being there is a bit in which I am selecting a readio-button from value 'NONE' to 'Document numbers' WHICH IS HAPPENING IN FOREGROUND AND NOT IN BACKGROUND ....Can any one tell is there any special way for handling radio-buttons in recording of an transaction???

  • How to handle radio buttons

    hi.
    i put 3 radio buttons in my scene and i wan't to handle the state of this buttons in an other component "graph"
    so i create group of buttons
    var group = SwingToggleGroup{
    var choiceText = ["Cercle","Square" ,"Rectangle"];
    var formchoices = for (text in choiceText)
        SwingRadioButton{
            text: text
            foreground: Color.GRAY
            font: Font{
                name: "Tahoma"
                size: 15
            toggleGroup: group
        }//SwingRadioButtonand after i passed values to my graph component :
    var graph: Graph = Graph{
    cercleForm : bind formchoices[1].focused
    squareForm : bind formchoices[2].focused
    rectangleForm  : bind formchoices[3].focused
    };but that's not working !!
    thx

    hi
    yes that's it ! i have to use the selected attribute and not focused. it's fine now :)
    But i am asking the question : must i pass the parameters for each component ?
    is it possible to      access to one component in the Scene from an other directly ?
    ( in flash it's possible with "root")
    thx
    ilyes

  • 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,
    srinivas

    hi
    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>

  • How to define RADIO BUTTONS in MODULE POOL PROG.?

    Hi Experts,
    I need to keep the RADIO BUTTONS in 1000_screen of my_module_pool prog., like,
    I hv 2 fields in this screen, as expected, the first shuld hv DEFAULT selection.
    So, I just simply, dragged & dropped 2 radio buttons from left menu of the screen builder & given them the  names as
    R_SUMMARY
    R_DETAIL
    Then i executed the transaction, but, these above 2 fields are getting selected, as default??
    I know that, if its a REPORT prog. we can define as w/ a GROUP, then the 1st one is hv the default selection.
    so,
    1  - How to define RADIO BUTTONS in this screen of a module pool prog.
    2 - How to use these names in the prog.(PAI - i guess)?
    thanq
    Edited by: Srinivas on Jul 12, 2008 11:59 PM

    Hi Srinivas,
    Please check this link
    Re: urgent:Regd radio buttons in module pool
    http://saplab.blogspot.com/2007/10/sample-abap-program-for-module-pool_18.html
    http://****************/Tutorials/ABAP/Checkbox/page1.htm
    http://****************/Tutorials/ABAP/Checkbox/page2.htm
    Best regards,
    raam

  • How to create radio button in reports

    Hi Friends,
    Can any body please tell how to create radio button in reports.
    Thanks,
    Nagendra

    Hi Nagendra,
        But why do u need a single radio button, any specific reason...
      try this
    REPORT  ZCHA1.
    PARAMETERS : P_RAD1 RADIOBUTTON GROUP RAD,
                 P_RAD2 RADIOBUTTON GROUP RAD.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-NAME = 'P_RAD2'.
          SCREEN-INVISIBLE = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.

  • How to handle Back button, Browser Refresh problem at server side.

    Hi Friends,
    How to handle Back button, Browser Refresh problem at server side in java?.
    I am able to trace that,
    request.getHeader("ACCEPT") is returning value- */*
    when the browser was refreshed and returning different MIME types
    for all other actions from browser.
    I have doubt, will the above solution works always for all servers,browsers?.
    Please also specify any solution to handle back button at server side?.
    Thanks in Advance.
    Venkat..

    I'm sorry I don't think tht's the right solution for
    the above question....
    We must be aware that whatever scripting methdologies
    we either javascript/vbscript would executed @
    client(browser) side not @ server side....
    Dud If U get a good solution keep me updated.....
    THANKS & REGARDS,
    RAHULMy dear friend ...
    the bad news is that u simply cant disable or add any listener to the back button of the browser.
    When u hit the back button of ur browser the URL gets re-executed. So in case u have a JSP then the history.forward() is the best solution. [only if the page doesnt get expired similar to secure https sites]
    Now dont say that user can have javascript disabled ...those users will have a pretty touch time browsing websites since javascripts r used extensively by almost all websites.
    But in case u have an action.do or servlet call then u need to manage it using a session variable since the request will be sent to the server rather than client.
    For multiple form submittion issues read the following article in javaworld...
    Client vs. server solutions
    Different solutions can solve this multiple form submission situation. Some transactional sites simply warn the user to wait for a response after submitting and not to submit twice. More sophisticated solutions involve either client scripting or server programming.
    In the client-only strategy, a flag is set on the first submission, and, from then on, the submit button is disabled based on this flag. While appropriate in some situations, this strategy is more or less browser dependent and not as dependable as server solutions.
    For a server-based solution, the Synchronizer Token pattern (from Core J2EE Patterns) can be applied, which requires minimal contribution from the client side. The basic idea is to set a token in a session variable before returning a transactional page to the client. This page carries the token inside a hidden field. Upon submission, request processing first tests for the presence of a valid token in the request parameter by comparing it with the one registered in the session. If the token is valid, processing can continue normally, otherwise an alternate course of action is taken. After testing, the token resets to null to prevent subsequent submissions until a new token is saved in the session, which must be done at the appropriate time based on the desired application flow of control.
    for more details refer :
    http://www.javaworld.com/javaworld/javatips/jw-javatip136.html
    Hope u got the idea.
    FYI I have been using both these ideas in my credit card payment gateway project. This concept has worked really well.

  • 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 ?
    thks

    You 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 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,

  • Event to handle radio button changed in a dynpro

    Hi Everyone,
    how can i handle if a radio button changes in a dynpro?
    I want to disable other buttons if a radio button is selected
    Thanks

    Hi ,
    you can do that..
    first group the radio buttons in the screen and assign function group for each radio button by double clicking ..
    and write the logic enable and disable fields in the screen in PBO
    regards,
    Prabhudas

  • 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

  • How to handle Back button in IA06 BDC

    Hi all,
    I am calling IA06 inspection screen for an task list operation using BDC from my custom program. on this screen user can change the SAP data. if I save the task list then it's working fine.
    But I have one issue how to control back button, when user make any changes on this screen and click on back button because it calls all the previous screens which i skipped using BDC.
    Or for this particular functionality there is any Function module same as for Characterstics as "CLFM_OBJECT_CLASSIFICATION"
    Please advice.
    Thanks,
    Sanket Sethi

    Hi all,
    Please suggest if there is any function module/ API  to call Task list characteristic screen directly; same as for Task list classification screen using Function module CLAF_CLASSIFICATION_OF_OBJECTS.
    Thanks,
    Sanket Sethi

  • How to use Radio Buttons in SAP BI 7 for a set of three fields?

    Dear SAP Gurus,
    We are using SAP BI 7. We need to use Radio button to select one field name (out of a set of three fields) which
    appeared on selection screen.
    The scenario is; we have three fields
    1) Field Name A
    2) Field Name B
    3) Field Name C
    Now, we need to select one field(using Radio button) from the above and later the report related to the above
    selected field should be displayed.
    The three reports will be as follows:
    1) Report A
    2) Report B
    3) Report C
    if Field Name A  is selected then Report A  will be displayed,
    if Field Name B  is selected then Report B  will be displayed and
    if Field Name C  is selected then Report C  will be displayed.
    To display the report we have two cases;
    1) There will be a common selection screen and all the three reports will come in single workbook but in seperate worksheet.
    2) There will be a common selection screen and all the three reports will come in same worksheet, one after the other.
    Is it possible to create the report in this manner, if yes, please suggest the steps.
    Regards,
    DV.

    I think you would just use commands to do the following:
    1. Hide report Analysis Item 2 and Analysis Item 3 if the 1st button was pushed.
    2. Hide report Analysis Item 1 and Analysis Item 3 if the 2nd button was pushed.
    3. Hide report Analysis Item 1 and Analysis Item 2 if the 3rd button was pushed.
    Hope that helps...

  • How to use Radio buttons in WAD to select different condition in a query

    Hi Guru,
    I am new to WAD, I want to use radio buttons in selection screen of query for different selections based on selection criteria. I am aware of executing different queries using different radio buttons. but i want to use single queries for different radio button selections.
    I have found some relevant topic to it but not got exact solution. Please guide me.

    Hi Avinash,
    Drag a DropDown webitem into your template. Under DropDown webitem properties, Data Binding -> Fixed List of Options.
    Fixed Option -> Action -> Command via Command Wizard, Command -> Commands for Data Providers -> Data Provider Commands for Filter Values -> SET_SELECTION_STATE_SIMPLE. Data Provider Affected -> choose the main DP Query here. Characteristic -> choose Employee Group characteristic here as present in your DP Query. Sign -> INCLUDING, Operator -> EQUAL_SELECTION, Equals -> MEMBER_NAME, Member Name -> specify the value here i.e. Employee1 etc.
    Repeat above Fixed Option step for Employee2, Employee3 etc. selections. For 'All' option choose Command CLEAR_SELECTION_STATE with Data Provider Affected as the main DP Query & Characteristic as Employee Group.
    --Priya

  • How to have radio button in search help ?

    Hi,
    I have a requirement in which on pressing F4 the user will input value of a document number on displayed search help screen. I need to provide two radio buttons there based on selection of which i will determine the values in my search help exit.
    To clarify more, i am in CRM system and user runs a transaction crmd_order but he doesn't know the contract document number to open. He knows a sales document reference number so he presses for F4 help where he can input the sales document reference number to get available contracts. Now when he/she enters the dsles document number they need to choose which kind of contract should be displayed ( Two kind of contracts : proposal and schedule ). Based on user input i will search in help exit and display the output.
    Any help would be appreciated.
    Regards
    Apoora

    Hi Apoorva,
    i think you can write below code just to show the Pop-up for details.
    this you can write on POV or at selection screen-output.. when ever the user changes the Radio button the logic will be triggered and pop-up is triggered..
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title               = 'Batch Number Selection'           "Pou-up Heading..
          i_selection           = 'X'
          i_screen_start_column = 5
          i_screen_start_line   = 5
          i_screen_end_column   = 50
          i_screen_end_line     = 20
          i_tabname             = 'T_BATCH'                  "Internal Tbale
          it_fieldcat           = gt_fieldcat_drd[]
        IMPORTING
          es_selfield           = gc_selfield
        TABLES
          t_outtab              = t_batch                       "Internal Tables with Valuess
        EXCEPTIONS
          program_error         = 1
          OTHERS                = 2.
      IF sy-subrc <> 0.
      ENDIF.
    regards,
    Prabhudas

Maybe you are looking for

  • How do I split one Apple account into two accounts?

    I have 2 iphones using one Apple ID.  The apps are completely different on the 2 phones (wife's stuff, my stuff).  I would like to split them into two Apple ID's so I can keep them completely separate.  Any ideas?

  • "Entry sheet does not exist message no. SE012"

    Dear all, One SES is created and saved. Now if i check system message as below. "Entry sheet does not exist message no. SE012" Please advice

  • ATI bios editor

    There are sometimes questions about different vga bios-es and bios mods etc. Been scourging the net and came up with this: http://www.techpowerup.com/downloads/1648/TechPowerUp_Radeon_Bios_Editor_v1.22.html This is for all the ATi fans out there an w

  • Plug in pour face avant déportée. ou les trouver?

    under netscape 7.0 /linux, when I connect to the labview web server, I need a "plug in" but the web page of ni asks a number (infocode) to continue. what is the good number?

  • ID account & user

    How can we affiliate an existing Adobe ID as a user to a new DPS account?