Value set to make BEx variable faster (BW3.5)

edit> No one knows?! I really didn't think this will be difficult, come one... easy points for this one!
Good day all,
This must be a simple problem, but I can’t find any instruction on the web how to do this.
I’ve got a BEx query on BW3.5 that has a variable as input, but when you click on the dropdown box, it takes extremely long to bring back a set of values.
I’ve been told the way to get pass this problem is to define a pre-calculated value set in Reporting Agent.
I have done this, but can’t get the query to use it.
What are the steps? It should be simple…
I’ve chosen the following options (which is not working)
Processing by: User entry / Default Value
Variable represents: Precalculated value set*
Variable entry is: Optional
Valueset: Z_MY_VALUE_SET
I don’t think this is right, because this implies that the query automatically uses the value set as filter, instead of the user’s input.
What is happening, is that when the variable dialog opens up, it shows Z_MY_VALUE_SET as default value and when I open the dropdown it still takes long to retrieve the values.
Thanks in advance
Rudolph
Message was edited by:
        Rudolph Botha

plz go through this link below:
http://help.sap.com/saphelp_nw04s/helpdata/en/84/00783b3af21f5ee10000000a11402f/frameset.htm

Similar Messages

  • About precaliculated value sets

    Hai all experts,
                                I want to know usage of precalicaulated value set in reporting agent.give me one scenario regarding usage of this. i would be very happy if any body respond ASAP.
    suneel

    Hi,
    Precalculating Value Sets
    Use
    The distribution type Precalculated Value Set allows you to fill variables of the type precalculated value sets with values for characteristic values in the background. The precalculated value sets are then available as variable values in BEx queries.
    The following cases are typical examples of where the execution of precalculated value sets in the background is used:
    ·        When analyzing target groups, because you can specify a fixed value
    ·        When complex selections are involved such as with top N queries, used to greatly improve query performance
    ·        Instead of variables that are filled from a query event (Replacement Path: Replacement from Query)
    Prerequisites
    The query must contain the characteristic that is the placeholder for the variables.
    You have created a broadcast setting or reporting agent setting for the query you want and you have chosen the distribution type Precalculate Value Set. The output format is value set.
    BW Variables can be filled by precalculated value sets (e.g. a variable filled with a top N customer list). This value set is based on a separate query. The precalculation of the value set is done in the Reporting agent or Broadcaster.
    Create a BW Query Q1 that provides the basis for the value set, e.g. a top N customer list based on sales in the last year.
    Create a value set variable V1 that is based on the corresponding characteristic.
    Create a query Q2 that uses this variable.
    If you want more help let me know. If it is useful don't forget to assign points.
    Regards,
    Senthil Kumar.P

  • WAD drop-down box and commands on Set Variable values/ Set Filter Values

    Hello to all
    I am confused in WAD and Help online couldn't clarify my concerns. Thus here following issue:
    I am using a WAD, where the data provider (query)  is set dynamically. I would like that
    1 user selects company in  drop-down-box 1
    2 I use commands on drop-down-box 1 to manage the next drop-down-box 2 ( like it becomes input ready)
    3 user selects plant in drop-down-box 2
    4 User selects a tab strip A, where report A of multiple reports is placed. Now in this moment I assign the query A to the data provider A.
    Now my questions:
    - I am not clear how to use the bex-variables required for the query ( like company and plan). If I use in drop-down variables, then I can't set anymore commands
    - What means and makes the command set_variable_state
    - What means and makes the command set_selection_state
    Thanks a lot for your clarification and help
    Christian

    Hi Christian,
    I will try and answer your Qs
    - I am not clear how to use the bex-variables required for the query ( like company and plan). If I use in drop-down variables, then I can't set anymore commands
    >> Can you explain how exactly are you trying to populate the DropDown webitems for Company / Plant data for user-selection.
    - What means and makes the command set_variable_state
    >> SET_VARIABLE_STATE is used to assign input values to your query variables. Here, the command gives you a range of input options to select from such as Characteristic/Text/Formula/Hierarchy Variables & Binding Type Selection. Binding Type Selection in addition gives you more options such as assigning manual input from a Text webitem [ITEM_INPUT], assigning value from another Variable [VARIABLE], or simply assigning the selected value from an underlying Data Provider such as one mapped to a DropDown webitem [DATA_PROVIDER_CHARACTERISTIC].
    - What means and makes the command set_selection_state
    >> SET_SELECTION_STATE is used to assign input values to Characteristics in your query. It serves as a Filter option.
    I think in your case using SET_VARIABLE_STATE makes more sense. You can use Binding Type Selection with [DATA_PROVIDER_CHARACTERISTIC] on both the DropDown webitems to assign the values of Company / Plant to the query on runtime.
    --Priya

  • Urgent!!! How to give a value to a BEx variable in the planning fuction?

    Hi all,
    does anybody know how can set variable's value in the palnning fuction (type exit) in IP?
    The two function modules in BPS which make this job don't work in the IP.
    thanks very much for any proposal.
    hongwei

    Hi,
    Reg the first part of the question, can you please explain how do you want to capture the variable for the custom planning function? Because, when I look at standard functions delivered by SAP, in the FROM CHANGE and TO CHANGE(for example copy function), we can select the BI variables or create new variables also.
    To pass the values to this variable from BEx Analyzer, we need to use the command range in BEx Analyzer and capture the values.
    I have used this approach to capture the BEx variable values into a FOX function using VARV function, but Im not pretty sure how to pass it to a custom planning function.
    Regarding the second part of the question can you pls look at FM :   RSPLSSE_PLSEQ_EXECUTE. I think you need to embedd your planning function into a sequence and call it with the above FM.
    You can also have a look at the ABAP program that is used to trigger a planning sequence by placing a breakpoint in any of the planning functions : "RSPLS_PLSEQ_EXECUTE" wherein you can pass the sequence name in the variant.
    Rgds
    Shyam

  • Crystal Report not Adopting all possible Dropdown Values from BEx Variable

    Hi all,
    I am having an issue in a Crystal report where the drop down parameter that is sourced from a BEx query variable does not include all the possible values in the cube (or in master data). After learning my lesson the first time of not changing the name of the variable or changing it to dynamic (this causes it to break), I had the understanding that the value list may not be complete when running the report in the Crystal client or in the viewer, however, I thought it should be correct when published to the BOE and run in infoview. I am getting the same incomplete list in infoview. I published the report into infoview using the Crystal 2008 desktop client, not the /CRYSTAL/RPTADMIN transaction.
    I know there are a couple ways of sourcing a Crystal report from a BW query - using MDX vs. not, etc. I created this report using the SAP menu > "Create new report from a query". I don't believe Crystal will easily let you use that menu option to create a report off two BW queries joined together (which is what I am doing), so I built it off one originally (using the SAP menu), then added the other later on. I have the checkbox for "Use MDX driver with support for Multiple structures" checked. In database expert, my "Selected Tables" both are of database type "SAP BW Query".
    Do I have the right understanding of how the value list should work when sourced from a BEx variable? If so, can anyone offer any suggestions for getting the value list populated correctly?
    Here's some info:
    Crystal version: CR2008, version 12.2.4.507
    BOE version 3.1
    SAP BW 7.01 EhP 6
    Thanks,
    Chad

    Hi,
    - in the Crystal Reports designer the list of values is not online and there is a maximum number of values - configured by a registry setting:
    (windows 7)
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Business Objects\Suite 12.0\SAP\BWQueryReportWrapper
    Key: MaxPickListSize
    and correct you can not change the name of the variable or set it to dynamic as the definition is based on the BEx query.
    I know there are a couple ways of sourcing a Crystal report from a BW query - using MDX vs. not, etc. I created this report using the SAP menu > "Create new report from a query". I don't believe Crystal will easily let you use that menu option to create a report off two BW queries joined together (which is what I am doing), so I built it off one originally (using the SAP menu), then added the other later on. I have the checkbox for "Use MDX driver with support for Multiple structures" checked. In database expert, my "Selected Tables" both are of database type "SAP BW Query".
    The checkbox on the Multi Structure is not for the option to combine 2 Bex queries - it is for Bex queries with 2 structures and the BW query driver has been deprecated already and you have to use the MDX Driver.
    Do I have the right understanding of how the value list should work when sourced from a BEx variable? If so, can anyone offer any suggestions for getting the value list populated correctly?
    in Crystal Reports Designer the list is static and when you publish the report using the BW Publishing to your SAP BusinessObjects Enterprise system the list becomes dynamic in InfoView.
    regards
    Ingo Hilgefort

  • How to make BEX Customer Exit Variable inactive through Customer Exit Code

    Hi,
    I had created two variables VAR1 and VAR2 as Customer Exit variables
    If VAR1 is entered then it should automatically make the VAR2 as NO Entry Variable.
    vice versa also required.
    can u help me with any code in CMOD so that we can make it inactive through Customer Exit Code.
    Thanks in Advance.
    Sunil.

    What i want is not commenting the code
    I want to make the BEX Variable as inactive by using the Customer Exit Code
    EX : If value in VAR1 is entered  then VAR2 should become automatically inactive.
           If value in VAR2 is entered  then VAR1 should become automatically inactive.
    how can this be done
    Thanks in advance.
    Sunil

  • Can't set intial value for cRIO boolean shared variable

    LabVIEW 8.0 gives me a configuration error when I try to force an inital value for a Boolean shared variable in my cRIO library.  Is that a bug, or am I overlooking some (probably obvious!) limitation of the cRIO hardware?
    Jeff
    Climbing the Labview learning curve!
    Sanarus Medical
    Pleasanton, CA

    There are 3 screenshots attached to this post.  Suppose I create a Boolean shared variable under My Computer in the project directory, then set the inital value as shown in BooleanInitialValue.gif.
    If I drag a copy of that Boolean shared variable to my RT target block diagram, the run arrow breaks and I get the error shown in ErrorList.gif.
    If I create a Boolean shared variable under my Real Time target (Compact RIO) in the project directory, then set the initial value and hit OK, I get the error shown in FixConfiguration.gif.
    Message Edited by Jeff in Pleasanton on 07-19-2006 03:42 PM
    Message Edited by Jeff in Pleasanton on 07-19-2006 03:44 PM
    Jeff
    Climbing the Labview learning curve!
    Sanarus Medical
    Pleasanton, CA
    Attachments:
    FixConfiguration.gif ‏6 KB
    BooleanInitialValue.gif ‏13 KB
    ErrorList.gif ‏13 KB

  • Sort F4 values in BEX variable screen

    Hi ,
    Does anyone know how to sort F4 value help in BEX variable selection screen. This query has come up time and again in SDn and there seems to be no proper reply to this. If anyone has worked on this do let me know.
    Thanks,
    Vaishnavi

    Hi Nara,
    Kindly have a look at below thread,
    Sort the values in Bex query variable screen
    Hope this helps.
    Regards,
    Mani

  • Report Manager: How to make value sets appear in security workbench

    Hi:
    R12.1.3
    In Report Manager Security Workbench, when I search for value sets, I see none of the custom value sets I created. Can anyone tell me what the rules are for accessing a custom value set through the Security Workbench?
    Thanks.

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make a value set dpepenedent on other value set's values

    Hi,
    I want to have two parameters on my report in oracle apps. I made one Value set which is 'Table' in Validation Type, now I want the other value set dependent on this previous value set's values, Is there a way to make it possible.
    Regards,
    Nidhi...

    Nidhi,
    There is no relation to OAF for your issue. I will suggest to put your query in proper forum. Try http://forums.oracle.com/forums/forum.jspa?forumID=40
    --Shiv                                                                                                                                                                                                                                                                                                                                                       

  • Make diffrence between values set by user and others by binding

    Hello, I'm working with comboboxes. Selected Value is sometime set by user and somtimes set by bindings. I have to launch actions only when the selected value is set by user. Is there any possible way to do it? Thank a lot.

    If the value selected is dependent from the value chosen by user and depending on other data at once
    This sounds like you have one variable representing two distinct things; but maybe your requirements somehow necessitate this.
    Here's what I meant. I have a background thread (using a Timeline) which changes the combo box randomly every two seconds. (This is a mockup of your requirement of it depending on another value.) The output to the console happens only if the user changes the combo box manually.
    import java.util.Random;
    import javafx.animation.Animation;
    import javafx.animation.KeyFrame;
    import javafx.animation.Timeline;
    import javafx.application.Application;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.property.StringProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.ComboBox;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    public class ComboBoxUpdateTest extends Application {
        @Override
        public void start(Stage primaryStage) {
            final String[] values = { "One", "Two", "Three", "Four" };
            final StringProperty value = new SimpleStringProperty();
            final ComboBox<String> combo = new ComboBox<>();
            combo.getItems().addAll(values);
            value.addListener(new ChangeListener<String>() {
                @Override
                public void changed(ObservableValue<? extends String> observable,
                        String oldValue, String newValue) {
                    combo.setValue(newValue);
            combo.valueProperty().addListener(new ChangeListener<String>() {
                @Override
                public void changed(ObservableValue<? extends String> observable,
                        String oldValue, String newValue) {
                    if (!newValue.equals(value.get())) {
                        System.out.printf("User changed combo box value from %s to %s%n", oldValue, newValue);
            // Randomly change value every 2 seconds:
            final Random rng = new Random();
            Timeline timeline = new Timeline(new KeyFrame(Duration.seconds(2),
                    new EventHandler<ActionEvent>() {
                        @Override
                        public void handle(ActionEvent event) {
                            value.set(values[rng.nextInt(values.length)]);
            timeline.setCycleCount(Animation.INDEFINITE);
            timeline.play();
            StackPane root = new StackPane();
            root.getChildren().add(combo);
            primaryStage.setScene(new Scene(root, 300, 200));
            primaryStage.show();
        public static void main(String[] args) {
            launch(args);

  • WEBI prompt based on bex variable suppress not assigned hashtag value in LOV

    Hi,
    is it possible to suppress the "Not assigned (#)" value from the list of values in a webi prompt based on a bex variable?
    This "Not assigned" value is something BW specific, BW adds this to each characteristic automatically?!
    WEBI:
    RSRT:
    It needs to work in WEBI, not only in RSRT, and the filtering of data still needs to work.
    For rsrt it works, when you exclude the not assigned value in "Filter > Characteristic Restrictions" and use the bex variable in/through "Filter > Default Values", but this does not work in WEBI, because the BEX Query Data is not filtered on the in the prompt selected value.
    Thanks.
    Regards
    David

    Thanks David for a quick reply !
    I could manage to avoid # values in WebI prompt using BAdI implementation, here is the brief:
    Problem:
    WebI report prompt (which shows BEx variable) list of values shows blanks or # . Rrequirement was to avoid these blanks or #
    Environment:
    BW 7.3
    BO 4.0
    BW Cube > BEx Query > OLAP Connection > WebI report
    Solution:
    InfoObject Level1 in BW had # values in masterdata, this could not be deleted since it was in use with other Cubes.
    Vaurable Var_Level1 displays # when pressed F4 running BEx query and in list of values in WebI report prompt.
    I implemented BAdI on Level1 info object and variable Var_Level1.
    Steps to implement BAdI are as in following link
    BEx Query - Control the values which are shown on F4
    Used following code to elimitate #.
    METHOD IF_RSR_VARIABLE_F4_RESTRICT~GET_RESTRICTION_FLAT.
    DATA: l_s_range     LIKE LINE OF c_t_range.
    DATA: l_var_range   LIKE LINE OF i_t_var_range.
    DATA: IT_MZLEVELS TYPE TABLE OF /BIC/MZLEVELS,
    WA_MZLEVELS LIKE LINE OF IT_MZLEVELS.
    DATA: L_ZLEVEL1     TYPE /BIC/OIZEVEL1.
      IF i_vnam EQ 'ZV_LEVEL1'.
    SELECT /BIC/ZLEVEL1
    FROM /BIC/MZLEVELS
    INTO CORRESPONDING FIELDS OF TABLE IT_MZLEVELS
    WHERE OBJVERS       = 'A'.
    IF SY-SUBRC NE 0.
    EXIT.
    ENDIF.
    SORT IT_MZLEVELS BY /BIC/ZLEVEL1.
    DELETE ADJACENT DUPLICATES FROM IT_MZLEVELS COMPARING /BIC/ZCLV1GP.
    DELETE IT_MZLEVELS WHERE /BIC/ZLEVEL1 = ''.
    l_s_range-iobjnm = i_iobjnm.
    l_s_range-sign   = 'I'.
    l_s_range-option = 'EQ'.
    LOOP AT IT_MZLEVELS INTO WA_MZLEVELS.
    l_s_range-low    =  WA_MZLEVELS-/BIC/ZLEVEL1.
    APPEND l_s_range TO c_t_range.
    ENDLOOP.
    ENDIF.
    ENDMETHOD.

  • Fill BEx Variable with more than one value via Custom Exit

    Dear SDN comunity,
    I want to fill a BEx Variable via a custom exit. My problem is, I don't know how to fill this variable with more than one value.
    I try to give you some background info based on an exaple:
    <u><b>Variable-Details</b></u>
    <b>Type of Variable:</b> Characteristic Value
    <b>Variable Name:</b> ZCCD
    <b>Description:</b> Company Code Selection
    <b>Processing by:</b> Custom Exit
    <b>Characteristic:</b> Company Code
    <b>Variable Represents:</b> Multiple Single Values
    <u><b>This is the used ABAP code:</b></u>
    WHEN 'ZCCD'.
    CLEAR l_s_range.
    l_s_range-low = '2002;2004'.
    l_s_range-sign = 'I'.
    l_s_range-sign = 'EQ'.
    APPEND l_s_range TO e_t_range.
    <u><b>The system returns this message:</b></u>
    Value "2002;2004" is too long for variable ZCCD
    appreciate your help!
    //michael

    Eugene, Marcus
    it works now, thx a lot!
    Please find attached the final code:
    CLEAR l_s_range.
    l_s_range-low = '2002'.
    l_s_range-sign = 'I'.
    l_s_range-<b>opt</b> = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR l_s_range.
    l_s_range-low = '2004'.
    l_s_range-sign = 'I'.
    l_s_range-<b>opt</b> = 'EQ'.
    APPEND l_s_range TO e_t_range.
    (Delta to Marcus's code is bold)

  • Re: Passing Bex variable values to javascript in WAD 7.0

    Hi,
    Is there any possibility to pass a Bex variable value to the java script in WAD 7.0 so that i can create a pop up and display the value.
    I found a post explaining its possibility in WAD 3.5. but i am not able to find how it can be done in WAD 7.0
    Any inputs will help.
    Regards.
    Shafi

    Hi Shafi...
    Yes it can be done. Insert a Dataprovier Information Item and a Script Item with a code for querying the xml island that provide the infomation you need. I hope this helps. If you need help with the code let me know.
    Edited by: Alvaro Wilfrido Lozada Borrero on Dec 28, 2009 8:44 PM

  • Bex Variable Value as Text in the report heading

    Hi
    We have fiscal year as a Bex variable and the user is prompted to enter a value when running the report.
    I have found that it is possible to add a filter to a report text box (Cell) by creating a formula and adding this to the cell contents.
    However, is it possible to add a Bex variable to display as text in a report header.  For example the user enters Fiscal Year = 2012 and the report header displays "Headcount for 2012".
    Any comments would be appreciated.
    Thanks
    Ian

    Hai
    Yes Possible u can use the formula
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/80e0bf7d-f374-2b10-f2b5-df8065a545af
    Thank u
    Naveen

Maybe you are looking for

  • Can't see anything in external drive after renaming a folder

    Hi all, I can't see anything on my external drive after renaming a folder. I have the drive set up as a Windows drive with access through the volumes folder (I had to transfer  large amount of files from a PC and have it be readable on my MacBook Air

  • External operation in routing

    Hi In routing if I maintain controlkey with external operation, I have to enter the info record details. (I have to create info record without ref to material, the pur req/Pur ord created will be account assigned). When ever I create an order the sys

  • How to Make Gmail the default mailto: link

    I need help. I would like to make gmail my default mailto provider in Safari.  Gmail Notifier used to take care of this, but since Google removed that program, I haven't figured out a way to do it. Right now, Safari will start the Mail app when I wan

  • Can we move SAP R/3 standard Function Groups, SAP Tables to BW

    Dear Forum, We are in a ‘pilot’ process of migrating SAP R/3 Custom development objects to our BW client and we have a few questions that we would like to know if possible. We are currently in the ‘To Be’ Blueprint Phase of migrating SAP 45B to ERP20

  • Multicash upload issue

    Hi Gurus,   I'm running a Unicode SAP System.   I am trying to perform a multicash file upload via FF.5. The files are encoded using GB2312 (Chinese Simplified). I opened them in Internet Explorer using the GB2312 and the chinese characters are showi