Handle mutually exclusive user parameters

Handle mutually exclusive user parameters
Hi Everyone,
I have a report, needs to handle mutually exclusive user parameters, e.g. District, Region, Location. I need to handle the User Parameter Form in the following scenario, if users put/select a value in District, then other 2 parameters(Region, Location) would show null. The same logic works on the other 2 parameter. Anyway, the report user parameter form shows 3 parameters, however, any choice in one parameter would nullify the other 2. This is not a web report, only paper based, with a default User Parameter Form
I would be very appreciating if any one can help.
Regards!
AChen

Hi,
I don't think it is possible to get a dynamic parameter form like that. At most, you can use some Javascript on the parameter form field, eg, if the value is not a number, you show an error msg and so on. But it may not be possible to dynamically change the field values baed on a user action.
You can do it in a JSP though, that submits request to your paper report.
Navneet.

Similar Messages

  • How do u handle the user parameters for a currency field.

    How do u handle the user parameters for a currency field.
       Decimal saperator and a hundreds saperator. (depending upon the user parametes set for the user the saperators may differ)
          Eg: currency field: 13.896,01 (In this case u2018,u2019 is a thousand saperator and u2018.u2019 is a decimal saperator) How to handle this one.
    Regards,
    Ram.

    Hi,
    Try this code....
    DATA: V_KURSF1 TYPE c LENGTH 10,
            v_kursf2 type c LENGTH 10,
            v_dcpfm    TYPE xudcpfm, "Decimal or Thousand Notation
            v_thousand TYPE char1,   "Thousands Notation
            v_decimal  TYPE char1.   "Decimal Notation
      CONSTANTS:    c_x      TYPE char1 VALUE 'X',
                    c_y      TYPE char1 VALUE 'Y',      "Value Y
                    c_comma  TYPE char1 VALUE ',',      "Comma
                    c_point  TYPE char1 VALUE '.',      "point
                    c_blank  TYPE char1 VALUE ' '.      "Blank
      IF v_dcpfm IS INITIAL.
        SELECT SINGLE dcpfm
        FROM usr01
        INTO v_dcpfm
        WHERE bname = sy-uname .
        IF sy-subrc = 0.
          CASE v_dcpfm.
            WHEN c_x.
              v_decimal  = c_point.
              v_thousand = c_comma.
            WHEN c_blank.
              v_decimal  = c_comma.
              v_thousand = c_point.
            WHEN c_y.
              v_decimal  = c_comma.
              v_thousand = c_blank.
          ENDCASE.
        ENDIF.
       ENDIF.
               Find c_point in  wa_segment-exchange_rate.  ( Eg:ield)
              if sy-subrc = 0.
                replace c_point in wa_segment-exchange_rate with v_decimal.
              endif.

  • Mutually exclusive parameters

    Hi,
    I have 3 parameters in one concurrent request namely Employee, Organization and Project.
    Employee and Organization parameters are mutually exclusive. Project parameter is dependent on either employee or organization depending upon which one is entered. In other words the project parameter valueset is refering to employee and organization using :$FLEX$.employee and :$FLEX$.organization. Now the problem that I am facing here is that the system expects both employee and organization parameters before enabling project parameter on SRS screen. But I want them mutually excluisive and at any point in time only one should be entered in.
    Any pointer towards how to solve this problem is highly appreciated?
    Thanks in advance
    Bhavesh

    Hi,
    I have 3 parameters in one concurrent request namely Employee, Organization and Project.
    Employee and Organization parameters are mutually exclusive. Project parameter is dependent on either employee or organization depending upon which one is entered. In other words the project parameter valueset is refering to employee and organization using :$FLEX$.employee and :$FLEX$.organization. Now the problem that I am facing here is that the system expects both employee and organization parameters before enabling project parameter on SRS screen. But I want them mutually excluisive and at any point in time only one should be entered in.
    Any pointer towards how to solve this problem is highly appreciated?
    Thanks in advance
    Bhavesh

  • How to make ODI scenario sessions run mutually exclusive

    We want to restrict the end user of the ODI scenario to be able to run only 1 instance of the scenario at once. Is it possible in ODI ? Basically we want the ODI scenario sessions to be mutually exclusive ? if one is running, and if user tried to run another one, it should not allow him to do so.
    Please note that we are aware of how to handle parallel runs while coding for the same, but here we don't even want to get to a situation like that.
    Thanks,
    Ankit

    Hi Ankit,
    Trying to help...
    Two solutions -
    Solution 1:-
    Create a dedicated agent for that particular execution and for that agent set the maximun number of execution as 1.
    (so only one session will be executed at a time)
    Solution 2:-
    Create a log table/ (lock table) to maintain the status of the execution . (column - Session state)
    When ever an execution starts change the satus of the log (lock) table column as "Running"
    and once the session is completed change the status of the column as "Not Running"
    And in the package (starting) put a condition variable to check the column - Session state of the table log table/ (lock table)
    if its running exit the application , else continue.
    Hope this helps.
    Regards,
    Rathish

  • Mutually exclusive checkbox in APEX 4.1

    I have 2 checkboxes on a tabular form - one is Yes the other is No.
    However, i need them to mutually exclusive i.e. if i select one, then the other should be de-selected. At the moment, all i can do is validate when saving the form which is frustrating for users.
    Can anybody advise of the easiest and simplest way to achieve this?
    Many thanks,
    Mark

    change it to radio boxes?

  • Report based on mutually exclusive items:

    Hi guys,
    I am trying to create a parameterized report based on mutually exclusive items:
    I have a Select List item "P1_Property_type" which has these values ( office , apartment ),
    if 'office' is chosen then the report should consider ONLY the value of the select list item "P1_beds"
    if 'apartment' is chosen then the report should consider ONLY the value of the select list "P1_size"
    I used this query, but it does not seem to wrok:
    select * from realestate where
    unit_type = decode (:P1_PROPERTY_TYPE,'null',unit_type,:P1_property_type)
    and
    ( br= decode (:P1_beds,'null',br,:P1_beds) or size= decode (:P1_size,'null',size,:P1_size) )----------------
    I hope my question is clear
    Regards,
    Fateh

    Assuming you're using the string literal 'null' rather than NULL.
    "it does not seem to work" because of this:
    ( br= decode (:P1_beds,'null',br,:P1_beds) or size= decode (:P1_size,'null',size,:P1_size) )Assuming you pick "office" and :p1_beds is set and :p1_size is 'null', you end up with a statement that is the equivalent of:
    select * from realesate
    where unit_type = 'office'
    and (br = :p1_beds
    or size=size)    <--------------problemand your :p1_beds restriction is then ineffective.
    I'm not a fan of decode to do this logic.
    I prefer a clear statement of exclusive predicates which the optimizer can sometimes deal with more effectively.
    e.g. assuming that it's irrelevant whether you pick office or appartment because the relevant parameter :p1_beds or :p1_size will be set appropriately:
    select * from realestate
    where
          (:p1.property_type is null / = 'null'
    or    (:p1.property_type is not null / != 'null'
    and    unit_type          = :p1_property_type))
    and   (:p1_beds          is null / = 'null'
    or    (:p1_beds          is not null / != 'null'
    and    br                 = :p1_beds))
    and   (:p1_size          is null / = 'null'
    or    (:p1_size          is not null / != 'null'
    and    size               = :p1_size))Note that I've provided alternatives depending on whether you're actually using NULL or a magic string.

  • Mutually Exclusive DropDowns

    Hi, All:
    I am working on a form in which I need to have a user rate four items from 1-4 in comparison to each other. Initially we were going to use 4 drop downs each drop down containing the four options allowing the user to choose. The problem is, of course, that the user could choose option 1 four times in a row. So I need some way to allow the user to rate these four items from 1 - 4 but in a mutually exclusive manner. the image below shows the problem (they're in spanish but the text isn't important). Here item 1 and item 4 were both selected as 1 which is what we want to prevent. Any suggestions would be greatly appreciated. Thanks.

    Hi,
    You could have a script in the preOpen event of all of the four dropdowns that would set the display items, depending on the previous selections in the other dropdowns.
    There is an example here for populating dropdowns: http://assure.ly/jcTahK.
    Give this a try in the preOpen event of DropDownList1:
    // Remove items previously selected
    this.deleteItem(DropDownList2.selectedIndex);
    this.deleteItem(DropDownList3.selectedIndex);
    this.deleteItem(DropDownList4.selectedIndex);
    Hope that helps,
    Niall

  • Standard way of mutual exclusion control for rfc connection

    Dear expert,
    I want to know the standard way of mutual exclusion control
    for rfc connection.
    I am going to create JAVA screens for ERP ABAP objects.
    As for SAP GUI screen, pessimistic locking is used when editing objects.
    On the other hand, pessimistic locking is defficult for JAVA screens,
    since most of lock objects on ERP are not available for RFC.
    Besides, I'm afrraid if locks are correctly deleted
    when something bad happens on screen.(i.e. Users close browsers.)
    Do you have any recommendations?
    Regards,
    Fukuhara Yohei

    Hello, we raised an OSS note.
    They answered it was not possible to lock tasks.
    Task completion is like a race, the first it completes it wins.
    Regards,
    Marco.

  • Mutually exclusive set of items

    Hi,
    I have 5 check boxes. check box 5 - should not be available if any of the 4 check boxes are checked. and also if check box 5 is checked, none of the other 4 check boxes should be enabled. Could any one give me a suggestion about how to achieve this? Thanks,
    Lakshmi

    Hi Lakshmi,
    If I'm interpreting your question correctly, you don't have a simple case of 5 mutually exclusive choices (1 or 2 or 3 or 4 or 5) - if you do then use a Radio Group.
    I'm thinking, however, that your user can choose multiples from 1-4 but, if they do then 5 is not available e.g. they can choose (1 and 3 and 4 but not 5) or they can choose (5 only).
    One approach would be to define a Validation and check at submit time. Another approach would be to code some Javascript to enable/disable the checkboxes.
    My preference would be for the Validation (and not just because I don't know Javascript).
    Looking at it from a useability perspective, I'd prefer to give the user an explanation on the screen - say a label that indicates which combinations are valid or put checkboxes 1, 2, 3, and 4 in a different region and indicate that the regions are 'mutually exclusive' - and then 'trap' any error they make. Essentially, I'm advocating enabling the user to give the correct response rather than controlling their every mouse click. If it's not obvious what an appropriate choice is, they'll get very confused if a checkbox suddenly become unavailable because they've clicked somewhere else.
    I'd be keen to see what the Javascript coders can come up with, though.
    Cheers,
    Bryan.

  • Event Handler/Cr​eate User Event bug

    This is a problem I've run into a few times on my system (Win2k) so I finally went back and reproduced it step by step since it wasn't too hard. It causes LabVIEW to crash and exit without saving.
    - Create an Event Handler
    - Place 'Register Events', wire output to dynamic event terminal
    - Place 'Create User Event', wire output to 'Register Events'/User Event
    - Place an Empty String Constant [""], wire to input of 'Create User Event'
    - Set empty string property -> Visible Items > Label = True
    - Rename label from "Empty String Constant" to other such as "Event"
    OR
    - Create a cluster constant with something in it
    OR
    - Place a boolean constant
    - Set boolean property -> Visible Items > Label = True
    - Name label something su
    ch as "Event"
    - 'Add Event Case...' to the Event Handler, select Dynamic / : User Event
    - Delete the constant wired to 'Create User Event'.
    - Place a constant of a different data type and wire it to the input of 'Create User Event'
    LabVIEW immediately disappears (all changes are lost) and this error is displayed:
    ================================
    LabVIEW.exe has generated errors and will be closed by
    Windows. You wlil need to restart the program.
    An error log is being created.
    ================================
    If there is a more appropriate place to post things of this nature that don’t really add to the discussion group, but need to be brought to the attention of NI, please post a URL or submittal method. Thanks...

    Thanks for the detailed request. We are aware of this exact issue, and the problem was actually fixed for LabVIEW 7.0 for Mac/Unix. Unfortunately, it did not get fixed for the initial release of LabVIEW 7.0 for Windows, but we have plans to include the fix in the first LabVIEW patch for 7.0.
    Also, the Discussion Forum is great for notifications of this kind. For future reference, you also have the options of emailing NI engineers directly, or calling us with suspected bug fixes, if you would like more direct communication.
    Thanks again, and have a great day!
    Liz Fausak
    Applications Engineer
    National Instruments
    www.ni.com/support

  • How to set user parameters in transaction MD61 through a report?

    Hi,
    I want to set default values for 'Requirement Type' in user parameters of transaction MD61 through a report. Please help.
    Thanks in Advance.

    Create Variant using SHD0 and with Group and assign to particular user's
    Here is the steps
    Creating a Variant Group
    1. Open transaction SHD0, enter the transaction code, and press enter.
    2. Choose the Standard Variants tab page, and then the sub tab page Variant Groups, and enter a group name, such as GROUP_GEN
    3. Choose Create. Enter a short text on the Maintain Variant Group window that appears and save the variant group.
    Assigning Users
    Once you have created the variant group and the relevant transaction variants with screen variants, you now need to assign users to the variant group as follows
    1. Return to the Standard Variants tab page, Variant Groups sub tab page.
    2. Enter the name of a user that you want to assign to this variant group, and choose Assign. A message that this user was successfully assigned to the variant group appears in the status bar. If you choose a where-used list for users, this user is displayed in the user list.
    3. However, for the screen variants of the variant group that you created above to be displayed for the user, you first need to select Set Proposal. The user is assigned to the group and the associated transactions are started with the corresponding variants only once you choose the Set Proposal function.
    You can use this procedure of user assignment for all other users that you want to add to the variant group
    Hope this helps.
    Thanks
    S.N

  • Getting problem with running RWBLD60 with User parameters

    Hi All,
    I am trying to run a report using rwbld60 from command prompt which has input parameters
    I tried like this but it didnt work out
    rwbld60 module=reportname.rdf userid=scott/tiger@orcl destype=file desformat=pdf
    desname=report_out.pdf parameterform=NO params=parms_1 traceopts=trace_prf tracemode=trace_replace
    tracefile=trace.txt
    Can any one please tell me how i can pass user parameters for rwbld60
    Thanks,
    Amar

    actually, i do my FYP on bluetooth chatting...
    and there will be more than two emulators running at the same time..
    one of my frens said that if u want to run more than one emulator u just simply click on run button..
    and it will appear on the screen..

  • Passing User Parameters through Run_Report_Object

    hi,
    How to pass multiple user parameters through run_report_object.example i have to pass 20 parameters, have i write 20 statements? is there any way to come in single statement.i am using Forms 6i.
    thks in advance,

    A parameter list can be the second parameter of RUN_REPORT_OBJECT,
    rjob := RUN_REPORT_OBJECT(rep_id,paramlist_id);
    Gerald Krieger

  • How can I change the slide to 8 Radio buttons mutually exclusive?

    How can I change the slide to 8 Radio buttons mutually exclusive?
    I saw the example in Labview. but it only contains upto 5 radio
    buttons. I need 8. How can I change it? Is there any shortcuts?

    I made this with NI's radio button control found in the boolean palette.  Just resize the cluster border, and move the buttons to where you want.  To add a button, select one of them, hold down Control and Shift keys, then drag the button to a new location.  The button gets duplicated.  Do this until you have enough buttons.
    Message Edited by tbob on 10-31-2005 01:07 PM
    - tbob
    Inventor of the WORM Global
    Attachments:
    RadioButtons.PNG ‏2 KB

  • Are "Back to my MAC" and "Port Forwarding" mutually exclusive?

    I have been using APExtreme and Port Forwarding successfully for several weeks now. The PF is to allow access to game players on a PC which acts as a server on the web. All Good.
    One more thing, I have a ISP provided wireless modem/router to talk to the cable and the world. It seems to work either bridged or un-bridged.
    I have disabled the wireless on the ISP's modem/router. (Actually the ISP's device doesn't hold a candle to the APE.)
    Still all good.
    So the firewall is on in the APExtreme and none on the modem router, and I have a port defined for my gamers to get access to my server in the APExtreme.
    I now want to implement Back to my MAC on my MBP and my other Apple devices. I believe these use iCloud for which I have an account and it seems to be working well with my iPhone.
    In Properties, when I select BtmM, iCloud says communications will be slow if I have port forwarding on. Also I will not be able to use the router function in my Modem/router.
    I'd really like to have the modem/router firewall up, and do the port forwarding there, but the BtmM will likely not get through.
    So what does anyone suggest?
    Can I use BtmM and port forwarding without too much degradation?
    Please advise.
    Thanks
    Barry

    To best answer your question on whether the two are "mutually exclusive," let take a look at how Back to My Mac (BTMM) basically works.
    BTMM - General Requirements
    OS X Leopard 10.7.3+
    Active iCloud account. Each Mac & the AirPort router, that will be relying on BTMM, needs to be configured with the same account.
    A publicly reachable IP address for your router.
    A router that supports either NAT-PMP or UPnP. For AirPorts, be sure it is running 7.6.1+ firmware.
    BTMM uses TCP port 5354 and UDP ports 4500 & 5353 for communications.
    BTMM - Basic Communication Flow
    For a computer connected to the Internet via a router, BTMM "asks" the router for its configuration information. For a router, like your AirPort, that uses NAT-PMP, BTMM will ask the router to assign arbitrary public ports. In turn, the router will provide these port assignments (& the router's Public IP address) back to BTMM.
    BTMM then sends this information to the iCloud account. In background iCloud updates a special set of DNS entries to be used by BTMM. These entries are then made available to all BTMM clients using your iCloud account. When a computer, with BTMM enabled, uses your iCloud credentials, it automatically retrieves a list of all other computers/routers that are registered with the same account. All these devices should then appear under the SHARED section of the Finder.
    When attempting to connect to a remote computer (or router), BTMM creates a secure connection to that remote device using the information from the iCloud account.
    Once the connection is established, the devices can then communicate with each other.
    So potentially, unless you are using Port Mapping for any of the ports BTMM uses, they should not conflict.

Maybe you are looking for

  • Is it possible to create a footer showing the file name in a PDF doc?

    Hi, I am hoping to find a way to either create a footer that will show the name of the pdf file I am creating or otherwise emboss it onto the PDF so I know what I am looking at when I print.  I have a large number of documents and it will be difficul

  • Service Call Issue

    Hi Experts,      While Try to add Service Call document, Getting this error. [Microsoft][SQL Server Native Client 10.0]String data, right truncation 'Service Calls' (OSCL) Regards Mohamed Yousuf Ali M I

  • Controlling multiple TextAreas with one ScrollBar

    Hello, Fairly new to java so you may have to excuse my lack of java knowledge! I would like to create a Frame with three TextAreas, side-by-side, controlled by a single ScrollBar. I thought it would be fairly easy. Just add the three TextAreas to a P

  • How to resolve error "No SOAP Envelope but 1 {} PARAMETERS"

    Hi, I have configured an interface where the sender (SAP system) sends out a message via proxy on the Local Integration Engine, which is after XI processing supposed to be posted via HTTP (using the SOAP Adapter). The message is processed correctly b

  • Some websites are lot loading

    when I try to go to netflix or youtube or app store it doesnt load or it not as expected, I have no idea what to do i tried everything