Variables in Bex and BO

Hi Experts,
I am using Business Objects 4.0 SP2 with SAP BEX.
I am not using universe. Webi directly connect to Bex.
I have a characteristic variable in Bex processed by authorization.
The variable is working fine in BO. But i dont want that variable to prompt for values in BO. User need not select values.
I want the filter value to get added to Bex query/MDX query without prompting in BO.
Please let me know how can i do it? I am new to Bex - BO reports. What happens if i uncheck the input ready option for that variable in Bex?
Regards,
Jacob
Edited by: Jacob J on Dec 4, 2011 4:59 PM

Hai
Remove the Promt
http://www.forumtopics.com/busobj/viewtopic.php?p=649176&sid=68bb3668f32a31bc34b4d976b9abe736
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00979eea-06a0-2e10-5583-e33378db04d1?QuickLink=index&overridelayout=true
http://forumtopics.org/busobj/viewtopic.php?t=120010&sid=17c36f534ab11307c989a5230afb3409
http://www.forumtopics.com/busobj/viewtopic.php?p=754375

Similar Messages

  • Calendar prompt for Date variable from bex

    Hi All,
    I have a Bex query where I have a variable on 0CALDAY
    - Customer exit (i_step = 1 to populate with current date)
    - Single value
    - Mandatory
    I created universe on this query and in webI selection screen i do see the variable prompt.
    I am not able to see the current date populated automatically since exit values are not populated to WebI at runtime.
    My problem is that in WebI selection screen we get list of date values from the info provider instead of Calendar prompt
    where user can enter the values directly.
    I am currently on BO XI 3.1 SP3.
    Is there any specific setting in Universe or bex query which is required to get this Calendar prompt instead of list of values for dates?
    Note: When we were on SP1 the universe created then had same variable from bex and it still shows us Calendar prompt but ever since we upgraded to SP3 for the query splitter functionality we not able to get the calendar prompt for date variable in new universe we create
    Thanks
    Ritesh

    Yep.
    Now tell me how you want to show that Prompt @ WebI report level.
    My problem is that in WebI selection screen we get list of date values from the info provider instead of Calendar prompt
    where user can enter the values directly. Exactly, i didn't get this??
    @Prompt:
    You have flexibility to show options like:
    Mono/Multi: User can select Single value or Multiple.
    BW Variable: Same we have (Single/Multiple)
    Free/Constrained: User can Enter his/her value directly or No change option.
    BW Variable: By defalut you will get this, once you made it to Optional input.
    Persistent/Not_Persistent: Refreshed report has to show last selected value means use Persistent otherwise Not_P.
    By seeing the Prompt syntax , I can say your Variable is after Customer Exit, Correct??
    Workaround for your Problem is:
    <FILTER KEY="ZV_DATE"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date (Previous Day)','A','Date\LovDate (Previous Day)Base',mono,primary_key)"/></CONDITION></FILTER>
    You have to remove that Date class and objects from prompt syntax. Because of that it showing up LOV's not calendar.
    Like:
    <FILTER KEY="ZV_DATE"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date (Previous Day)','A',',mono,primary_key)"/></CONDITION></FILTER>
    Why, It should be blank??
    Because Date needs no class\object to show up, by default you will get Calendar on the fly.
    Hope you got my point.
    Thank You!!

  • How to create Text Variables in BEx Query Designer

    How  can i create Text Variables in Bex Q.D.
    I am able to create characteristic variables
    but i can't find option to create text variables.
    What's the requirement to create Text variables in Bex Q.D.
    When i try to create Text variable for 0calDay.. the variable type is characteristic by Default and disabled.
    How can i create text variables related to 0CalDay with which i need to work in Customer Exit.

    Hi,
    You have to create characteristic variable processing by Customer Exit by considering 0CalDay as a Reference Characteristic
    After creation of the above variable, you restrict your KF with the above created variable.
    Now you can create a Text variable for the description of your KF. This way it works...........
    Regards,
    Suman

  • How to create a variable in BEx 7.0

    Hi,
    Can anyone please tell me how to create a variable in BEx 7.0
    In 3.5, when we right click on a characteristic, we used to get an option for restrict.
    I cant find any such option in 7.0

    Hi,
    Right click on the characteristic 0CALMONTH in the default values or drag it to char. restriction section and say restrict.Pull the drop down menu in that to select variables. There u will get a create icon.Click on that...then in details tab u can specify whether mandatory,interval and all..
    Regards,
    Rathy

  • Hi, Could anyone help me with variables in BEx

    Hi,
      I want to know what a Variable is,when and how it is used in BEx Reporting. I am aware that Variables are very important in BEx, but i don't know where to use it. I know how to create a query report,but where will i use this variables and how,while creating one.
    Could anyone help me through this step by step.
    With Thanks,
    Siva.

    Hi Siva,
    Please go through the info here. It is very helpful:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm

  • 'Text' of a variable in Bex selection screen

    Hello,
    We have a customer exit variable in Bex Query selection.it is mandatory,ready for input,interval which is on 0CALMONTH2.
    In Bex selection screen i am not getting text of default/entered months.
    for example: if default value is 2 to 4,then text would be FEB to APR.
    what could be the reason?how to get teaxts of entered values?
    (we have one more customer exit variable on 0CALMONTH2 which is single value and it shows text of enterd values in bex selection)
    In web it is working fine.
    Rakesh

    Hi,
    Try to create an another customer exit variable for 0CALMONTH2 with mandatory,ready for input,interval. refer the abap code of the another customer exit variable(single value variable) of 0CALMONTH2 which you have mentioned in the bracket and modify the abap code based on the selection - interval. hope it  helps.
    Regs,
    Vachan

  • How to create variables in Bex query

    Hi all,
    can anyone please explain how to create the variables and how many types of variables in Bex Query.
    Thanks in advance
    James

    Hi James,
    You can create variables in the BEx Query by right clicking on your characteristic and then selecting Restrict. A pop up window will appear. On the left side of the pop-up window, right click on a white space and then select New Variable. The Variable Wizard will then appear - you can now create your variable acording to your specifications. For more info on variables, please click on the link below:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/61/579b3c494d8e15e10000000a114084/content.htm
    Hope this helps,
    Juice

  • Is it possible to create a variable in bex with the last work day?

    Hi Gurus
    Is it possible to create a variable in bex with the last work day?
    Actually end-user every day open queries,
        - Put in selection date day - 1 or
        - put last Friday if the day is Monday or
        - put last Thursday if the day is Monday and Friday is holiday (in a calendar for example 25 the December).
    Please do the needful. It is urgent
    Thanks in advance
    Raj

    Try this logic in a customer exit:
    DATA:  l_s_range TYPE rsr_s_rangesid.
    DATA:  X_PERIOD LIKE T009B-POPER,
               X_YEAR   LIKE T009B-BDATJ.
      CASE I_VNAM.
      WHEN 'ZPREVWORKDAY'.
        DATA: l_DayOfWeek(1) TYPE C,
              l_act_date     TYPE d,
              l_prev_date    TYPE d.
        l_act_date = sy-datum.
        CALL FUNCTION  'DATE_COMPUTE_DAY'
             EXPORTING DATE = l_act_date
             IMPORTING DAY  = l_DayOfWeek.
        CASE l_DayOfWeek.
          WHEN '1'.
            l_prev_date = l_act_date - 3.
          WHEN '2'.
            l_prev_date = l_act_date - 1.
          WHEN '3'.
            l_prev_date = l_act_date - 1.
          WHEN '4'.
            l_prev_date = l_act_date - 1.
          WHEN '5'.
            l_prev_date = l_act_date - 1.
          WHEN '6'.
            l_prev_date = l_act_date - 1.
          WHEN '7'.
            l_prev_date = l_act_date - 2.
        ENDCASE.
        l_s_range-low  = l_prev_date.
        APPEND l_s_range TO e_t_range.
    ENDCASE.
    Edited by: Tyler Blouse on Feb 13, 2008 8:28 PM

  • Not able to access the Date variable in Bex report after SP upgrade

    Hell Experts,
    We have upgraded the support pack to 27 and after that we are not able to access date variable in Bex report.
    We are not able to restrict the Posting date on variable, we are getting the message "Operation failed! No detailed error information from backend available".
    Thanks
    Chetan

    Hi,
    carry out basic checks like RSRV for the field,query ,Infoprovider on which this query is based..
    Check whether there is any in consistent value in the posting date..
    check whether objects are active correctly..
    else serach for SAP note or raise OSS to SAP..
    Thanks and regards
    Kiran

  • How to edit the properties for existing variables in BEX query, so that I can get multiple input selections

    Dear fellow developers,
    I'm trying to edit an existing variable using BEX query, so that it can allow multiple input selections.
    As you can see in the screenshot attached, the option is selectable during creation.
    However, during editing of an existing field, this field (Details -> Basic Settings -> Variable Represents) is not selectable.
    Does anyone knows why, and how to remedy this?

    Yes you can do it at the table level.
    Go to SE11 enter table name as RSZGLOBV.
    Enter the technical name of variable in VNAM field..You need to change the value in VPARSEL column.
    Please make sure to get the where used list of this variable so that you can know the impact,if something goes wrong.
    Also change it in DEV and then transport across the landscape.
    PS:Same thing has been described in this blog as well
    Changing BI variable parameters
    Regards,
    AL
    Message was edited by: Anshu Lilhori

  • Problem reg variables in BEX

    Hi Gurus,
    I am doing sales trend reporting in bex....I have 4 key figures which all gives sales Amt created using some variables.
    my Selection creteria is  calmonth/Yr
    Key fig 1 - should show the sales of selected month
    Key fig2 - should show the sales of selected month for prev yr
    Key fig3 -should show the sales of starting of yr to selected month
    Key fig4 - should show the sales of starting of yr to selected month for prev yr...
    Every thin is fine...but my problem is when i give the current month how can i show my sales ?
    ie (1)  Selection month = September 2007 ( which only a portion completed)
    Current month:   data from 9/1/2007 thru 9/26/2007  (i.e., all the data we currently have for September)
    Same month prior year:   data from 9/1/2006 thru 9/30/2006  (i.e., the data for the full month of 9/2006)
    Current YTD:   data from 1/1/2007 thru 9/26/2007
    Prior YTD:   data from 1/1/2006 thru 9/30/2006
    Please give me ur suggestion how to create the variables for the KF 1  and KF3 ?
    the coding for variable of KF3  which is used for
          LOOP AT i_t_var_range INTO loc_var_range.
            IF loc_var_range-vnam(7) = 'ZSELMON'.
              v_year = loc_var_range-low+0(4).
              v_month  = loc_var_range-low+4(02).
              CONCATENATE v_year '01'  INTO l_s_range-low.
              CONCATENATE v_year v_month INTO l_s_range-high.
              l_s_range-sign = 'I'.
              l_s_range-opt  = 'BT'.
              APPEND l_s_range TO e_t_range.
              EXIT.
            ENDIF.
          ENDLOOP.
    Regards,
    BAALAJI

    hi Balaji,
    firstly can you please confirm if your input variable is Day interval or Month interval.
    ok if it is all up to ur requirement. please create a variable on cal month  to show current month or use one of the standard once.
    restrict it with your KF to get your KF1.
    Create a new RKF and in this use cal month variable used earlier and give a offset value 0f -12 and this gives you you KF3
    please find this code for month variable it might help.
    when 'ZMONTH1'.
    Get the user input day from ZCALDAY
          if i_step = 2.
            read table I_T_VAR_RANGE into z_t_var_range
                            with key VNAM = 'ZCALDAY'.
            if sy-subrc eq 0.
              if not z_t_var_range-LOW is initial.
                ZE_T_RANGE-SIGN    = 'I'.
                ZE_T_RANGE-OPT     = 'EQ'.
                ZE_T_RANGE-LOW     = z_t_var_range-LOW+0(6).
              endif.
            else.
              ZE_T_RANGE-SIGN    = 'I'.
              ZE_T_RANGE-OPT     = 'EQ'.
              ZE_T_RANGE-LOW     = SY-DATUM+0(6).
            endif.
            APPEND ZE_T_RANGE TO E_T_RANGE.
            clear ZE_T_RANGE.
          endif.

  • Rectrict list of possible values for variable in Bex

    Hello folks!
    I need to give a user possibility to choose only few value for variable in Bex report. Number of entries in master data is huge. I need to show only 7 possible values in the window with variables.

    Amy,
    You have a tricky requirement but I can only think of one thing but it would require user training. Try the following.
    You can setup a new variable with default values and define it as type multiple single values.
    The user could in the variable screen would then need to take out the ones that are not needed.
    Hope this helps.
    -Sid

  • Variable in BeX version 7.0  to status " not 'dynamically changable'

    How can we change the variable in BeX version 7.0  to status " not
    'dynamically changable' ? I need to do this fullfill some reporting requirements.

    I managed to figure it out myself!
    Instead of VAR_VALUE I need to enter VAR_VALUE_EXT, and it works fine.
    I will mark this thread as "answered".

  • Hierarchy variable in BEx

    Hey, is there a way to make a BEx characteristic variable that has hierarchies available so that the user can select between several hierachies and not just within the one? i.e. 0costelmnt has several hierarchies available but when you set up a variable you can only use one hierarchy.
    Thanks in advance,
    A. Berkey

    If I understand your question correctly, at query runtime, you want to enable the user to just be able to select an entire hierarchy (w/o regard to hierarchy nodes).  You need use (or create) a hierarchy variable by right-clicking "cost element" and selecting either:
    A). Properties
    Click the hierarchy field and select the checkbox for variable entry.
    or
    B). Restrict
    Go to the hierarchy tab of the restrict dialog window and choose the hierarchy variable.
    As a more detailed scenario, you may want a user to be able to choose which cost element hierarchy to be used within the query.  Additionally, you may want the user to be able to choose a particular node(s) of the selected hierarchy.
    To create this scenario (user picks hierarchy and node of selected hierarchy):  Create/use a hierarchy node variable on cost element (this can be done by right-clicking "cost element",choosing "restrict", and proceeding to the hierarchy tab of the restrict dialog window).  After selecting the variable, right-click, and choose "Select variable hierarchy".
    At runtime, the user should now be prompted with two variable fields, one for the hierarchy, and one for the hierarchy node.
    Note:  Within query properties, set the order of the variables where the "hierarchy" variable precedes "hierarchy node" variable.  This is useful as the values of "hierarchy node" are driven from the selected "hierarchy".
    Also,
    For more info on variable, please refer to http://help.sap.com.
    Rod Johnson

  • How to see selection variable in BEX WEB ANALZYER

    Hi,
    I'm not able to see the  values of selection variables in bex web analyzer report. pls help.

    Thank you for your response. But it didn't work.
    I am able to go to 'lay out' option in bex analyzer and set 'display text variables' to All so that I can display all the variables in report.  Is there any similar option available in bex web analyzer.
    I am able to see the variable selection parameters I have selected in 'INFORMATION' tab of web analyzer. But I would like to see the same variables on 'data analysis' tab.
    Do I need to change any setting in order to display filter values that are entered during run time of the report.

Maybe you are looking for

  • Xbox and Ipod Touch Problem

    Hey, I have and Ipod Touch and an Xbox 360 and want to connect my Touch to the Xbox to play music while playing a game, but my Xbox doesn't pickup the Touch. But my Touch charges, anyone know why or know a link to a similar problem that can help me i

  • How Come my iPod Purchases no longer Show up on my Comp?

    Whenever I purchased something from the iTunes Store on my iPod Touch it would always appear on our iTunes on the computer. Now it isn't doing that. I've checked for available downloads and it says they're all on the library. Could it be because my B

  • PURCHASE  RETURNS TO VENDOR

    HI SAP GURUS, I HAVE AN PURCHASE RETURNS SCENARIO : 1) MATERIAL IS PROCURED FROM VENDOR. MIGO IS DONE. 2) SYSTEM SETTINGS ARE SUCH THAT AT THE TIME OF MIGO EXCISE INVOICE IS  CREATED, CAPTURED & POSTED. EXCISE REGISTERS ARE ALSO UPDATED. MIRO IS NOT

  • Wrong heatsink for my Pavilion P6180T?

    Hello, I have a HP Pavilion P6180T that was purchased in 2009.  Recently, the fan was running very loudly, so I opened the case to clean it.  At a brief glance, I could tell that the plastic casing surrounding the heatsink and fan was broken.  I hope

  • Deriving Planning Folder Technical Name From User-Exit

    Dear Colleagues, For those of you who know ABAP, do you know if it is possible to determine the technical name of a planning folder from within a user-exit (i.e. planning function that has been executed from within a planning folder)? Customer states