Displaying radio button on report output

hi folks,
         how to display radiobuttons on the report output.
       thanks,
       santosh.

Declare parameter as RADIOBUTTON
like
Single radio button
PARAMETER p_purch RADIOBUTTON.
Two radio button with same group.
PARAMETER p_sales RADIOBUTTON GROUP opt.
PARAMETER p_purch RADIOBUTTON GROUP opt.
Regards,
Mahesh
Edited by: Mahesh Guragol on Jan 23, 2008 4:12 PM

Similar Messages

  • ADDING RADIO BUTTONS IN REPORT NEAR MISS (EHSM-NWBC)

    Hi Experts,
    I am new to this EHSM Enhancements , I have a requirement to add 3 radio buttons in Report Near Miss ( EHSM-NWBC ), I am not understanding this BOPF firm Enhancement .So please provided me the required information .
    Thanks & Regards.
    Bhushan K.   

    Hi Bhushan,
    If you want to add 3 radio buttons, then first of all you have to append one field in EHHSSS_INC_BASIC_INFO_ALL_D structure with Fixed Domain values.
    Then you need to enhance EHHSS_INC_REC_NRM_QAF_V3_BSCI component Configuration.
    In that Configuration you need to add field with display type Radio Button Group, with column count 3.
    Kindly refer the following snap for the same.
    Thanks and regards,
    Chetan P. Patil

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

  • FM to display Selection screen on report output??

    Hi Experts,
    Is there an FM to display Selection screen on report output.
    Thanks In Advance.

    Hi Ashwin,
    Refer to below link
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/755b94ca5911d299af5c9604c10e27/content.htm
    or
    The easiest way is to define your selection screen in the TOP include of your module pool.
    Then call the selection screen.
    Selection Screen
    selection-screen begin of screen 1010 as window title text-001.
    selection-screen begin of block b1 with frame title text-002.
    parameters: p_vornr type resb-vornr,
    p_refno(20) type c,
    p_plnid type zplcfg-plnid as listbox visible length 20,
    p_sorts type c as listbox visible length 20.
    selection-screen begin of line.
    selection-screen comment (20) text-004.
    selection-screen position 33.
    parameters: p_order as checkbox default 'X'.
    selection-screen end of line.
    selection-screen end of block b1.
    selection-screen end of screen 1010.
    Now call the selection screen.
    call selection-screen 1010.
    if sy-subrc = 0.
    perform get_production_orders.
    perform process_orders.
    endif.
    Thanks!!

  • How to display Radio buttons with default selection on

    Hi
    I want to display Radio buttons using jsf
    i have done it using
    <h:dataTable id="apartmentList" value="#{userBean.allApartmentList}"
                   var="apartments">
                   <h:column>
                        <h:selectOneRadio id="selectedApartment" onclick="javascript:setSelectedApartment(this);">
                             <f:selectItem itemValue="#{apartments.apartmentVO.apartmentId}" />
                        </h:selectOneRadio>
                   </h:column>
    inside a data table
    now when i click some page i want to display the radio's with default radio button selected
    also when i select one radio button and click on some command button
    eg:<h:commandButton action="#{userBean.setSelectedApartment}"
    the Radio button's Selection should not disappear
    i have written a javaScript
    function setSelectedApartment(oRadio)
              oForm = oRadio.form;
              elems=oForm.elements;          
              for(iIndex=0;iIndex<elems.length;iIndex++)
                   if(elems[iIndex].type == 'radio')
                        if(elems[iIndex].name != oRadio.name)
                             elems[iIndex].checked=false;
              document.getElementById("apartmentListForm:selectedApartmentId").value=oRadio.value;
    To check which Raio button is Selected
    How do i show the Default Selected button and How the selection should not disappear
    Can any one suggest me links or the solution to this problem
    Thank you
    Geetanjalee

    -set the value binding expression of select items to a request scope bean
    - on the page load event() ,do
    setdefaultval("ur default value")
    so each time on the page load it sets the default value. and you can get selected value by getdefaultval()
    --raju                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Radio Buttons + Required Input/Output Fields in Dialog Programming

    Hi All,
    Please find the below issue.
    I have 2 Radio buttons
    RB1 and RB2 defined in group RG.
    And by default RB1 is selected.
    I also have 3 Input.Output Fields.
    F1 , F2  & F3.
    Now before displaying the Screen for the end user,
    I need to display as follows:
    A)   
    RB1 = X -
    > Selected.
    RB2  = Space -
    >Not Selected.
    F1 -
    > Visible.
    F2 & F3 -
    >Invisible.
    B)
    RB1 = space -
    > Not Selected.
    RB2  = X -
    >Selected.
    F1 -
    >Invisible.
    F2 -
    >Visible.
    F3 -
    >Visible.
    When i am debugging, the value of RB1 is not X though it is selected on the screen (by default due to Radio Button Group) & hence the below code is not working.
    *_PBO:_*
    LOOP AT SCREEN.
    IF RB1 = 'X' AND ( SCREEN-NAME = 'TXT2' OR SCREEN-NAME = 'TXT3' ).
             SCREEN-INVISIBLE = 1.
    ELSEIF RB1 = 'X' AND ( SCREEN-NAME = 'F2' OR SCREEN-NAME = 'F3 ).
             SCREEN-ACTIVE = 0.
    ENDIF.
    Modify Screen.
    ENDLOOP.
    But when i select RB2 = X on the screen.
    Value is getting populated .
    Waiting for your hints/ideas/suggestions
    Thanks
    Sri.

    Alright, you defined the radio buttons and grouped them. Did you also assign Fcode to the radio button group? if not already assigned the assign something to FctCode to the radio button. If you can double click on one and assign a name, this will automatically assign to other one. If you already did that... just ignore it.
    Next, by defualt, RB1 will not be having 'X' though it shows selected but you can always make it by just writing the following statement in PBO (If you dont want to mislead anybody)
    if RB1 = space and RB2 = space.
      RB1 = 'X'.
    endif.
    If you have already done that the next step would be.... Assign a screen group value to the fields F1, F2 and F3.
    for example, double click on the field F1, add GR1 in groups in first box and do the same for field text/label if any. Same way, assign GR2 to F2 and F3.
    Then add the following code in PBO. (Someone or you can write it better. This is just an example)
      LOOP AT SCREEN.
        if RB1 = 'X'.
           if screen-group1 = 'GR2'.
              screen-input = 0.
              screen-invisible = 1.
           endif.
        endif.
        if RB2 = 'X'.
           if screen-group1 = 'GR1'.
              screen-input = 0.
              screen-invisible = 1.
           endif.
        endif.
        MODIFY SCREEN.
      ENDLOOP.
    Good luck... It is working code.,

  • Radio button in report table

    Hi,
    I have a table with two columns: NAME and PRIMARY
    Only one name should be the Primary name (PRIMARY='Y') all the others are secondary (PRIMARY='N').
    I have created an updateable report on that table and it's working fine... except the PRIMARY field returns as text boxes so there's nothing (on the surface) to stop a user trying to set two names with PRIMARY=Y.
    A nice way around this would be to have that field display as a radio button where only one row in the report can have it selected.
    Is that possible and, if so, can you give me a pointer in the right direction to make it work?
    Thanks,
    Joseph

    Thanks (again) Andy.
    That looks like it's exactly what I'm after... but reading through the thread I see you've said that it can't be used with the standard mutli-row updates/deletes that I have in my report.
    Since this is my first App (throwing myself in at the deep end to try and learn it) I'm nowhere near confident enough to replace the standard functionality with my own (yet). Think I'll stick this in the list of features to come in version 2 and revisit this thread as soon as I understand it ;)
    Thanks again (again).
    Joseph

  • How do I make a Radio Button Widget Report to an LMS?

    Alright....still trying to solve my basic problem.....
    I can put in a radio button widget which looks great, but radio buttons do not report info to LMS.  THen I can use Ravvi's code style to set a variable based on which radio button was clicked and then take a specific action depending on the value.  The action I want is to send info to LMS.  How can I do this? 

    I may have, but I have run across many Survey forms that do exactly that.
    Some also have checkboxes as well and they are used for Check all that apply.
    For all I know they may be using JavaScript code for the buttons to react the way the do.
    I don't know if any of you are old enough to remember the old two button light switches. push one in and the others pop out. Push the other in and the first pops out.  That's the button action I see on many survey forms.
    I am not saying it correct. But if its not correct, how does one change their mind if the clicked the wrong choice?

  • Display Icon in write report output

    Hi,
    How do I display/write an icon to the screen?
    Thanks,
    John

    Hi,
    If you are looking to in the report output?
    INCLUDE <list>.
    WRITE icon_green_light AS ICON.
    aRs

  • Radio buttons in report programing

    Hello Experts,
    I have few requirement in my program
    In radio button group by default the first radio button is selected , i want none of the radio buttons should be selected.
    Please tell me any solution for that code snippet would be appreciated.
    Thanks in advance.

    Hi,
      For ur requirement I jus tried bthis below code n it works fine.
    PARAMETERS: radbut1 RADIOBUTTON GROUP rad1 DEFAULT 'X',
                radbut2 RADIOBUTTON GROUP rad1,
                radbut3 RADIOBUTTON GROUP rad1,
                radbut4 RADIOBUTTON GROUP rad1.
    AT SELECTION-SCREEN OUTPUT.
      IF radbut1 = 'X'.
        LOOP AT SCREEN.
          IF screen-name = 'RADBUT2'.
            CLEAR radbut2.
            screen-input = 0.
            MODIFY SCREEN.
          ELSEIF screen-name = 'RADBUT3'.
            CLEAR radbut3.
            screen-input = 0.
            MODIFY SCREEN.
          ELSEIF screen-name = 'RADBUT4'.
            CLEAR radbut4.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Do execute this code n if u still ve doubts, u can always revert back.
    Hope this helps u...
    Regards,
    Ramya

  • Excel option is displaying blank Excel in Report output

    Hi All,
    We have created the ALV report and everything is working fine except the Excel icon in the report output screen. When we are clicking on the excel icon it is displaying the blank excel. In our systems MS Office 2007 has been installed.
    Is there any link between MS office version that has been installed in the system and the Excel Icon option in the report output screen.
    Please provide me the solution. Thanks in advance.
    Thanks & Regards,
    Sreelatha Gullapalli.

    Please try the following steps:
    1. Click on Microsoft excel icon on the toolbar from ALV report.
    2. Right click on the toolbar of the excel and select u2018Customize Quick Access Toolbaru2019.
    3. Select Trust Centre -> Trust Centre Settings
    4. Check u2018Trust access to the VBA project access modelu2019 checkbox in Macro Settings.
    5. Save the settings and rerun the report.
    You should now be able to see data in the excel if you click on the Microsoft Excel icon on the toolbar from the ALV report.
    Regards,
    Shayeree

  • Displaying pages in classical report output

    Hi all,
    I am developing a report. In the report output I am displaying 4 lines. When I click on 1st line then list will display but on the second page after the intial output page and when I click on 2nd line then list will display on the third page after the second page.
    My requirement is when I click on each line it will display the related page.
    I can get the page and page line  by the syntax:
    read line 1 of page sy-index.
    But how to display this one.
    Suggest.
    Thanks
    Sanket sethi

    hiii
    for selecting lines like you gave in example..you can use
    AT LINE-SELECTION.
      CASE sy-lilli.
          WHEN '5'.
                 logic for display page 2nd.
        WHEN '6'.
                 logic for display page 3rd.
        WHEN '7'.
                 logic for display page 4th.  
    WHEN '8'.
                 logic for display page 5th.
      ENDCASE.
    regards
    twinkal

  • How to not display radio buttons in the select many shuttle component

    Hi all,
    af:selectManyShuttle is a true nice component.
    For business / UI ergo reasons I've decided to not display the radio buttons before each item. There's no option to do that.
    Is it possible ? How ?
    Regards
    Luc-

    Let say there are three ways:
    1. You can use skinning mechanism,
    2. You can include css file in .jspx page and then use it.
    3. You can write css directly in .jspx page.
    For skinning read documentation. For two other ways here is example code that should be inside metaContainer facet of document tag.
    <f:verbatim>
      <!-- CSS directly in jspx page -->
      <style type="text/css">
        .myClass{
          background-color: #8888FF;
      </style>
      <!-- Include css file in jspx page -->
      <link href="css/incStyle.css" rel="stylesheet" type="text/css" />
    </f:verbatim>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to display Radio buttons?

    Hi all,
    I have a textfield say P18_No_OF_RADIOS.In this if the user enters 4 then immediately below the textfield four radio buttons needs to be displayed with editale textfields for radio buttons so that user could give values for each radio buttons.If 5 then 5 radio buttons...i.e with respect to the number radio buttons needs to be displayed!Is it possible?
    ~thanks

    Hi sweetcha,
    Check out following link
    http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_item.htm
    In this link check out function APEX_ITEM.TEXT and APEX_ITEM.RADIOGROUP
    Of course the task which you have mentioned is very much feasible using this utility. Let me know if you find some issue in it.
    Sunil Bhatia

  • Display radio button if number of rows in table equals 1

    I'm having issues buy there maybe a simple script out there.
    I have a table which can have up to four rows. If the table contains only one row, a radio button can be clicked to change the format/entry of cells within that row. I want to hide this radio button from a user if they have added more than one row to the table, and make it available again if they reduce the row count back to one.
    I have everything else working fine (Radio buttons changing format of row, add/removing rows in the table using buttons, row count in first column)
    Anybody got any ideas?
    Cheers
    Bobby

    Place the below code..Change the field names as per your form.
    if(Table1.Row1.instanceManager.count == 1)
         RadioButton.presence = "visible";
    else
         RadioButton.presence = "hidden";
    Thanks
    Srini

Maybe you are looking for

  • Importing txt-files in Labview

    Hello, I am a beginner in programming labview applications so its possible my next question is very easy to program but i dont know how My question is about importing a txt-file (csv-format) in labview. This txt-file is updated every 10 minutes and I

  • New Ideapad U310, how to reduce fan speed?

    Hey everyone, I got a new ideapad U310 this weekend. I'm very happy with it, accept for the fan. It seems to go fast for no reason. I found some old topics on this forum, one with a bios update, but it does not seem to work anymore on the current bio

  • Property not appearing in Taxonomy list?

    Hi All I have created 2 properties which will be used to classify documents in a taxonomy structure. However I have a problem - the properties I have created do not appear in the property list in the 'Taxonomy Query Builder'. I am not sure why? Does

  • Can't download from google playstore without wifi .

    Does anyone have this issue . Wifi disabled - Server error on Playstore . Enable wifi all ok ... thanks people . Wish I could just use modile not wifi .. Solved! Go to Solution.

  • Import Configuration error

    Hello I have created a new software component, product as well. Created a new development track for the same. Addedd all the needed dependencies as well. However when i try importing the same into NWDS via import configuration I get the following err