How to create an optional indexed prompt?

Hi,
We are using WEBI 3.1. We are trying to create the following pre-defined filter prompt in the universe but does not work. Has anyone successfully built a WEBI report leveraging an indexed optional object used as a prompt?
For example:
@Select(Employee Class\Employee ID) in @Prompt('Select Employee:','A','Employee Class\Employee Name',Multi,primary_key,Persistent,,User:0,optional)
If I create at the report level, the indexed Primary_Key is not pulling in for some reason. It does not pull in the ID. It ends up doing a Employee ID IN ('Name of Employee1', 'Name of Employee2') instead??
Thanks in advance!

Hi,
Should work, though I never used the user:0 thing in universe definitions, just extra comma's
Did you check the index in the employee name object, is it defined, parses, enabled?
If you do a simple condition on the employee name object, does it translate to this index?
Easy to check by checking the SQL before running the query.
Making it optional in the query panel, does it still work?
If you do a multiple without optional, does it still work?
Making this optional in the query panel, does it still work?
Look at the SQL generated, is it different from what you use?
(I currently get  
Outlet_Lookup.Shop_id  = 
@prompt('Enter Store name:','A','Store\Store name',Mono,Constrained_key,Persistent,,User:0,KEY_'N',optional)
in WebI where I also used to have primary_key.
It may be a version difference, or the fact that it is side by side with BI40,
but it may also hold a clue as to why it doesn't work.)
Hope you can find what is wrong...
Good luck,
Marianne

Similar Messages

  • How to creat select-option on module pool screen???

    Hi All,
       please tell me how to creat select-option on module pool screen???
    Regards
    Deepak

    Hi Deepak Kumar Sharma,
    There are Two ways to achieve it...
    1) How to create a select-options in a module pool screen.
    Method 1
    a) Create a subscreen area in your screen layout where you want to create the select options.
    b) In the top include of your module pool program declare a selection screen as a subscreen e.g.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    select-options s_matnr for mara-matnr.
    SELECTION-SCREEN END OF SCREEN.
    c) In the PBO and PAI of the main screen where the select options needs to be created do a call subscreen of the above screen (100).
    CALL SUBCREEN sub_area INCLUDING <program> <screen>
    This call subscreen statement is necessary for transport of values between screen and program.
    Note: All validations of the selection screen fields e.g. the s_matnr field created above should be done in selection screen events like AT SELECTION-SCREEN etc and not in PAI. These selection screen validations etc should be done in the top include only.
    Method 2
    a) Create 2 separate fields in your screen layout - one for the low value and one for the high value. Insert an icon beside the high value which will call the multiple selections popup screen on user command. Use function module COMPLEX_SELECTIONS_DIALOG to achieve this.
    struc_tab_and_field-fieldname = con_cust. " 'KUNNR'
    struc_tab_and_field-tablename = con_kna1. " 'KNA1'.
    CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
    EXPORTING
    TITLE = ' '
    text = g_titl1 " 'Customers'
    tab_and_field = struc_tab_and_field
    TABLES
    RANGE = rng_kunnr
    EXCEPTIONS
    NO_RANGE_TAB = 1
    CANCELLED = 2
    INTERNAL_ERROR = 3
    INVALID_FIELDNAME = 4
    OTHERS = 5.
    IF NOT rng_kunnr[] IS INITIAL.
    Read the very first entry of the range table and pass it to
    dynpro screen field
    READ TABLE rng_kunnr INDEX 1.
    IF sy-subrc = 0.
    g_cust = rng_kunnr-low.
    ENDIF.
    You can use the return table rng_kunnr to populate your own internal range table with the values entered by the user. Basically here you are just simulating the work of a select-options parameter by module pool screen elements.
    Also have a look on below threads
    how to make select option in module pool
    select option in module pool program
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • How to create a domain index on NCLOB Column

    hi all,
    My database version is 10.2.0.1.
    Any body know how to create a domain index on nclob column.
    SQL> alter table test add (nclob1   nclob);
    Table altered.
    SQL> CREATE INDEX test_nclob ON test (nclob1) indextype is ctxsys.context
      2  /
    CREATE INDEX test_nclob ON test (nclob1) indextype is ctxsys.context
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10509: invalid text column: NCLOB1
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364Regards
    Singh

    Any body know how to create a domain index on nclob columnNot possible per design/documentation:
    The column that you specify must be one of the following types: CHAR, VARCHAR, VARCHAR2, BLOB, CLOB, BFILE, XMLType, or URIType.
    «

  • How to create select-options in module pool program

    Hi
    i am structed at this point could you please tell me
    how to create select-options in module pool program

    Steps to get SELECT-OPTIONS in module pool programs.
    <li>. Start one dialog program with SAPZ_TEST.
    <li>. Place the below code in the TOP include of the dialog program.
    PROGRAM SAPMZ_TEST.
    TABLES mara.
    SELECTION-SCREEN BEGIN OF SCREEN 2100 AS SUBSCREEN.
    SELECT-OPTIONS: matnr FOR mara-matnr.
    SELECTION-SCREEN END OF SCREEN 2100.
    <li>. Create one screen 2000 .
    <li>. Go to Layout of the screen and Define subscreen area on the screen and Name it as g_subscreen.
    <li>. Place the below code in the Flow logic of the screen.
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN g_subscreen INCLUDING 'SAPMZ_TEST' '2100'.
    PROCESS AFTER INPUT.
      CALL SUBSCREEN g_subscreen.
    <li>. Activate all.
    <li>. Create Transaction code for the dialog program SAPZ_TEST.
    <li>. Execute the transaction code. You will see the select-option like we see on Selection-screen.
    I hope that it gets u clear idea.
    Thanks
    Venkat.O

  • How to create select-options in my own screen?

    Hi
    I create my screen and i wish to place select-options on screen. how to do that?

    There is no SAP standard way of creating select options on screen.However you can create your own select options by providing two fields on screen in which maximum and minimum values can be entered.
    screen fields :
    input1 : <minimum value>
    input2 : <maximum value>
    data :
    range for <some field>
    then you can fill a range with these values.For eg.
    range-low = <low value input field>.
    range-sign = 'I'.
    range-option = 'BT'.
    range-high = <high value input field>.
    append range.
    *Now write your select statement.
    select * from <some table> where <field> in <range>

  • How to create select-options for 3 fields out of 5 by FREE_SELECTIONS_INIT

    Hi Experts,
    I am using the Function Modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG to create the select-options dynamically on the selection screen.
    My problem is that I am passing a field list of 10 fields in the FIELDS_TAB of the function.
    Now it creates the select-options for all 10 fields. I want to create select-options for only 5 fields initially and let the user select out of the remaining 5 fields to create the select-options.
    How to achieve this.?
    I tried by passing the 5 fields in FIELDS_NOT_SELECTED table but they get hidden and once hidden I am not able to get them back in my field list.
    Please help me out.
    Useful answers will be suitably rewarded.
    Thanks in advance.
    Regards,
    Himanshu

    Hi Experts,
    I am using the Function Modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG to create the select-options dynamically on the selection screen.
    My problem is that I am passing a field list of 10 fields in the FIELDS_TAB of the function.
    Now it creates the select-options for all 10 fields. I want to create select-options for only 5 fields initially and let the user select out of the remaining 5 fields to create the select-options.
    How to achieve this.?
    I tried by passing the 5 fields in FIELDS_NOT_SELECTED table but they get hidden and once hidden I am not able to get them back in my field list.
    Please help me out.
    Useful answers will be suitably rewarded.
    Thanks in advance.
    Regards,
    Himanshu

  • How to create two independent index in the same RH project?

    Hello everyone
    I used Rh html 9.
    I created a new index in my project to have two independent and different index, but the two index are connected. When I deleted one word in the new index, the same word is deleted in the first index.
    When I've created the second index, I didn't choose the option "from an existing index", because I wanted a new and empty index but RH created a copy of the existing index and linked with the existing index.
    It is possible toc reate a lot of different table of content and glossary but not different index ?
    If someone can explain me why it doesn't work for index.
    Thank you.
    Florence

    Hi there
    If you click File > Project Settings > General tab, is the index set to have keywords in Topics or the Index file (HHK)?
    If it's set for Index file (HHK) that would likely explain it because the keywords are stored directly inside the topics themselves.
    If the setting is already for Index file (HHK) I'm a bit stumped and can only fathom that maybe you have stumbled across a bit of a RoboHelp bug. I've not tried using multiple indexes before. Perhaps I should try and see.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How to create statistics for INDEX thru GUI

    In DB13 i see messages MISSING_STATISTICS for some indexes.
    I manage for tables thru DB20. How can i create statistsics for INDEX.
    Rgds
    PR

    Hello PR,
    at first let's say you should use the BRTools to create statistics for the indexes, because of the sample method (estimate, compute) - SAP has an algorithm to choose the right sample size.
    Have a look at here:
    http://help.sap.com/saphelp_nw70/helpdata/en/f4/81e93a637bfd70e10000000a11402f/content.htm
    If you want to create statistics manually out of the R/3 ... you can use the report "RSANAORA"
    Transaction SE38 -> Report RSANAORA -> Choose your index and sample method... and go on.
    Regards
    Stefan

  • How to create a new index with already indexed folder

    Hi
    I have a requirement to create a new index.
    I can able to create index. But,When i am specifying the data source, i am trying to include a data source which was already indexed in another index.
    The system giving error that "The folder is already indexed and its available in another index".
    How should i specify same folder in different indexes?

    Hi Patricio,
    Thanks for your reply.
    Our requirement is
    From your example, lets take
    index1 containts a data sources \folder1.
    and i have a requirement to create another index called index2 with data sources
    1) \folder1
    2) \testfolder\testfolder1.
    From help.sap.com i understand that there is no way to specify the same folder in different indexes.
    I am looking for, Is there any solution to meet my requirement
    Thanks

  • Re: how to create a temporary index for a table in program

    Hi,
    I execute a report to access table EKBE. The field that is essential is the CPUDT - entry date.
    Now, the EKBE is not index with this field.
    I do not want to create a permanent index which might occupied space. The current read on EKBE is sequential.
    I thought of creating an index in the program and then releases it once the report is out.
    Is there a way to achieve that?

    Hi,
    You can dump the data into one internal table and create index of that internal table like this:
    tables: ekbe.
    data: begin of itab occurs 0,
           cpudt like ekbe-cpudt,
           indx type i,
           end of itab.
    select cpudt up to 10 rows
    from ekbe into table itab.
    loop at itab.
    itab-indx = sy-tabix.
    write:/ itab-cpudt, itab-indx.
    endloop.
    Regards,
    Bhaskar

  • How to create partitioned bitmap index in SQL Developer?

    I am running SQL Developer version 3.0.04.34 ; on Windows 7 (64 bit) against:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE     11.1.0.7.0     Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    I am trying to create a bitmap index on a partitioned fact table which is part of a data warehouse. The index is in support of a single-column foreign-key to a dimension table. Heretofore, we had been using partitioned B-Tree indexes. According to the Data Warehousing Guide, we should consider using bitmap indexes for this purpose. Accordingly, I was trying to create such an index in our development environment. I used SQL Developer to edit the table, and attempted to create a bitmap index using the advanced screen from the index edit screen. I changed the partition type to "Local" from "None" using the radio button. When I attempt to save this change, I get an error message "A bitmap index cannot have a global partition". This happens whether or not I have assigned storage for the partitions. The index partition names are the ones used successfully for the existing B-tree indexes. I can create the SQL for the index creation by hand, but it would be simpler and easier to maintain if I could use SQL Developer.
    Any help on this issue would be appreciated.
    Vin Steele

    There is a radio button for index type in the New Index... dialog and in the index section of the edit table dialog.
    Which version of SQL Developer are you using?

  • How to create stock option

    Hi all
    I am looking for steps for creating stock options
    Any info. will be very appreciated
    Thanks in advance

    Hi,
    You can either use ICD (Individual compensation distribution) or CWB for this. Do you have any licensing issues for either choice ?

  • How to create a optional filter condition in Universe

    Dear All
    I am using BI 4.1 ( .Unv ) , we need to add a optional condition in Universe. I tried different ways to do it, but unable to do it correctly.
    In one of my approach, I created a report and put a optional prompt there then edited the SQL and copied that prompt condition and pasted that into a Universe condition. Then I used this filter into a report when i ran the report without selecting any value into the prompt it was throwing an error.
    Please suggest if there is any way by which we can do this.
    BO should have this functionality for better end user experience.
    Thanks,
    Mayur

    Hi Bill,
    Yes we are still using .unv as the universe we have is created in 2008 and since then we been migrating this through different versions.
    What I meant is a Filter which is created in the Universe and which has ability to act like a report level optional filter ..means if you select any value then it will fetch data for that selection else it will give data for all LOVs
    Yes BO has optional prompt functionality only for report level filter .. I mean when you pull a dimension into filter panel and select its value equal to prompt and in prompt properties you check mark the Optional Prompt option.
    The requirement is to create a Universe level filter which when used into a report then it should should have this optional prompt functionality. either users can run report with setting some value or without selecting anything.
    Thanks

  • How to create SELECT-OPTION in search help (search) field

    Hi All,
    We have created a search help using Help view as selection method.
    But, we want to have a SELECT-OPTION for one of the search parameters. How do we implement the same ?
    Regards,
    Ashish

    hi
    try  this
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        TABNAME                   = 'YRJEMPDETAIL'
        FIELDNAME                 = 'L_NAME_LOW'
    *   SEARCHHELP                = ' '
    *   SHLPPARAM                 = ' '
       DYNPPROG                  = 'SAPMZRJ_HELP'
       DYNPNR                    = '9000'
       DYNPROFIELD               = 'LAST_NAME_LOW'
    *   STEPL                     = 0
    *   VALUE                     = ' '
    *   MULTIPLE_CHOICE           = ' '
    *   DISPLAY                   = ' '
    *   SUPPRESS_RECORDLIST       = ' '
    *   CALLBACK_PROGRAM          = ' '
    *   CALLBACK_FORM             = ' '
    *   SELECTION_SCREEN          = ' '
    * IMPORTING
    *   USER_RESET                =
    * TABLES
    *   RETURN_TAB                =
    * EXCEPTIONS
    *   FIELD_NOT_FOUND           = 1
    *   NO_HELP_FOR_FIELD         = 2
    *   INCONSISTENT_HELP         = 3
    *   NO_VALUES_FOUND           = 4
    *   OTHERS                    = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        TABNAME                   = 'YRJEMPDETAIL'
        FIELDNAME                 = 'L_NAME_HIGH'
    *   SEARCHHELP                = ' '
    *   SHLPPARAM                 = ' '
       DYNPPROG                  = 'SAPMZRJ_HELP'
       DYNPNR                    = '9000'
       DYNPROFIELD               = 'LAST_NAME_HIGH'
    *   STEPL                     = 0
    *   VALUE                     = ' '
    *   MULTIPLE_CHOICE           = ' '
    *   DISPLAY                   = ' '
    *   SUPPRESS_RECORDLIST       = ' '
    *   CALLBACK_PROGRAM          = ' '
    *   CALLBACK_FORM             = ' '
    *   SELECTION_SCREEN          = ' '
    * IMPORTING
    *   USER_RESET                =
    * TABLES
    *   RETURN_TAB                =
    * EXCEPTIONS
    *   FIELD_NOT_FOUND           = 1
    *   NO_HELP_FOR_FIELD         = 2
    *   INCONSISTENT_HELP         = 3
    *   NO_VALUES_FOUND           = 4
    *   OTHERS                    = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    hope this helps
    Regards
    Ritesh J

  • How to create table(s)/indexes on a new database from an existing database

    Hello all - I need some help in finishing a task, quick response is really appreciated
    So, I have a new database that needs creation of tables including indexes and objects for two different tablespaces called CDS1 and CSD2. I have created these tablespaces and datafiles associated with them. I need some help just to create these tables and indexes from an existing database without copying any of its contents. How can I achieve this, these are 2 different servers at different locations. Can somebody give me step by step instruction - would greatly appreciate it !
    Thanks,
    Vikas

    9876543210 wrote:
    Hello all - I need some help in finishing a task, quick response is really appreciated
    So, I have a new database that needs creation of tables including indexes and objects for two different tablespaces called CDS1 and CSD2. I have created these tablespaces and datafiles associated with them. I need some help just to create these tables and indexes from an existing database without copying any of its contents. How can I achieve this, these are 2 different servers at different locations. Can somebody give me step by step instruction - would greatly appreciate it !
    Thanks,
    Vikas
    exp help=yes
    exp username/password rows=no
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

Maybe you are looking for

  • Need help in Data selection in Smartforms

    Hi All, this data selection is for displaying data in smartforms. I have a internal table passed on to the Smartforms where i have the Main item and its batches. posnr text 10 line text1 90004 90005 20 line text2 90006 90007 And in the coding i have

  • Help! I lost all my movies, music, and apps

    My computer shot down a couple of times, so I went to have it repaired. The technician needed to reboot the whole system so he save my movies, t.v. shows, apps, music and all on another harddrive. While he was at it I requested to have him installed

  • FPGA Compilation Error (Some signals were not properly constrained in the design)

    Attempting to compile even simple FPGA VIs is returning in failure for me, and I'm not sure why. This is on windows 7, 32 bit, Xilinx 14.4, LabView 2013, for sbRIO-9632. "Some signals were not properly constrained in the design." in the summary. and

  • Project wise report

    Hi, I need Project wise report can i get it.If so how can i do

  • Having problem with firmware upgrade on WRT54G V8

    i have searched the forums but havent found an answer. i just got a WRT54G V8 router and was about to update the firmware. i downloaded the .bin file and went to my router ip addy and then to the firmware upgrade tab but when i went to click the brow