BAPI to select a radio button in subscreen of standard screen

Hi All,
    I have a requirement ,Please help me in solving this.
I have created a subscreen in sales order which contains 4 radio buttons.
Now i need to write a BAPI to change to radio button B from radio button A.
Can some one explain me how to do this.
Thanks in Advance,
Sri.

if its only the radio button change write a BDC and update it... if there is some thing else...try using      BAPI_CUSTOMERCONTRACT_CHANGE u have EXTENSIONIN in tables tab... search the forums on EXTENSIONIN usage and codeing it...
J@Y

Similar Messages

  • File name should change by selecting the radio buttons

    Hi all,
    PARAMETERs: p_file LIKE rlgrap-filename.
    PARAMETERS: p_app RADIOBUTTON GROUP rg DEFAULT 'X',
                             p_pre RADIOBUTTON GROUP rg.
    this is to download the ITAB data to presentation and application servers depending upon the radio button selected.
    if i select p_pre , then default download path is : 'C:/ download.txt'.
    if i select P_app , default download path is : '\usr\sap\EBG\SYS\profile\DOWN.TXT'.
    how the file name should change by selecting the radio buttons ?
    Thanks
    KR

    Hi,
    DATA: c_x VALUE 'X'.
    selection-screen begin of block input with frame title text-000.
    parameters :desktop     radiobutton group rg_f user-command rg_f,
                       in_file type ibipparms-path modif id ps DEFAULT 'C:/ download.txt',
                menu     radiobutton group rg_f ,
                       sys_file type ibipparms-path modif id as default  '\usr\sap\EBG\SYS\profile\DOWN.TXT' .
    selection-screen end of block input.
    at selection-screen output.
      if desktop is initial and menu is initial.
        desktop = c_x.
      endif.
      perform f_toggle_finputs.
    form f_toggle_finputs.
    loop at screen.
        if screen-group1 = 'PS'.
          if desktop = c_x.
            screen-input    = 1.
    *         sys_file = c_server_path.
          else.
            screen-input    = 0.
          endif.
        endif.
        if screen-group1 = 'AS'.
          if menu = c_x.
            screen-input    = 1.
    *        clear: in_file.
          else.
            screen-input    = 0.
          endif.
        endif.
        modify screen.
      endloop.
    endform. "f_toggle_finputs
    Hope this helps u.
    Thanks.

  • Is it possible to make a fillable form have variable fields - so if you select a radio button it triggers a different form field to be seen depending on which radio button is selected??

    Is it possible to make a fillable form have variable fields - so if you select a radio button it triggers a different form field to be seen depending on which radio button is selected??

    Yes, one needs to use some custom JavaScript code to control the other fields' properties.
    Disabling (graying-out) Form Fields by Thom Parker

  • Dynamic Select List / Radio Buttons triggering conditional display of field

    Hi HTMLDB Team,
    I wanted to mimic this very nice and useful HTMLDB 'select list feature' at the HTMLDB "Create Application ... from Application Export file " ... option .
    ie when you hit the form that asks you to "install the application", i,e
    Builder - Application >Export Import>Export Repository>Install Application
    you have the the following radio Options :
    Install As Application
    X Reuse Application ID 401 From Export File
    X Auto Assign New Application ID
    X Change Application ID
    New Application
    The "New Application ID" field appears only when I select "Change Application ID" radio option. That great and that's exactly what I want.
    How do you do that ?
    I am currently using a select list instead of radio list. It's the same thing ... I
    I tried " many options of the "select list with redirect .... with submit .... but I was not successfful. All I am trying to achieve is to offer a list of departments ... but when the user select "other", I want to show a text field for the user to type in the "other Department" ... without losing what I had already entered in the form previously and without actually Submitting the form . I still have other fields to enter after the select list .
    Is that possible with pure HTMLDB ?
    Or do I have to craft up some Javascript .
    I'd prefer pure HTMLDB .. I do not want to use javascript, to avoin a maintenance nightmare once I submit the code to other developers ...
    Can you pls help ?
    Thanks a lot.

    Hello,
    Take a look at these built in javascript function
    they should give you what you want.
    http://htmldb.oracle.com/pls/otn/f?p=11933:39
    CarlCarl,
    if I understand it right, these functions are already built in Apex 2.2.1.
    I need to show an item with label when user selects certain radio button. This sounds like the opposite to f_Hide_On_Value_Item_Row function.
    Can this task be done with apex built-in javascript functionality at this moment?
    Thanks

  • Creation of Radio Buttons in subscreens inside a Tabstrip...

    Hi ABAP Guns,
    Can any body help me in creation of radio buttons inside a tabstrip...
    If i select a radio button and click ok push button it has to call 2nd tabstrip else if
    i select other radio button and click ok push button it has to call 3rd tabstrip...
    Regards,
    Arun

    Hello Arun
    Don't you think it is much easier that the user <b>directly </b>selects the tabstrip instead of going to a specific tabstrip, push a certain radiobutton followed by pushing a OK button in the application toolbar???
    Regards
      Uwe

  • How can I select a radio button in a table regarding the data in the cells?

    Hi everyone
    This is the issue: I need to select the RadioButton which is in a table with data related to transfers in the cells next to it, so I need to select the correct radio regarding the data next to it.
    This is the whole process: First I go to the Add Recurring Transfer section and select the parameters of the transfer (Accounts, date, amount, months etc), then with VB code I capture those parameters from the page and store them into Global variables for further usage on my E-tester script.
    Right after that I need to select the radiobutton regarding the data of the transfer that I already created in order to delete it or modify it (Please see Attachment selectradio1.jpg)
    So How can I move along the table and compare each cell with the variables that I created with the transfer information, so when I finish comparing a row cell by cell and if all the comparison match well in that row, I could select the radiobutton of the row.
    Note: Second Attachment selectradio2.jpg shows the source code of the table...If you need more info please let me know
    Could you please help me with this problem?? I'm Kind of frustrated with this issue jejeje

    Here is an example. I uploaded mock html so that you can actually try this code. I think this does exactly what you are asking.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    Dim rButton As HTMLInputElement
    ' ******** This would be your global variable. I put this so that values are seperated by a semicolin you can use what ever format works for you.
    strValue = "03/22/2008;03/22/2008;*************1977;*************1977;$25.25;Jan, Jun, Jul, Dec"
    ' Strip out the ; for inner text comparison
    strValue = Replace(strValue, ";", "")
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    ' then clicks the radio button. Findelements allows you to specify a root element
    ' once the correct root row is found, FindElemets can get the correct radio button
    For Each tblRow In tbl.rows
      If tblRow.innerText = strValue Then
        Set rButton = RSWApp.om.FindElement("account", "INPUT", "NAME", , , tblRow)
         rButton.click
       End If
    Next
    End Sub
    I also uploaded the script I created. You should be able to run it and see how it works.
    This should get you going.

  • How to set a default pre-select for radio buttons?

    Hi
    I have some text form fields that I've set up to display some paired variables stored in a .txt file.  When the swf loads, the form fields are populated with the text.
    I've also set it up so that if you change the text and hit a submit button, the .txt file gets updated.
    I'm now tryng to set it up so that I can store radio button selections in the .txt file too.
    I've started doing it a certain way, but am wondering if there is a more straightforward way of doing ?
    Here's what I've done...
    I've set up the butttons to spit out "on" or "off" depending on the selection, and apply that to the variable that gets stored.
    Now, in the same way I loaded the variables into the text form fields when the swf is refreshed, I want to load the on/off variable, and then somehow apply it to the radio buttons so that one of them is pre-selected.
    So my questions are a) how do I take that loaded variable, and use an if statement to make it pre-select the button, and b) is there a simpler way to pre-select a button based on an external variable?
    Thanks
    Shaun

    Nevermind guys - I did it using the 'rb_on.selected' command on the "on" radio button if the .txt file variable was "on", else the "off" radio button is selected.
    Thanks for taking a look though!
    Shaun

  • Connecting selection of radio button to a text or numeric field

    Hi. I am using LiveCycle Designer 8.0 and I am trying to define object properties that will allow the selection of a radio button to populate in a numeric data field at the bottom of the page. I was able to write the script to have that happen with drop-down lists, but I can't figure out how to write the script for the radio button. I also don't know if the script is supposed to apply to the radio button itself or the numeric field where I want the result to show-up. Can you please help me with some sort of an example script? Thanks.

    Hi Jen,
    I would recommend that you amend your workspace in Designer. You can show/hide palettes from the Window menu.
    Here are some pointers (which are optional):
    This is the hierarchy palette and is very handy when working with forms. You can select objects quickly and drag objects around.
    This is the Object palette, which makes it easy to drag objects onto the page.
    The main space with tabs for Design View, Master Pages, XML Source (you should not need this) and Preview.
    You can select objects in EITHER the page or the hierarchy view and then change properties in other palettes.
    The Script Editor is very important when you start to add functionality to your form. It is visible on your screen shot, but it is limited to one line in height. So I would recommend that you drag this down so that you can see a few lines of script. The Show dropdown in the Editor allows you to look at the script in various events. In the example I posted, there is script in the click event.
    Object palette (and Font & Paragraph palettes). These will allow you to make changes to various properties, depending on the object that is selected.
    You will see from the screenshot that you can position and stack the palettes to suite your screen and workflow.
    Now, in relation to your screenshot:
    You have selected a single radio button in your group. You need to select the whole exclusion group, this is easy in the hierarchy palette.
    In the Object > Binding palette you have ticked the Specify Item Values (good), but you need to edit the values to match the Display Items. For example for item "$85", the specified value should be "85".
    For starters, I would recommend that you open a few of the palettes and then have a look at my example and the screenshots. Hopefully that will clear it up for you.
    Niall

  • How to select a radio button using javascript?

    Hi,
    I have 2 radio buttons as shown below:
    <input id="poBoxRadio" name="poBoxRadio" type="radio" class="radio-btn" value="No" /> No
    <input id="poBoxRadio" name="poBoxRadio" type="radio" class="radio-btn" value="Yes" /> YesI want to select one of this radio button, according to the following condition in javascript:
    <script type="text/javascript">
    if (<%=option1%> != ""){
         // Radiobutton "No" should be selected.
    else if (<%=option2%> != ""){
         // Radiobutton "Yes" should be selected.
    </script>How can I do this in Javascript? Any help will be highly appreciated.
    Thanks,
    Rishi

    I have solved this issue using the following:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script type="text/javascript">
    var a='', b='d';
    </script>
    </head>
    <body>
    <input id="poBoxRadioNo" name="poBoxRadio" type="radio" class="radio-btn" value="No" /> No
    <input id="poBoxRadioYes" name="poBoxRadio" type="radio" class="radio-btn" value="Yes" /> Yes
    <script type="text/javascript" defer="defer">
    <!--
    if(document.getElementById){
    if (a != ""){
    // Radiobutton "No" should be selected.
    document.getElementById('poBoxRadioYes').checked = false;
    document.getElementById('poBoxRadioNo').checked = true;
    else if (b != ""){
    // Radiobutton "Yes" should be selected.
    document.getElementById('poBoxRadioNo').checked = false;
    document.getElementById('poBoxRadioYes').checked = true;
    // -->
    </script>
    <input disabled type="button" value="UP" onclick="setVariable('move=1')">
    </body>
    </html>Thanks to all of you!

  • Select one radio button at a time

    Hi all,
    my webdynpro table contains 3 rows. each row contains one radio button. at a time i should select only one radio button and bydefault the first one should be select.
    Thanks,
    Sagarika

    Hi,
    when the view will load,  bydefault radio button of first row of webdynrpo table should check. in this part i am facing problem.
    in my onaction-method i wrote the down code for 'deselect radio button if i will select other one'.my node is 'paticipants'.
      " Uncheck  other Radio button if selected
      DATA: lo_nd_participants  TYPE REF TO if_wd_context_node,
            lo_changed_elem     TYPE REF TO if_wd_context_element,
            lo_elem             TYPE REF TO if_wd_context_element,
            lt_elem_set         TYPE wdr_context_element_set,
            ls_chgd_participant TYPE LINE OF wd_this->elements_participants,
            ls_participant      TYPE LINE OF wd_this->elements_participants.
      FIELD-SYMBOLS:
            <fs_participant>   TYPE LINE OF wd_this->elements_participants.
      " Get the changed context row
      CALL METHOD wdevent->get_context_element
        EXPORTING
          name  = 'CONTEXT_ELEMENT'
        RECEIVING
          value = lo_changed_elem.
      " Get static attributes
      CALL METHOD lo_changed_elem->get_static_attributes
        IMPORTING
          static_attributes = ls_chgd_participant.
      " Navigate from <CONTEXT> to <PARTICIPANTS> via lead selection
      lo_nd_participants = wd_context->get_child_node( name = wd_this->wdctx_participants ).
      IF lo_nd_participants IS INITIAL.
        RETURN.
      ENDIF.
      " Get all the selected elements from the context
      lt_elem_set = lo_nd_participants->get_elements( ).
      " Process the elements
      LOOP AT lt_elem_set INTO lo_elem.
        CALL METHOD lo_elem->get_static_attributes
          IMPORTING
            static_attributes = ls_participant.
        IF ls_participant-prim_userid NE ls_chgd_participant-prim_userid.
          ls_participant-admin_ind = abap_false.
          lo_elem->set_static_attributes( ls_participant ).
            ENDIF.
      ENDLOOP.

  • How to display a text field if yes selected in radio button

    Does anyone know how to hide/show a text field based upon a
    radio button selection? What I want to do is ask a question with
    yes or no as radio buttons. Then, if the user selects "YES" I want
    to display a required text field. If the user click no, there isn't
    a need for the text field.

    Try this...
    <html>
    <head>
    </head>
    <script>
    function ShowField(){document.MyForm.MyField.style.display =
    "inline";}
    </script>
    <body>
    <form name="MyForm">
    <input type="radio" name="MyCheckBox"
    onClick="ShowField()">
    <input type="text" style="display: none"
    name="MyField">
    </form>
    </body>
    </html>

  • Use 3 button or property to change selection of radio buttons?

    Hi all,
    I have LV 7.1 and am trying to write a process that allows the user to select the next action following the execution of several Case Structure steps.  The VI is basically thus: (sorry I can't cut-n-paste a graphic, it's on another pc.)
    While loop:--->radio button (Manual, Cycle, Auto Test)----> Case Structure (Manual, Cycle, Auto Test)--->Nested Case Structure within the "Auto Test" Case above with 13 cases ("0" to "12")
    On case "12" of the nested case structure, I want to provide a 3-button dialog box (or something that works) which allows the user to select the next test mode (i.e. the 1st case structure: "Manual", "Cycle", "Auto Test").  I can't figure out how to send anything that the property node "Value" of the radio button can use for this selection.  When I create an indicator to see what is sent from the 3-button, it shows ("Left", "Center", or "Right") "Button" strings.  The radio button "Value" property node needs an enum.  The labels on the 3-button don't seem have any consequence. 
    Any Suggestions? 
    Best Regards,
    Ed

    Dev,
    Thanks for the reply.  I experimented with the Property Node and Radio Button control extensively and figured out my problem.  It had to do with the difference between Labels, Captions, and Boolean Text.  I believe I had a caption on one of my buttons rather than the label, so the property node didn't see it as an option.  Through all the help screens that had the option of explaining this to me, it wasn't until I had fixed the problem before I found one that addressed the differences between those terms.  I'll attach my experiment vi (created with LV 7.1) for anyone like myself (non-programmer, inexperienced LabVIEW'er) that would like to see the basic function.
    Attachments:
    Property node experiment.vi ‏56 KB

  • Disabling Selection screen control on selection od Radio button

    Hi ,
    I am having four controls on the selection screen of which 2 are radio button .Is it possible to hide or disable one control at the click of one radio button.
    If yes , pls tell me the method.
    Thanks n Regards
    Manik L Dhakate

    Hi
    See the sample programs and do accordingly
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: pa_file TYPE rlgrap-filename MODIF ID abc,
    pa_lifnr TYPE lfa1-lifnr MODIF ID abc,
    pa_vkorg TYPE vbak-vkorg MODIF ID abc.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: pa_kunnr TYPE vbak-kunnr MODIF ID def.
    SELECT-OPTIONS: s_lifnr FOR gs_lfa1-lifnr MODIF ID def,
    s_date FOR gs_lfa1-erdat MODIF ID def,
    s_augru FOR gs_vbak-augru MODIF ID def,
    s_vbeln FOR gs_vbak-vbeln MODIF ID def.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_upd RADIOBUTTON GROUP g1 USER-COMMAND uc01 DEFAULT 'X'."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-004 FOR FIELD pa_upd.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_rep RADIOBUTTON GROUP g1 ."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-005 FOR FIELD pa_rep.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b3.
    IF pa_rep EQ gc_x.
    LOOP AT SCREEN.
    IF screen-group1 = gc_abc.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_def.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ELSEIF pa_upd EQ gc_x.
    *For Reprocessing
    LOOP AT SCREEN.
    IF screen-group1 = gc_def.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_abc.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    CLEAR pa_upd.
    ENDLOOP.
    ENDIF.
    REPORT zrich_001.
    PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X'
                            user-command chk,
                p_rad2 RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_datum1 FOR sy-datum MODIF ID d1,
                    s_datum2 FOR sy-datum MODIF ID d2.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF p_rad1 = 'X'
          AND screen-group1 = 'D2'.
          screen-active = '0'.
        ENDIF.
        IF p_rad2 = 'X'
         AND screen-group1 = 'D1'.
          screen-active = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    Reward points for useful Answers
    Regards
    Anji

  • Nagigation when i select a Radio button

    Hi All,
      I have two Radio buttons say R1, R2 in a <b>dialog box</b>. When i select one of the Radio button(R1)  and press on OK on dialogbox i need to display Tabstrip and i f i select R2 need to display some table. how can i achieve this....

    Hi ,
    Radio button has a onSelect event. Assign an action/event handler for it.
    Create two value attributes , tabVis and tableVis.. of type type     
    com.sap.ide.webdynpro.uielementdefinitions.Visibility.
    Capture the current selected radio button .. (varies for RB by Key and byIndex.. )
    It its RB ByIndex it s the current element of the node..
    for RB byKey , when a simple type is used.. getXXX() would give you the value..
    So depending on the selected radio button..
    use..
    wdContext.currentContextElement().settabVis(WDVisibility.VISIBLE);
    wdContext.currentContextElement().settabVis(WDVisibility.NONE);
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/55/084640c0e56913e10000000a1550b0/frameset.htm">Parent and Pop window Interaction..</a>
    Regards
    Bharathwaj
    Message was edited by:
      Bharathwaj

  • Selecting Correct Radio Button

    I'm testing a web page that has a set of five radio buttons representing a 'multiple choice challenge question' meaning that a user has to click on the correct value in order to continue with their process.
    The challenge question asks the user to select the correct answer, and places the correct answer in a random position within the five radio buttons with the other four values being selected randomly also.
    What I'm trying to do is to get eTester to find the correct the value (the correct value is known) and select that associated radio button so that the process can continue, but am having trouble doing so.

    The following code should help. You may have to play with the events or modify to minimize the number of times this gets fired (it will execute before each event on the page in tester)
    Private Sub RSWVBAPage_beforeAction(ByVal actionObj As RswIprogs.IProgAction)
    Dim col As Collection
    Dim rb As Variant
    Dim dbVal As String
    ' Grab correct value from the databank
    RSWApp.GetDataBankValue "myState", dbVal
    ' Radio button group named "state"
    RSWApp.om.FindElements col, "state", "INPUT", "NAME"
    ' Loop through the radio buttons. Find the one with the value that matches the databank
    ' and click on that button.
    For Each rb In col
       If rb.Value = dbVal Then
         rb.click
       End If
    Next
    End Sub

Maybe you are looking for

  • Download Problem in Oracle 10.2.0.1.0

    Hi, We are trying to evaluate the following software 1. Oracle Database 10g Release 2 (10.2.0.1.0) for Microsoft Windows 2 .Oracle Database 10g Release 2 (10.2.0.1.0) for Linux x86-64 We tried many times but the files could not be downloaded complete

  • How to create report???

    Hi' i'm new to this problem. i've some problem to create report from database. i don't what is the best tools to create report. What is the best reporting tools that i can used to create report? does it can display in html /jsp page or called via jsp

  • Portal Favorites "Move" Command

    Hi, When a user is organizing their favorites and select option "Move" they get a dialog that presents the folders in the "Entry Points" Folder.  I'd like to override this move dialog so they only have visibility to their own favorites folder. Can an

  • APIs for Intuos(Wacom) pen tablet.PLEASE HELP

    We work in signature verification, and we are traing to access to a tablet from a JAVA applet. We have an Intuos pen tablet of Wacom Technology, and we are very interested in APIs for this tablet. Does anyone know where we can get them?

  • OBIEE11g - Writeback Error

    Hi All, I am trying to test out the Writeback functionality in OBIEE11g 11.1.1.6.4. BUT getting the following error: Write Back Error An error occurred while writing to the server. Please check to make sure you have entered appropriate values. If the