Default value of BeX customer Exit variable not Displayed in WeBI??

Hello Experts,
We are stuck with a problem where WeBI report is created on top of BeX query and we are not able to see the default value of Bex Customer exit variable in WeBI run. Here is the complete scenario:
1. One restricted KF is created in BeX, restricted with Customer exit variable on net Due date. And this variable is mandatory, ready for input, and Default value in calculated is user exit as current Week's Monday.
2. So, by default KF data should be restricted to Monday of current week, if user does not change this value.
3. Now, WeBI report is created on top of this Bex query, and all is working fine, i.e. we are getting variable as Prompt in WeBI, but Default value is not shown while Running the Webi Report.
So, need your inputs on the same, if default values from BeX in WeBI is supported or not? If yes, why this is happening, and how to resolve it?
Please notice, the restrcition is in KF only, it is not a separate restrcition on Net Due date in Filter area or in Defualt area of BeX
and we are on SAP BW 7.1 and BOXI 3.1 SP4.
Regards,
Vipul
Edited by: VIPUL GOYAL on Nov 23, 2011 9:44 PM

Hi,
See 1285993 - Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe
WebI will prompt when executed, but the default values calculated by the user exit  - do not appear.
Note: If the BEx variable has property 'ready for input' set / enabled, then its WebI prompt shows ok, but no default value appears.
Cause
This behaviour expected 'by design' (in the context of the product's current limitations) as explained in the online guide below:
Please refer to Chapter 7, page 44, document link here: http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_sap_olap_universes_en.pdf
Characteristic variable > processing type > Customer Exit  is "Supported, without user entry"                                                                               
-->  This should be understood as meaning "User will not be shown a prompt"
regards,
H

Similar Messages

  • How to get the current month value for a customer exit variable?

    How to get the current month value for a customer exit variable? 
    And also if we have an InfoObject with date value (including date, month, year), then how to derive the month value from this date type of Char.?
    Thanks!

    Hi Kevin,
    Check here........
    Re: Customer Exist for "From Current Date To Month End"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
    Cal month
    Regards,
    Vijay.

  • Customer Exit Variable not working in BO-Webi Report

    Hi All,
    I have created a universe based on Bex Query.
    Bex query consists of a customer exit variable on Calendar year/month where in it will populate current calendar year month by default while executing the query. It works fine while executing in SAP BI Bex Analyser.
    I have created a universe based on the query. For Calender year/Month i got L00, L01, LOV values in universe.
    Based on the universe I have created a Webi report. I did not specify calendar year/month as query filters. While directly executing the Webi report, I get the calendar year/month variable screen. But the value for it not populated based on customer Exit code written in BI.
    What has to be done to get the customer exit values in variable screen.
    Thanks for your understanding.
    -- Selva

    Since you have customer exit variable in your bex query, it will be like a global filter in your universe.
    Execute the webi report and check whether you are getting only current month data.
    --- Thanks

  • 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

  • Problem with Bex Customer Exit Variable

    Hi Friends,
    I have a customer exit variable which is getting filled based on the User Input.  I have written the code inside the If condition checking i_step = 2. The code is working as required.
    But the problem is when I try refreshing the query or change the user variable selection, the Customer exit variable is not changing.  I tried to debug the code and realized that the  values for the exit variable based on the previous selection is not cleared and the i_step = 2  is not being executed for the variable.
    While I close and reopen the query, the code is working fine.  
    Does anyone know why this is happening?  Please suggest..
    Thanks in advance..
    Regards,
    Priya

    Hi Binu,
    Here is the code sample.  I am trying to populate the month based on the input Week number '0I_WEKIN'
    .  For eg.  If I give 37.2011, the month value should be 08.2011.  If I give 39.2011, month should be 09.2011.
      WHEN 'ZC_MONTH'.
        IF i_step = 2.     "after the popup
            READ TABLE i_t_var_range INTO lw_var_range WITH KEY vnam =
        '0I_WEKIN'.
           IF lw_var_range-high IS NOT INITIAL.
              l_week  = lw_var_range-high.
              l_week = l_week - 3.
              CALL FUNCTION 'WEEK_GET_FIRST_DAY'
                EXPORTING
                  week = l_week
                IMPORTING
                  date = l_date.
              lw_range-low = l_date+0(6).
            ENDIF.
            lw_range-sign = 'I'.
            lw_range-opt  = 'BT'.
            APPEND lw_range TO e_t_range.
        ENDIF.
    Regards,
    Priya

  • Custome Exit Variable Not prepopulating Parameter of CRE Report

    Hi
    I am using a customer exit varibale to pre populate a parameter in a Bex query I have created.  When I run the bex query the customer exit variable populates the parameter just as it is supposed to.  However when I use the bex query in Crystal Reports for enterprise the customer exit variable does not pre populate the parameter.  Is there something I need to do to make sure that CRE recognises the customer exit variable or does CRE not recognises them?  If it doesn't recognise them is it possible to create CRE level Customer Exit Variable?
    Many Thanks in advance
    Neil

    Hi Alun
    Thanks but I'm in BW so Stored procedures are not really an option on this one.  I suppose my primary question is, is there a reason that Customer Exit Variable is not working as it is creating a lot of difficulties by not populating the parameters in the same way it does in the bex query I am using to develop my Crystal report.
    Thanks
    Neil

  • Customer Exit variable to display the current Year/Month by default.

    Hi Experts,
    I need to create a variable on the object 0CALMONTH that needs to display the current Month/Year by default when the query is run.
    Can anyone please help with the ABAP code that is required for the creation of this Customer Exit Variable?
    Thanks
    Aravind

    Hi,
    try this , just copy and paste in your Editor,
    Data: Year(4) type c,
          month(2) type C,
          date(6)  type c.
    IF I_STEP = 1.
      CASE I_VNAM.
        WHEN 'VAR_X'.
          l_s_range-low = sy-datum+0(6).
          l_s_range-opt = 'EQ'.
          l_s_range-sign = 'I'.
          year = l_s_range.
          l_s_range-low = sy-datum+4(2).
          l_s_range-opt = 'EQ'.
          l_s_range-sign = 'I'.
          month = l_s_range.
          concatenate year month INTO date separated BY '/' .
          Append  date to e_t_range .
      ENDCASE.
    ENDIF.
    Thanks,
    JACK

  • Query:  Customer Exit variable not getting populated

    Hello Experts,  I created a Customer Exit variable (ZPREV_MTH_OPS) in the query designer (7.0).  I also put the necessary code in the function module "Z_BWFI_QUERY_CELL_MANIPULTN", but the query variable is not getting populated when I run the query using RSRT.  The boxes for "Variable is ready for input" and "variable is without context" boxes when defining the variable.
    This is my code in the exit:
    case i_vnam.
        when 'ZPREV_MTH_OPS'.
         break-point.
          if i_step = 2.
            clear l_s_range.
            if sy-datum+4(2) = '01'.
              wa_prev_month = '12'.
              wa_prev_year = sy-datum+0(4).
              wa_prev_year = wa_prev_year - 1.
            else.
              wa_prev_month = sy-datum+4(2) - 1.
              wa_prev_year = sy-datum+0(4).
            endif.
            concatenate wa_prev_year wa_prev_month '01' into wa_datum.
            call function 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
              exporting
                day_in            = wa_datum
              importing
                last_day_of_month = wa_datum2.
            concatenate wa_prev_year wa_prev_month '01' into wa_datum.
    *        l_s_range-low = wa_datum.
    *        l_s_range-sign = 'I'.
    *        l_s_range-opt = 'BT'.
    *        l_s_range-high = wa_datum2.
    *        l_s_range-sign = 'I'.
    *        append l_s_range to e_t_range.
            l_s_range-low = '20080901'.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'BT'.
            l_s_range-high = '20080930'.
            l_s_range-sign = 'I'.
            append l_s_range to e_t_range.
          endif.
      endcase.
    I also put a break point the exit, but it's not coming to the breakpoint. 
    Any suggestions?
    Thanks.

    Josh,  the link you provided reminded me to include the code in the include ZXRSRU01 also, instead of just changing the function module.  Thanks for your help and all those who tried to help me.
    case i_vnam.
       when 'ZREL12MTH' or 'ZPREV_MTH_OPS'.
         call function 'Z_BWFI_QUERY_CELL_MANIPULTN'
           EXPORTING
             i_vnam        = i_vnam
             i_vartyp      = i_vartyp
             i_iobjnm      = i_iobjnm
             i_s_cob_pro   = i_s_cob_pro
             i_s_rkb1d     = i_s_rkb1d
             i_periv       = i_periv
             i_t_var_range = i_t_var_range
             i_step        = i_step
           IMPORTING
             e_t_range     = e_t_range
             e_meeht       = e_meeht
             e_mefac       = e_mefac
             e_waers       = e_waers
             e_whfac       = e_whfac
           CHANGING
             c_s_customer  = c_s_customer.
    endcase.

  • BEx Fiscal Period variables not working in Webi

    Hello,
    We have an BEx user entry variable for Fiscal period, that works correctly in BEx. In the prompt LOV, I get values from year 2003 to 2013.
    When I run it in Webi, the LOV starts from year 0000 to 2040. Also there are 16 periods in a year, wheras the LOV displays 24 period, even after restricting on fiscal variant.
    Has anyone  successfully been able to make Webi work with BEx fiscal period variants?
    Thanks,
    Nikhil

    I created a universe objects with following in the
    "Select"
    [0P_FPER].[NAME]
    "Where" condition
    <FILTER KEY = "@Select(Fiscal year Period\LovPeriod_Fiscal Year)">
    <CONDITION OPERATORCONDITION = "Greater">
    <CONSTANT CAPTION = "AB1000001"/>
    </CONDITION></FILTER>
    When I create a report with this object, I get no data.
    I change the above to
    "Select"
    [0P_FPER].[NAME]
    "Where" condition
    <FILTER KEY = "@Select(Fiscal year Period\LovPeriod_Fiscal Year)">
    <CONDITION OPERATORCONDITION = "Less">
    <CONSTANT CAPTION = "AB1000001"/>
    </CONDITION></FILTER>
    I tried changing the CONSTANT CAPTION values, everytime "Less" works but "Greater" does not. Does "Greater" not work?

  • Exit variable not working in web URGENT

    Hello Gurus,
      I have a exit variable off fiscper.  If I execute the report containing this variable in rsrt, rsrt2 or excel it works fine.  When I click the execute in web from query designer it returns '#' every time.  I tried logging out and everything.  Any advice?
    Forgot to add.  I have a 2004s backend and 3.x front end.
    Message was edited by:
            MG

    Take a look at SAP Notes 1026143 and/or 1073652. These describe symptoms similar to yours.
    Hope this helps...
    Bob

  • Display Error Message in BW Report based on Customer Exit Variable

    Hi
    I need to display an error message in the BW report based on the value of a customer exit variable - i was able to do this successfully in BW3.5 using the below code.
      WHEN 'ZUPN'. "Here ZUPN is the customer exit variable
        IF i_step = 1.
          <check for condition -- if successful, variable flag = 1, else variable flag = 0>
          IF flag = 0.
            MESSAGE e157(00). "Error Message
          ENDIF.
        ENDIF.
    I have upgraded my system to BI 7.0 now. Whenever the variable check is not successful, it displays a blank screen instead of the error message in the report. Please advice if we need to change the code and how ??

    Bhanu,
      Thanks for u r reply.This warning message appears every time i execute the report through portal.
    Any idea ?
    Regards
    Mano

  • Error creating Customer Exit variable, please help

    Hi Experts,
    This is the scenario, I need to obtain the convertion rate from the table TCURR in order to convert several currencies to USD, so I created a Customer Exit variable that gets the Period and based on that obtains the conversion rate for the last day of the given month from TCURR, the problem is when I created the Formula Variable to get the value from the Customer exit variable I got the following error:
    'ZVARREGEXIT' ALREADY EXISTS; SELECT A DIFFERENT NAME.
    But in not using that name anywhere on my variables creation, Im doing something wrong? How can I check wheres is that variable being used.
    Ideas, comments are always welcome and appreciated.
    Regards.

    Hi Ed,
    Open Admin Workbench (RSA1) and choose Transport Connection --> Object Types --> Query Elements --> Variable --> Select Objects. Find the variable of interest and transfer it back to the main screen, then right-click and choose 'Display Description'. That will show you a "where used" list of queries, workbooks, etc.
    Next, you can use the previous technique to open one of the queries, find the variable in the query, and determine which InfoObject it is associated with.
    Hope this helps!
    Regards,
    Saurabh

  • How to change a customer exit variable in columns

    Hallo Experts,
    i have a query with two columns. In the first column is a customer exit variable, who get filled with the actual calyear. In the second column is the same variable with an offset -1.
    When i execute the query, in the first column i can see the year 2007 and in the second column i can see 2006. That´s ok.
    Now i want to change the year (dynamically) in a filter 2007 in 2005. The result should be in the first column 2005 and in the second column 2004.
    What can i do?

    Hi Jens,
    As I understand the scenario, you have two RKF or selections in column 1 and 2, one is restricted with variable ZYear, the other with the same variable, offset - 1 and variable ZYear provides current year.
    I think there is no way to change years dynamically in a filter, but you could solve the issue by refreshing the query and overwrite default value provided by customer exit.
    To achieve this, please change variable and check 'Ready for input' in change dialog..
    If this shouldn't work, please let me know details a variable definition and customer exit.
    Have a nice w/e
    Joe

  • Changing a customer exit variable in Step 2 which was already set in Step 1

    Hello,
    i have the following problem.
    There are 2 BEx customer exit variables A and B.
    Variable A is filled in Step 1 before the user dialog appears.
    Variable B is determined in Step 2 in dependence of variable A.
    Now i want to change variable A in dependence of user entry althoug it was already filled in step 1. Can i somehow force the variable manipulation in step 2 for a single variable wich has already been set in step 1?
    Or is there a way to change all variables at once after they have been set e.g. in step 3?
    Regards,
    Alexander

    Hello Alexander!
    It's true: You cannot change values that were entered in step 1. It's a feature This is supposed to make sure that a value that was entered (or confirmed) by the user can never be changed by any piece of coding - customer or SAP. If that possibility existed, then that would create some real issues for reliability and also support.
    What is your scenario that you are trying to solve? Maybe there's another way to do it?
    Regards,
    Christian!

  • Using Formula Variable in Customer Exit variable

    Hi,
    I want to assign valuees of 2 Formula Variables to one cstomer exit variable based on some Characteristic.
    Example. Formula variables are Early and Late. If Early = 3 and Late = 4 , I want to pass value to the Customer Exit variable as Low = 3 and High = 4.
    The problem is in I_T_VAR_RANGE there is no value for formula variable in LOW field.
    Other variables based on Characteristics have values in this field.
    What can I do in this case?
    Regards
    SSS

    SSS,
    You can restrict your characteristic with two variables in the value range options of restricting.
    One can be used as low and the other can be high.
    Hope that helps.
    Thanks.

Maybe you are looking for

  • SAP XI server0 stopping after trying to start

    Hi All , I'm really new to SAP , recently my SAP XI development server (Java Stack) stopped and when i check the log It gives this error when it try to start services , anyone has any idea on this ? service dbpool ================= ERROR ============

  • Airport Extreme, Time Capsule and N and G

    Hi, A quick background. I can't have wires, other than from my iMac to my Airport. So I use wireless. I like the N speed from my mac to my fileserver and even though it is slow compared to ethernet a chronosync job is just fine over night. The proble

  • Why won't the TV Signal setting stay as I set it?

    I asked this question somewhere on this site a while back about my iPhone on iOS 4 but can't find the original posting... so this time I'm going to try on the iPad thread instead. So... I plug in my composite video lead. I go to the TV Out options an

  • I need a Windows-executable widget that.....

    ...toggles the users's Adobe Acrobat program preferences\Internet\Web Browser Options "Display PDF in browser" check box ON or OFF from OUTSIDE of Acrobat...(or, at least, brings up that window, so the user can check/uncheck the box.) Rationale: in a

  • Apps are deleted when sync ipod

    When I sync my touch, apps on it keep getting deleted so i have to stop the sync Why does it keep doing that? What can I do?