Customer exit code  not  fetching exact value.

Dear All,
My requirement is as per the user entry date
for that date in one column   for that month in one column    for that finacial year in one column
fo that date it is coming fine
even for month  when i give 14/06/2010 a user entry data has to come up to 14th of that month in year also from financial year starting to  14/o6/2010.
for tha i created three varaibles on calday
as below
zv_sn_dat  user entry varaible  ready for input
zv_mtd_dat---- customer exit not ready for input
zv_ytd_dat----- customer exit not ready for input
and written the code as below
for fetching the current date data
    WHEN 'ZV_SN_DAT'.
   IF i_step = 1 .
     CLEAR l_s_range.
     l_s_range-low = sy-datum.
     l_s_range-opt = 'EQ'.
     l_s_range-sign = 'I'.
     APPEND l_s_range TO e_t_range.
   ENDIF.
For fetchin month to date ( current date)
WHEN 'ZV_MTD_DAT'.
   DATA : month(2) TYPE n ,
          year(4) TYPE n .
   IF i_step = 2.
     CLEAR : loc_var_range,month,year.
     LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZV_SN_DAT'.
       IF sy-subrc = 0.
         CLEAR l_s_range.
         l_s_range-high = loc_var_range-low.
         year = loc_var_range-low(4).
         month = loc_var_range-low+4(2).
         CONCATENATE year month '01' INTO l_s_range-low.
         l_s_range-sign = 'I'.
         l_s_range-opt = 'BT'.
         APPEND l_s_range TO e_t_range.
       ENDIF.
     ENDLOOP.
   ENDIF.
*(financial year starts from october first)
   For fetching the Year to Data ( Current Date)
WHEN 'ZV_YTD_DT'.
   IF i_step = 2.
     CLEAR : loc_var_range,month,year.
     LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZV_SN_DAT'.
       IF sy-subrc = 0.
         CLEAR l_s_range.
         year = loc_var_range-low(4).
         month = loc_var_range-low+4(2).
         l_s_range-high = loc_var_range-low.
         IF month NE '01' OR month NE '02' OR month NE '03' OR MONTH NE '04' OR MONTH NE '05' OR MONTH NE '06' OR
           MONTH NE '07' OR MONTH NE '08' OR MONTH NE '09'.
           CONCATENATE year '10' '01' INTO l_s_range-low.
         ELSE.
           year = year - 1.
           CONCATENATE year '10' '01' INTO l_s_range-low.
         ENDIF.
         l_s_range-sign = 'I'.
         l_s_range-opt = 'BT'.
         APPEND l_s_range TO e_t_range.
       ENDIF.
     ENDLOOP.
   ENDIF.
But the month to date even though iam executing from july 1st but for month to date the data is coming is JUne data
for year also up to may there is no data , but it is showing June data.
where the code is wrong ,
please can anybody suggets where i was gone wrong in code.
or  may be i was gone wrong to create varaibles all te varaibles onot on the calday?
Thansk & Regarsd,
sathish
*ENDCASE.

In debugging you can check what are the values being assigned to low and high.
Place check points at places where you assing the high and low values.
Double click on them during debugging, you can then find out where the logic is not fine.
Try by commenting out the code where you are initializing the system date to variable.
Also this would be fine for IF MONTH LT 10 instead of
IF month NE '01' OR month NE '02' OR month NE '03' OR MONTH NE '04' OR MONTH NE '05' OR MONTH NE '06' OR
MONTH NE '07' OR MONTH NE '08' OR MONTH NE '09'.
-Neelesh
Edited by: Neelesh Jain on Jul 3, 2010 6:57 PM

Similar Messages

  • Help needed in customer exit code to exclude a value

    Hi Gurus,
    I need to use a Customer Exit Variable to read the values for a characteristic. Based on one indicator I have to include or exclude a value. I am trying to use the code as below. But, it is saying "AError for variable  in customer enhancement ...".
    Code
    the variable is a multiple single values customer exit variable
             zl_s_range-low = z_placc.
             CLEAR zl_s_range-high.
             if z_pl_ind = '1'.
               zl_s_range-sign = 'I'.
             elseif z_pl_ind = '2'.
               zl_s_range-sign = 'E'.
             endif.
              zl_s_range-opt = 'EQ'.
             APPEND zl_s_range TO e_t_range.
    Please help me to solve the issue,
    Thanks in advance,
    Regards,
    aarthi

    Hi Uday,
    Thanks for your response.
    Below is the complete code.
    WHEN 'ZV_CSS11'.
    IF I_STEP = 1.      "Before Pop-up
       select * into table i_tp_tab_pl from /BIC/QZ_TP_PLAC
        where /BIC/Z_TP_PLAC = '11' and
            DATEFROM <= sy-datum and DATETO >= sy-datum.
    if sy-subrc = 0.
         LOOP AT i_tp_tab_pl.
             clear zl_s_range.
             z_placc = i_tp_tab_pl-/BIC/Z_PLACC.
             z_pl_ind = i_tp_tab_pl-/BIC/Z_PGLA_IND.
             zl_s_range-low = z_placc.
             if z_pl_ind = '1'.
               zl_s_range-sign = 'I'.
             else.
               zl_s_range-sign = 'E'.
             endif.
              zl_s_range-opt = 'EQ'.
             APPEND zl_s_range TO e_t_range.
             clear z_placc.
             clear z_pl_ind.
          ENDLOOP.
    endif.
    endif.
    Thanks in advance,
    Regards,
    aarthi

  • 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

  • Variable Customer Exit Is Not Working

    Dear all,
    I have created two variables to compare current month and previous month:
    ZCURMONTH
    ZPREVMONTH
    However, only column with ZCURMONTH displays the data but not column with ZPREVMONTH.
    Can someone tell me what is wrong with this customer exit code?
    IF I_STEP = 2.
      CASE I_VNAM.
        WHEN 'ZCURMONTH'.
          CLEAR loc_var_range.
          READ TABLE i_t_var_range INTO loc_var_range WITH KEY VNAM = '0P_PER3'.
          CLEAR l_s_range.
          l_s_range-sign     = 'I'.
          l_s_range-opt      = 'BT'.
          IF loc_var_range-low GT '012'.
            l_s_range-low = '012'.
            l_s_range-high = loc_var_range-low.
          ELSE.
            l_s_range-low = loc_var_range-low.
            l_s_range-high = loc_var_range-low.
          ENDIF.
          APPEND l_s_range TO e_t_range.
        WHEN 'ZPREVMONTH'.
          CLEAR loc_var_range.
          READ TABLE i_t_var_range INTO loc_var_range WITH KEY VNAM = '0P_PER3'.
          CLEAR v_period.
          IF loc_var_range-low LT '013'.
            v_period = loc_var_range-low - 1.
          ELSEIF loc_var_range-low = '013'.
            v_period = loc_var_range-low - 2.
          ELSEIF loc_var_range-low = '014'.
            v_period = loc_var_range-low - 3.
          ELSEIF loc_var_range-low = '015'.
            v_period = loc_var_range-low - 4.
          ELSE.
            v_period = loc_var_range-low - 5.
          ENDIF.
          CLEAR l_s_range.
          l_s_range-sign     = 'I'.
          l_s_range-opt      = 'BT'.
          IF loc_var_range-low GT '001'.
            l_s_range-low = v_period.
            l_s_range-high = v_period.
          ELSE.
            l_s_range-low = '012'.
            l_s_range-high = '016'.
          ENDIF.
          APPEND l_s_range TO e_t_range.
      ENDCASE.
    ENDIF.
    Thanks!

    Hi AL,
    I set the variable to represent "Interval" instead of "Multiple Single Values". Which one is correct in my case i.e. Period 12 - Period 16?
    Also, I have set the break-point for debug by monitoring the L_S_RANGE structure and E_T_RANGE table. The values are what I expected in EXIT_SAPLRRS0_001 function. However, I lost the plot when it goes to another function i.e. RRS_VAR_VALUES_EXIT_AFTER, the L_S_RANGE has changed to another value and E_T_RANGE becomes invalid.
    Appreciate further inputs.

  • Customer exit is not functioning after ECC upgrade/support package

    It seems our customer exit is not functioning after ECC upgrade/support package. I tried to activate the project again, no use. please help. Thanks! (see below for the enhancement info)
    COZF0002 Change purchase req. for externally procured component
    EXIT_SAPLCOZF_002
    INCLUDE ZXCOZU02
    *&  Include           ZXCOZU02
    CONSTANTS: lcc_eban(25)   TYPE c VALUE '(SAPLCOBC)EBAN'.
    FIELD-SYMBOLS: <fs_eban>   TYPE eban.
    DATA: l_fkstl TYPE prps-fkstl.
    Move values from the LUW to the Internal Table
    ASSIGN (lcc_eban) TO <fs_eban>.
    If the field symbol is "NOT' empty then proceed
    IF ( <fs_eban> IS ASSIGNED ).
    if WBS work order, get cost center from PRPS
      IF ( caufvd_imp-auart = 'ZM05' ).
        SELECT SINGLE fkstl INTO l_fkstl FROM prps
          WHERE pspnr = caufvd_imp-pspel.
        IF ( sy-subrc = 0 ).
          WRITE l_fkstl TO <fs_eban>-zzfistl.
        ENDIF.
    if not WBS WO, move cost center minus leading zeros to funds center
      ELSE.
        WRITE caufvd_imp-kostl TO <fs_eban>-zzfistl.
      ENDIF.
    ENDIF.

    Did you mean set a break point in the follow code?(Include ZXCOZU02), I tried set a break point in this code, but It didn't stop .
    *& Include ZXCOZU02
    CONSTANTS: lcc_eban(25) TYPE c VALUE '(SAPLCOBC)EBAN'.
    FIELD-SYMBOLS: <fs_eban> TYPE eban.
    DATA: l_fkstl TYPE prps-fkstl.
    Move values from the LUW to the Internal Table
    ASSIGN (lcc_eban) TO <fs_eban>.
    If the field symbol is "NOT' empty then proceed
    IF ( <fs_eban> IS ASSIGNED ).
    if WBS work order, get cost center from PRPS
    IF ( caufvd_imp-auart = 'ZM05' ).
    SELECT SINGLE fkstl INTO l_fkstl FROM prps
    WHERE pspnr = caufvd_imp-pspel.
    IF ( sy-subrc = 0 ).
    WRITE l_fkstl TO <fs_eban>-zzfistl.
    ENDIF.
    if not WBS WO, move cost center minus leading zeros to funds center
    ELSE.
    WRITE caufvd_imp-kostl TO <fs_eban>-zzfistl.
    ENDIF.
    ENDIF.

  • How to write customer exit code to get current user as default in variable

    Hi guys,
           I design a query which has a variable called var_employee , I also set some default values for this variable in query designer. But I would like to set the current user account who logon on (who execute the query) in the dropdownlist as default user when the variable selection screen appear. of course after that he can choose other avaiable value.
          I look up some related threads, all says that this need some customer exit code, and they mention to use CMOD to create the customer exit , but I don't know the detail process, as I am pretty new on this.
         The attribute of the var_employee  variable is :  employee(defined info object by myself) characterstic value, customer exit.
         Can somebody show me the process to create the customer exit, and the apap code in detail if possbile. then I can try.
          Thanks a lot in advance.
    Best Regards,
    Ben

    Hi,
    Please have a look at:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Krzys

  • Customer exit code to populate three month's fiscal period

    Dear frns,
    I need an ABAP customer exit code to populate three month's fiscal period.
    Please update on this...thanks
    Cheers! Shana

    Dear,
    Thank u for all replies.
    My requirement is simple.
    Rows:
    Fiscal Year
    Columns
    GR Value
    Filters
    Material Number
    Input Paramters:
    Material No.
    Fiscal Year
    Using customer exit if we populate current fiscal year in the selection screen output be like this....
    FISCAL YEAR    GR Value(in crores)
    2009                     4000
    2008                     3000
    2007                     2000
    2006                     1000
    The cube name Custom Cube ZBBP_C03.
    But I dont have time char 0FISCYEAR in my Cube.In my cube avaiable chars are Calender Year,Calender Year/Month,Calender Year/Quarter,Fiscal Period
    Please let me know if you need any information.
    Waiting for replies,
    Thanks & Regards,
    Praveen.K

  • Customer Exit Code Error

    Hi All,
    i have an issue while executing customer exit code for a query.
    Its giving the following error
    WValue "07.2010" is too long for variable Z_RAPMONTHS
    EValue "07.201" for user-exit variable Z_RAPMONTHS is invalid
    EVariables contain invalid values.
    I>> Row: 82 Inc: LRRMSU13 Prog: SAPLRRMS
    ASystem error in program CL_RSR_OLAP_VAR and form INIT-02- (see long text)
    Requiremnt is: variable value should corresponds to last six months including current month (six months in total), e.g.  if we execute the report today (December month) the desired value should be 07.2010 - 12.2010.
    code which i have written is:
    when 'abc'.
        DATA: curr_month(2) TYPE n,
              calc_month(2) TYPE n,
              curr_year(4) TYPE n,
              prev_year(4) TYPE n.
        CLEAR:curr_month,curr_year,prev_year.
        if i_step eq 1.
          curr_month = sy-datum+4(2).
          curr_year = sy-datum+0(4).
          if curr_month = '01'.
            calc_month = curr_month + 7.
            prev_year = curr_year - 1.
           CONCATENATE calc_month '.' prev_year INTO l_s_range-low.
          else.
            calc_month = curr_month - 5.
          CONCATENATE calc_month '.' curr_year INTO l_s_range-low.
         else.
         l_s_range-low = lv_zp0003_year.
            ENDIF.
      CONCATENATE curr_month '.' curr_year INTO l_s_range-high.
          IF l_s_range-low = l_s_range-high.
              l_s_range-opt = 'EQ'.
            ELSEIF l_s_range-high IS INITIAL.
              l_s_range-opt = 'EQ'.
            ELSEIF l_s_range-low LT l_s_range-high.
              l_s_range-opt = 'BT'.
            ENDIF.
            l_s_range-sign = 'I'.
            APPEND l_s_range TO e_t_range.
    Can any one please let me where i am doing the mistake.
    Thanks & Regards.
    AKG

    remove the '.' from the below concatenate statements.
    CONCATENATE calc_month '.' curr_year INTO l_s_range-low.
    CONCATENATE curr_month '.' curr_year INTO l_s_range-high.
    use the code as
    CONCATENATE calc_month curr_year INTO l_s_range-low.
    CONCATENATE curr_month curr_year INTO l_s_range-high.

  • Customer exit code to calculate  Average YTD.

    Hi Experts,
    I want to create new column ( AVGYTD TRGT) in Bex report for folling data .( Which is FF data).
    I have created one formula variable(zfmvavgytd) of type customer exit. and strucked at coding part.
    so that, anybody provide customer exit code for required column(avgytd trgt). and details are as follows.
    0CALMONTH  ENO  ENAME  PERDAY_ TRGT  
    04.2011             1     ABC             100                     
    04.2011             2     BCD             200
    05.2011             1     ABC             200 
    05.2011             2     BCD             200 
    06.2011             1     ABC             300 
    06.2011             2     BCD             200 
    07.2011             1     ABC             200
    07.2011             2     BCD             200 
    till  03.2012        
    Now I want to display the column for ( AVG YTD_TRGT)   based on "0calmonth " & " ENo  "   as below
    AVG YTD_TRGT
    100           
    200
    150
    200
    200
    200
    200
    200
    calculation behind this is...
    for 04 .2011   --empno(1)  ---100/1
    for 04 .2011   --empno(2)  ---200/1
    for 05 .2011   --empno(1)  ---200+100/2
    for 05 .2011   --empno(1)  ---200+200/2
    for 06 .2011   --empno(1)  ---300200100/3
    for 06 .2011   --empno(1)  ---200200200/3
    for 07 .2011   --empno(1)  ---200300200+100/4
    for 07 .2011   --empno(1)  ---200200200+200/4

    First you need to calcualte the YTD and then Average YTD.
    Year to Date (YTD) u2013 From the 1st to entered u201CKey Dateu201D for the current year.
    Average Year to Date - YTD divided by the u201CNo of Daysu201D in year till u201CKey Dateu201D for current year.
    Check the below code for getting Previous YTD....next create a Selection restrict the KF with YTD varaible
    Below is sample code for reference.
    to calculate "Previous year to date" (User input Calday u2013 key date)
    WHEN 'ZDAYPYR'.
    IF I_STEP = 2. "after the popup
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZPDATE'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
    L_S_RANGE-LOW(4) = L_S_RANGE-LOW(4) - 1. "low value previos year
    v_loc_date = L_S_RANGE-LOW. "take input value in another variable
    L_S_RANGE-LOW+4(4) = '0101'.
    L_S_RANGE-HIGH = v_loc_date. "high value = input, taken into another variable
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    EXIT.
    ENDLOOP.
    ENDIF.

  • Return Custom Exit Code

    Hello Experts,
    We are using Wise Script Wrappers to run Microsoft Updates (KB). Wise Script has Exit Installation Command through which we can control the Custom Exit codes return by the setup (Wrapper) .
    Case 1
    In our case when we use shutdown.exe at the end  after installation of KB's to reboot the machine the exit code reflected in sccm is 0 though we set Exit code 100 in Wrapper.
    Case 2
    When we dont reboot at the end of installation that is we dont use Shutdown.exe the Exit code return is 100.
    We cannot use Config manager restarts computer due to our business needs
    So Any help will be appreciated on how we can  control the custom exit codes
    Thanks,
    Apppack

    So the real question is why are you using non-standard exit codes?If you do non-standard things, you will get non-standard results.
    As Jérémy pointed out 3010 means "The requested operation is successful. Changes will not be effective until the system is rebooted." There are actually other standard error codes that indicate a pending reboot also but 3010 is the most common. A complete
    list of standard error codes is available at http://msdn.microsoft.com/en-us/library/cc231199.aspx.
    Jason | http://blog.configmgrftw.com

  • Customer exit code to populate fiscal period for prior three months

    Dear frns,
    I need an ABAP customer exit code to populate prior three month's fiscal period.
    Please update on this...thanks
    Cheers! Shana

    Hi
    Here is the code that will satisfies ur condition.
    CASE I_VNAM.
    IF I_STEP = 2.
    WHEN 'ZVAR1'.
    DATA DATE1 TYPE D.
    DATA PERIOD1 TYPE N.
    DATE1 = SY-DATUM.
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'.
    exporting
    l_date = date1
    l_periv = 'v3'
    importing
    E_BUPER = PERIOD2
    E_GJAHR = YEAR2.
    DATA PER3 TYPE N.
    PER3 = PERIOD2 + 1.
    CONCATENATE YEAR2 PERIOD2 INTO FPERLOW.
    DATA LDATE TYPE D.
    LDATE = SY-DATUM + 365.
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'.
    exporting
    l_date = LDATE
    l_periv = 'v3'
    importing
    E_BUPER = PERIOD2
    E_GJAHR = YEAR2.
    CONCATENATE YEAR2 PERIOD2 INTO FPERHIGH.
    DATA WA1 LIKE LINE OF E_T_RANGE.
    WA1-LOW = FPERLOW.
    WA1-HIGH = FPERHIGH.
    WA1-SIGN = 'I'.
    WA1-OPT = 'BT'.
    APPEND WA1 TO E_T_RANGE.
    ENDIF.
    Hope u gotit,
    Regard,
    RaviChandra

  • ORA-27369: job of type EXECUTABLE failed with exit code: Not owner

    Hi
    I created a backup RAC database job using DBMS_SCHEDULER under RMANTEST schema (a DBA account) and I got the error as subject.
    begin
    dbms_scheduler.create_job(
    job_name => 'scheduler_backup',
    job_type => 'EXECUTABLE',
    number_of_arguments => 2,
    job_action => '/opt/oracle/admin/bin/rman_fullbackup_RAC_TEST_test.sh',
    comments => 'backup via scheduler'
    dbms_scheduler.SET_JOB_ARGUMENT_VALUE('scheduler_backup', 1, 'TEST');
    dbms_scheduler.SET_JOB_ARGUMENT_VALUE('scheduler_backup', 2, 'TEST2');
    dbms_scheduler.enable('scheduler_backup');
    end;
    Thanks,
    Kevin

    Hi Ravi
    Thanks for your input.
    "ORA-27369: job of type EXECUTABLE failed with exit code: Not owner" is what I copied from ADDITIONAL_INFO of USER_SCHEDULER_JOB_RUB_DETAILS.
    One thing I don't understand of your words is that
    "On 10gR1 and 10gR2 you can redirect the stdout/stderr within your script and take a look at those log files."
    In my script, I have log files but I cannot see it. I guess the job fails directly without hitting the redirection line in the script. Do you mean I shall write something like this
    dbms_scheduler.create_job (
    job_action => '/opt/oracle/admin/bin/backup.sh > backup.log'
    Another one is
    "make sure that the user that external jobs run as must be able to run your script"
    But OS user and database user are two different accounts at different level.
    I am using 10.2.0.2 RAC. The Unix script runs successfully every night. I just want to take advantage of DBMS_SCHEDULER to avoid host dependency.
    Thanks,
    Kevin

  • Customer exit code for fiscalyear period based on system date

    Hi Experts,
    Please provide customer exit code for fiscalyear period derive based sy-datum. Fiscal year period derivie current to previous 12 periods and current to fast 12 periods.
    Thanks,
    Subbaraju

    Hi Subbaraju,
    Please use below customer exit code for your solution. Please define declarations as per requirement.
    When 'ZFPERIOD'.
    IF I_STEP = 2.
    ztoday = sy-datum.
    zfast = sy-datum + 365.
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
      EXPORTING
        i_date               =  ztoday
        i_periv              = 'K4'
    IMPORTING
       E_BUPER              = PERIOD2
       E_GJAHR              = YEAR2.
    CONCATENATE YEAR2 PERIOD2 INTO FISCPERLOW.
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
      EXPORTING
        i_date               =  zfast
        i_periv              = 'K4'
    IMPORTING
       E_BUPER              = PERIOD2
       E_GJAHR              = YEAR2.
    CONCATENATE YEAR2 PERIOD2 INTO FISCPERHI.
    L_S_RANGE-LOW = FISCPERLOW.
    L_S_RANGE-HIGH = FISCPERHI.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    Similar code user for your previous periods also.
    Thanks,
    Chandra

  • 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

Maybe you are looking for

  • Bounce the standby database

    Hello, I am using oracle10g with standby database. Here is the database version. Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi PL/SQL Release 10.2.0.3.0 - Production CORE 10.2.0.3.0 Production TNS for Linux: Version 10.2.0.3.0 - Pr

  • Connecting Macbook to Camcorder

    I want to connect my Macbook to a digital camcorder and record using iMovie. The camcorder has a mini HDMI out component jack. What is the best way to connect?

  • Error in BizTalk Web Service publishing wizard BizTalk 2013

    Hi, I am facing an error when i am trying to publish a BizTalk orchestration as a Web Service. It is a very generic error message that is popping up. Failed to create project "http://localhost/mycode.Orchestrations_Proxy". Object reference not set to

  • Match Code/ Search Help

    Hi ! I need to create a new matchcode for transaction XD03 which is directly a clone of search help DEBIX with additions of two fields i.e street 4 and street 5(STR_SUPPL3 & LOCATION). When I do that by copying and adding the two fields somehow I was

  • Upgrade for Sun Ultra 60 without DVD?

    20 January 2012 Greetings, I have a Sun Ultra 60 (SUNW, UltraSPARC-II, 64-bit) currently running Solaris 9. The Ultra 60 was listed on the HCL for the Solaris 11 Express release last year, so I assumed it would run Solaris 11. But having downloaded S