Bex Query not passing blank columns to crystal reports

good morning ladies and gentleman,
i have created a bex query that shows all employees from the master data table and links to the cats table to show absence hours...
in bex, all employees are showing and some of the employees have hours showing for sick time. very good...
i have created a report in crystal with this bex query and it does not show rows from the master data that do not have a link to the cats table. only the rows that have a link to the cats table are showing up.
the reason i need the master data from the employee table is that the users want to divide the total hours off(sick time) per department by the total employees in that department.
i have tried to create a formula that will add 1 to the hours sick field, then all the rows should have a amount in it. but, it still does not show the employees who do not have sick time.
here is the sql query from crystal.
SELECT {[Measures].[4J8L2TQJ3P517ISQ1R4Y8UZ36], [Measures].[4J9PY3UANRIW2HW15YSOED92A], [Measures].[4J9TLIO0NDQROSA2YONCW6HB6]}
ON COLUMNS, 
NON EMPTY
CROSSJOIN([0EMPLOYEE].[LEVEL01].MEMBERS, [0EMPLOYEE__0COMP_CODE].[LEVEL01].MEMBERS)
DIMENSION PROPERTIES [0EMPLOYEE].[50COMP_CODE], [0EMPLOYEE].[50MAST_CCTR] ON ROWS
FROM [ZCATS_MC1/ZZCATS_MC1_Q001C]
SAP VARIABLES [0I_DAYS] INCLUDING [0CALDAY].[20100502] : [0CALDAY].[20100903]
this is kind of an emergency and i have been working on this for two days and cannot come to a resolution.
if anyone can help, i would appreciate it.
i am guessing that there is a option somewhere that will allow blank records to show.
please help.
thanks,
erik

miss stated the issue. created new note.

Similar Messages

  • Bex Query not passing all rows to Crystal reports

    hello experts,
    i have created a bex query that shows all employees from the master data table and links to the cats table to show absence hours...
    in bex, all employees are showing and some of the employees have hours showing for sick time. this is known as a left outer join.
    i have created a report in crystal with this bex query and it does not show rows from the master data that do not have a link to the cats table. only the rows that have a link to the cats table are showing up. (this is compared to a inner join)
    the reason i need the master data from the employee table is that the users want to divide the total hours off(sick time) per department by the total employees in that department.
    here is the sql query from crystal that was created automatically when i used the bex query to created the crystal report.
    SELECT {Measures.4J8L2TQJ3P517ISQ1R4Y8UZ36, Measures.4J9PY3UANRIW2HW15YSOED92A, Measures.4J9TLIO0NDQROSA2YONCW6HB6}
    ON COLUMNS,
    NON EMPTY
    CROSSJOIN(0EMPLOYEE.LEVEL01.MEMBERS, 0EMPLOYEE__0COMP_CODE.LEVEL01.MEMBERS)
    DIMENSION PROPERTIES 0EMPLOYEE.50COMP_CODE, 0EMPLOYEE.50MAST_CCTR ON ROWS
    FROM ZCATS_MC1/ZZCATS_MC1_Q001C
    SAP VARIABLES 0I_DAYS INCLUDING 0CALDAY.20100502 : 0CALDAY.20100903
    i am using the mdx driver, and the integration kit is 2.8.
    any thoughts?
    thanks,
    erik

    Thanks Ingo for the quick response.
    this sounds like a limitation in the integration between bex and crystal because the query shows the correct data and the crystal reports does not. i have tried to add a calculated key figure to all the rows and put a number in it but it still does not show the rows in crystal.
    my issue is that they(the business users) want to know all the employees in the employee master data along with all the sick / illness data.
    do you have a suggestion for this issue?
    do you think that the mdx driver should be updated to allow master data to flow to crystal?
    thx,
    Erik

  • Multi pass bursting of a Crystal report on business view with a bex query

    In BO CMC, we have a group with a list of user.
    The idea is to burst (via the multi pass bursting method) a Crystal report for this list of user with the constraint that this report should only contains data of the store linked to the user.
    Our data comes from a SAP BI cube.
    The link between a Store and a User comes from an other system.
    We have build a bex query and use it as a data source of a Crystal Data Foundation.
    In this Data Foundation we have an other table storing the user ID and the Store ID.
    These 2 tables are linked in this Data Foundation on the Store ID.
    Business element and Business View have also been created on top of this Data Foundation.
    We have impletemented a filter in this Data Foundation to filter out data on the user id. This user id will be filled when bursting the report for all requested users thanks to this function :.
    As a user is linked to one store, the data foundation will filter the data coming from the bex query and show only the data of the user's store.
    We have build a crystal report using the business view created above as data source. We have made some test on a small amount of data and it works, data are correctly filter out and the reports shows only the data from one store.
    But the problem is that we have a lot of stores (more than 600) and doing this way implies that the bex query will always return the data for all the stores as the filter will occurs in the data foundation and not on the bex query.
    We need to find a way to make the bex query returning only the data of the store linked to the user for which we burst the report.
    As we have more than 600 stores this was an idea to avoid managing more than 600 under BO groups or more than 600 different filters.
    This solution do not work when the bex query result set is too large.
    Does anyone has an idea on how to implement such "dynamic" filter in the bex query? The parameter is the user ID but the filter to be applied on the bex query is on the store ID.
    We are under BO XI release 2, Crystal XI Release 2 and we have installed the BO release 2 integration kit for SAP

    Hi,
    what about setting up the data level security in BW ?
    Ingo

  • BW Query variable default value put in Crystal report variable question

    Why BW Query variable default value put in Crystal report variable for BO InfoView to open crystal report.
    I using Analyzer to open bw query,variables had default value ,but crystal report can't had variable default value ,and can't search variable  value.
    pho:
    [http://file.itpub.net/f/e38876ad4f6efb7e73980488e7d71f8d/4ae940e9/day_091029/20091029_2b04da1232144feba180OrB23SNvXtoT.gif/p/1.gif]
    [http://file.itpub.net/f/d93ddfe61e0eaf80429726c61f1a02ff/4ae940e9/day_091029/20091029_3211ffe04bf0302fbab5FRKnbwmH80p7.gif/p/BW_QUERY_Crystal.gif]
    Edited by: flying on Oct 29, 2009 8:20 AM

    I Know what to do .
    but Crystal report date variable value are Garbage characters "###".
    PHO:
    [http://file.itpub.net/f/39a8510104476707ae21c945db93ecba/4ae97949/day_091029/20091029_32dcbb7e7d99141483aesJ9KBJHXN0Kj.gif/p/2.gif]

  • How to suppress a blank section in crystal report

    how to suppress a blank section in crystal report. although i have set the property
    "suppress blank section "=true ,still i m unable to suppress my section
    please help me to cope up this issue.
    thanks in advance

    One recommendation I make, when troubleshooting suppression issues, is to put a visible border of the section, area or object to be suppressed, and borders for all objects contained in the section or area.  This will help isolate what's suppressed, and whether the section is truly blank or has content that's blank.
    Furthermore, I recommend indicating which SDK and what version you're using when posting.
    Sincerely,
    Ted Ueda

  • Date Filter in BEx Query not applied to Webi Document

    Hi
    I have a simple BEx Query on 0MATERIAL - with Article (0MATERIAL) and Created On Date (0CREATEDON) characteristics in the Rows and 1ROWCOUNT key figure in the columns.
    If I restrict the BEx Query on 0MATERIAL to a single value, only that particular record is returned when I run the query in WebI - which shows Article and Created On Date.
    However, if I restrict the BEx Query to a specific 0CREATEDON date, the WebI report ignores this restriction and returns ALL records in the InfoProvider 0MATERIAL.
    If I run the BEx Query in the web, only those records with the particular restricted date are returned, so why does the WebI report ignore the BEx Query date restriction?  Any ideas where I am going wrong?
    Thanks
    Anton

    Hi Victor
    Thanks for the reply.  It turns out even after refreshing the universe structure and exporting I had to shut down Webi and reopen it for the changes (date restriction) to take effect.
    But thanks for the headsup on that bug/SAP note anyway - it is helpful to know.
    Rgds
    Anton

  • Bex Query which uses Dynamic columns to display actuals

    Hi Bex experts,
    I have a query issue/question.
    I currently have a Bex query which shows me the the planned values for each period, spanning 6 years into the future. My Key figure columns are defined as follows:
    Value type  = '020'
    Version  = mandatory variable, entered at execution.
    Posting period (FISCPER3)  = These columns are fixed values using periods 1 to 12 for each column.
    Fiscal year (0FISCYEAR) = Each column contains SAP exit for current year, and using the offset +1, +2, +3, +4 etc, when I define the future years coulmns.
    Currency = fixed 'USD'.
    Fiscal year variant = fixed 'Z4'
    The above works fine for plan data.
    I want to now include is:
    Seperate 'Dynamic columns' to show only actuals for period ranges from period one to the previous period (or current period minus 1). Each period should have it's own column for actuals.
    The dynamic actuals columns should be grouped together to the left of the plan columns.
    Actuals are only for current year, so I will still use the SAP EXIT for current year in the column definition.
    Example: If I am currently in period 10, the query should show me actuals from period 1 to period 9 in seperate columns, then continue to show me my plan values columns that I have in place already.
    How can I construct these actuals columns in to my existing query. If you have possible screens shots.
    Thanks, and maximum points will be alotted.

    The way I have approached this you may not like as it involves quite a bit of coding
    12 CKFs
    each CKF adds up 2 RKFs
    So 24 RKFs
    example Column 6 CKF
    Adds Column 6 RKF Actual and Column 6 RKF Plan
    Column 6 RKF Actual contains Actual version + key figure + Period variable column 6 Actual
    Column 6 RKF Plan contains Plan version + key figure + Period Variable column 6 Plan
    Period variable column 6 Actual
    is a cmod variable which reads the entered date
    if the period of entered date is LE 6
    then return period 6 into "Period variable column 6 Actual"
    else put 0 into "Period variable column 6 Actual"
    Period variable column 6 Plan
    is a cmod variable which reads the entered date
    if the period of entered date is LE 6
    then return period 0 into "Period variable column 6 Plan"
    else put 6 into "Period variable column 6 Plan"
    Now what happens is that if you enter period 6 in your selection screen all the Actuals of columns greater than 6 all have period 0 put into their selection so return 0 and all the columns less than or equal to 6 return the values for the fiscal period (ie column 1 gets period 1)
    And in addition all the Plans columns return the value of their column ie for their period for those greater than 6 and for those less than 6 they all return 0
    It's convulted - but you get the idea - and yes it works
    There may be a better way to do it - and I am open to suggestions
    (this does assume that NOTHING is posted to period 0 otherwise it won't work)

  • Bex Query Variable error in Webi and Crystal for Enterprise

    Hi,
    We just upgrade to BOBJ 4.1 SP2 and BW7.4 SP5
    I am creating a webi report based on a BEx query. There is Variable on Period/Fiscal Year from BEX side(Mandatory prompt) when I try to create a Webi or Cyrstal for Enterprise report the below error pops up. Other Bex queries work correctly. Can it be the values in the variable the following values exist when execute from Bex i.e. 001.2012; Period 2013
    Is the SAP Note : 1611185 relevant for 4.1 SP2
    Error:
    com.businessobjects.sdk.core.server.CommunicationException$UnexpectedServerException: Termination message sent
    ABEND DBMAN (257): SQL Error: INTERNAL_ERROR
      MSGV1: INTERNAL_ERROR
    Is this True for BOBj4.1 SP2?
    http://scn.sap.com/thread/3362312
    Selection range variables are not fully supported in Crystal Reports for Enterprise.
    Message was edited by: Tienie Nothnagel

    Henry Banks wrote:
    > I know what you mean.  In BEx, it's automatic: the default values are pre-selected at runtime, based on user authorizations
    >
    > In WebI, user needs to do a 3-click workflow to select the authorized values from the prompt dialog. This can be broken down into 3 phases:
    >
    > (a) initialize prompt u2013 empty pane.
    >  (b) refresh list of values,
    >  (c) select response values.
    Thanks Henry! I was looking for this confirmation that it is a limitation of Webi and I'm not missing something.
    Henry Banks wrote:
    > ---> make this BEx variable u2018mandatoryu2019 u2013 this will trigger an automatic refresh mechanism on the list of values, and show it to the user.  This will eliminate steps (a) & (b).
    >
    It is not possible to set Authorization variables as mandatory. They are set to "optional" and cannot be changed (BEx limitation).
    Henry Banks wrote:
    > Unfortunately, BEx and WebI are not like-for-like replacement tools. Not all u2018normalu2019 BW features integrate natively into BObj.
    > So this will also have to be an excercise in positioning a new product to your onboarding users.  (i.e.  just click the button)
    > Regards,
    > H
    I understand that. Thanks for your suggestion.

  • SUMCT , SUMRT & SUMGT functions of Bex Query not supported in Uinverse,

    Hello Experts,
    I performed the following steps:                                               
    1. Created the Bex Query using the Query Designer with the following functions as                                                                               
    SUM CT                                                                               
    SUMGT                                                                               
    SUMAT                                                                               
    and saving the Query.                                                                               
    When creating the universe connection and try to connect to the above query, it is not showing the dimensions or any objects. It is just blank. It throws the error " error getting dimensions for cube".                                                                               
    But the BEx query works fine in the Query Designer.                                                                               
    When using other functions, and the Universe and Universe connection works fine. Please let me know if this is a limitation or if I am doing anything wrong.                                                                               
    Let me know if you need any further information on this.
    Thanks and Regards,                                                                               
    Jothivel

    Hi Ingo/Stratos,
    I enabled the traces for the universe creation in my test environment( basically I enabled the SOFA and MDX logs using the registry key settings) and got the following :
    Thu Dec 31 09:15:09.390: SAPMODULE: SAPConnection: m_pRfcWrapper->Close( m_hRfcConnection ) 0.015
    Thu Dec 31 09:15:15.609: SAPMODULE: SAPAuthenticationService: Authentication model for SAP connectivity is CREDENTIALS
    Thu Dec 31 09:15:15.609: SAPMODULE: SAPAuthenticationService: Authentication model for SAP connectivity is username and password
    Thu Dec 31 09:15:15.609: SAPMODULE: SAPAuthenticationService: Trying to connect to SAP using this URI : occa:sap://;PROVIDER=sapbw_bapi,ASHOST=10.165.81.246,SYSNR=01,R3NAME=T25,AUTHTYPE=CREDENTIALS,USER="badari",LANG=EN,CLIENT=800,CATALOG="Z_BOBJ_M",CUBE="Z_BOBJ_M/ZZ_IH_OLAP_TEST_RATIO",PASSWD=******
    Thu Dec 31 09:15:17.218: SAPMODULE: SAPAuthenticationService: m_pRfcWrapper->RfcOpenEx() 1.609
    Thu Dec 31 09:15:17.218: SAPMODULE: SAPConnection: Connection to SAP BW server successful
    Thu Dec 31 09:15:17.625: SAPMODULE: CLIENT: MDDataProviderBW.GetCubes 0.407
    Thu Dec 31 09:15:17.625: SAPMODULE: CLIENT: Reserved Structure Z_BOBJ_M/ZZ_IH_OLAP_TEST_RATIO
    Thu Dec 31 09:15:17.640: SAPMODULE: STRUCTURE: Getting dimensions for cube Z_BOBJ_M ...
    Thu Dec 31 09:15:18.343: SAPMODULE: STRUCTURE: RFC function call MDDataProvderBW.GetDimensions failed.  System error in program CL_RSR_MDX_META_DATA and form CONSTRUCTOR-01- (see long text)
    Thu Dec 31 09:15:18.343: SAPMODULE: : Error getting dimensions for cube Z_BOBJ_M/ZZ_IH_OLAP_TEST_RATIO (catalog Z_BOBJ_M): See RFC trace file or SAP system log for more details
    Thu Dec 31 09:15:18.343: SAPMODULE: STRUCTURE: MDDataProviderBW.GetDimensions 0.703
    Thu Dec 31 09:15:18.343: SAPMODULE: : Error getting dimensions for cube Z_BOBJ_M/ZZ_IH_OLAP_TEST_RATIO (catalog Z_BOBJ_M): Unknown error
    I have asked the customer the perform the above steps and let me know the logs.
    Please let me know if the above logs help. I don't have access to my test SAP System logs. Hence unable to check the RFC trace file.
    Thanks and Regards,
    Jothivel

  • BEx query not shown in BO 4.0; BICS

    Hi,
    I have a sample BEx query designed in Query Designer 7.x; I would like to use this query with Web Intelligence of BO 4.0. However, the query is not being displayed.
    In CMC -> Authentication we have entered our SAP BW system and we are getting the roles imported. So the connection seems to work.
    In the query I have turned on the option "Allow External Access to this Query" (but I think this isn't necessary for BICS?).
    However, the query isn't displayed when creating a new WebI document based on BEx. Do I have to do some more steps?
    Thanks!
    Edit: I now created a new OLAP connection, our BO server can see the query and cube. But: I don't see this OLAP connection in Web Intelligence Rich Client. I am using the administrator login and have full access.
    Edited by: SteveXI on Sep 7, 2011 5:29 PM

    Hi,
    I have created 2 OLAP connection in CMC with SSO and Predefined. (does not work with prompt).
    I can see the list of queries from cube with predefined connection, but all are gredout!!. what could be the reason?
    With SSO connection i get following error -
    com.google.protobuf.UninitializedMessageException: Message missing required fields: bytesValue
    Any input is much appreciated.
    Thanks.
    Edited by: Rajan Patel on Oct 12, 2011 4:40 PM

  • Can we restrict changes made in BEx query not to resemble in Universe

    Hello Gurus,
    I have a question. Lets say if there is a universe created based on BEx query and if later on BEx query is changed (newly added Chars, KF's or change in names) can we restrict the changes not to resemble in Universe?
    Please give me any related document or link which will be a big favor for me.
    Thanks a lot for your time.

    Changes in the BEx query are not reflected always automatically in your universe: Eg. if you add an new restriction or a new keyfigure. You have to maunally refresh the structure of your universe and export it again on your BOBJ server.
    Some changes will be automatically available though eg. if you change the code of a customer exit variable which is already used in your BEx query, even if you do not refresh the universe.
    Please keep in mind that some kind of changes in the query (removing existing key figures or characteristics) may cause error messages when you try to run your universe (assuming you did not update it).
    The recommendation here is to refresh your universe when you change the underlying BEx query. If you do not want to do that then your universe may stop working.
    Regards,
    Stratos

  • Changes made in Bex query not refelecting in Webi reports BO 4.0

    Hello Every One,
    We have made changes in BeX query and these changes are not getting reflected in webi reports.
    - We try to edit the connections.
    - Recreated the new connections and point it the webi report.
    We are using BO4.0 patch 2.9.
    DO we have to made any setting in BICS or in CMC or there are any parameter need to tkae care while creating the OLAP connections. we are using SSO.
    Thanks in Advance.

    Hi,
    You shouldn't have to do a "change source" at data provider level, but confirming the object mappings again by repointing webi to the bex query should help.
    As i'm sure you know, we are delivering many corrections in this area, for example:
    If this concerns a Hierarchy change see ADAPT01607814   (P2.11)
    If it concerns change to prompt variables see ADAPT01609491   (P2.12)
    Here's the link to the readme for Patch2.12 (out today) https://websmp101.sap-ag.de/~sapidb/011000358700001362992011E
    Out of interest, what change did you make in the bex query specifically ?
    Regards,
    H
    Edited by: Henry Banks on Feb 17, 2012 10:01 AM

  • BEx query not getting reflected correctly in OLAP workspace

    Hi,
    I have an OLAP workspace based on a BEx query. Everything works fine with BEx query and We can see the BEx report as required. But in OLAP workspace for one of the feilds (profit center), the workspace is coming with the Texts but not keys. Keys says Not Assigned everytime.
    BEx
    OLAP Workspace
    1990909099/Super Center
    #/Super Center
    871812788/Athlon
    #/Athlon
    We refreshed the connection couple of times and created new reports without any better results. Can anyone suggest a solution for this.
    Thanks
    Neo

    Hi,
    Yes,We're using standart template.
    This below  URL generated froum Query Designer.
    http://<hostname>:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=KSD_M01_Q006
    regards

  • BEX Query not dispaying results

    Hi All,
    I think this week am hit with number of issues....as mentioned in my earlier posts am new to SAP BW and having issues.
    Issue:
    We have a BEx query and it is not displaying results(in Web report). Error is "could not find any records for the given selection......... "
    I have checked the Infocube for the given selection in Query and I can display the records where as it is not displaying at all in BEx query results.
    I have reactivated the cube to see whether the data flows through but it didn't work.
    I tried executing query using RSRT and it is not displaying any results.
    I have deleted data in the infocube and loaded it again and it didn't work
    Any help would be much appreciated.
    Cheers
    Sandeep

    Hi Akshay,
    No errors while executing query under RSRT.
    Yes we are using time variants and we have included fical variant under characteristic restrictions.
    Cheers
    sandeep

  • BEx Query not able to excecute on SAP Portal using Internet Explorer 9

    Hello,
    What config. do I need to do in the Internet Explorer 9 so that it will excecute the query on SAP portal.
    Error message: Internet Explorer cannot display the webpage
    Thanks
    Arjun

    Hi Arjun
    Please check the SAP portal and BI system version and then check the compatibility for BEx Query in IE9.
    Refer to http://service.sap.com/pam >> Click on SAP Netweaver version, here you can find the PDF files.
    BI (BEX Web) is supported on IE9 with SAP porta version 7.0 SPS24 in vista or windows 7 if you SAP portal version is 7.0
    Best Regards
    Arun Jaiswal

Maybe you are looking for

  • HOW TO CHANGE DATA IN STANDARD TABLE

    PLEASE HELP AS PER ABOVE. THANKS, LALIT

  • A Creative Zen MP3 Player which can work on Windows 2

    Hi, I am wanting to get a Creative Zen MP3 player (or two) which can work with Microsoft Windows 2000. I want to put a number of podcasts on it as well as some music. Unfortunately my PCs are all Windows 2000 and it is not worth my while upgrading. N

  • Adobe Captivate 7.0 crashes

    Hi All, I have problem with Adobe Captivate 7.0. (full version) After install AC 7.0 and put serial key Adobe run good. But after that when I close AC and reset OS and logonagain  to user profile AC 7.0 don't run. Software was started for few seconds

  • I don't want themes or menus in iDVD - how to burn without?

    Is there any way I can drop a quicktime movie onto the first frame of the map view in iDVD and just burn a straight auto-play DVD without any menus or themes appearing at end or beginning of the burnt DVD? Do I have to get other software to do this?

  • SQ01  to show condition types for the Billing doc

    Dear Friends, I need to show 3 cost condition types from a invoice in SQ01 For  eg The Query  has   for eg Billing Doc     Material     Net value     ZT07     ZT08     ZT09 The ZT07/8/9  are conditiontypes I need to link these at item level in SQ01,