Simple query reg radio button

Hii All
In my report i am creating two radio buttons normally when we create radio buttion text comes first then radio button comes
But i want first radio button comes then corresponding text to my radio button appears
Helpful Answers will be rewarded
regards
Hitesh

Hi
see this selection screen design
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 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****************
double click that text elements and write what ever you want and activate it
thats all

Similar Messages

  • Reg:Radio button in ABAP Query

    Hi ABAPers ,
    I created radiobuttons in SQ02 there i have to write the coding for it ... what type of coding we have to write
    ALV coding wll work out or what type of coding we have to write can you guys plz suggest me
    Help me out from this problem i am not familiar with ABAP Query
    Regards,
    Y Ravichandra.

    Hi Ravichandra,
       You have to use at selection-screen output event for this purpose here is a sample code try it and you will get the logic.
    PARAMETERS :
       p_flight RADIOBUTTON GROUP r1 ,
       p_book RADIOBUTTON GROUP r1 .
    PARAMETERS :
      w_temp1 RADIOBUTTON GROUP r2 MODIF ID sc1 ,
      w_temp2 RADIOBUTTON GROUP r2 MODIF ID sc1 .
    SELECT-OPTIONS s_carrid FOR sflight-carrid MODIF ID sc1 .
                                           " Airline Code
    PARAMETERS :
    w_temp01 RADIOBUTTON GROUP r3 MODIF ID sc2 ,
    w_temp02 RADIOBUTTON GROUP r3 MODIF ID sc2 .
    SELECT-OPTIONS s_bookid FOR sbook-bookid MODIF ID sc2 .
                                           " Airline Code
    *                       AT SELECTION-SCREEN OUTPUT                    *
    AT SELECTION-SCREEN OUTPUT .
      IF p_flight = 'X'  .
        fl_flag = 1 .
        LOOP AT SCREEN.
          IF screen-group1 = 'SC2'.
            screen-active = 0 .
            MODIFY SCREEN .
          ENDIF.                           " IF SCREEN-GROUP1 = 'SC2'
        ENDLOOP.                           " LOOP AT SCREEN
      ELSEIF p_book = 'X' .
        fl_flag = 2 .
        LOOP AT SCREEN.
          IF screen-group1 = 'SC1'.
            screen-active = 0 .
            MODIFY SCREEN .
          ENDIF.                           " IF SCREEN-GROUP1 = 'SC1'
        ENDLOOP.                           " LOOP AT SCREEN
      ENDIF .                                " IF P_FLIGHT = 'X' .
    Here in this case, There are 2 radio buttons and 2 select options. On clicking the first radio button one of the select option is hidden. If you you just have a single radio button then you can avoid using at selection-screen output and just write your code start-of-selection.
    Much Regards,
    Amuktha

  • Query on radio button

    Hi All,
    For radio buttons in a group , I know by default one radio button will be selected always. If I give Default option for radio button with value "X" then that will be selected in selection screen.
    Now my query  : "Is there any way to have both/all radio buttons unselected when the program is executed and let user choose one of the radio buttons on selection screen and carry ahead the exection" ?
    Please confirm even if this cannot be done , as I just want to be sure whether this can be done or not in ABAP.
    Thanks for your help.
    Regards,
    Jalpa

    Hi,
    Its not possible to have without default selection of radio button group in ABAP.
    But we can achieve this one through screen design within that screen  design properties we can keep  input  check boxes  unselected.
    for that in screen layout take three radio buttons then go to  elementary list>general attribute>input check box unselect
    Result is disable radio buttons but all are unselected.
    Hence as per my knowledge which your being expected not possible in ABAP.
    Regards
    Sreenivas

  • Reg Radio Buttons configured as a group

    Hi,
    I have 5 search regions and 5 radio buttons on a page.I have configured 5 radio buttons as a group.I have done a PPR on radio buttons whereby based on the radio button clicked the corresponding Search region(OAF Query region) is rendered on the page.So when a radio button is clicked, it shows a query region with a "Go" and "Clear" button.
    1."Go" button is working fine for all query regions but "Clear" is working only for the query region rendered by the last radio button,... that is which ever radio button is last on the page....it alone clears the data on the search fields.(irrespective of query region it is clearing all the search criteria's).For the rest of the radio buttons when "Clear" is clicked it does not clear the search fields.
    2.Each Query region is based on a different View object and the VO's are read only.
    The code written for configuring all the radio buttons as a group is:
    (Here..Customer,Item,Arrow,registration,supplier are the five radio buttons)
    OAMessageRadioButtonBean customerButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("CustomerRB");
    customerButton.setName("SearchRG");
    customerButton.setValue("Customer");
    OAMessageRadioButtonBean partButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("PartRB");
    partButton.setName("SearchRG");
    partButton.setValue("Item");
    OAMessageRadioButtonBean arrowButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("ArwUniqueNumRB");
    arrowButton.setName("SearchRG");
    arrowButton.setValue("Arrow");
    OAMessageRadioButtonBean regButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("RegNumRB");
    regButton.setName("SearchRG");
    regButton.setValue("Registration");
    OAMessageRadioButtonBean manfButton = (OAMessageRadioButtonBean)webBean.findChildRecursive("ManufacturerRB");
    manfButton.setName("SearchRG");
    manfButton.setValue("Supplier");
    Thanks,
    Swarna

    Thanks for the reply...I have checked in Dev guide.It is given that...for multiple query regions with auto customization mode I have to
    1.Set the Add Indexed Children property of the container for the query bean to false.---But query bean does not have Add Indexed Children attribute..where to set this?
    2.Call the oracle.apps.fnd.framework.webui.OAQueryUtils createSecondaryQueryBean API---I tried doing this....by...
    OAQueryBean custQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("CustQueryRN");
    OAQueryBean itemQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("ItemQueryRN");
    OAQueryBean arwQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("ArwUnqNumQueryRN");
    OAQueryBean suppQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("SupplierQueryRN");
    OAQueryBean regQueryBean = (OAQueryBean)webBean.findIndexedChildRecursive("RegNumQueryRN");
    OAHeaderBean hdrBean = (OAHeaderBean)webBean.findIndexedChildRecursive("SimpleSearchHdrRN");
    Now I am supposed to call the API which I am not able to:
    I have tried writing it as below but it hasnt worked.....
    hdrBean.createSecondaryQueryBean(pageContext,webBean,itemQueryBean,"1");
    I am supposed to call this API for all my radio butons apart from the first:
    createSecondaryQueryBean(pageContext,webBean,itemQueryBean,"1");
    createSecondaryQueryBean(pageContext,webBean,arwQueryBean,"2");
    createSecondaryQueryBean(pageContext,webBean,suppQueryBean,"3");
    createSecondaryQueryBean(pageContext,webBean,regQueryBean,"4");
    How do I proceed?

  • Reg: Radio Buttons urgent

    HI all
    How to add radio buttions in  prgogramm. how to initialize in the programm and where can i give selecton parameters in the programm plz send me detailed steps
    regards
    JK Rao

    hi,
    i am sending u a simple ex prog which is close to ur req,go thru it.
    i have 2 radio buttons and 2 parameters on the selection screen.
    if 1st radio button is selected,display material number
    that is eneted by the user for the parameter p_matnr,
    if 2nd ine is selected display  plant.
    displaying part you can wirte accordingly,
    <b>selection-screen begin of block b1 with frame.
    parameters:r1 radiobutton group GP1,
               r2 radiobutton group gp1.
    selection-screen end of block b1.</b>
    <b>selection-screen begin of block b2 with frame.
    parameters:p_matnr type mara-matnr,
    p_werks type mard-werks.
    selection-screen end of block b2.</b>
    data:v_matnr type mara-matnr,
    v_werks type mard-werks.
    start-of-selection.
    <b>if r1 = 'X'.</b>
    select matnr from mara into v_matnr
    where matnr = p_matnr.
    write:/ v_matnr.
    endselect.
    else.
    select werks from mard into v_werks
    where werks = p_werks.
    write:/ v_werks.
    endselect.
    endif.
    *do award points for all helpful answers
    regards

  • Query regarding Radio Button

    Hi Guys,
                   In my selection screen I am giving 2 radio buttons.
    My requirement is I need a sy-date field beside one radio button.
    Is there any way to do this.
    Thanks in Advance,
    Prasad.

    Hi..use this code:
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETER : ra_1 RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND abc,
                ra_2 RADIOBUTTON GROUP g1.
    SELECTION-SCREEN COMMENT 7(10) display.
    *SELECTION-SCREEN COMMENT 7(10) display MODIF ID def.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
      IF ra_1 = 'X'.
        display = sy-datum.  " you can modify the format of the date
      ELSE.
        display = sy-datum.
      ENDIF.
      MODIFY SCREEN.

  • Query regarding radio buttons

    Suppose i have created a 2 radio buttons say A1, A2. If i click A1 radio button One table which i have created should open, Similarly when i click A2 radio button Another table should Display...an u plz give code for that??

    Hi
    What do you mean by table to be displayed? You mean the data from that table to be displayed in the report output.
    first fetch the data of two tables into two internal tables ITAB1 and ITAB2
    now write the code as
    if v_r1 = 'X'.  (first radiobutton is selected)
    write: ITAB1 fields
    else.
    Write ITAB2 fields
    endif.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Reg: radio button and parameters usage

    Hi,
       If there are 3 radio buttons and 1 parameter, and if i click one radio button then the parameter must be a mandatory, if i click the remaining radio button the parameter must be a normal one( Not mandatory).
    give me clear picture to solve it, as soon as possible,
    thanks in advance

    Hi,
    Wanna try this...??
    PARAMETERS: p_exp RADIOBUTTON GROUP radi,
                p_imp RADIOBUTTON GROUP radi,
                p_clear RADIOBUTTON GROUP radi.
    PARAMETERS: path(30)    TYPE c .
    at selection-screen.
                if p_exp = 'X'.
                 if path is initial.
                  message 'Enter clear' type 'E'.
                endif.
                endif.
    Solves ur problem!!
    Have Fun!!
    Ira!!

  • Radio Button and Redirect

    Hi,
    I have a simple Yes/No radio button.
    When you user clicks on Yes, I would like to forward the user to one page.
    If the user clicks on No I would like the user to go to another page.
    Can this be done without a submit?
    Thanks in advance.
    VC

    Think you will have to resort to Javascript:
    <input type="radio" name="something" onClick="JavaScript:forwardTo('foo.html')">
    Where forwardTo is a function that you've created that does your forward.
    Regards
    Ben

  • NEED HELP IN RADIO BUTTON QUERY

    Hi, Friends
    I like to query to extract data from my table with the help of radio button but I am not able to think what I should write to query. Plz help.
    The radio button select jsp page code is-
    <form action="queryservice.jsp" method="post">
    <h3><strong>Services Available</strong></h3>
      <p>
        <label>
          <input type="radio" name="service" value="si"  />
          Institutions</label>
        <br />
        <label>
          <input type="radio" name="service" value="sc" />
          Corporate_Offices</label>
        <br />
        <label>
          <input type="radio" name="service" value="sr" />
          Restaurent_Cafe</label>
        <br />
        <label>
          <input type="radio" name="service" value="sb" />
          Bus_Stop</label>
        <br />
        <label>
          <input type="radio" name="service" value="sa" />
          Apartment</label>
        <br />
        <label>
          <input type="radio" name="service" value="sh" />
          Hotels</label>
        <br />
      </p>
      <label>
        <input type="submit" value="Submit" />
      </label>
    </form>And queryservice.jsp page is
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <sql:query var="xyz" scope="request">
       <% String var = request.getParameter("service"); %>
             if(var.equals("si")){ SELECT si FROM serviceTable}
          else if(var.equals("sc")){ SELECT sc FROM serviceTable}
          else if(var.equals("sr")){ SELECT sr FROM serviceTable}
          else if(var.equals("sb")){ SELECT sb FROM serviceTable}
          else if(var.equals("sa")){ SELECT sa FROM serviceTable}
          else if(var.equals("sh")){ SELECT sh FROM serviceTable}
    </sql:query>Please correct it.
    Thanking you

    Error Report-
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException:
           if(var.equals("si")){ SELECT si FROM serviceTable }
          else if(var.equals("sc")){ SELECT sc FROM serviceTable}
          else if(var.equals("sr")){ SELECT sr FROM serviceTable}
          else if(var.equals("sb")){ SELECT sb FROM serviceTable}
          else if(var.equals("sa")){ SELECT sa FROM serviceTable}
          else if(var.equals("sh")){ SELECT sh FROM serviceTable}
    : Non supported SQL92 token at position: 57: SELECT
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: javax.servlet.jsp.JspException:
           note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
    Apache Tomcat/6.0.14

  • 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

  • Selection Based on Radio buttons in SAP Query

    Hi All,
    I am new to SAP Query.
    I have added the radio buttons on the selection screen of my SAP query screen.
    Can anyone please tell me how to make the field selection in query based on the status of these radio buttons.
    Thanks And Regards,
    Rupesh

    HI
    you have to do this using modif id. here is a sample program to do this
    PARAMETERS show_all radiobutton  group g1 USER-COMMAND flag.
    PARAMETERS no_show radiobutton  group g1 default 'X'.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p1(10) TYPE c,
                p2(10) TYPE c,
                p3(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS: p4(10) TYPE c modif id bl2,
                p5(10) TYPE c modif id bl2,
                p6(10) TYPE c MODIF ID bl2.
      SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF show_all <> 'X' AND
           screen-group1 = 'BL2'.
           screen-active = '0'.
        ENDIF.
        MODIFY SCREEN.
    endloop.
    reward if helpful
    Message was edited by: Harikishore Sreenivasulu

  • Radio-buttons in ABAP Query

    Hi,
    Can you please let me know how to add the radio button in the selection criteria of the ABAP/4 Query.
    InfoSet is developed by joining two tables. It does not include any LDB.
    Requirement:
    Based on the Radio button value given in the selection-screen, I need to filter the records.
    For this, I need to add the radio-button on the selection-screen of the report.
    Please let me know how to add the radio button on the selection-criteria of the report.
    and also let me know is there any possibility to change the InfoSet attached to the query.
    Thanks,
    Madhuri.

    HI
        YOU CAN USE THE FOLLOWING SEGMENT OF CODE TO HAVE RADIO BUTTONS IN THE SELECTION SCREEEN..
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
      PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',
                  R2 RADIOBUTTON GROUP RAD1,
                  R3 RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
      IF R1 = 'X'.
        <b>SELECTION CRITERIA</b>
      ENDIF.
    FOR MORE DOCUMENTATION PLEASE REFER THE LINKS
    1 <a href="http://72.14.203.104/search?q=cache:M-DVSgwQ-pYJ:www.geocities.com/siliconvalley/campus/6345/paramete.htmRADIOBUTTONINSELECTIONSCREENIN+ABAP&hl=en&gl=in&ct=clnk&cd=6">PARAMETERS</a>
    2 <a href="http://72.14.203.104/search?q=cache:GVSXomykKsYJ:cma.zdnet.com/book/abap/ch21/ch21.htmRADIOBUTTONINSELECTIONSCREENIN+ABAP&hl=en&gl=in&ct=clnk&cd=7">SELECTION SCREENS</a>
    IF THESE ARE USEFUL PLEASE REWARD POINTS
    REGARDS,
    ANOOP

  • Check Box or  Drow Radio Button on Bex Query

    Hi Experts,
    Does anyone know to how to put a "Check Box" or  "Drow Radio Button" variable on query selection screen?
    The user want to switch the order data between open and completed on a same report by a check box / radio button.
    Thnaks

    Hi Linkzhou,
    Why don't you directly use a var on Actual Delivery Date & include/exclude on # cases to report open/closed shipments.
    Alternatively, You can achieve the same without making changes to backend, if you are ok with using WAD. In WAD 7, you can use a DropDown webitem instead of a RadioButton/Checkbox webitem since you cannot assign a Command on selection from a RadioButton/Checkbox webitem. Also, you would need to design the same in a web template since this will not be made available on your query selection screen.
    In the DropDown webitem, use Data Binding Type -> 'Fixed List of Options' , here you can configure
    Open -> under Action use Command 'SET_SELECTION_STATE_SIMPLE', choose your Actual Delivery Date char, Sign -> INCLUDING, Operator -> Equals, Equals -> Member Name, Member Name -> Direct Input -> # [Not Assigned]
    Closed -> under Action use Command 'SET_SELECTION_STATE_SIMPLE', choose your Actual Delivery Date char, Sign -> EXCLUDING, Operator -> Equals, Equals -> Member Name, Member Name -> Direct Input -> # [Not Assigned]
    Now when the user selects Open option from the DropDown webitem, the data provider query will be filtered for open shipments & vice versa for Closed option.
    --Priya

  • Missing output format radio button in SAP Query

    Hi SAP Gurus
    We have SAP Query which as created in 4,6c. After the upgrade to ECC 6.0 We found that the output format radio button is mising in SAP Query. We are unable to choose teh output format. How can we have the radio button back?
    Appreciate yr help
    Rgds..Sanjay

    Dear Sanjay
    Refer OSS Notes 723577 and 132813, may be this notes helpfull.

Maybe you are looking for

  • If then else in SQL

    I've the following query : SELECT       cdv.location_id,        cdv.address1,        cdv.address2,        SUM(aps.amount_due_remaining) TOTAL_BALANCE,        SUM(DECODE(SIGN(TO_DATE(due_date,'DD-MON-RRRR')-TO_DATE(SYSDATE,'DD-MON-RRRR')),1,aps.amount

  • Safari Won't Open Apple Store's Web Site

    I tried to go to Apple Store using Safari and wasn't able to get the page to load. I'd get the spinning beach ball every time. I disabled all plugins, input managers, turned off RSS support, tossed the Safari preferences, emptied the cache and cookie

  • Credit Memo all my material items to be directly posted to Balance Sheet account

    Hi Experts My client has a  scenario where for certain items they create a credit memo request document and finally a credit memo document from the VKOA system is picking the revenue bearing GL and posting all the line items to that G/L account Manua

  • How to install Kannada (Indian language) font on to Photoshop cc?

    I am unable to type a text in Kannada (Indian) language in Photoshop CC. Need help.

  • Delete contacts in mass?! No brainer.

    Can somebody explain how to delete contacts in mass? As far as I know it is not a capability on the iPhone. Apple- please make it happen. With the crossover duplications from social media applications this feature is a must have.