Crystal Reports with BEx Query using Custom Exit Variable

Hi,
We have BW BEx Query using Customer User Exit variable to derive  the Fiscal Week for Last Year (called it VAR2) based on another user input variable Current Fiscal Week (called it VAR1).
VAR2 is derived from VAR1 in CMOD via some codings and thus it DOES NOT have the "Variable is Ready for Input" flag ticked in the BEx. VAR1 is user input variable, so it has "Variable is Ready for Input" flag ticked in the BEx.
When we create a Crystal Reports with the BEx Query using variable VAR2, and when we run it we got an error message saying "Failed to execute query; '[]<java.lang.UnsupportedOperationException: No Selection State Support!ZP_MI_LYPUBWEEK>'. Redesign your query or contact the data source maintainer to solve the problem".  (note: ZP_MI_LYPUBWEEK is VAR2 in this case).
Could anyone please assist? Surely, CR supports BEx customer user exit variables like the above, right?. I also refer to the forum below as it seems to have a similar issue (except mine with an error message), but it does not provide a solution in it.
Crystal Reports with BEx Query using Custom Exit Variable
Thanks,
Andy

Hi Vibhav,
We have the SAP Crystal Reports for Enterprise XI4.0 Version 14.0.0. Not sure if SP0 or other SP, got to check with Basis Team later.
We tried that "mandatory" option and did not work either.
Anyway, SAP has now come back again saying it is something they will fix it in next release/version. We got a phone call from them and a reply below to our OSS.
23.08.2011 - 08:20:49 CET - Info for Customer by SAP  
I have raised this issue on the Idea#s Place as an enhancement request
on the below link:
https://cw.sdn.sap.com/cw/ideas/5586
This ER contains the information of including the customer exit
variables in the report without checking the #input for ready# option.
This ER can be considered for being implemented in the future
versions. You can refer to SAP Note: 1515837 - How To: Enhancement
Request Process - "Idea Place" for more information regarding the Idea
Place.
Cheers,
Andy

Similar Messages

  • Strange behaviour of Crystal report with BEx Query

    Hiii. All
    I have created a crystal report on top of BW-BEx query. My query contains a structure other than Keyfig.
    Thats why I am using BW-MDX query option to build my Report.
    i Have created a cross tab in my report taking the structure as Column and some key figures in Summarised fields.
    till here it works fine. but whenever I am dragging some fields say "Project Defination or Location" to  report header section, which are also coming frm BEx query. then my cross tab is not showing all colomn of the structure(Precisely it removing one column of the structure).
    Can anyone pls tell me  why is it happening. and how to proceed to solve this.
    Waiting for your reply..
    Thanks
    Anish

    Hi,
    Thanks for your reply.
    Yes it returning data . Structure contains total 13 columns .
    So It is suppose to return all 13 of them. and it is doing so till i don't drag-drop the field. once i do this its behaving strangely and returning me only 12 columns.
    CR 2008 Version : 12.3.0.601
    BO Version : BO XI  3.1
    Regards,
    Anish

  • Unknown error when executing MDX when refreshing Crystal Report with BEx

    Hello Experts,
    I have created a Crystal Report (Crystal 2008 SP1) with BEx Query (7.10) and have been able to refresh successfully when the SAP_ALL authorization is included in my user role. I don't want my end users to have SAP_ALL so I created a role and assigned the authorizations recommended in the SAP Integration Kit for BusinessObjects 3.1 Install Guide.
    When I run the report as one of the users assigned to my new role I get the following error in the trace file.
    ERROR: .\crdb_bwmdx_execution.cpp [200]: l_bapiGetStreamInfo failed with return code RFC_RC = 0 Exception:  BAPI Error: BAPI Error #:0
    Unknown error when executing MDX
    2188     6556     Caught DbError #1 with Message 'BAPI Error #:0
    Unknown error when executing MDX'
    2188     6556     Caught DbError #1 with Message 'BAPI Error #:0
    Unknown error when executing MDX'
    2188     6556     Caught DbError #1 with Message 'BAPI Error #:0
    Unknown error when executing MDX'
    I tried all the Fix Packs (ie 1.1., 1.2 and 1.3) for XI 3.1 Integration Kit to try resolving the error but it didn't work.
    The same query works fine in BEx Web when running as one of the users in the new role I created for Crystal Report users.
    Are there any other Authorizations that I need to include in the role?
    Cheers.
    Paul.

    We have been able to identify what causes the MDX driver to error and I will explain what we are trying to implement with the hierarchies.
    Firstly, we are creating reports of the HR cube Mutliprovider using the SAP MDX Driver which works well when there are no authorization analysis set on the cube. But with the authorization analysis set for on 0ORGUNIT for BEx Explorer Crystal returns the MDX error.
    Each of the Business Unit managers are assigned to an Organization Unit that will be used to restrict the employees that will be reported. To restrict the Managers to only see their Org Unit we have set the 0ORGUNIT object to use authorization ananlysis and a custom authorization variable to return only data for the Org Unit they belong too.
    In Crystal this works well when a manager has an Org Unit that is a head department of other Org Units. This scenario will give Crystal the NodeID and Parent NodeID to create the hierarchies in the report. But when a manager does not have any other Org Units beneath there own department then Crystal doesn't have a Parent NodeID to create the Hierarchies with the NodeID. In the RFC trace I can see an error when Crystal is trying to get the Parent NodeID but the user is not authorized to that Org Unit then it throws the error.
    We have got a temporary workaround which is to create the managers a dummy Org Unit below their own department. The workaround will do for now but shouldn't the MDX driver be able to recognise that it has returned the last level in the Org Unit Hierarchy and not return an error?
    The customer is looking for a product fix as they believe this should be handled by the driver. Is this a bug or a limitation of the product?
    Paul.

  • How to use customer exit variable in the report

    Dear All,
    i want to use a standard customer exit variable in the report properties.
    In the Bex Query Designer right hand bottom you will find two buttons "Properties" and "Task". Click on task you will get different option. Choose properties from there and then select "variable sequence tab".
    I need to add a standard variable there. How can i achieve it?
    Appreciate your early help.

    You need to add variable to corresponding charctertic then you can get that varaible for sorting the sequence....
    If 0CUST is the varaible then you need to assign it 0CUSTOMER then 0CUST will be available for the sequence.
    Edited by: shanthi bhaskar on Apr 2, 2009 5:41 PM

  • Bex Formula using customer Exit

    Dear Friends,
    I am trying to resolve the below problem. Require your help.
    In one of the bex reports, the requirement is to provide a variable on Bill date. From the given bill date, the report should display data for 7 consecutive days.
    But the condition is that the from date should always be a saturday?
    What i have done is : In ROWS, i selected the required key figure columns
    and then, created a structure in which i created Seven New Selections and used offsets.
    so, if the user enters a specific date, the report displays seven days of the data from the given date. However, how do i restrict the user's choice to only saturdays.
    I suppose the solution lies in using customer Exit.. but could some one help me with the ABAP coding.
    I am also available on [email protected]
    Thanks for the anticipated support.

    Hi,
    You can get the Day from the current system date and put a case statement to substract 1 for sunday to get saturday
    2 for monday
    3 for tuesday
    etc
    Fuction Module : DATE_TO_DAY
    Can check this link : FM: DATE_TO_DAY

  • Query Performance - Customer Exit Variable

    Hi All,
    In the report I am using a customer exit variable on FiscalYear Period. When the user inputs a FiscalYear Period it gets the data for the previous 52 weeks. For ex. If the user inputs 052.2008, then it get the data from 001.2008 - 052.2008 (for 52 weeks).
    Here the report takes a significant time to run. I do understand from the high data volume perspective. Here I could not depend much on the aggregates, as the input selection is dynamic.
    Are there any ways to improve the performance of the query. If aggregates is a solution, then on what basis should I build the same.
    Thanks in advance.

    Hi ,
    You can use OLAP Cache....this will help you improve the performance of the query.
    The OLAP cache is architected to store query result sets, and to give all users on an application server access to those result sets. If a user executes a query, the result set for that queryu2019s request can be stored in the OLAP cache. If that same query (or a derivative) is then executed by another user, the subsequent query request can be filled by accessing the result set already stored in the OLAP cache. In most cases, a query request filled from the OLAP cache is significantly faster than queries that receive their result set from database access.
    Go to RSRT >> give the query name >> Click on Execute and Debug >> there uncheck the box " Do not use Cache".then execute....
    Again execute the query without Cache........just check if it makes any difference.......
    Thanks and Regards,
    Debjani..

  • Restricting Charecterstic using customer Exit variable

    Hi Experts,
    Please adivise how can I restrict values of a charectersitc  Infoobject using a customer exit variable.
    I have a InfoProvider which has a authorisation values from which I have to retrieve the authorisation values.
    Regards,
    Koka.

    Thanks for the reply Bhawani, I have a function module to fill the Customer exit variable with the values retrieved from DSO.
    Can you please explain me the second step mentioned or can I direclty call my FM in the Include ZXRSRU01..
    WHEN 'XXXX '. ( customer Exit varaiable)
          CALL FUNCTION 'ZBI_LOAD_AUTH'
            EXPORTING
              I_AUTHVALTYPE = 'auth value'
            TABLES
              E_T_RANGE     = E_T_RANGE.
    Regards,
    Koka.

  • Crystal report blocks bex query

    Hi,  gurus.
    I'm in such situation - i need to delete BEX query wich is used in crystal reports. Changing database in my report i simply made new crystal report. So i need to delete it from bw. If you know the way please tell me.
    Any help ll be appreciated
    regards, andrew

    Hi,
    I assume you saved the report to the BW system and then the system will show you - and not allow to delete - the query before it is used in a report - standard "where used" functionality of BW. you need to delete the report first
    ingo

  • Accessing Crystal Report's name in BI Customer Exit

    Hi Experts,
    Is it possible to access the name of Crystal Report in BI Customer Exit?
    Regards,
    Ajay

    Thanks Don,
    BI cstomer exit means CMOD of Business Intelligence.  Actuualy i want to control scheduling or publishing of Crystal Report from BI side...is it possible or whether through some API's  we can do it or not.
    Please tell if i have to post question in the forum suggested by u you or some other forum.
    Regards,
    Ajay

  • BO Edge 3.1 run Crystal Report with sub query or Union

    I have some reports with subquery and union SQL Command and put them in SAP BO Edge 3.1 server. The results are very disappointed. I scheduled 3 instances of the same report to run at 5:30 a.m. . When I used the Crystal Report 2008 to run the report, it took only 3 minutes. One instance took several minutes but other two never came back. When I came back to the office at 8:30 a.m., they were still running. What is the problem with SAP BO Edge? Any solution? the reports are very important and I have to get up at 5:30 a.m. to check to see the result and re run as needed. Any suggestion?
    Thanks.

    Look at the errors in each instance to help determine the cause

  • BEx Query Designer - Customer Exit

    Hello All,
    I have a requirment to create USER customer exit.
    User will enter the value of Month(ex, 02, 03...) and Year (ex 2010,2011 ...)  with two different prompt screen.
    Now i have to return back a date back to a RKF based on following senario:
    1) If month and year is current month and current year than return back current date to the perticular RKF Date.
    2) If month and year is not current month and current year then return back the last date of the month and year entered.
    Thanks & Regards
    Nishant

    HI,
    Just restrict the RKF with a CMOD variable and write the CMOD code as follows (sample):
    assume your month and year variables are as follows: VAR_MON and VAR_YEAR
    DATA: L_S_VAR LIKE RRRANGEEXIT.
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    DATA: V_MON TYPE C LENGTH 2.
    DATA: V_YEAR TYPE C LENGTH 2.
    DATA: V_MONTH TYPE /bi0/oicalmonth.
    DATA: V_CURR_DATE TYPE SY-DATUM.
    DATA: V_DATE TYPE SY-DATUM.
    when 'variable_name'.
    if i_step = 2.
    READ TABLE I_T_VAR_RANGE WITH KEY VNAM = 'var_mon' INTO L_S_VAR.
    IF SY-SUBRC = 0.
       V_MON = L_S_VAR-LOW.
    ENDIF.
    CLEAR L_S_VAR.
    READ TABLE I_T_VAR_RANGE WITH KEY VNAM = 'var_year' INTO L_S_VAR.
    IF SY-SUBRC = 0.
       V_YEAR = L_S_VAR-LOW.
    ENDIF.
    V_CURR_DATE = . "Current date
    "Check for the values
    if V_MON eq V_CURR_DATE+4(2) AND V_YEAR eq V_CURR_DATE+0(4).
    V_DATE = SY-DATUM.
    else.
    CONCATENATE V_YEAR V_MON INTO V_MONTH.
    "call some function module to populate the last day of the above month (V_MONTH)
    "and populate the above obtained value into V_DATE.
    "see if you can use this SG_PS_GET_LAST_DAY_OF_MONTH
      L_S_RANGE-SIGN = 'I'.
      L_S_RANGE-OPT  = 'EQ'.
      L_S_RANGE-LOW  = V_DATE.
      APPEND L_S_RANGE TO E_T_RANGE.
    endif.
    Regards,
    Joe

  • 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

  • Report on BEx query with 2 structures (one in rows and one in columns)

    Hi, experts! I have to make Crystall report on BEx query with 2 structures, one in columns (with KF's), and one in rows. Is it possible to create such report? Because when I create such report, I cant see fields in structures, only characteristics fields.
    Ok, I found samr problem in another thread. Sorry.
    Edited by: Mikhail Sychev on Dec 5, 2009 9:53 PM

    Hey Flora,
    Happy to hear that its working now.
    Answering your question, again its upto the connection and report format you are using. Based on your question i hope you your report output should be like this.
    You cannot map to two labels for the series, again this report format is possible only in cross tab through Webi. I would suggest you to concatenate the material and month in a dimension in webi like below.
    I have done the concatenation in excel level, i would suggest you to do that in webi. Try to reduce the formula as much in excel.
    or
    If you are using Query browser connection, then i would suggest you to create a separate report which will display the actual vs plan material wise, here you need to pass the material as a prompt.
    Hope this helps in clear, please revert me for any clarification.

  • Behavior of customer exit variables (used as prompt) in a workbook

    Hi All,
    We are on NW2004s. I am using a customer exit variable in the prompt for my query then saved the query as a workbook.
    1. When I run the query the customer exit routine/program is called and the selection screen variable is populated with the correct value.
    Ex. Calendar year variable is a prompt variable defined as customer exit variable that gets the current year.
    when you run the query the prompt for calendar year shows "2007" as default value. this is correct.
    2. when I run the workbook using this same query, it looks like it is not executing the customer exit program. The value in the calendar year prompt is whatever the last value used when the workbook was last ran.
    I also placed a breakpoint in the customer exit program (EXIT_SAPLRRS0_001) to check if it is being called and it looks like it isn't.
    Is there a configuration/property that I should enable/check to make sure that customer exit variables used as prompts works in workbooks? Is this a bug? Anybody else have issues with using customer exit variables as prompts in their workbooks?
    Thanks in advance,
    Malou

    Hello Marilou,
    See the abswer I got from the 1st response on my question
    Save and reuse variable option in 7.0
    It may be a good help.
    Variables seem to be an understated item in the documents.
    Kind regards
    Message was edited by:
            BI developer

  • Crystal Reports and BW Query- Translation

    Hello,
    I'm trying to use Crystal reports with BW Query in the Hebrew Language.
    When i open the Crystal Reports and connect to SAP I'm putting the Hebrew language key in the logon screen. When the crystal report starts i can see the reports info objects but without the Hebrew description. I can see that in the formula fields the Language key is selected but shouldnt i get the info objects description as well?
    Thanks,
    David

    Hi David,
    when I create a new report (using the SAP toolbar) I always get the descriptions for the info objects on the field explorer according to the language I set when I logon on into the SAP system my query resides in. I tried with both english and german language and it works fine. I assume you have installed the hebrew language pack for CR and that the hebrew descriptions are maintained in your SAP system. I also assume that you are talking about creating a report here and not opening an existing one though. In this case the language at creation time defines which descriptions are displayed.
    If the above assumptions are valid, then you may face a hebrew language specific problem here. Opening a support case would probably make sense.
    Regards,
    Stratos

Maybe you are looking for

  • Multiple (updatable) details in the same page.

    Hello, I tried to put two updatable details in the same page and got the error "Updatable SQL Query already exists on page 11. You can only add one updatable SQL query per page. Select a different page" So having more than one updatable detail is not

  • Connecting Sony MiniDV via firewire to macbook with i-movie 08

    I have 2 Sony MiniDv recorders, HC19E, 109E & neither will connect using a USB to USB or firewire to firewire. The computer does not even recognize them. Every time i press import from camcorder it brings up me in i-sight (live). THIS IS DRIVING ME N

  • MM posting period

    Hi MM gurus good morning!! i just want to know about the posting period, there are 5-6 tcode which is very confusing, pls provide the details of all below given tcode, and also exlain when we use it MMPI,MMPV,OB52,OBYC,MMRV,OMSY. thanks anubahv

  • Quick Poll Greyed Out  - unable to edit

    Hello, We have a series of quick polls assigned to individual campaigns and all are 'ongoing'.  These are then assigned to KM IViews and assigned to users via roles etc. Last week we were able to edit the quick poll, editing the text, participants et

  • Files won't open

    I cannot get any of the files to open up in elements. I get an error message and it closes