Calling subscreen on click of radio button

Hi,
I am creating a module pool program , in which on click of a radio butto to 'YES' a subscreen should appear ( on the main screen) with few fields so that the user can input values of it.
But I am having proble in calling the subscreen in PAI event.Actually I think it should be something like this
Module user_command.
  case sy-ucomm.
   when rb_yes = 'X'
    { CALL SUBSCRREN CODE
ENDIF.
Can this be done? I f yes how? I only know how to call subscreen in PBO, but the syntax for calling subscrren is different in PAI i think.

Hi,
Try doing this.
This is your flow logic in the main screen  to call the Subscreen's PBO
PROCESS BEFORE OUTPUT.
MODULE STATUS_0110.
CALL SUBSCREEN TAB1_REF1 INCLUDING 'ZTRIAL' '0111'.
In the PAI of the main screen,
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0110.
CALL SUBSCREEN TAB1_REF1.
Assign a function code to your radio button.
Layout -> Attributes -> Function Code
In the TOP include,
DATA: v_dynnr type sy-dynnr.
In module USER_COMMAND_0110.
if p_rad = 'X'.
   v_dynnr = '0111'.
else.
  v_dynnr =  ' '
endif.
You can check this for your reference
[http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbabfe35c111d1829f0000e829fbfe/content.htm]

Similar Messages

  • How to control what VoiceOver says when clicking a radio button in Safari?

    Hello-
    I am developing a web page that I want to work in Safari & VoiceOver. Does anyone know how I can:
    1) control what VO says when it is hovering over a radio button (ideally some alt text or title attribute)
    2) control what VO says when I click a radio button in Safari (right now, it seems to say 'Group').
    I have tried to put the radio buttons in a fieldset, tried tons of attributes in the input tag (including alt, title, desc, description), but nothing seems to change.
    Here is a URL where you can hear what I'm talking about: http://postcalc.usps.gov/
    Turn on VoiceOver (try Cmd+F5), pull up the URL and hover over the 'letter' or 'large envelope' radio buttons, then click one of them. It says 'group'. I'd like it to say 'letter option selected' or something.
    Thanks for any & all help!
    Seth
    PS: I do know about the <label> tag. I've tried surrounding my <input> tag with a label and using <label for="someID">, but it doesn't seem to help.

    Thank you for the suggestion...it does work and fires the event, but it is still not selecting the current record when I try to perform an Update or Delete.
    I had to modify your code a bit in order for it work in JDev 10...used the JUCtrlValueBindingRef instead of the FacesCtrlHierNodeBinding.
    Here is what my af:table tag looks like:
    <af:table value="#{bindings.FeesView1.collectionModel}"
    var="row" rows="#{bindings.Fees001View1.rangeSize}"
    first="#{bindings.FeesView1.rangeStart}"
    emptyText="#{bindings.FeesView1.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
    selectionListener="#{backing_viewFees.tableSelectOne1_attributeChangeListener}"
    binding="#{backing_viewFees.table1}" id="table1">
    If I put back my 2 original attributes, then my Delete and Updates work.
    selectionState="#{bindings.FeesView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.FeesView1.collectionModel.makeCurrent}"
    Here is my code in the backing bean:
    public void tableSelectOne1_attributeChangeListener(SelectionEvent selectionEvent) {
    JUCtrlValueBindingRef binding = (JUCtrlValueBindingRef)this.getTable1().getSelectedRowData();
    if (binding != null) {
    Row currentRow = binding.getRow();
    if (currentRow != null) {
    System.out.println(currentRow.getAttribute("CurrentRecordInd")); // this does print my selected value!!!!
    }

  • Can i delete the new feature that shows your recent calls when double clicking the home button?

    Can the feature in the new IOS8 that shows your recent calls when double clicking the home button be deleted?

    settings - mail,contacts,calendar - show in app switcher - OFF

  • JDev 10.1.3 ADF: How to fire an event when clicking a Radio Button

    I have a <af:table> component with the following code for my radio button
    <af:tableSelectOne text="Select and"
    binding="#{backing_viewFees.tableSelectOne1}"
    id="tableSelectOne1"
    attributeChangeListener="#{backing_viewFees.tableSelectOne1_attributeChangeListener}"
    autoSubmit="false">
    When I click the radio button it does not fire up my event in my backing bean?

    Thank you for the suggestion...it does work and fires the event, but it is still not selecting the current record when I try to perform an Update or Delete.
    I had to modify your code a bit in order for it work in JDev 10...used the JUCtrlValueBindingRef instead of the FacesCtrlHierNodeBinding.
    Here is what my af:table tag looks like:
    <af:table value="#{bindings.FeesView1.collectionModel}"
    var="row" rows="#{bindings.Fees001View1.rangeSize}"
    first="#{bindings.FeesView1.rangeStart}"
    emptyText="#{bindings.FeesView1.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
    selectionListener="#{backing_viewFees.tableSelectOne1_attributeChangeListener}"
    binding="#{backing_viewFees.table1}" id="table1">
    If I put back my 2 original attributes, then my Delete and Updates work.
    selectionState="#{bindings.FeesView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.FeesView1.collectionModel.makeCurrent}"
    Here is my code in the backing bean:
    public void tableSelectOne1_attributeChangeListener(SelectionEvent selectionEvent) {
    JUCtrlValueBindingRef binding = (JUCtrlValueBindingRef)this.getTable1().getSelectedRowData();
    if (binding != null) {
    Row currentRow = binding.getRow();
    if (currentRow != null) {
    System.out.println(currentRow.getAttribute("CurrentRecordInd")); // this does print my selected value!!!!
    }

  • Calling an action on Click of Radio Button

    Hi,
    We have a form in which we need to display two radio buttons and two dropdown lists. Depending on the selection of Radio Button the drop down list should change.
    To get the different data in the dropdown based on the selection of radio button, what would be the best method?

    a.If the data is fairly static and little, then you could get it all at once and use standard javascript (or a toolkit like jquery)
    b. If the data is potentially large, then you could use javascript + ajax + dhtml using a toolkit like jquery
    c. If you cant use javascript , then you would have to first change the UI to have a submit button , then its like any other pageflow action.
    what would be the best methodDepends on what attributes you wish to measure best , development time, accessibility, response times etc.
    regards
    deepak

  • Selection screen to appear when user clicks on radio button

    hi
    i have severla radio buttor in a radio button group
    i want that whne user clicks on first radio butter selection scren 1 eg as below to apper
    when use clicks on radio buton2 selection scree2 will appear please suggest
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE
    text-008
    PARAMETER : fyr2_fy type FIMC-RYEAR default 2008,
                 fyr2_cg type FIMC-CGYEAR default 2008,
                 fyr2_bk type FIMC-PERID default 7.
    SELECTION-SCREEN END OF BLOCK B1.
    regards
    arora

    Hi,
    At selections screen on that radiiobutton group.
    if radio_button1-status = 'X' (Active)
    call screen 'scereen number' or set screen 'nuymber'.
    else.
    call screen...
    endif.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • How to go to a particular field of the same page by clicking the radio button.

    Hello All ,
               I am working on a form which is designed by some one else . There is a Page - 8 . And there is a question at the first which is in another subform.
               At the end there are several radio buttons . If some one is clicked as yes then the focus should be on Question which is present at the beginning of the form.
    My code goes like this .
    if(TopmostSubform.Sub_Form_Section.Page8.RadioButtonList[0].Q9_EnterAnotherProgramRegEntSt ate[0].this.rawValue ==true)
    xfa.host.setFocus(' TopmostSubform.Sub_Form_Section.Page8.Table.Row[1].Cell[1].Q9_ProgramNm');
    Form hierarchy for Q9 _ProgramNm is -- TopmostSubform.Sub_Form_Section.Page8.Table.Row[1].Cell[1].Q9_ProgramNm
    Form hierarchy for radio button is -- TopmostSubform.Sub_Form_Section.Page8.RadioButtonList[0].Q9_EnterAnotherProgramRegEntStat e[0]
    The event should be click event on JavaScript.
    Please someone help !!!!

    Hi
    In the second screen, for field empno, set the attribute Output only as X and set group1 for empname as 'INP'.
    In PBO of second screen, write this code.
    loop at screen.
    case screen-group1.
       when 'INP'.
         if sy-ucomm = 'DISP' .  "sy-ucomm value when you click display
           screen-input = '0'.
           modify screen.
       endif.
    endcase.
    endloop.
    regards
    Navneet
    Message was edited by:
            Navneet Saraogi

  • To Change the Program Title when i click second radio button

    Hi All,
    I have two radio buttons in my report.
    1) party wise report  ( if R1 = X  this will display report )
    2) sales wise report ( if R2 = X this will display report )
    i declared in report attributes as party wise report .
    When i clik sales wise report.
    it is coming party wise report,
    i want it to be as sales wise report.
    Please let me know how to do it.
    Thanks in advance
    Ramesh

    Hi,
    Hope below code can give you some idea.
    parameters: r1 radiobutton group rad1 default 'X',
                r2 radiobutton group rad1.
    start-of-selection.
       if not r1 is initial.
          sy-title = 'Party'.
          Write:/ 'First'.
       else.
          sy-title = 'Sales'.
          write:/ 'Second'.
       endif.
    Kind Regards
    Eswar

  • How to call report by click application toolbar button?

    I need to know the way to call a report by click a button in application toolbar?
    BR,
    Ali
    Moderator message: next time, please (re)search yourself instead of asking basic questions.
    Edited by: Thomas Zloch on Aug 31, 2010 11:44 AM

    Hi Ali,
    Selection-screen function key is used to add push buttons on application tool bar.
    Syntax:
    selection-screen functuin key<num>
    Where num is ranging from 1 to 5.
    whenever application toolbat components are added using above statement,tables are defined in the structure "SSCRFIELDS" as "Functxt_01","Functxt_02","Functxt_03","Functxt_04","Functxt_05" for the related function key numbers.
    eg:
    Tables SSCRFIELDS.
    Selection-Screen pushbutton/10(10 lb1 user-command pb1.
    Selectiong-Screen Function key1.
    Selectiong-Screen Function key2.
    Selectiong-Screen Function key3.
    Selectiong-Screen Function key4.
    Selectiong-Screen Function key5.
    Initialization.
    sscrfields-Functxt_01 = 'first".
    sscrfields-Functxt_01 = 'fifth".
    At Selection-Screen.
    case sy-ucomm.
    When 'first'.
    Sumbit zreport.
    endcase.
    Hope it solves your problem.
    Regards,
    Amarnath S

  • Agent ready Radio button remains selected even though agent is on call.

    Hi
    issue
    Agent logsin to Interacton center and system by default puts him in to NOT Ready Status.
    Agent changes the status from Not ready to Ready.
    Agent receives a call via queue
    Agent accepts call via interaction center
    Ready Radio button reamins selected even though customer care agent is on phone with Customer.
    In idle situation the radio button should move from ready to not ready or any other state.
    Landscape : SAP CRM  / AMC MCIS / CISCO IPCC.
    we did our system restarts still issue is not resolved.
    Has anyone ever noticed this issue.
    any Help or guidnace is really appreciated.  Thanks in advance
    Regards

    Hi Alok,
    That behavior may be just how your CMS and Telephony system behaves. In all likelihood you are not going to get a queued call at that point, since you already are on a queued call. As long as the state display is correct once the call is ended, that is the most important thing. I have seen some telephony systems where even the hard phone shows ready during the call, and doesn't change modes until after the call is ended. Anyway, you should check with your CMS vendor - in this case AMC MCIS.
    Sincerely,
    Glenn
    Glenn Abel
    Covington Creative
    www.covingtoncreative.com

  • Click radio button with Apple Script

    I have something like this going on at the moment:
    tell application "Adobe Reader"
           activate
    end tell
    tell application "System Events"
           tell process "Adobe Reader"
                  click menu "file" of menu bar 1
                  click menu item "Print..." of menu "file" of menu bar 1
                  click radio button "pages" of window "Print"
                  --click button "Printer..." of window "print"
                  --click menu button "PDF" of window "Print"
                  --click menu item "Save as PDF…" of menu 1 of menu button "PDF" of window "Print"
                  --keystroke "D" using {command down, shift down}
                  --keystroke "G" using {command down, shift down}
           end tell
    end tell
    How do I click the radio button "Pages" in the print dialog box under "pages to print" with applescript?
    Thanks

    I ended up using key codes to tab using control down to get to it, which works for me.

  • How to handle Event when a radio button in selection screen is clicked

    Hi all,
       What is the Event generated when a radio button is clicked in the selection Screen. My requirement is .If one radio button is clicked a field in selection screen should be greyed.
       Here I used AT SELECTION-SCREEN OUTPUT. but this event is generated only if i press 'ENTER' after clicking the radio button in the selection screen.
       Is there any other way to process this radio button event?
    Thanks&Best Regards,
    Vishnu

    hi,
    try like this
    TABLES : kna1,lfa1.
    SELECTION-SCREEN:BEGIN OF BLOCK blk1 WITH FRAME TITLE text-002.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : rad_but1 RADIOBUTTON GROUP one DEFAULT 'X' USER-COMMAND ucom.
    SELECTION-SCREEN COMMENT 3(26) text-003.
    SELECT-OPTIONS : kunnr FOR kna1-kunnr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : rad_but2 RADIOBUTTON GROUP one .
    SELECTION-SCREEN COMMENT 3(26) text-004.
    SELECT-OPTIONS : lifnr FOR lfa1-lifnr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN:END OF BLOCK blk1.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF rad_but1 = 'X'.
          IF screen-name = 'KUNNR-LOW' OR screen-name = 'KUNNR-HIGH' .
            screen-input = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name = 'LIFNR-LOW' OR screen-name = 'LIFNR-HIGH'.
            screen-input = '0'.
            REFRESH lifnr.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
        IF rad_but2 = 'X'.
          IF screen-name = 'KUNNR-LOW' OR screen-name = 'KUNNR-HIGH'.
            REFRESH kunnr.
            screen-input = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-name = 'LIFNR-LOW' OR screen-name = 'LIFNR-HIGH'.
            screen-input = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    reward if usefull....

  • Disable checkbox lists while clicking Radio button

    Hi ,
    I have a checkbox list come from LOV based on a select from database table.
    I have added a Radiobutton only (not redirect not submit since I have to restrict the option as this is based on requirement).Now I want to disable the checkbox while I am clicking the radio button .
    Is it any way possible .
    Thanks in advance .
    Cheers,
    Debashis.

    ok, I create two radio buttons (Enable and Disable)(P8_RADIO). I created a LOV of users with checkboxes (P8_CHECK). When I click on disable all the checkboxes are disabled and enabled when I click on enable.
    First add this to your radio
    P8_RADIO's HTML Form Element Attributes
    onclick="disable(this)"
    Then, add this to the page HTML Header
    <script language="JavaScript" type="text/javascript">
    <!--
    function disable(pThis)
    var trigger = document.wwv_flow.p_v02.value ;
    var rads = document.wwv_flow.p_v02 ;
    if (pThis.value == 'ENABLE')
    for(var i=0; i<rads.length;i++ )
    { document.wwv_flow.p_v02[i].disabled = false; }
    } //end of if
    else
    for(var i=0; i<rads.length;i++ )
    { document.wwv_flow.p_v02[i].disabled = true; }
    } //end of else
    } //end of disable funtion
    //-->
    </script>
    **note**p_v02 is the name of the checkboxes.
    Hopefully this will help you and i explained it better than I did last time

  • Safari 8 radio buttons jumping around when clicked

    When I click a radio button in the safari 8 browser, the radio button jumps te the left.
    Anybody else has the same problem?

    When I click a radio button in the safari 8 browser, the radio button jumps te the left.
    Anybody else has the same problem?

  • Radio button &  file download

    Hi all,
    I have a requirement whre i use two radio buttons
    one for UNIX download and one for PC download.and below i have a paramenter field p_path where the file is to be downlaoded.
    Now i want to change my requirement such that, whn i click the radio button for PC, i must show the p_path as C:\temp
    ,when i click for UNix, i should show the p_path field as inteface/out/sap/fi.
    Any pointers will be help full.
    SELECTION-SCREEN SKIP 1.
    PC or UNIX
    PARAMETERS: R_UX RADIOBUTTON GROUP 1,
                R_PC RADIOBUTTON GROUP 1.
    path
    PARAMETERS: P_PATH TYPE RLGRAP-FILENAME OBLIGATORY.
               DEFAULT '/interface/out/stage/hr/'.
    *PARAMETERS: P_PATH TYPE RLGRAP-FILENAME OBLIGATORY
               DEFAULT '/interface/out/stage/hr/'.
    SELECTION-SCREEN SKIP 1.

    hi,
    I have create two radiobuttons.first button pc file second radio button for unix file.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
      PARAMETERS: R_UX RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND com modif id 001,
    R_PC RADIOBUTTON GROUP G1 modif id 002 .
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME.
    PARAMETERS: P_PATH TYPE RLGRAP-FILENAME MODIF ID 001.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME.
    PARAMETERS: P_PATH1 TYPE RLGRAP-FILENAME MODIF ID 002 DEFAULT '/interface/out/stage/hr/'.
    SELECTION-SCREEN END OF BLOCK B3.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_PATH.
      CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         PROGRAM_NAME        = SYST-CPROG
         DYNPRO_NUMBER       = SYST-DYNNR
        FIELD_NAME          = ' '
      IMPORTING
        FILE_NAME           =
    loop AT SCREEN.
      if R_UX = 'X'.
        if screen-group1 eq '001'." and screen-group1 eq 003.
          screen-INVISIBLE = 0.
          SCREEN-ACTIVE = 0.
          MODIFY SCREEN.
        endif.
       else.
        if screen-group1 eq '002'." and screen-group1 eq 003.
          screen-INVISIBLE = 0.
           SCREEN-ACTIVE = 0.
          MODIFY SCREEN.
        endif.
      endif.
    ENDLOOP.
    regards,
    muralii

Maybe you are looking for