Restrict the data to a set of values in the input selection

Hi,
We have a requirement it goes like this..
I've a object ZTEST which stores values (A,B, C..... Z). This object is extensively used across various DSO's and Infoset and Reports were created on top of them.
Whenever I create a prompt on this object..I get all the values ranging from (A, B,C....Z).
Now my requirement is, one of the report is intrested in only couple of values from ZTEST say (A,B,C and D). If I create prompt on this object I should get only (A, B,C and D ) in the selection screen.
Could anyone help me in this regard
Edited by: Siegfried Szameitat on Nov 3, 2008 12:07 PM
deleted points offer as it is against the rules

Thanks for the update.
I am not sure on the Authorisation Relevant. Could you please expain me in detail how we could do in step by step.
Thanks in advance.
Regards,
sari

Similar Messages

  • Date picker - is there a way to restrict the minuit select list to 1/4 hr

    Hi,
    When using date picker item with format 'DD-MON-YYYY HH24:MI',
    Is there a way to restrict the minuit select list on the calendar to 1/4 hr instead of 00 to 59. Example: 00,15,30,45
    Thank you,
    Francis

    Hold down command key to select multiple songs, then "Get Info", and you will modify all fields at the same time.

  • Hiding variable values in the input selection screen.

    Hello Experts,
    We have an authorisation relevant characteristic on which we have built a variable. We have restricted few values for this characteristic through the analysis authorisation.
    The business requirement is that these values which are maintained in the analysis authorisation should not be populated in the input selection screen for that particular variable. In other words we have to hide these values but the variable should a part of input selection screen.
    Can anyone please guide on how can we hide these variable values inspite of maintaining them in our analysis authorisations.
    Thanks..
    Best Regds,
    Suyog...

    Hi Suyog,
    Have you got any solution on this issue.  I have same kind of issue in BI7.  When running the RSRT transaction manager has to give some comments for a document option.  but the subordinates should not modify or see the comments.  Is there any way to restrict this access to certain users.  Our requirement is to either disable the document option or should not appear in the list.
    please give your inputs to find a way to solution.
    Thanks in advance.
    Regards,,
    Appala Raju

  • HOW to Restrict the input Help for 0MATERIAL in the BPS Layout

    Hi,
    I have requirement to Restrict the input Help for 0MATERIAL  in the BPS Layout.
    For Example if the Planning Package is Restricted to SALES ORGANISATION ( 3000 )  then the system shuold  check the 0MAT_SALES  where SALES ORGANISATION IS "3000" )AND PASS THE Material Numbers to the 0material list.
    I have Copied the standard Funtcion group  "UPF_VARIABLE_USER_EXIT"  to Z fucttion and have attached to Z Variabe as User Exit .
    this Variable is  Attached to 0material in the Planning Pakage. So tha now the 0MATERIAL is restricted to the variable which is having the User Exit.
    But how to acces the Values of Planning Package for which the Layout is bein Executed from this Z User Exit ???
    I Know how to restrict the input help, but my only problem is that how to get the values of Planning package through this User Exit.
    Please suggest if it is possible.
    Regards,
    Nilesh Labde

    Hi Nilesh,
    As I understand from your question,you know how to restrict but the issue is to know the value in the package with which you need to restrict.
    There are two tables which can help you finding the value used in package for sales organisation:
    1. UPC_PACKAGE
    2. UPC_OPTIOS
    How to use ?
    From UPC Package you will get one GUID, Hit the second table UPC_OPTIOS with this GUID.
    In field "FIELDNAME" enter the name of the characteristic whose value is req (sales organisation in your case)
    Hope this helps you
    Mann

  • Restrict the input string length

    Hi, how do I restrict the input string length in a JTextField. Suppose if I want my text field to accept only 4 characters, the fifth character I try to enter shouldn't be accepted in the field.
    Thanks,
    Kalyan.

    This is for 6 characters limit
    //create a JTextField that is six characters long
    JTextField textField = new JTextField(new FixedNumericDocument(5,true),"", 6);
    Here boolean true means only numeric. set to false to take in alphanumeric.
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    public class FixedNumericDocument extends PlainDocument {
    private int maxLength = 9999;
    private boolean numericOnly;
    public FixedNumericDocument(int maxLength, boolean numericOnly) {
    super();
    this.maxLength = maxLength;
    this.numericOnly = numericOnly;
    //this is where we'll control all input to our document.
    //If the text that is being entered passes our criteria, then we'll just call
    //super.insertString(...)
    public void insertString(int offset, String str, AttributeSet attr) throws BadLocationException {
    if (getLength() + str.length() > maxLength) {
    return;
    else {
    try {
    if (numericOnly) {
    Integer.parseInt(str);
    //if we get here then str contains only numbers
    //so that it can be inserted
    super.insertString(offset, str, attr);
    catch(NumberFormatException exp) {
    return;
    return;

  • Transaction F110 - Possible to restrict the input of Identification-field?

    Hello all,
    is it possible to restrict the input of the "Identification"-field in transaction F110 (Automatic Payment Transactions: Status)?
    e.g.: User X with company code XX is only allowed to enter XX01 in the identification field.
            User Y with company code YY is only allowed to enter YY01...
    Is that possible?
    Thanks in advance for any reply!
    Steffen
    Message was edited by:
            Steffen Poetsch

    Hi
    You can control the "identification" with the help of the BASIS guy.
    They will define the authorization object to field level.
    Create seperate roles for that and assign accordingly
    VVR

  • Restrict the field selection

    Hi,
    i would like to restrict the field selection upto 20 from left to right pane in the field choice popup.
    when the user cliks on the push button in selction screen, pop up will come for field selection for sorting order. now user will have a facility to move the fields from left box to right box, where we have to restrict only 20. if it exceeds, need to pass a message.
    Could some one help on this.
    Regards
    KER

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-3

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to restrict the cell selection in JTable based on cell contents...

    Hi all,
    I have some problem related to table cell selection.
    I have a table that represets the calendar of some month and year.
    I have the restriction that at one time only one cell could be selected.
    Now i want the cell seletion like this,
    I want only those dates to be selected if that date is after 'today'.
    that is I want to restrict the selection of previous dates.
    how can i do this.
    I have overridden the table methods like this, still no use.
    table = new JTable(model) {
    setOpaque(false);
    setSurrendersFocusOnKeystroke(false);
    setRowHeight(20);
    JTableHeader header = getTableHeader();
    header.setOpaque(false);
    getTableHeader().setReorderingAllowed(false);
    setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    getTableHeader().setResizingAllowed(false);
    setCellSelectionEnabled(true);
    setFocusable(true);
    setBackground(new Color(247, 251, 255));
    setFont(newFont);
    public boolean isCellEditable(int row, int col) {
    return false;
    public boolean isCellSelected(int row, int col) {
    int r = getSelectedRow();
    int c = getSelectedColumn();
    String val = (String)getValueAt(r,c);
    Calendar cal = Calendar.getInstance();
    cal.set(currentYear+1900, month,Integer.parseInt(val));
    Date d = cal.getTime();
    Date currentDate = new Date();
    if (d.before(currentDate)) {
         return false;
    } else {
         return true;
    Someone please help...
    -Soni

    Try overriding the changeSelection(....) method of JTable.
    public void changeSelection(int row, int column, boolean toggle, boolean extend)
         if (d.after(currentDate)
              super.changeSelection(row, column, toggle, extend);
    }

  • Trying to set attribute value based on user selection of another attribute

    I am trying to set an attribute value based on the user's selection of another attribute using JSP EditCurrentRecord. When the user chooses the AreaId from the combo box I want to look up the value of the RgnID, preferrably without the user seeing this field at all. Below is my code which does not work. When I run it I get Error Message: null. Any suggestions are appreciated!!
    <jsp:useBean id="RowEditor" class="oracle.jbo.html.databeans.EditCurrentRecord" scope="request">
    <%
    RowEditor.initialize(pageContext, "MyProject2_package1_SRSecurityModule.UsrAreaWhView");
    RowEditor.setTargetUrl("UsrAreaWhView_SubmitInsertForm.jsp");
    RowEditor.createNewRow();
    RowEditor.setDisplayAttributes("OracleId, RgnId, RegionKey, AreaId");
    RowEditor.useEditField("OracleId");
    RowEditor.getFieldRenderer("OracleId").setPromptText("Oracle ID");
    RowEditor.useEditField("AreaId");
    RowEditor.useComboBox("AreaId","AreaWhView","Area","AreaKey");
    RowEditor.getFieldRenderer("AreaId").setPromptText("Area");
    RowEditor.useEditField("RgnId");
    RowEditor.getFieldRenderer("RgnId").setPromptText("Region");
    RowEditor.getRowSet().getViewObject().getCurrentRow().setAttribute("RgnId",RowEditor.getRowSet().getViewObject().getCurrentRow().getAttribute("RegionKey"));
    RowEditor.setReleaseApplicationResources(true);
    RowEditor.render();
    %>
    </jsp:useBean>

    ok, sorry everyone for making it confusing; this is what I am
    trying to acheieve;
    I would like the user to populate my database with thier
    username AND userID. I have a dropdown box with thier username
    dynamicly populated already, what I am trying to achieve, is a way
    of when the user selects thier username either another dropdown or
    a hidden field is automatically populated with the appropiate
    userID (to match thier username). Now I could just have two
    dropdowns and they select both, but i'd rather avoid the
    possibility of mismatches, and that is why I would like it to be
    automatic and based on thier username selection...
    Does that make sense....?

  • Setting column values based on LOV selection

    Hi All,
    I am using JDeveloper 11.1.2.2.0. I have a table eg: Department table, in Dept Id, I have defined LOV for that field. My requirement is, based on the LOV selection, I want to set the other column values. I am using InputTextwithLOV in list type. How to achieve this?
    I tried mentioning that in the List return values. But it is not setting the values.
    Regards,
    Infy

    Hi,
    if you use a model driven LOV then when configuring the LOV you can map additional attributes. When you build a model driven LOV you at least once tell it which LOV attribute should be used to update the DeptId field. You can do the same for additional attributes
    Frank

  • How to put Dynamic Query description based on the Input selections?

    Hi All,
    I have a requirement wherien there will be 4 input selections for a report namely A, B, C & D alongwith Fiscal year period. wherin Fiscal Year period will be mandatory field
    Now, the output of the report should show the description of the report as follows:
    For E.g: if Fiscal year Period = 011/2011
    When User Enters input value for 'A', then report nameshould be displayed as A 011/2011
    When User Enters input value for 'B', then report nameshould be displayed as B 011/2011
    When User Enters input value for 'C', then report nameshould be displayed as C 011/2011
    When User Enters input value for 'D', then report nameshould be displayed as  D 011/2011
    Please advice if this requirement is possible and if yes, please guide me how?
    Thanks& Regards
    Sneha Santhanakrishnan

    change the code as below and see
    WHEN 'ZREP_DESC'.
    data: wa_data TYPE rrrangesid.
          CLEAR : wa_var_range.
          READ TABLE i_t_var_range INTO wa_var_range WITH KEY vnam = 'ZVALUE'.   "ZVALUE is variable for A,B,C,D field
          l_no = wa_var_range-low.
          CLEAR wa_var_range.
          READ TABLE i_t_var_range INTO wa_var_range WITH KEY vnam = 'ZFISCPER' iobjnm = '0FISCPER'.
          IF wa_var_range-low IS NOT INITIAL.
            gv_var  =  wa_var_range-low.
    concatenate l_no  gv_var into wa_data-low
          ENDIF.
          wa_data-sign = 'I'.
          wa_data-opt = 'BT'.
          APPEND wa_data TO e_t_range.
      ENDCASE.

  • Set preset values that can be selected from a pull-down manu

    I am writing a VI in LabView 7.1 to collect data. I have a set of variables that need to be set at the beginning. I used Basic Information subVI to input these variables to be saved in the data file header, but everytime I run the VI I have to type in pretty much the same thing. The variables I use usually can be selected from a list of number, text or Y/N. I thought about using Configure File VI, but I think that will only give me a fixed set, not a choice. I wonder if there is a way to preset a list of variables so that I can select one value from the list rather than type in everything each time.
    Thanks,
    Ron

    1. Write a Vi that have all your variables i.e. enum, ring, text controls, boolean controls etc
    When this Vi is called, it allows user to configure all settings
    There will be a "save" button. Upon clicked, it should prompt user to input a filename (i.e. *.ini) and the file will be saved to a pre-determined directory i.e. LabVIEW Default Directory
    With the above, a new *.ini file is created for respective set of variables.
    2. Knowing that all *.ini files are stored at LabVIEW Default Directory, make use of the attached example VI, modify it to suit your needs, to get all *.ini filenames and update to the Combo Box control
    With the Combo Box control, you can now choose the desired configuration file (*.ini) to be loaded for the rest of the test needs.
    3. The selected *.ini file path is now input to a Vi that does the extraction of all variable settings from the selected *.ini file.
    Above is just one of many ways that you could have a pull-down menu for selecting a set of settings from a set of configuration files.
    Hope this make sense to you
    Cheers!
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    IFK_CFIO_Get Filenames to Combo Box.vi ‏30 KB

  • To get a set of values just before a 'selected' row in a table

    Hello all,
    Apologies if my question/ title sounds kind of vague.
    But, let me go ahead and explain my proposed logic.
    I have a table( in an FM ), from which I have to find whether there is a particular row with a  value 123.
    I do a "READ TABLE sthg WITH KEY colname = '123' and zero in on that row.
    And, if sy-subrc = 0, I would like to find out copy all 5 rows in this column which are "just" above this 123.
    If I do a MOVE ... TO...... ( How will it know that I need to move just 5 rows? )
    Example:
    100
    200
    300
    400
    500
    600
    123
    700
    800.
    Now, I have found "123" using READ table. I would want the values of 200 to 600, so I can copy this into another internal table. (NOT "100" value, just 200 to 600" ).
    Is there some sort of logic I could use here so it moves only "5" values just above the key?
    Many thanks.

    Hi Alice !
    You need to read a table only having values between "200" and "600" right?!
    Here one example:
    DATA: ti_ndoc1 TYPE SORTED TABLE OF j_1bnfdoc WITH UNIQUE KEY docnum,
              ti_ndoc2 TYPE STANDARD TABLE OF j_1bnfdoc,
              wa_ndoc1 TYPE j_1bnfdoc.
    SELECT *
       FROM j_1bnfdoc
       INTO TABLE ti_ndoc1
       UP TO 10 ROWS.
    LOOP AT ti_ndoc1 INTO wa_ndoc1 WHERE docnum BETWEEN '5' AND '9'.
       APPEND wa_ndoc1 TO ti_ndoc2.
    ENDLOOP.
    Regards,

  • How to restrict the default selection of first row in ALV  in Webdynpro

    Hi Experts,
    In webdynpro i used ALV to display the bulk amount of datas under a view container. While running it ll cme by default selection on first row. how to restrict that.....

    Hi Vimal,
    Whenever we create nodes then by default the Initialization lead selection property of  node is always checked. That why in the alv by default the first row is selected.
    To restrict this default selection just unchecked the Initialization lead selection property of your node.
    Regard
    Manoj Kumar

Maybe you are looking for

  • Cannot send message using the server (null)

    i use mail 2.1. i have a .mac account and have three other email accounts attached to my mail account. lately, i cannot send any email. the switchiing ports fix hasn't helped either. this is the error message: CANNOT SEND MESSAGE USING THE SERVER (nu

  • Merge Statement in Oracle

    I have two tables.Table 1 and Target. I am using Table 1 as source to update records in target table. I am joining the two tables on common column named ID. Datatype for ID in table 1 is VARCHAR whereas it is NUMBER in target table. Also, Updatedate

  • Faulty internal DVD drive causing other issues

    I have an Intel iMac running 10.6.8, with a Matshita UJ-875 DVD/CD drive.  A few days ago, the DVD drive crapped out, or so I think.  Wouldn't recognize a CD...just spit it out after some whirring. When I came to work this morning, all I got was the

  • Playing Computer games on a Macbook

    I own a MacBook with an Intel Core 2 Duo Processor, 1GB of RAM, a 2.0 GHz Processor, and a GMA graphics card. Will it be able to handle graphic intense games, like Quake, Doom, Halo? Thank you! MacBook   Mac OS X (10.4.9)   Black w/ 2GHz Processor, 1

  • Authorization on table maintenance

    Hi Experts! I have created a table maintenance for a custom table which contain a field VKORG(Sales Org). In this table user should be able to edit / diplay data according to the sales organisation and users authority lavel. Example: USER1 may have a