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]

Similar Messages

  • 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

  • How to set variable default value by program?

    Dear all,
    We would like to set a BW variable default value by program (not using query designer).
    Do you have any ABAP sample code for this? I'm really new in ABAP programming.
    we are using BI 7.0
    Thank you for your help!
    Olivier DESFOUR

    Hi Olivier,
    FOllowing is the code which defaults calmonth to first month of the year to current month - 1.
    Data : input1(4) TYPE n,
           input3(2) TYPE n.
    WHEN 'YQV_FD'.
      if i_step = 1.
      input1 = sy-datum+0(4).
      concatenate input1 '01' into l_s_range-low.
      input3 = sy-datum+4(2) - 1.
      concatenate input1 input3 into l_s_range-high.
      l_s_range-sign = 'I'.
      l_s_range-opt = 'BT'.
      APPEND l_s_range TO e_t_range.
      endif.

  • BEx Variable default value does not pass thru to Webi report

    Hi,
    It appears that the integration between BEx and BOBJ Webi does not support default values when the webi report is scheduled.  This means that if Webi/Infoview is the delivery method, than clients require 2 reports.  1 for adhoc and 1 for scheduling.  Is there another way around this so 2 reports are not required?  See SAP Knowledge Base Article  https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303136363534393826
    Regards,
    Dae Jin

    Hi,
    Yes it is not supported. you can achieve by writing customer exit for this.
    in istep 2,
    check whether the variable value is intial.
    if intial
    pass default value
    if not intial (else)
    dont do any change, just pass the user input to restriction.
    -Sriram

  • Parameter Description value display on Crystal Report

    Hi
    I have created a Parameter based off OPCH.Project, so within the Project Parameter the values are the Project Codes and under Description I have the Project Names.
    Is it possible to display this Project Description value on the Crystal Report when previewing instead of the Project Code?
    Regards
    Kurt Walters

    hello Kurt,
    i think your having problem with the join..
    in A/P Invoice the Project is populated in the line level (PCH1) and not in the header (OPCH) so your join should be PCH1.Project inner join OPRJ.Project
    here is my sample query, try to run this in your machine
    SELECT T0.[DocNum], T0.[DocDate], T2.[PrjName], T0.[DocTotal]
    FROM OPCH T0  INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OPRJ T2 ON T1.Project = T2.PrjCode
    WHERE T1.[Project] = 'ProjectCOde'
    just replace ProcjectCOde to your actual project code
    i have also made a sample report in my crystal here, i added OPCH, PCH1 & OPRJ, then from your menu Database -->> Show SQL Query, your Query should look like this
    SELECT "OPCH"."DocNum", "OPCH"."DocDate", "OPRJ"."PrjName", "OPCH"."DocTotal", "OPRJ"."PrjCode"
    FROM   ("Production"."dbo"."OPCH" "OPCH" INNER JOIN "Production"."dbo"."PCH1" "PCH1" ON "OPCH"."DocEntry"="PCH1"."DocEntry") INNER JOIN "Production"."dbo"."OPRJ" "OPRJ" ON "PCH1"."Project"="OPRJ"."PrjCode"
    WHERE  "OPRJ"."PrjCode"=N'ADM-1001'
    ORDER BY "OPCH"."DocNum"
    observed that i dont have the U_WPANO, just add it in your filter record.
    your current settings in Select Expert -- Record is good enough
    {OPCH.Project} = {?Contract Name} and
    {OPCH.U_WPANO} = {?WPA Number}
    hope this may finally solve your issue, but if not please let me know.
    best Regards,
    Fidel

  • Is it possible to export the out put of Crystal report into text file?

    Hi All,
    Is it possible to export the out put of Crystal report into text file?

    Hi
    Yes, Go to File --> Export --> Export Report --> Under Format select TEXT & select the destination as "Disk file"(defaultly selected)
    Give the proper details as per your requirement for "Characters per inch" & "Number of lines per page" & click on 'OK"
    In "Choose Export file" window, select the destination folder & provide file name. click on "SAVE"
    Regards
    Ashwini

  • Query mode & default values

    Hi,
    When a block is put into QUERY MODE all the
    fields in it are blanked.
    I am looking for a way to put in default
    values in some of my fields when in
    query mode.
    Is this possible.
    Any help is appreciated.
    Regards,
    Klas Malmstrom
    [email protected]

    You could try the When-New-Record-Instance trigger for the block and assign values to items when the :SYSTEM.MODE = 'ENTER-QUERY'. Users may be able to change these default values.
    To have hidden default values use the default where property of the block and either set on the property sheet or dynamically in the PRE-QUERY trigger; or assign values to database items in the PRE-QUERY trigger.

  • Variable default values

    Hi Experts,
    I am using a variable for Date From to Date to in my Query.  I had used the variable 0I_SPL_D which supplies two date Period from / Period To. My requirement is to give default values at run time from beginning of the month to current date of execution.
    So that I can schedule the Query and Broadcast it.
    eg If the report is run today ie on 22.0ct.2009 then both the ends must have the values
    from date 01.10.2009 and
    to date     22.10.2009
    If the report is executed tomorrow the parameters should be
    from date 01.10.2009 and
    to date     23.10.2009
    can any one give any idea
    Thanks
    Shivani

    Hi,
    Try this code.
    WHEN 'Zvariable'
    DATA: from_dy(2) type n,
               from_mo(2) type n,
               from_yr(4) type n,
               from_d(8) type n,
               Date_to TYPE sy-datum.
        IF i_step = 1.
          from_dy(2) ='01'.
          from_mo = sy-datum+4(2).
          from_yr = sy-datum+0(4).
          concatenate from_yr from_mo from_dy into from_d.
          Date_to = sy-datum.
          CLEAR l_s_range.
          MOVE from_d TO l_s_range-low.
          MOVE Date_to TO l_s_range-high.
          MOVE 'I' TO l_s_range-sign.
          MOVE 'BT' TO l_s_range-opt.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    Regards,
    Rk.

  • How to set default value of VO from pageflowscope variable

    Hi All,
    I have a page for creating new records and when the user clicks on the create button I show a pop up window for creating the new record.
    I would like to default few values when the page pops up.I have these default values in pageflowscope variables at this point of time.
    I guess I might have to override the create method of the VO row impl and set the default values.But How do I access the pageflow scope variables in the VOROwImpl.
    Please let me know.
    If this isnt the best way of doing it, please suggest alternative best practice.Thank you!
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Have a method in AMImpl which would take the list of attributes along with the values (that are to be defaulted).
    In this method, create & insert a new row and set the default values from the input parameters.
    Expose this method thru client interface so that it is exposed as part of data control.
    In the View/UI layer, to create a new row, call this AM method thru the data control with the list of page flow scope variables that you have currently.
    Thanks,
    Navaneeth

  • Query design: Default Value List Filter Prompt to None

    I am building a query with several filter prompts which are of data type Value List
    The problem is that the list defaults to the first value in the Value List, and I would like to default it to None. The reason of course is so users don't have to switch all the dropdowns to None manually.
    I am wondering, what is the default value that can default the list to None? I have tried "0", "None", "null" all to no avail. My current hack is to add another value to the value list called "Any" and make it the first choice in the list.

    Unfortunately I tried that and it didn't work.
    The values of my filter prompt are as follows.
    Parameter Name: AGREEMENT_TYPE
    Prompt Message Resource: Agreement Type 
    Default Value: null:616:null
    Data Type: Value List
    String Matching:Exact Match
    Value List Type: Agreement Type
    Prefill value from cache:
    Optional:
    Hidden:
    Locked:

  • Retain value of Crystal Report variable during drill-down

    Dear expert,
    In CR, how to have a variable whose value is retained during drill-down? In other words, a variable whose value remains across drill-downs.
    I've tried both Global and Shared variables but their values are not retained when drilingl-down (the value is gone or removed).
    Thank you very much.
    Kind regards,
    aswin
    Edited by: Aswin Setyawan Margono on Jan 27, 2011 1:28 PM

    Not enough info to determine the result or what the cause may be.

  • Local variable default value

    Hi
    Just a quick question to get me out of a hole..... I am using local variable to control while loops, and based on a counter value, it turns it on or off. When i probe the value of the actual boolean, it comes up not exectuted, but the local indicator value is true???? is there any way to change this?? i need to to remain false, UNTIL it goes true!
    Cheers
    Peter
    Solved!
    Go to Solution.

    I think that "Ravens" has hit the nail on the head. Using unprotected shared resources (like local variables) in parallel will open the door to race conditions... the bane of any programmers life!
    Here are some useful resources which further explain this concept.
    Using a Local, Global, or Shared Variable in Parallel Loops Can Cause Race Conditions
    http://digital.ni.com/public.nsf/allkb/4F3CC921B4179F9F86256A3B0045CE2D
    Tutorial: Local Variable, Global Variable, and Race Conditions
    http://zone.ni.com/devzone/cda/tut/p/id/7585
    The first link also mentions the producer/consumer articeture and the semaphore. Both great solutions. However, correctly sequencing your source code (using things like error clusters) will help prevent this issue.
    Further more, I wonder if you are initialising your variables??
    You should write a value of false to the variable before you enter the main body of your code. This ensure that the first time you read from the variable it will return a known value (false). If you dont do this, the variable will return what ever was the last value written to it.
    Hope this has been useful.
    Rich R
    Applications Engineer
    National Instruments UK & Ireland

  • Variable input values issue with Portal reports in WAD

    Hi Gurus,
    We have issue with our reports which are created in WAD and when executed through CRM portal. We are executing the report with some selection criteria by changing default values, and once we get the out put we use SAVEAS option to save the report to favourites. But  the issue arises when we open the reprot again by clicking OPEN tab next to SAVEAS button. It opens our report, but the selection screen vaues are getting changed to default instead of showing the values which we entered before saving the report.
    ex: we have fiscalyear/period: default value is 001.2009 - 010.2009, but i changed the value to 001.2010 - 010.2010 and saved the out put of the report. when i reopen the report useing open option, it is showing 001.2009 - 010.2009 in input screen.
    Please let me know if some one has come accross this issue, or is it standard SAP behaviour. It is working fine when executed through Query designer. This is not related to personlization of variabl.es.
    Regards,
    Yada

    Hi Hari,
    Thanks for your promp response...but is there any settings to get the variable values with out saving as variant, because its working fine when executing through query designer....
    Regards,
    Yada

  • 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

  • Crystal reports 11: Values displayed in crystal report not showing in VB6

    Hi!
    I updated an existing lower version of crystal report 7 to crystal report 11. Changes are the following:
    1. sql query in VB6 to add fields
    2. sql query in crystal report to manipulate values and not use formula. crx11 doesn't allow summary/total in formula fields.
    3. report orientation
    4. additional fields to view
    5. font sizes, length, can grow properties, etc.
    When I tested it directly in crx 11, all fields/values are displaying correctly. When I integrated it in VB 6 using Crystal ActiveX Report Viewer Library 11.0 and CR Viewer object, the field is blank.
    I've tried several checking like field suppressions, conditional suppressions, etc.
    By the way, I also have a report using a subrepot with conditional suppressions. Same thing is happening. The subreport data only displays the alloted space but does not show values in VB6.
    Thank you in advance for your help.
    Edited by: Naga01 on Jun 28, 2011 8:46 AM

    Thanks for your response.
    Before I read your response, I tried tweaking my reports and was able to resolve the issue.
    Steps taken to solve the issue are the following:
    a. Value not showing one field of four (4) reports.
    Solution: I created new ones and integrate it in VB 6. The values are now showing. Tweaked on the line object properties, got a problem with the extended line but solved it by adjusting the height of the detail section.
    b. Value not showing in sub-report.
    Solution: My report used a shared variable so I can pass the condition to my sub-report. I used the new reports and just pass a query during runtime. The values in the subreport is still not showing. I added a formula and called the value in it. Values in the subreport is now showing.
    I'll try to update the crystal reports version as suggested at a later time.

Maybe you are looking for

  • Iframe doesnt show up in collapsible panel

    I have put a google calendar on a iframe I want to present on a collapsible panel. The Iframe doesent show up on firefox when the default state of the panel is closed. it works in Safari. Both on OS X. There is an errormessage from Fireworks pasted b

  • How do I create a full Acrobat PDF?

    I have the creation PDF service because I want full Acrobat PDFs, not just the simple PDF. I can create that from my WORD program. The file I want to create is to go to a digital printer and requires several settings that are part of the Acrobat prog

  • OS X Mavericks cannot be installed on Macintosh HD

    Macbook - Mac OS X Lion 10.7.5 34.5 GB free out of 159.18GB When I try and download Mavericks it says, "OS X cannot be installed on 'Macintosh HD'."  I am unable to delete the backups.backupdb file as it says "...unexpected error occurred (error code

  • Recovery points failing on 2012 R2 x64 virtual server via DPM 2012 R2 x64 - The parameter is incorrect (0x80070057)

    I'm getting this on only one of my many virtual servers for some reason.. i've dug around.. i saw there may be a "private" fix for this issue.. The specific message is: The replica of Volume D:\ on server02.domain.local is inconsistent with the prote

  • Error connecting BO 8.8 with CR

    Hi, I have this message when I try to show one of report imported on SAP BO 8.8 : Error while connecting to Crystal Reports 2008; check the installation why ? Thanks in Advance Malika