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

Similar Messages

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

  • Select List or Radio Buttons query with multiple tables join

    Hello,
    I'm having a problem creating a select list or a radio group item.
    I need to display the emp_first_name in the select list but have the return value of the order_id in the select list or radio buttons item.
    The tables are as follow:
    emp_table
    emp_id
    emp_first_name
    emp_last_name
    etc...
    orders_table
    order_id
    order_name
    emp_id
    etc...
    I need to display the emp_name from emp_table in the select list but return the order_id from the orders_table as the return value.
    How can I do this?
    Any help would be greatly appreciated.
    Thanks.
    Regards,
    NJ

    Hi NJ,
    Try:
    select e.emp_first_name d,
    o.order_id r
    from orders_table o
    inner join emp_table e on o.emp_id = e.emp_id
    order by 1You may have an issue with an emp_id being used for more than one order and, therefore, the employee's name appearing more than once in the list?
    Andy

  • 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

  • How to set value for radio button in sap crm survey suite

    Hi ,
    I created a survey in CRM Service, in which I added a question with answer as '10 Selection Button Group ('radio button'). And answer has 11 answer options (which means 11 radio buttions). Now when we test the survey, the value for the radio buttons is appearing like 'id_0050569b03091ee480a29d8ee61e953c'. But i want to set a specific value for each radion button (from 1 to 11). So, how to set value for radio button in sap crm survey suite???.
    Thanks & Regards,
    Seshu

    Hi,
    I found solution myself. Click on Goto -> Editing Mode -> Expert Mode. Now you can set value for radio button.
    Regards,
    Seshu

  • How to increment array that contains two clusters whose visibility is controlled by a visible property node and selected by a radio button.

    I am trying to use a property node: visible in order to enable or disable one of two clusters. These clusters are in a larger cluster and this larger cluster is in an array. The two clusters are controlled by a radio button (one labeled transistor and the other diode). When diode is selected, the corresponding diode parameters cluster should be visible and when transistor is selected, the corresponding transistor parameters cluster should be visible. In the mean time, the cluster of the device that is not selected should not be visible. There are at least 45 elements in the array (but not more than 45). Data is entered into each cluster (diode or transistor data) for each element in the array via the increment/decrement. The problem is when you select the first radio button (transistor) and enter data, when you increment the array for a new device selection, since a visible property node was used on the cluster, a loop is created where a new cluster is trying to be shown, but the old cluster is also trying to be shown (because it is the one referenced by the property node. How do I get rid of this loop and still be able to increment the array and keep my data intact for future use? Attached is the vi
    Attachments:
    ChooseScan.vi ‏17 KB

    You could try something like this.  However, if you know how to use an xcontrol, that would be a better way to implement the above functionality so that these UI characteristics are not a part of your main VI.  The problem with the above VI is that you're looping every 100 ms just to update your UI.
    Also, try using the "disabled" property node, instead of the "visible" one.  That way, the user will still see the options he has but they will be grayed out.
    Message Edited by Sudhir Gopinath on 06-25-2007 04:45 PM
    S G
    Certified LabVIEW Architect, Certified TestStand Developer, Certified Professional Instructor
    Attachments:
    ChooseScan_1.vi ‏19 KB

  • How to eliminate  select message  after Radio button in ADF tables

    how to eliminate select message after Radio button in ADF tables
    example <f:facet name="selection">
    <af:tableSelectOne>
    </af:tableSelectOne>
    </f:facet>
    output:
    radobutton select
    radiobutton select
    please help me regarding this issue.

    Hi,
    this usually has a text String in the header saying "Select and .." which can be changed through the property inspector for the TableSelectOne component
    Frank

  • Right-click doesn't work on select boxes, checkboxes & radio buttons. On other elements, there's no"Inspect Element" option

    After installing FF 6.0, right-click doesn't work on select boxes, checkboxes & radio buttons, i.e. nothing happens on right-clicking.
    The context-menu is available on other elements, but there's no"Inspect Element" option in the context-menu

    Regarding the two-button click: just go to the "Sytem Preferences --> Mouse" pop-op and under "One Finger", check the "Secondary Click" box.  Problem solved.  I don't know how I missed this the first 3 times I went to there.    Oh well.
    And as for why I had to change the Trackpad settings to get the Magic Mouse zoom feature to work (see original question): I'm still stumped.   Your guess is as good as mine.
    Hope this helps!
    Steve

  • How to make some fields mandatory based on radio button selected

    Hi,
    As per requirement i have two radio buttons in my screen.
    1.update
    2.Display.
    When the user clicks update then certain fields of selection screen should be made mandatory.
    And if the user cliks the Display Radio Button then certain fields should be made mandatory.
    How to code for it.
    Thanks and Regards,
    Smriti

    Hi ,
    use this code ,
    now according to your requirement you make changes to your parameters.
    parameters: r1 as radiobutton group g1, " this id you update button
                r2 as radiobutton group g1.         " this is for display
    PARAMETERS: TEST1(10) MODIF ID SC1, " assume these are the fields as parameters.
    TEST2(10) MODIF ID SC2,
    TEST3(10) MODIF ID SC1,
    TEST4(10) MODIF ID SC2.
    AT SELECTION-SCREEN OUTPUT.
    if g1 = 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'SC1'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
        CONTINUE.
      ENDIF.
      IF SCREEN-GROUP1 = 'SC2'.
        SCREEN-INTENSIFIED = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    elseif g2 = 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'SC1'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
        CONTINUE.
      ENDIF.
      IF SCREEN-GROUP1 = 'SC2'.
        SCREEN-INTENSIFIED = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    Please let me know if you still need any help.
    Thanks and regards,
    Rajeshwar

  • How to make buttons as disable based on radio button selection in .htm

    Hi
    I have two radio buttons. So i want that when i select one radio button other buttons should become disable in
    .htm in crm webui.
    Thanx,
    Nawal kishore.

    I am not sure why u need this .. but if you disable the radio button, user won't be able to change the radio buttons any more!!!
    You can do it in this way.
    1. go to the radio button attribute of the context node ..
    if get_p_xxxx method is present then modify that to include the below code. If not present create the method. see any standard method
    CASE iv_property.
       WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
          rv_value = 'selected'. "remember case
    endcase.
    2. create a event with the name 'selected'. "" case is important
    3. check in do_handle_event if the event is created or not..." if there is not event added in that method, you need to add your method name there...
    4. set some flag in the event method which you have to access from the get_i_XXX method(XXX is the radio button attribute).
    depending on the flag you make it disable.

  • 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

  • How to get  current row(Based on Radio button check)  submit button Click

    Hi i hava Query Region Search(Based On Auto Customization Criteria).
    For Showing Results iam Using Table Region.
    Using Radio button How we get the row reference value using Submit button Click.
    Please Help on this .
    Thanks & Regards
    San

    Hi san ,
    Try this
    if ("EventID".equals(pageContext.getParameter(EVENT_PARAM)))
    String rowRef = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow row = (OARow)am.findRowByRef(rowRef);
    VORowImpl lineRow = (YourVORowImpl)findRowByRef(rowRef); // Replace your vo name .
    Please refer this link , Let me know if its not clear .
    Single Selection in table Region in OAF .
    Keerthi

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

  • Change field from read only and override calculation based on radio button

    Hi,
    I have a form in which one of the fields has a simple sum calculation and is set to read only so the user can't change it as it sets a print amount as well.
    But if one of the radio buttons is ticked there is a chance that the print amount needs changing but it can be different based on a few other options so I have managed to set the field so the user can edit it depending on an option but the calculation that sets the value overrides what the user enters. I would like to know if it is possible to change this?
    I use
    this.getField("Quantity_Boxes").readonly = false;
    So the user can edit the field when they select the radio button 'yes' under Mesh_b
    and
    this.getField("Quantity_Boxes").readonly = true;
    So the field goes back to read only when the user selects the 'no' under Mesh_b
    and in the Quantity_Boxes field I use:
    Quantity_Curtains / csn
    Just as a simplified division sum with the decimal places set to 0 so a whole number appears.
    csn is just a hidden field that has an amount set depending on the size of curtain.
    Thanks,
    Bruce

    I have found a solution but caused another problem (well more of an irritation than a problem)
    I have made it so the can field throws a dialogue box asking how many of the item fit into a box, the only problem is that the dialogue box will appear more then once.
    For example I have made a new size know as bespoke and when I select that size and hit return the dialogue box pops up which is fine but when the amount of the product is changed it throws the dialogue box again. I guess this is because the calculation has to be run again but is there anyway of stopping this?
    Here is the code I use in the can field which defines how many curtains are in the box and is used to calculate how many labels need printing out.
    if(this.getField("SizeDrop").value=='LG'){
    event.value = "5"
    } else if (this.getField("SizeDrop").value=='ST'){
    event.value = "8"
    } else if (this.getField("SizeDrop").value=='ME'){
    event.value = "10"
    } else if (this.getField("SizeDrop").value=='SM'){
    event.value = "15"
    } else if (this.getField("SizeDrop").value=='BE'){
    var resp = +app.response("Enter the amount of curtains in a box","","1");
    event.value = resp
    } else {
    event.value = " "
    Thanks,
    Bruce
    EDIT:
    I have found that the dialogue box will appear every time something is changed on the form (even while in the editor as well)

  • How to auto-populate dates in a calendar based on radio buttons?

    Hi,
    I'm trying to create an availability form that is submitted on a monthly basis. What I'd like is to have a radio button the user could click to indicate what day the first of the month falls on (Monday through Sunday), and have fields auto-populate with the remainder of the dates on the calendar. As it stands right now, I've got the radio buttons and the text fields, but I'm running into serious issues getting the text fields to auto-fill based on the selected radio button.
    I've labelled the radio button group "First Day of Month" and the individual values are "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" and "Start". The "Start" button is hidden but is checked by default.
    My text fields are even simpler: "Monday 1" "Monday 2" "Monday 3" "Monday 4" and "Monday 5" (and then, obviously, repeated for each day of the week.
    I am horrible at scripting, so I think that might be where I'm running into issues. What I'd like to put is something like this (only, you know, functional, and for each days' text value):
    For "Monday 1"
    if "First Day of Month.value" = "Monday", "Monday 1.value" ="1"
    else "Monday 1.value" = ""
    For "Wednesday 3"
    if "First Day of Month.value" = "Sunday", "Wednesday 3.value" = "11"
    if "First Day of Month.value" = "Monday", "Wednesday 3.value" = "17"
    if "First Day of Month.value" = "Tuesday", "Wednesday 3.value" = "16"
    if "First Day of Month.value" = "Wednesday", "Wednesday 3.value" = "15"
    if "First Day of Month.value" = "Thursday", "Wednesday 3" = "14"
    if "First Day of Month.value" = "Friday", "Wednesday 3.value" = "13"
    if "First Day of Month.value" = "Saturday", "Wednesday 3.value" = "12"
    else "Wednesday 3.value" = ""
    For "Sunday 5"
    if "First Day of Month.value" = "Sunday", "Sunday 5.value" = "29"
    if "First Day of Month.value" = "Friday", "Sunday 5.value" = "31"
    if "First Day of Month.value" = "Saturday", "Sunday 5.value" = "30"
    else "Sunday 5.value" = ""
    Is this possible? I have no doubt there's a better way to do it (with proper coding and everything), so any help would definitely be appreciated!

    Hello,
    Which sharepoint edition you are using? I would prefer to customize your list form in infopath form then add new connection which will connect to your SQL. Later you can filter data based on cust ID. Here is the link to add connection in infopath:
    http://office.microsoft.com/en-in/infopath-help/add-a-data-connection-to-a-microsoft-sql-server-database-HP010092823.aspx
    If you want to do it via code then simple ADO.NET connector will help.
    http://www.codeproject.com/Articles/33862/Connecting-to-Database-Using-Custom-Webpart-in-Sha
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for

  • SSO not working for a custom WDA application that runs in the Portal

    I have a Portal system (Java stack, NW04s) that has an iView of type webDynpro ABAP. The custom Web Dynpro ABAP application resides on another system (ABAP stack, running ECC6). We have configured the trust relationship between the Portal and the ECC

  • Acrobat 9 standard save without changing pdf version

    Hello, I have a question, is it possible to save an edited PDF file (the original is in an old format PDF 1.3/1.4) in the same format it was before editing? When I have edited the PDF with acrobat 9 standard it automatically changes the PDF version t

  • Wireless, Network-manager, dbus problem

    Hey, I'm trying to connect to wireless network at school using dhcdbd, gnome-network-manager, nm-applet... and it works but get disconnected constantly. Don't know much about networking so could use some help. Here's some output with lots of dbus err

  • ODPO and ODPI Object Id

    Hi, I can't find the object id to form's AR Down Payment Request, AR Dow Payment Invoice, AP Down Payment Request, AP Dow Payment Invoice. I'm using SB1 2005 SP:01 PL:46 Thanks, Ana Siva

  • External Services in Task List Question.

    Hi,    I have defined PMSV control key (for external services) in the PM Task list. Now this task when invoked creates a Purchase requision automatically with Account Assignment "F" and Item Category "D" (Service). The Item category "D" is greyed out