Dashboard prompt for report which displays curent and previous FY

We have a dashboard with the prompt for the FY and one of the reports on the dashboard should show results for selected FY and previous FY. Report has filters Fiscal Year is greater than or equal to PREVIOUS_FSCL_YEAR AND Fiscal Year is less than or equal to CURRENT_FSCL_YEAR. However if filters are not protected report will display only results for FY selected in prompt but if they are protected it will then ignore prompt. Any idea how to resolve this issue? We need this solution if FY 2009 is selected in the prompt report will display results for FY2008 and FY2009 or if FY 2010 is selected report will display results for FY2009 and FY2010.
Thanks
Tatjana

Hi,
You can do this by creating a dynamic variable in the RPD for the current year as:
SELECT (TO_CHAR(sysdate,'YYYY')) from dual. This will produce Current Year value.
In the Answers for the report which refers to the Year Column. Make a filter from the Year Column. While making filter Click on 'Advanced' in the Filter--> Convert this filter to SQL. And inside it write this forumla: Column_name_will come=VALUEOF(Dynamic_Variable_Name)
For Example-"Time Period Year"."Calendar Year" = VALUEOF("Current_Year_Var")
Make similar filter and write the SQL Filter as- "Time Period Year"."Calendar Year" = VALUEOF("Current_Year_Var")-1
(This will give you the last year value)
And important is make it as 'OR' condition between the two filters.
Hope this will resolve your problem. Let me know further
Regards
MuRam

Similar Messages

  • ALV report which displays Delivery and Invoice details..by linking vbfa.

    Hi...
    I wants to develop an ALV Report, which displays Delivery details as well as Invoice details for a range of given sale orders.
    For this report I am using Tables : VBAK,VBAP,LIKP,LIPS,VBFA tables .
    Here VBFA is a table for Document flow how to link this with report ??
    Please reply.
    Regards ,
    ASHOK
    Moderator message : Not enough re-search before posting, spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Aug 1, 2011 9:58 AM

    VBFA has VBELV and POSNV can be used to map VBAP (sales order item) i.e.
    VBFA-VBELV = VBAP-VBELN AND
    VBFA-POSNV = VBAP-POSNV
    with VBTYP_N = J Values available in VBFA-VBELN and VBFA-POSNN will be LIPS -VBELN and LIPS-POSNR
    VBTYP_N/ VBTYP_V = J stands for delivery and C stands for order
    Nitesh

  • Report to display materials and prices

    Hi everyone.
    Pls. I would like to know if there is a report to display materials and prices, I mean prices from material master accounting view.
    Thanks a lot.

    Dear Frnd...
    There is no such report... as per my knowledge... may be I am wrong...
    But you can use Table MBEWH and develope report for the same..
    Regards,
    AMit P Hiran
    njoy SAP..
    njoy Lyf...

  • Can we create two dashboard prompts for the same column in the samepage

    hi ,
    can we create two dashboard prompts for the same column on the same page,
    I have a date column and I am trying to create 2 dashboard prompts on the same page one as from date and the other one as to date.Is this possible to create.When I am trying to create it is giving me error like cannot use same column for creating the prompt
    Any suggestions or ideas

    863997 wrote:
    hi ,
    can we create two dashboard prompts for the same column on the same page,
    I have a date column and I am trying to create 2 dashboard prompts on the same page one as from date and the other one as to date.Is this possible to create.When I am trying to create it is giving me error like cannot use same column for creating the prompt
    Any suggestions or ideasYou are correct. You cannot build two prompts on the same column. Use this link for instructions on how to build a "between prompt" because of this fact:
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/

  • CM14 BI Publisher Prompt For Reporting

    I am trying to re-create the Prompt For reporting from Infomaker in CM14. Does anyone have any potential solutions to this problem?

    I ran into this issue on a previous project and did some poking in BI Publisher to try and come up with something. I am not sure if there is a better way to do it, but I have a doc with the steps I followed that I can send you that outlines how to get prompts to work.

  • Dashboard prompts for passing parameters to BIP reports

    We have BIP reports that we want to display on a dashboard.
    These reports are driven by parameters, which we need to display on the dashboard.
    From what I understand from the documentation, Dashboard prompts can be used for that with the presentation variable having the same name as the BIP variable.
    however, i am not able to get this to work.
    Our reports are not using any subject area and are BIP reports based on SQL query data sets.
    Our parameter is also based on a SQL query.
    Has anyone done this before? Any help will be appreciated.
    Thanks
    -anupma

    Check this
    https://blogs.oracle.com/xmlpublisher/entry/running_bip_reports_in_biee_wi

  • Displaying Dashboard Prompt For All Pages..

    Hi All,
    I Create One Dashboard Prompt And Place it on dashbaord.we have 4 Dashboard pages in that dashboard.
    My Requrement is
    I want Show Prompt In All Pages Of Dashbaord Like Column in Right hand side means we navigate any page that prompt showing as column For every Dashboard Page.
    whn i place prompt in dashboard it will show only one page.
    Any Help,

    You need to add it manually to each page. Or else add this to one page and copy the same layout to other pages using catalog manager.
    Best thing is to add manually to each page.
    If helps mark.

  • Analysis prompt vs. dashboard prompt for setting presentation variable

    I have a requirement to include a prompt on the analysis (not dashboard) to select a year. This sets a variable when is then used in Report A. I then use the variable for a column filter, which passes 3 parameters to Report B.
    If doing this using a dashboard prompt, everything works as expected. The variable and other row items are used in Report A and passed to the Report B via a Navigate to BI Content Action Link. When using the analysis prompt to set the presentation variable Report A works but then I get this error when navigating to Report B.
    An invalid object was accessed during evaluation.
      Error Details 
    Error Codes: QBB4RZQS:SDKE4UTF

    I have a report in which I use Oracle analytic functions. But I have to show only subset of all records because of analytic functions. In case of ListBox I use a presentation variable in a FILTER(expr1 USING expr2). How may I do this in case of multiselect prompt? It doesn't support presentation values.

  • Crystal Report Viewer Credential Prompt for Report with Dynamic Parameters

    The .NET Crystal Report Viewer is prompting for database credentials when launching a report containing dynamic parameters. This only occurs for reports created with SAP Crystal Reports 2011 designer. Reports created with Crystal Reports XI designer (where dynamic parameters were first introduced) work correctly.
    The credential prompt window contains the following fields:
    - Server Name: <server name> (disabled)
    - Database Name: <database name> (disabled)
    - User Name: <empty> (enabled)
    - Password: <empty> (enabled)
    - Use Single Signon Key: false (disabled)
    The values in the prompt window which are disabled are the database connection values used during the design of the report in the SAP Crystal Reports 2011 designer.
    Expected Result:
    - No prompt for database credentials.
    - Values read from the database should be populated in a drop down for the dynamic parameters.
    Environment:
    - Visual Studio 2010 (C#)
    - Windows 7 Enterprise
    - SAP Crystal Reports runtime engine for .NET Framework 4
    - SAP Crystal Reports, version for Visual Studio 2010
    - SAP Crystal Reports 2011
    The database connection is being set to use a DSN. It must be a DSN as the calling application is only aware of the DSN/Username/Password values. These values are being passed to the Crystal Report Viewer contained in a Windows form.
    The database connection for the report is being set as follows:
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection otherwise the connection does not work
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Supposed to set the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    The SetConnection method's signature is as follows:
       SetConnection(string server, string database, string name, string password)
    As you can see from the code snippet above I am setting the DSN name as the server parameter, blank for the database parameter (a database connection using DSN should only require DSN name/Username/Password) and the database username and password respectively.
    Is this a SAP bug?
    Is this the correct way of setting the database connection to use a DSN?
    Is there some other properties that need to be set somewhere else in the report through code?
    Any help would be greatly appreciated.

    Thanks for the pointer to the database connection code generator. After taking a look at the output from the tool I was able to finally get the dynamic parameters to load and populate properly without prompting for credentials. I needed to tweak the outputted code a bit to match my requirements of using a DSN only connection.
    Instead of updating the database connection properties contained within the Report.Database.Tables collection from the CrystalReports.Engine namespace, I changed it to replace the database connection properties in the Report.ReportClientDocument.DatabaseController.Database.Tables collection from the CrystalDecisions.ReportAppServer.DataDefModel namespace. For one reason or another, using the RAS namespace solved the problem.
    Below is the updated code with the change made:
    using RAPTable = CrystalDecisions.ReportAppServer.DataDefModel.Table;
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Sets the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    // The attributes for the QE_LogonProperties which is part of the main property bag
    PropertyBag innerPropertyBag = new PropertyBag();
    innerPropertyBag.Add("DSN", this.DSN);
    innerPropertyBag.Add("UserID", this.LoginName);
    innerPropertyBag.Add("Password", this.Password);
    innerPropertyBag.Add("UseDSNProperties", "true");
    // The attributes collection of the tables ConnectionInfo object
    PropertyBag mainPropertyBag = new PropertyBag();
    mainPropertyBag.Add("Database DLL", "crdb_ado.dll");
    mainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
    mainPropertyBag.Add("QE_LogonProperties", innerPropertyBag);
    // Pass the database properties to a connection info object
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.Attributes = mainPropertyBag;
    connectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    connectionInfo.UserName = this.LoginName;
    connectionInfo.Password = this.Password;
    // Replace the database connection properties of each table in the report
    foreach (RAPTable oldTable in this.report.ReportClientDocument.DatabaseController.Database.Tables)
        RAPTable table = new RAPTable();
        table.ConnectionInfo = connectionInfo;
        table.Name = oldTable.Name;
        table.QualifiedName = oldTable.QualifiedName;
        table.Alias = oldTable.Alias;
        this.report.ReportClientDocument.DatabaseController.SetTableLocation(oldTable, table);
    this.report.VerifyDatabase();
    Thanks again Ludek for the help.

  • SAP report which display PO nos based  on cost center, Internal orders

    Hi.
    I am looking for a report in MM which will display the list of purchase orders for a cost center, Internal orders etc.
    The report output should have ALV grid format,The output of the report should have material no or short text, PO quantity, PO Price, PO value. GR qty, GR value,IR qty, IR value, G/L to which consumption has posted etc.
    Reports ME2K, MB5S, ME80FN do not show the G/L account to which GR value is posted.
    Basically I am looking for a existing report which is readily available.

    Hi
    I dont think there is standard report. we have developed custom report one of my previous project.
    YOu can try a abap query using tables EKKO, EKPO, EKBE and EKKN.
    regards
    Srinivas

  • Timeout occuring running a report which displays information about users

    Hi,
    I developed a report using JSPDynPages which displays the following information about all the users in a particular Group.
    1)Uid
    2)FirstName
    3)LastName
    4)EMail
    5)Account status (active/locked)
    6)R3 UserName
    In the group for which i am running the report consists of about 4,500 users and the report is getting timedout.
    My logic in the code is to iterate through all the users in the group and collecting their information and populating a array which will then be given to the DefaultTableViewModel to display the info in a tabular form.
    Obviously this process is taking more than the predefined timeout time (i guess it is 1 min) and hence the timout is occuring.
    Can anyone suggest a solution to this problem (other than increasin the timeout param).
    Thanks in Advance,
    Sudhir

    Could you tell me how to display the first name and last name in a Bex Analyzer. I want the user to see their name when they log into the report screen.
    Please help.
    Regards
    Anita

  • Prompts for Reports

    I have created a report with column prompt. I have also included this report in 'My Home Page custom report'. But when i access 'My Home Page' i dont see the Prompt, i only see the report with all columns & data. Have i skipped some step to include prompt on home page ? Thx for help

    Hi,
    The Column prompt of the report will not be displayed if the report placed in 'My Home Page custom report', if the same report URL is placed in the Home Page Web Applet in *‘Global Web Applets’* the prompts will be displayed, and only after selecting the prompted values the detail report is displayed.
    Regards,
    Lokesh

  • ECC report that display PO and Purchase requisitions as list

    Hi there,
    for one of my BI report reconciliation with ECC requirement, I would like to know how many POs are there without Purchase requisitions, same way want to know how many POs are there with Purchase requisition.
    I know some tables where we can find this info, unfortunately I cannot ask my user to go and check in Tables for Acceptance testing. So I am looking for any standard ECC report with POs and PRs as Columns
    Due to time constraints, I cannot go build any ABAP queries in ECC at the moment,
    Any insights are greatly appreciated.
    Thanks

    Based on experience, there is no 1 standard report which shows the document trail/correspondence between PRs and PO.
    What we normally do is create a custom report (via ABAP query or programming) to address this need.
    Kind regards,

  • Does SAP have a report can display check# and deposit#

    Dear all,
    I was wondering if we can have a report in SAP (not a user query) to display check# and deposit#. This is for incoming but not outgoing payment. Thanks.
    Regards,
    Yuka

    Yuka,
    Actually - there is no report in SAP for this.  You have to create you own custom report.
    Use this as your base query
    SELECT DISTINCT T0.DeposDate AS 'Deposit Date', T0.DeposNum AS 'Deposit No', T2.CheckNum
    FROM [dbo].[ODPS] T0 INNER JOIN [dbo].[DPS1] T1 ON T0.DeposId = T1.DepositId
    INNER JOIN [dbo].[OCHH] T2 ON T2.CheckKey = T1.CheckKey
    WHERE T0.DeposType = 'K'
    Suda

  • Looking for Fm which display Blocked status

    Hi ,
    I was looking for a function module which displays the  blocked status in GTS system, i know one '/SAPSLL/CD_STATUS_GET' which exist ECC system, but i am looking for which is in GTS system.
    Could you plz help me out with this issue.

    Hi Ashok
    To answer your question some more context would be useful.  What inputs do you have to identify the document?  The reference document -OR- GTS customs document?  There are lots of standard function modules available such as /SAPSLL/CUHDSTA_DB_SGL_READ which provides the customs document header statuses for SPL, License and Embargo checks from the document header status table directly.  The inputs for this would be the GUID from table CUHD.
    The function module used when ECC calls GTS using /SAPSLL/CD_STATUS_GET is /SAPSLL/API_6800_STATUS_GET, this is another possibility. 
    Hope that helps.
    Rachael

Maybe you are looking for