XL Reporter - Selection of date range for report templates

Dear All,
I want to create a report using XL reporter and attach it to the main SAP B1 reports module . For this I have created the template using report composer .
Issue:
I have only one sub-period (ie,year wise in the posting periods)
how i can select the date range in the Composer and attach it to the main menu.
Regards,
Suresh Kannan.P.

Suresh,
            1. Goto Report Designer
            2. there u can find "Advanced Report Builder" on left side of the window
            3. At the below u can find three buttons like "Parameters", "Properties","Apply"
            4. Click on "Parameters"
            5. then Parameters window will populate
            6. Click the new Button
            7. Name: give as u like
                Category: Literal
                Type: Date
                Attribute: Leave blank
                Default Vale: Leave Blank
                Prompt: From Date
         This is the process to create the parameters.
create two parameters. one is fdate and ldate.

Similar Messages

  • Date range for key date in hierarchy

    Dear Friends,
    Is there a work around for single key date restriction for time dependent hierarchy.Bcos i can only select one key date in teh report for my hierarchy so that it will take that hierarchy which falls in this date and display the result accordingly.
    But is there a way to select the date range for key date so that more than one hierarchy can be used to display my report accrding to the time range.
    Say,i have 4 hierarchies (time dependent) like v1,v2,v3,v4 and v5 for jan 08,feb 08,mar 08,apr 08 & may 08 respectively.
    In my report,i want to display the result for the time interval say mar to May.
    So my report should diplay the result according to the 3 different hierarchies for the time period i.e.v3,v4&v5.
    How do i acheive this.
    Thanks.
    ragu

    Hi
    I think we may do with the Char with text with replecement path.
    take time char as Calmonth and set the offet value as -1 and -2 and design the report and use the hierarchies in that query.
    Am not surt it willwork but better to try with this.

  • How to prompt date range for a single column in reports

    Hi All,
    I am having a prompt which shows from date and to date, both these columns will come from day column of calendar .We want that our report values should be between the from date and to date.Can someone tell me how can this be achieved.Because if we build a report we will pull day column from calendar and say its prompted.How can we get the condition that day clumn should be between from date and to date of prompt.
    Thanks and Regards,
    Amrit

    Hi vineet,
    Thanks for your reply
    I am having one prompt where we will have two columns from date and to date, both these columns are coming from same column called day in mth_calendar.I am having 1 report where the date range should lie between from date and to date of prompt.In this case should I use your second suggestion or the first one.
    Thanks,
    Amrit

  • How to achieve the from and to date range in report builder 3.

    I AM TRYING TO CREATE ONE REPORT FROM REPORT BUILDER 3.
    WHERE I AM UNABLE TO DEFINE THE DATE RANGE.
    HOW TO ACHIEVE THE DATE RANGE IN REPORT BUILDER.
    NEED FROM DATE AND TO DATE FILTER IN REPORT BUILDER FOR PK DATE.

    Hi Ganesh,
    According to your description, you create a report in Report Builder 3.0, and create two parameters FromDate and EndDate, now you want to use the parameters in your MDX query, right?
    If in this case, here is a sample query for your reference.
    select
    {[Measures].[Internet Sales Amount]
    } on columns,
    {[Date].[Date].members} on rows
    from(
    select
    STRTOMEMBER("[Date].[Date].&["+@StartDate+"]"):STRTOMEMBER("[Date].[Date].&["+@EndDate+"]")
    ) on columns
    from [Adventure Works]
    Reference:STRTOMEMBER
    Regards,
    Charlie Liao
    TechNet Community Support

  • Data source for report

    Hi guys.
    Can somebody let me know how to set data source for report?
    I did import "import.zip" and "bootstrp.zip".
    I did run "HFPBMMAK.PRO".
    I did create model connection of "HFPBM"
    Best Regards,
    Chul.

    Chul,
    You only have to import either import.zip OR the bootstrap.zip, not both.
    I don't know if you have SSM 7.5 or SSM 10, this will be for 7.5
    If you have followed the set-up correctly, you should be able to open the demolauncher -
    http://localhost:50000/strategy/pilotworks/demolauncher.htm
    Where localhost = server 50000 = port
    You should open the Administrator interface of your demo and Set Scorecard Defaults. For a context make sure that the PAS Model Connection is set for the model connection you set - HFPBM.
    You also need to make sure that Manage Application Groups have your user added for the context you selected.
    (For 10 the application groups are managed in NetWeaver)
    Regards,
    Bob

  • How to make cube data avilable for reporting

    Hello,
    I have loaded data in to info cube from flat file, and created a query using BEx Analyzer. that query does not return results and gives an error msg "No Applicable Data Found".
    Padmanabha Rao had a same problem. In his thread, expert is recommending to check whether the data is available for Reporting by Rt clicking Infocube -> Manage -> Requests tab. Ideally, you'll be able see an indicator(Query icon) if it's available for reporting.
    My cube data is not available for reporting, how can I make it available for reporting?
    Regards,
    Tejas.

    Normally when the data gets loaded to cube, it will be available for reporting unlike DSO where you need to activate the data to make it available for reporting. There could be many reasons why the data is not available for reporting;
    1. May be there is aggregrates created on the cube and the data never been rolled up to the aggregates. If you see a summation sign next to the cube then there is aggregates created on the cube and you need to fill the aggregates first before you can have the data available for reporting in the cube. To do that, manage ->rollup and start, that will fill the aggregates.
    2. If there is any request in the cube which is still red, then any request after that won't be available for reporting until you either delete the red request.
    If the problem still persist, then I would just delete all the data from the cube and reload the data again.
    thanks.
    Wond

  • User-filtered report based on date range

    I am struggling with trying to implement a basic search that includes an optional date range for the data. The form looks the way I want it, but I can't seem to get the right syntax in the query. I can't get anything other than "no rows" to show up in the query if I implement a clause selecting records based on the time.
    Here is a working query (without the time):
    select m.AUDIT_ID, m.TIMESTAMP, m.LOC_ID, a.AREA, s.SUBAREA, d.OBSERVATIONS
    from transys.SAFETY_AUDIT_MAIN m, transys.SAFETY_AUDIT_DETAIL d,
    transys.SAFETY_AUDIT_AREA a, transys.SAFETY_AUDIT_SUBAREA s
    where m.AUDIT_ID = d.AUDIT_ID (+)
    and d.AREA_ID = a.AREA_ID
    and d.SUBAREA_ID = s.SUBAREA_ID
    and s.SUBAREA_ID NOT IN (198,199,398,399,498,499,798,799,898,899,999)
    and (instr(upper(a.AREA),upper(nvl(:P210_SEARCH,AREA))) > 0
    or instr(upper(s.SUBAREA),upper(nvl(:P210_SEARCH,SUBAREA))) > 0
    or instr(upper(d.OBSERVATIONS),upper(nvl(:P210_SEARCH,OBSERVATIONS))) > 0)
    I want to compare the m.TIMESTAMP column with page items P210_FROM_DATE and P210_TO_DATE.
    I would also like to add in an optional filter comparing m.LOC_ID to P210_LOCATION, and I can't seem to figure out the "optional" part.
    Any ideas would be helpful.

    The query as I posted it returns 3 values, but it is not syntactically identical to the one APEX is using. I would be happy to get 3 rows in APEX because at least that way I would know I have the date formatting correct, and just needed to tweak the logic. When I execute the query in APEX, however, I get either "there is no data to display" or I get a formatting error - "X is not a valid month" - depending on how I use TO_CHAR and TO_DATE to try and synchronize the various date inputs with the field.
    If it is a query issue (which it may be), I am still suspecting that it is something to do with the formatting of the dates involved. Just as in APEX, it could be something simple, but I suspect it is a mismatch in the formatting somewhere.
    Maybe I'll try making a view of the underlying table and experimenting with the date in the view. That should enable me to see if it is the formatting in the query or the formatting in APEX that is causing the problem. Or it could even eliminate formatting as the problem as well.
    PS. I had a similar struggle trying to implement some triggers against this database that used date values. NLS_TIMESTAMP_FORMAT is set to 'YYYY-MM-DD HH24.MI.SS.FF'. I ended up converting every date that I pulled from the database into a known format with TO_CHAR and then converting it back into a date with TO_DATE. It was the only way to be able to compare the date values without getting these same kinds of errors.

  • How to set a date range for date field ?

    Dear Experts,
    Scenario:
    I have a query in validating the date field in my BSP application. My application is for maintain infotype 0023 Other/Previous Employers online by employees in the company.
    As per our design we are maintaining the all employment details of the employee both ( with in the current company / previous employment outside the company) in the same infotype.
    Every employee will have a hiring date within the SAP HR system. We consider this date as the cutoff date between current and previous employment in our application. When the employee updating the details wia BSP page I need to check the following.
    Record inside current company: Validation that, the user should only able to enter BEGIN DATE (BEGDA)  greater than or equal HIRING DATE and END DATE(ENDDA) should be greater than FROM  DATE (BEGDA).
    Record outside current Company: Validation that, the user should only able to enter BEGIN DATE (BEGDA)  less than or equal HIRING DATE and END DATE (ENDDA) should be greater than FROM  DATE (BEGDA) and less than HIRING DATE.
    Technical Requirement:
    How to set a date range for date field, i.e. how we can limit the date range in a HTMLB date field? Can this it be achieved via standard functionality of HTMLB?
    Following is the code to describe date field in my application.
        <htmlb:inputField id= "ENDDA_NEW_IN"
                          type= "date"
                    doValidate= "TRUE"
                      showHelp= "TRUE"
                      disabled= "FALSE"
                         width= "183"
                         style= "cssTextAreadate"
                         value= "<%='99991231'%>"/>
    Thanks a lot in advance for your assistance and help.
    Cibinu2026
    Edited by: cibin kuruvilla on Nov 12, 2008 11:13 AM

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • How to display null values in the graphs, when i select a date range?

    Hi,
    Can you please help me in achieving the below requirement:
    We have a date promt, i have selected the date range from 12-Oct-2009 to 15-Oct-2009 and clicked on the go button.
    In the above date range, data is only availabe on 14-Oct-2009. here the requirement is to display as all the records (12th, 13th , 14th & 15th) in the bar graph.
    Currently the graph view is displaying the data only for 14-Oct-2009 in the bar graph.
    If data is not available it should display in the bar graph as empty for that particular dates.
    Help is highly apprieciated.
    Thanks in Advance.

    Check out [this post|http://obiee101.blogspot.com/2009/04/obiee-showing-zero-in-bargraph.html].

  • Date Range for a fixed fiscal year

    Dear All,
    How to write a code to fix the date range for 12months only. Example like mine selection should be between one fiscal year only.
    I have check that the date is of one year range like 1.05.2008 to 30.04.2009
    month bt 05 & 04 for one particular year. how to write the code.

    hi,
    check for the year like this.
      if v_date1(4) EQ v_date2(4).
      endif.
    this will check for the first 4 characters of the date string which is the year.
    regards,
    Peter

  • Find date range for sick leaves

    Hi,
    Ive been trying to get readable output from HR system.
    I have added the source data into Data Model, since i had to read the data with power query. Now i have pivot table like this:
    date        workdaY?    user
    6.3.2014    Sickleave    user1
    1.2.2014    Sickleave    user2
    2.2.2014    Sickleave    user2
    5.3.2014    Sickleave    user4
    5.3.2014    Sickleave    user1
    5.5.2014    Sickleave    user1
    16.9.2014  Sickleave    user3
    7.3.2014    Sickleave    user1
    6.5.2014    Sickleave    user1
    6.3.2014    Sickleave    user4
    Is there any possible way to get some kind of find function to sort and combine the data like this:
    user1        Sickleave    5.3-7.3.2014
    user1        Sickleave    5.5-6.5.2014
    user2        Sickleave    1.2-2.2.2014
    user3        Sickleave    16.9-16.9.2014
    user4        Sickleave    5.3-6.3.2014

    One way to do this is with a VBA macro.  The following should get you started.
    As you can see looking at the macro, the original data is assumed to be on a worksheet named HRData and starts in A1.
    The results are placed on the same worksheet but starting at cell G1.  You could easily write the results to another worksheet.
    The original data is copied to a temporary worksheet for sorting (and the temporary sheet is subsequently deleted).
    A Class Module is added so we can use a User Defined Object which has the properties of the user name, start date and end date of the vacation period.
    We then cycle through the sorted data, and create a Sickleave object and add it to a collection.  If the "previous" row has the same user, and the date is one more than the previous End Date, we add one to the previous end date; if not, we
    create a new object and start another sickleave period.
    This is the data input:
    and  here are the results:
    To enter this Macro (Sub), <alt-F11> opens the Visual Basic Editor.
    Ensure your project is highlighted in the Project Explorer window.
    First, from the top menu, select Insert/Class Module.  Highlight the new class module in the Project Explorer; click F4, and rename it to cSickLeave
    Then paste the code below into that class module:
    =======================================
    Option Explicit
    Private pUser As String
    Private pStartDt As Date
    Private pEndDt As Date
    Public Property Get User() As String
    User = pUser
    End Property
    Public Property Let User(Value As String)
    pUser = Value
    End Property
    Public Property Get StartDt() As Date
    StartDt = pStartDt
    End Property
    Public Property Let StartDt(Value As Date)
    pStartDt = Value
    End Property
    Public Property Get EndDt() As Date
    EndDt = pEndDt
    End Property
    Public Property Let EndDt(Value As Date)
    pEndDt = Value
    End Property
    Then, from the top menu, select Insert/Module and
    paste the code below into the regular module window that opens.
    To use this Macro (Sub), <alt-F8> opens the macro dialog box. Select the macro by name, and <RUN>.
    ====================================
    Option Explicit
    Option Compare Text
    Sub SickLeave()
    Dim cSL As cSickLeave, colSL As Collection
    Dim wsSrc As Worksheet, wsRes As Worksheet
    Dim wsTemp As Worksheet, rTemp As Range
    Dim vSrc As Variant, rSrc As Range
    Dim vRes() As Variant, rRes As Range
    Dim I As Long
    'set Worksheets
    Set wsSrc = Worksheets("HRData")
    With wsSrc
    Set rSrc = .Range("A1", .Cells(.Rows.Count, "C").End(xlUp))
    End With
    Set wsRes = Worksheets("HRData")
    Set rRes = wsRes.Range("G1") 'upper left cell of results
    'Sort the HRdata on a Temp sheet
    Worksheets.Add
    Set wsTemp = ActiveSheet
    Set rTemp = wsTemp.Range("A1")
    rSrc.Copy rTemp
    Set rTemp = rTemp.CurrentRegion
    With rTemp
    .Sort key1:=.Columns(3), order1:=xlAscending, _
    key2:=.Columns(1), order2:=xlAscending, _
    Header:=xlYes, MatchCase:=False
    End With
    vSrc = rTemp.Value
    With Application
    .ScreenUpdating = False
    .DisplayAlerts = False
    wsTemp.Delete
    .DisplayAlerts = True
    End With
    'create collection for results
    Set colSL = New Collection
    For I = 2 To UBound(vSrc)
    If vSrc(I, 2) = "Sickleave" Then
    If I = 2 Then
    Set cSL = New cSickLeave
    With cSL
    .User = vSrc(I, 3)
    .StartDt = vSrc(I, 1)
    .EndDt = vSrc(I, 1)
    colSL.Add cSL
    End With
    ElseIf vSrc(I, 3) = colSL(colSL.Count).User And _
    (vSrc(I, 1) - 1) = colSL(colSL.Count).EndDt Then
    With colSL(colSL.Count)
    .EndDt = .EndDt + 1
    End With
    Else
    Set cSL = New cSickLeave
    With cSL
    .User = vSrc(I, 3)
    .StartDt = vSrc(I, 1)
    .EndDt = vSrc(I, 1)
    colSL.Add cSL
    End With
    End If
    End If
    Next I
    ReDim vRes(0 To colSL.Count, 1 To 3)
    vRes(0, 1) = "User"
    vRes(0, 2) = "workdaY?"
    vRes(0, 3) = "Date Range"
    For I = 1 To colSL.Count
    With colSL(I)
    vRes(I, 1) = .User
    vRes(I, 2) = "Sickleave"
    vRes(I, 3) = Format(.StartDt, "d.m\-") & _
    Format(.EndDt, "d.m.yyyy")
    End With
    Next I
    Set rRes = rRes.Resize(UBound(vRes) + 1, UBound(vRes, 2))
    With rRes
    .EntireColumn.Clear
    .Value = vRes
    .EntireColumn.AutoFit
    .Rows(1).HorizontalAlignment = xlCenter
    End With
    Application.ScreenUpdating = True
    End Sub
    Ron

  • How can I set a date range for a Date/Time Field in LiveCycle ES2?

    I need to set a specific date range for a form set up in LiveCycle ES2. Cannot see where i allows me to do that without a code entered.

    Hi,
    You can't set a start and end date for the date/time field, the best you can do is validate the range after the user has selected it.
    An alternate is to make your own date / time field, like this sample http://adobelivecycledesignercookbookbybr001.blogspot.com.au/2013/05/an-alternative-date-p icker-for.html
    Regards
    Bruce

  • EasyDMS - search by date range for characteristics of type date

    Hi Folks,
    I have a characteristic of type date in the additional data of a DMS document. If I enter the date (for example validity date) as 08/31/2009 and search using cv04n and give a date range for the characteristic (i.e. 01/01/2009 - 12/31/2009), the search result will bring up the document.
    However, I cannot do this from the EasyDMS find function. I need to specify an exact date. This is not very helpful for user who need to find documents with a validity date between 01/01/2009 - 12/31/2009 for example. Is there a way users can search for date range in EasyDMS find function?
    Thanks,
    Lashan

    To search a date range with EasyDMS Client you have to set the registry key
    \HKEY_CURRENT_USER\Software\SAP\EasyDms\Generel\DateSearchPick to Value 0
    Then you can use the input field like in SAP-Gui. (01.01.2009-31.01.2009)
    If you set the value to 1 or the key is not defined you can only search for one specified date.
    If you don't find this key on your PC create it as dword.
    Maybe you must restart you PC for takeing effect.
    Hope this will help you.
    Regards Wolfgang

  • How to Dynamically Select the Data File for a Report at Print Time

    How do you configure a Crystal report to ask for the file to be reported on as the report is being printed, and allow the user to browse to the file?
    The environment is Crystal Reports XI, SP3, with ODBC connection to Sage Timberline Office data version 9.7.  The client names their Payroll unposted time file each pay period, and also needs to report on their posted data file, depending on the time period for the report.  The client will need to select both the date range and the file name.
    I have created a SQL statement in Add Command in Database Expert, which prompts for a file name, but it does not let you browse to select a file on the computer.
    Therefore, in the prompts when they print the report, the parameter offers the user a default file name similar to the name they currently use, so they only have to change the payroll period end date in the supplied file name to run the report successfully.
    The client is concerned that sometimes a user will name their data file differently, and not know how to input the file name into the Crystal report prompt at print time.
    My research on dynamic prompts showed you can link to fields inside the data record, but I did not see a way to dynamically link to select the actual files used in the report.
    Another question is that the naming convention used by the SQL query is different than the basic Windows file name, but I think I can handle that issue.
    The actual file name is typically similar to:
    04-10-11 BP NEW.PRT
    However, in the SQL query, the record ID looks like:
    PRT_00-00-00 BP NEW__TIME
    The SQL Statement using a parameter is:
    SELECT
    "PRT_CURRENT__TIME"."Employee",
    "EMPLOYEE1"."Employee_Name",
    "PRT_CURRENT__TIME"."Date",
    "PRT_CURRENT__TIME"."Units",
    "PRT_CURRENT__TIME"."Job",
    "JOB1"."BP_Emps_Used"
    FROM
    "PRT_CURRENT__TIME" AS "PRT_CURRENT__TIME"
    INNER JOIN "JCM_MASTER__JOB" AS "JOB1"
    ON "PRT_CURRENT__TIME"."Job"="JOB1"."Job"
    INNER JOIN "PRM_MASTER__EMPLOYEE" AS "EMPLOYEE1"
    ON "PRT_CURRENT__TIME"."Employee"="EMPLOYEE1"."Employee"
    WHERE "JOB1"."BP_Emps_Used" = 1
    AND
    ("PRT_CURRENT__TIME"."Date" BETWEEN
    {?As of Date} - 41 AND {?As of Date})
    UNION ALL
    ( SELECT
    "PRT_NEW__TIME"."Employee",
    "EMPLOYEE2"."Employee_Name",
    "PRT_NEW__TIME"."Date",
    "PRT_NEW__TIME"."Units",
    "PRT_NEW__TIME"."Job",
    "JOB2"."BP_Emps_Used"
    FROM
    "{?NEWPRT}" AS "PRT_NEW__TIME"
    INNER JOIN "JCM_MASTER__JOB" AS "JOB2"
    ON "PRT_NEW__TIME"."Job"="JOB2"."Job"
    INNER JOIN "PRM_MASTER__EMPLOYEE" AS "EMPLOYEE2"
    ON "PRT_NEW__TIME"."Employee"="EMPLOYEE2"."Employee"
    WHERE "JOB2"."BP_Emps_Used" = 1
    AND
    ("PRT_NEW__TIME"."Date" BETWEEN
    {?As of Date} - 41 AND {?As of Date})

    Hello,
    Sorry you'll have to contact Sage on how to do this. We can help you once you get connected but we can't help you get around their connection methods.
    There is no Preview Set Database Connection method you can use in CR Designer. The Designer assumes you select it first or use the Set Location option before previewing or refreshing the data.
    If you are doing this in the Sage program itself we can't help you, you'll have to contact Sage for assistance.
    Sage is an OEM Partner they are responsible for supporting their product and CR. If they have issues help you then they will contact us directly for assistance.
    Thank you
    Don

  • Specifying a Date Range for Interactive Reports

    Hi All,
    I'm currently working on Oracle Application Express 11. We have created an application with a standard reports page. On this page there are the following items:
    HTML Region 1: (Parameters)
    Start Date: (Date Picker)
    End Date: (Date Picker)
    Amount: (Displays Read-Only Amount)
    HTML Region 2: (Specify Report)
    Violation Reports (link 1)
    Correct Reports (link 2)
    Fault Reports (link 3)
    All Reports (link 4)
    I would like to know if it's possible that I could enforce the following scenarios on a user:
    If a user clicks a link without specifying a date range, then an error message is displayed prompting the user to specify Start Date & End Date.
    If a user specifies a Start Date that is outside the table's date range, then an error message is displayed prompting the user to enter a valid Start Date. For instance, if the first ever date on the database table is 17/JUL/97 then if a user specifies 16/JUL/97 as his/her Start Date then an error message will be displayed prompting the user to specify a start date from 17/JUL/97 onwards.
    Is this possible? Please advice!
    THANK YOU IN ADVANCE
    Kamo

    Hi Kamo,
    In order for the dates to be used on the reports (which is what I assume you are trying to do?), the user must submit the page to get the dates into the session. Given that, you could have Validation on your page that checks the criteria you need when the page is submitted. You could also have your Region 2 conditional on the dates not being NULL - that way, the user can not click on a link until both dates have been entered and submitted.
    Andy

Maybe you are looking for

  • Graph Cursor Question

    I have a cursor on a XY-graph that I'm trying to adjust (x position) via controls on the front panel.  I have one control that works great and adjusts one number at a time (ex. 500 to 501, etc).  I'd like to have two controls one like I have that wou

  • Sap-bi

    Hi gurus, I need to fix a problem in report designer. pls help me, i will assign very good points. Problem is: I already added a query in reportdesigner and saved report. now if i do some changes in query, how can i make the changes reflect in the qu

  • How to know the directoy from a file

    I have a file created in java , how do i get the directoypath on an easy way with the name of the file. Is there a methode? Or to I have to play with strings?

  • Transfer bookmarks without export to html

    A laptop I was running had the power connector disconnected irreparably from the motherboard. I've got the hard drive from it running in an external case, and can access all my files, but I cannot run firefox off that hard drive. I would like to know

  • In FormsCentral responses, how do you retrieve the images loaded on the responses?

    I can only seem to get the image names in the .xls or .csv exports.