Problem with Variable in Query Designer.

hi all,
we have a variable ZAMREG on characteristic AM Region, where AM region is attribute for two different master data objects mastobj1 and mastobj2, we have different infosets build on these two master data objects along with some other ODS.
now this variable ZAMREG is visible in one of the infosets only in query designer, whereas it is not visible in the other infoset.
what could be the problem??
thanks,
Rk

Hi,
Please check if that variable is created locally or globally. If it is a local variable in any query, it will not appear in any other query.
In anyways, you can always create one more variable if the older one is not available. This will not make much of difference. I would suggest go ahead with creating a new variable.
Regards,
Yogesh

Similar Messages

  • Problems with variables in query

    I need add variable to my query, made in query generator. My query is long...doesn't work.
    I read a possible solution for this: declare variable and then use it. For example:
    Declare @FromDate as DateTime
    Declare @ToDate as DateTime
    set FromDate =  '[%0]'
    set ToDate =  '[%1]'
    and then implements it: select * from  [table] where Date between @FromDate and @ToDate
    ...but doesn't work.
    Any suggestions?
    Roberto.
    PD: I left my query:
    declare @fdesde as datetime
    declare @fhasta as datetime
    set @fdesde = '[%0]'
    set @fhasta = '[%1]'
    select * from (SELECT
    A.DOCENTRY as NroDocumento,
    max(A.DOCDATE) AS FECHA,
    max(CASE WHEN A.U_TGV_FLETTER = 'A' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '1'
    WHEN A.U_TGV_FLETTER = 'B' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '6'
    WHEN A.U_TGV_FLETTER = 'C' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '11'
    WHEN A.U_TGV_FLETTER = 'E' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '19'
    WHEN A.U_TGV_FLETTER = 'M' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '51'
    WHEN A.U_TGV_FLETTER = 'A' AND A.U_TGV_ACC_ORD_FLAC = 1 THEN '60'
    WHEN A.U_TGV_FLETTER = 'B' AND A.U_TGV_ACC_ORD_FLAC = 1 THEN '61'
    WHEN A.U_TGV_FLETTER = 'C' AND A.U_TGV_ACC_ORD_FLAC = 1 THEN '62' ELSE 'NA'
    END) AS TIPOCOMP,
    max(isnull(Convert(varchar,isnull(A.U_TGV_FOLIO_PREFIX,'0')) + '-' + Convert(varchar,A.folionum),'')) AS NUMCOMP,
    max(isnull(A.CARDNAME, '')) AS RAZONSOCIAL,
    max(Replace(LICTRADNUM,'-','')) AS CUIT,
    round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then 0 else case when b.vatprcnt = 0 then b.linetotal else 0 end end), 4) as NOGRAVEXCENTO,
    round(sum(case when b.vatprcnt <> 0 then b.linetotal else 0 end),4) as IMPGRAVADO,
    max(b.vatprcnt) as ALICUOTA,
    round(sum(b.vatsum),4) as IVA,
    round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then b.linetotal else 0 end),4) as OPEXENTA,
    max(round(ISNULL(AA.TOTAL, 0),4)) AS PERCIVA,
    max(round(ISNULL(BB.TOTAL, 0),4)) AS PERCIIBB,
    '1' AS CONSULTA
    FROM [dbo].[OPCH]  A
    INNER JOIN [dbo].[PCH1]  B ON A.DOCENTRY = B.DOCENTRY
    LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                       INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                       INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                       WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 1
                                       group by A.DOCENTRY) AA ON AA.DOCENTRY = A.DOCENTRY
    LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                       INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                       INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                       WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 2
                                       group by A.DOCENTRY) BB ON BB.DOCENTRY = A.DOCENTRY
    INNER JOIN [dbo].[OITM] I on  b.ItemCode = I.ItemCode
    Where I.U_TGV_PERCEP_FLAG = 0
    group by a.DOCENTRY,  b.taxcode
    UNION ALL
    SELECT
    A.DOCENTRY as NroDocumento,
    max(A.DOCDATE) AS FECHA,
    max(CASE WHEN A.U_TGV_FLETTER = 'A' THEN '3'
    WHEN A.U_TGV_FLETTER = 'B' THEN '8'
    WHEN A.U_TGV_FLETTER = 'C' THEN '13'
    WHEN A.U_TGV_FLETTER = 'M' THEN '53'
    ELSE 'NA'
    END) AS TIPOCOMP,
    max(isnull(Convert(varchar,isnull(A.U_TGV_FOLIO_PREFIX,'0')) + '-' + Convert(varchar,A.folionum),'')) AS NUMCOMP,
    max(isnull(A.CARDNAME, '')) AS RAZONSOCIAL,
    max(Replace(LICTRADNUM,'-','')) AS CUIT,
    round(sum(case when b.vatprcnt = 0 then b.linetotal else 0 end), 4) as NOGRAVEXCENTO,
    round(sum(case when b.vatprcnt <> 0 then b.linetotal else 0 end),4) as IMPGRAVADO,
    max(b.vatprcnt) as ALICUOTA,
    round(sum(b.vatsum),4) as IVA,
    round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then b.linetotal else 0 end),4) as OPEXENTA,
    max(round(ISNULL(AA.TOTAL, 0),4)) AS PERCIVA,
    max(round(ISNULL(BB.TOTAL, 0),4)) AS PERCIIBB,
    '1' AS CONSULTA
    FROM [dbo].[ORPC] A
    INNER JOIN [dbo].[RPC1] B ON A.DOCENTRY = B.DOCENTRY
    LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                       INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                       INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                       WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 1
                                       group by A.DOCENTRY) AA ON AA.DOCENTRY = A.DOCENTRY
    LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                       INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                       INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                       WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 2
                                       group by A.DOCENTRY) BB ON BB.DOCENTRY = A.DOCENTRY
    INNER JOIN [dbo].[OITM] I on  b.ItemCode = I.ItemCode
    Where I.U_TGV_PERCEP_FLAG = 0
    group by a.DOCENTRY,  b.taxcode
    UNION ALL
    SELECT max(TOT.C1) as NroDocumento,max(TOT.C2) as Fecha, max(TOT.C3), max(TOT.C4), max(TOT.C5),max(TOT.C6),sum(TOT.NOGRAVEXCENTO),sum(TOT.IMPGRAVADO),max(TOT.ALICUOTA),sum(TOT.IVA),sum(TOT.OPEXENTA),max(TOT.PERCIVA),max(TOT.PERCIIBB),max(TOT.CONSULTA) FROM
    SELECT
    '' AS C1,
    '' AS C2,
    '' AS C3,
    '' AS C4,
    '' AS C5,
    '' AS C6,
    round(sum(case when b.vatprcnt = 0 then b.linetotal else 0 end), 4) as NOGRAVEXCENTO,
    round(sum(case when b.vatprcnt <> 0 then b.linetotal else 0 end),4) as IMPGRAVADO,
    max(b.vatprcnt) as ALICUOTA,
    round(sum(b.vatsum),4) as IVA,
    round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then b.linetotal else 0 end),4) as OPEXENTA,
    max(round(ISNULL(AA.TOTAL, 0),4)) AS PERCIVA,
    max(round(ISNULL(BB.TOTAL, 0),4)) AS PERCIIBB,
    '2' AS CONSULTA
    FROM [dbo].[OPCH] A
    INNER JOIN [dbo].[PCH1] B ON A.DOCENTRY = B.DOCENTRY
    LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                       INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                       INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                       WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 1
                                       group by A.DOCENTRY) AA ON AA.DOCENTRY = A.DOCENTRY
    LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                       INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                       INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                       WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 2
                                       group by A.DOCENTRY) BB ON BB.DOCENTRY = A.DOCENTRY
    INNER JOIN [dbo].[OITM] I on  b.ItemCode = I.ItemCode
    Where I.U_TGV_PERCEP_FLAG = 0
    group by b.taxcode
    UNION ALL
    SELECT
    '' AS C1,
    '' AS C2,
    '' AS C3,
    '' AS C4,
    '' AS C5,
    '' AS C6,
    round(sum(case when b.vatprcnt = 0 then b.linetotal else 0 end), 4) as NOGRAVEXCENTO,
    round(sum(case when b.vatprcnt <> 0 then b.linetotal else 0 end),4) as IMPGRAVADO,
    max(b.vatprcnt) as ALICUOTA,
    round(sum(b.vatsum),4) as IVA,
    round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then b.linetotal else 0 end),4) as OPEXENTA,
    max(round(ISNULL(AA.TOTAL, 0),4)) AS PERCIVA,
    max(round(ISNULL(BB.TOTAL, 0),4)) AS PERCIIBB,
    '2' AS CONSULTA
    FROM [dbo].[ORPC] A
    INNER JOIN RPC1 AS B ON A.DOCENTRY = B.DOCENTRY
    LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                       INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                       INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                       WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 1
                                       group by A.DOCENTRY) AA ON AA.DOCENTRY = A.DOCENTRY
    LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                       INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                       INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                       WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 2
                                       group by A.DOCENTRY) BB ON BB.DOCENTRY = A.DOCENTRY
    INNER JOIN [dbo].[OITM] I on  b.ItemCode = I.ItemCode
    Where I.U_TGV_PERCEP_FLAG = 0
    group by b.taxcode
    ) TOT
    group by TOT.ALICUOTA) TOTGEN
    where TOTGEN.FECHA between @fdesde  and @fhasta
    order by TOTGEN.fecha

    Hi Roberto,
    Try the following:
    DECLARE @cnt AS SMALLINT, @DateFrom AS DATETIME , @DateTo AS DATETIME 
    SELECT @cnt = count(*) FROM [dbo].[OINV] T0 WHERE T0.DocDate = '[%0]'
    SELECT @cnt = count(*) FROM [dbo].[OINV] T1 WHERE T1.DocDate = '[%1]'
    SET @DateFrom = '[%0]'
    SET @DateTo = '[%1]'
    IF @DateTo = '1900-01-01'
    BEGIN
    SET @DateTo = '2999-12-31'
    END
    SELECT DocNum, DocDate, CardCode, DocTotal 
    FROM dbo.[OINV]
    WHERE DocDate >= @DateFrom AND DocDate <= @DateTo
    ORDER BY DocNum
    FOR BROWSE
    The @cnt variable is only used as a mechanism to get the user values into the SAP parameter variables, which are then assigned to @DateFrom and @DateTo.
    If the user does not enter any parameter values then SAP automatically assigns a value of '1900-01-01', which is fine for DateFrom but not DateTo - so if @DateTo equals this then I assign some future date so all transactions should be returned.
    Hope this helps.
    Regards,
    Andrew.

  • Problem with variables in formulas when using CrystalReportViewer

    Post Author: Aksu
    CA Forum: Formula
    Hi! I have a problem with variables in Crystal Reports formulas, when using CrystalDecisions.Windows.Forms.CrystalReportViewer class from VS2005-project. ReportViewer always gives error:*************Crystal Report Windows Forms ViewerThis field name is not known.Details: errorKindError in File C:\{dir&#93;}\{file}.rpt:Error in formula <mCustomerAttributes>.'Dim result As String'This field name is not known.Details: errorKind ************* Report without variables works fine with Viewer and in Crystal Reports Designer report with variables works also fine. I have tried with both "formula-syntaxes" - basic and crystal. But Viewer always gives error when trying to define new variable.I think the problem might be with CR -versions, because VS-project has formerly been designed to VS2003 and CR9 or 10. Now I'm using VS2005 and CR11. Though I have changed all references to new CrystalDecisions-asseblies (Ver.11.0.3300.0), when I debug the project and checkout the Viewers ReportSources FormatEngine Shows version CR9_2.... I have no idea where it gets this version...***************DEBUG-view when Viewer is created *******************CrystalReportViewer    |_        ReportSourceClassFactoryName ... , Version=11.0.3300.0 , ...    |_            ReportSource            |_                FormatEngine    {CrystalDecisions.CrystalReports.Engine.FormatEngine}                        |_                        ClientVersionHeader    {CrystalDecisions.Shared.ReportServiceVersionHeader}                            |_                            |    version = 920     (int)                            |_                                Static members                                            |_                                        VER_CR9    = 920    (int)**************************************** Could anyone have any answers or tips for this problem? I'd really appreciate it... ---Aksu

    Has anyone been able to answer this question?
    I am having the same problem:
    I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
    I can run the report successfully in CRXI Developer.  The formulas use the correct values from the parameters entered during execution and everything looks good.
    I then deploy the report to Business Objects Enterprise XI.  I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
    When I run the report using the Crystal Report Viewer, I get the following error message:
    Error in File Forecasting.rpt:
    Error in formula <Report Format>.
    'if (not isNull({?FORMAT_ID} ) ) then
    This field name is not known.
    Details: errorKind
    This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
    I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula.  If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
    Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
    Thanks,
    Tim H.
    Edited by: Tim Haley on Nov 25, 2008 11:11 PM
    Edited by: Tim Haley on Nov 25, 2008 11:12 PM

  • Problem with variable in the woorkbook selection screen.

    Hi All,
    I have Problem with Variable in the selection screen. I have four variable in the report in this sequence
    <b>Plant (optional), calendar month (mandatory),  material (optional), Customer (mandatory). </b>
    In Development system, I changed the query to fix the problem for a formula. saved and executed the query. In the selection screen appeared four variables and executed. after executing the query and I saved the work book also. I logged out of the Bex Analyzer. In the RSRT I generated the report by clicking the Generated Report push button. and again logged into the Bex analyzer and ran the work book, now in the selection screen, appeared three Variables only, I am missing the variable <b>Customer</b>.
    The old report which is already  in the Production system is working fine. What could be the mistake I did in the development system.
    It is very urgent, I need to deliver this object as soon as possible.
    Can I anybody help on the same.
    Thanks in advance
    Narendra

    Yunus,
    I did what you said. I removed the variable from characteristic restrictions, saved the query and executed the query, appeared three variables Plant, Calender month and material. executed and saved the work book. disconeted from Bex analyzer, in RSRT Generated Report and logged into Bex analyzer ran the work book for selection Plant, calender month and material and went into change query definition and added the variable for customer which was removed earlier and and ran the query for selections Plant, Calender monmth, Material and customer. saved the work book. disconnected from Bex analyzer and closed all excel sheets and work books. In RSRT Generated Report and again connected to Bex analyzer and ran the work book, now appeared only three variables again missed variable customer.
    Yunus does any missed n the procedure what i did.
    It is helped what Chris was answered.
    Many Many Thaks for your time and replies.
    Thaks in advance
    Narendra

  • Fox Formula Variable In Query Designer

    Hi Experts,
    I have created 1 variable in fox formula of type VARV and i want this Variable to show in query designer while creating new Variable so that i can replace the Query Variable With Fox Formula by Using Replacement Path.
    While Creating new variable in Query Designer it is not Showing that Fox Formula variable.
    Because i want to use this in WAD While Executing the Planning Sequence.
    Is there any way we could get That Fox Formula variable in Query Designer.
    Regards
    Girish

    Hi Marc,
    While Creating Variable from Query Using Query Properties it is still not Showing That Variable in Fox Formula.
    And My Requirement was to Replace that Fox Formula Variable With Query Designer Variable.
    Please Suggest any Solution.
    Thanks
    Girish

  • Problem with variable

    Hi. I'm making a form for work for people to book places on
    training courses. Having an annoying problem with variables that
    i'm hoping has a simple solution. Any help with this will be much
    appreciated.
    All the info is held in an external text file which looks
    like this (but much longer):
    &totalcourses=2&
    &course0=Please choose a course&
    &course1=my course one&
    &totaldates1=3&
    &c1date0=Select a date...&
    &c1date1=15 September 2006&
    &c1time1=Time: 10:00 to 16:00&
    &c1date2=23 January 2006&
    &c1time2=Time: 11:00 to 16:00&
    &c1date3=28 February 2007&
    &c1time3=Time: 12:00 to 16:00&
    &course2=my course 2&
    &totaldates2=3&
    &c2date0=Select a date...&
    &c2date1=15 September 2006&
    &c2time1=Time: 11:00 to 16:00&
    &c2date2=08 January 2007&
    &c2time2=Time: 9:00 to 16:00 &
    &c2date3=15 February 2007
    &c2time3=Time: 12:00 to 16:00&
    The course titles are loaded into an array and then into a
    combobox. When a course is chosen a second combobox loads the
    relevant dates array for that course. When a date is chosen the
    time is shown in a dynamic text box.
    Problem is - if more than one course is on the same date it
    will show the time for the latest course with that date. For
    example - course 1 is on 15 sept at time 10:00 to 16:00, course 2
    is also on 15 sept at time 11:00 to 16:00. When 15 Sept is chosen
    for course one it displays the time for course 2 on this date -
    presumably because it comes later in the text file.
    I've attached the actionscript for this - Can anyone help me
    sort this out??

    Hi. I'm making a form for work for people to book places on
    training courses. Having an annoying problem with variables that
    i'm hoping has a simple solution. Any help with this will be much
    appreciated.
    All the info is held in an external text file which looks
    like this (but much longer):
    &totalcourses=2&
    &course0=Please choose a course&
    &course1=my course one&
    &totaldates1=3&
    &c1date0=Select a date...&
    &c1date1=15 September 2006&
    &c1time1=Time: 10:00 to 16:00&
    &c1date2=23 January 2006&
    &c1time2=Time: 11:00 to 16:00&
    &c1date3=28 February 2007&
    &c1time3=Time: 12:00 to 16:00&
    &course2=my course 2&
    &totaldates2=3&
    &c2date0=Select a date...&
    &c2date1=15 September 2006&
    &c2time1=Time: 11:00 to 16:00&
    &c2date2=08 January 2007&
    &c2time2=Time: 9:00 to 16:00 &
    &c2date3=15 February 2007
    &c2time3=Time: 12:00 to 16:00&
    The course titles are loaded into an array and then into a
    combobox. When a course is chosen a second combobox loads the
    relevant dates array for that course. When a date is chosen the
    time is shown in a dynamic text box.
    Problem is - if more than one course is on the same date it
    will show the time for the latest course with that date. For
    example - course 1 is on 15 sept at time 10:00 to 16:00, course 2
    is also on 15 sept at time 11:00 to 16:00. When 15 Sept is chosen
    for course one it displays the time for course 2 on this date -
    presumably because it comes later in the text file.
    I've attached the actionscript for this - Can anyone help me
    sort this out??

  • Problem with Variable Client Support

    Hello,
    I work with Labview 8.5 and Crio 9014.
    I have a problem with  Variable Client Support. When I try to compile my project I have the following error:
    "The Network Variable Engine and Variable Client Support must be installed on the RT target for this application to function properly..."
    I have read that we have to install the Variable Client Support in Measurement and Automation by right-clicking on the software and then choosing add/remove software but I can't install the appropriate shared variable components because I can't see neither Network Variable Engine and Variable Client Support. So what can I do?
    Can somebody help me?
    Thanks

    I have exactly the same problem. I wanted go through the "Getting Started with the LabVIEW RT module" and when I use wizard for generating new project I get same notification in my VI... 
    The Network Variable Engine and Variable Client Support must be installed on the RT target
    for this application to function properly. If the Network Variable Engine is not supported on
    the target (e.g. FP-2000 with <32MB of RAM), open the project and move the variable library
    to My Computer in the project. Doing this will deploy the variables to localhost but
    will still require that Variable Client Support be installed on the RT target.
    Could someone help please ? 
    Attachments:
    ni.png ‏95 KB

  • Problem with Variable screen in WAD

    Hi ,
    I have a problem with variable screen in WAD , in the varable seen it is displaying only Key , it is not giving any description , but in BEX is is displaying both Key and Description , can any only have an idea why is this happening . this is occuring only for one variable , rest are working fine .
    Thanks,
    Abraham

    Hi Abraham,
    thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
    - search for the infocube
    - doubleclick on the infocube
    - choose an specific infoobjekt
    - right mousebutton and click "specific dataprovider settings"
    - check if the right entries are set
    Hope this will help.
    André

  • How to assign current date/time to a formula variable in Query Designer

    How do I assign the current date to a formula variable in Query Designer? I need to use current data in a calculation and just need the date the report was run.
    Thanks

    Hi Philip,
    There is an SAP formula variable to supply the current date in a formula. I think it is 0F_ADAY...install it from business content if you cannot see it in the query designer (formula box, under formula variables) and try using it.
    Hope this helps...

  • Problems with Input Ready Query

    Hello All,
    I'm facing problems with input ready query for BI IP.
    I've created the input query on aggregation level and maintianed all the planning settings.  It is not allowing me to edit, when i'm attaching in the web template.
    I also attached a button copy function, and i'm able to execute it and save it, but it not allowing me to change manually.
    I also enabled the 3rd option for keyfigures...data can be changed with planning functions and user input.
    Please help me in this regard.
    We have just started the development of BI-IP, please suggest me if there are any notes to be applied.
    Regards
    Kumar

    Hello Johannes,
    Yes I've set to the finest granularity...even if it is Only one characteristic and one key figure without any restrictions...
    I've checked even planning tab page under properties...it is also fine..
    But still it is not allaowing me to go to edit mode...this is a fresh instalation and the query i'm working is the first one...
    Please suggest me if there are any notes to be applied, we are on Support Pack 10.
    Regards
    Jeevan Kumar

  • Problems with the CS5.5 Design Premium Suite on OSX Lion?

    Hi, did anybody had already problems with the CS5.5 Design Premium Suite on OSX Lion? I purchased the software as a Volume licenced product recently and everything was working fine, until since few days my Indesign and Illustrator keep crashing on launch. I de-installed and re-installed the entire CS5 Suite on my iMac, but Indesign and Illustrator still keep on crashing while launching. I already rang the Adobe tech support but they are not very helpful at all... Its quite frustrating.

    Pat76 wrote:
    Hi, did anybody had already problems with the CS5.5 Design Premium Suite on OSX Lion? I purchased the software as a Volume licenced product recently and everything was working fine, until since few days my Indesign and Illustrator keep crashing on launch. I de-installed and re-installed the entire CS5 Suite on my iMac, but Indesign and Illustrator still keep on crashing while launching. I already rang the Adobe tech support but they are not very helpful at all... Its quite frustrating.
    No problems here with CS5. After I upgraded to Lion I did update to 5.5 and still did not experience any problems. There are some handy articlles on Adobe's web site relating to compatability with Lion, but I have experienced none. Have you checked the third party plug-ins in Illustrator and InDesign for compatability if you have any installed?
    Pete

  • Localizing Analytics Web Catalog - problem with variables

    I tried to localize strings in OBI EE Web Catalog. I exported those captions using catalog manager, translate messages in XML file and put them to \Web\Res\l_xx\Captions. It works quite good.
    But there is problem with variables in Title. Replacement of variables STOP working :-( At the page is displayed for example: "@{biServer.variables['MaxDate']}". Variable replacemen works fine in narrative views.
    Do you have some ideas?
    Thanks.

    We have the same problem with presentation variables in titles using externalize strings option, they stopped working after tranlation.
    We tried with Oracle BI EE 10.1.3.2.1 and 10.1.3.3.3 with same result.
    Any ideas?
    Thanks

  • Conflict with text variable on Query Designer

    Hi,
    this is the scenario:
    - On Query Designer i got two restricted key figures: K1 and K2.
    - I'm usign a manual entered variable for 0CALMONTH.
    - On K1 the sales are restricted for the selected month.
    - On K2 the sales are restricted to a range between first month of the year, and the selected month-1.
    Then on a formula i use K1+K2 and a text variable (selected month) for the name of the column. Then, when running the query, the text for the variable can't be found. There is a conflict on text variable when using 2 restricted key figures on the formula.
    How can i solve it ?
    thx

    Hi,
    I assume that your text variable is of replacement type?
    If it doesn't work you can create a new text variable of user exit type and derive its value using entered 0CALMONTH.
    Best regards,
    Eugene

  • Problem with variable offset for 0CALMONTH

    Hello Community,
    I have a problem with using variables offset for time characteristic 0CALMONTH
    Let's say my current query looks like this:
    ...................01.2006..........02.2006..........03.2006   (0CALMONTH)
    Sales ..............100..................125................200   (Keyfigure)
    What I want do now is to add a previous year comparison. So that it should look this way:
    ...................01.2006..........02.2006..........03.2006   (0CALMONTH)
    Sales ..............100..................125................200   (selected months)
    LY_Sales...........50..................100................100   (selected months - 12)
    (LY_Sales should show figures of 01.2005, 02.2005 and 03.2006 in this example)
    I used new selection for LY_Sales with variable offset for 0CALMONTH -12 but that didn't work. Figures in second line are zero. The desired figures would show up (if I expand the selected time intervall wide enough) in 01.2005, 02.2005 and 03.2005 but that's of course not what I want.
    Please help if you can!
    Regards,
    Ulrich

    Hi,
    We can get an an other way by using CELL editor caoncept.
    First create teh query like this:
    ...................01.2006..........02.2006........12.2006.....01.2005...02.20005...12.2005  Sales ..............100................125..............200.............50...........100.........100 
    Sales ..............100................125..............200.............50...........100.........100
    Then hide the 2005 years' kf:
    ...................01.2006..........02.2006........12.2006
      Sales ..............100................125..............200 
    Sales ..............100................125..............200
    Though the call editor concept overwrite the second rows(selection) content with hidden columns of second row(selection) one by one .i.e first cell of 2nd row will be overwritten by 13 th cell of second column.similarly second cell of 2nd row will be overwritten by 14 th cell of second column........
    First row(selection) : Cal year Charactertic with restriction 2006.
    second row(selection) : Cal year Charactertic with restriction 2005.
    With rgds,
    Anil Kumar Sharma .P

  • Problem with Variable Entry Screen

    Hello All,
    We upgraded our development systems to NW2004s and came across the following issue:
    All our Bex queries have restricted time characteristics with variables entries. When we execute a query it should pop-up the variable selection screen for us to enter the restriction values but the query is ignoring Variable restriction screen and taking into consideration everything. The same query works fine in Prod., which is still in 3.1.
    Did anyone come across this situation kind of situation? It did not pop-up any type of error and we are in SPS10
    Thanks in Advance,
    Message was edited by:
            bw expert online
    Message was edited by:
            bw expert online

    We fixed the "Variable Screen not appearing" problem by adding following objects to our users.
    1) Business Explorer - BEx Web Templates (NW 7.0+) S_RS_BTMP
    2) Business Explorer - Individual Tools S_RS_TOOLS
    3) Business Explorer - Data Access Services S_RS_DAS
    Mark the message answered if this helps.

Maybe you are looking for