Variable dates for a scheduling report

Hi,
My report query has "between..and" date clause in WHERE condition.
I am planning to use the same report to schedule daily, weekly and monthly.
1. If user schedule a report daily then query where clause should be
trandate between sysdate - (sysdate-1)
2. If user schedule a report weekly then query where clause should be
trandate between sysdate - (sysdate-7).
3. If user schedule a report monthly then query where clause should be
trandate between sysdate - (sysdate-30).
How can we dynamically change the variable dates using Oracle reports using scheduler?
I thought of using lexical parameters but our users doesn't like to give any other values except scheduling report through scheduler.
Please advise.

Hi Prasad,
By Scheduler probably you mean the Reports Queue Manager. If you use the Reports QM, you may not be able to access the scheduling parameters in your report / query.
However, you can design a simple HTML parameter form where the user will have 3 values in the drop-down (daily, weekly, monthly). Depending on what is selected, you can construct a reports command line where you pass BOTH
schedule=.....
and
p_where_clause=....
The "schedule" parameter will schedule the report in the server, while the other parameter "p_where_clause" will determine what to use in the report query. So the user makes only one selection and you pass both parameters based on the selection.
Navneet.

Similar Messages

  • Where can we get the data for pre calculated reports

    Hi,
    i want to see the data for pre calculated reports (Reporting agent)
    where can we get the data for pre calculated reports
    Thanks & Regards,
    Shaliny. M

    Dear,
    This feature of precalculating reports is to enhance the report performance. You will need to schedule this periodically, so that the report is fetched and cached. This allows faster retrieval of report data. Plz. understand that, this scheduling needs to run after every data load in the corresponding cube, so that, the latest data is cached, else the report data will be obsolete.
    Thanks

  • How to generate a list of  pick dates for all scheduled deliveries?

    Hi!
      How to generate a list of  pick dates for all scheduled deliveries?
      What all the tables involved?
    Thanks
    Imran.

    Thanks for the suggestion concerning the file path.  And certainly it would have been nice to have done this before beginning.  However this is a project that has been around for quite a while, and the files have been moved into different bins.  And now the project sequence is being revised.
    So the problem is, worded slightly differently, how can I search all of the bins for the files that are used just by this sequence, ignoring the files which are used by other sequences?  Or, how can I get a list of the file paths of the files that are used in the sequence?

  • Dynamic date parameters for a scheduled report that runs every day

    I have a report that has input parameters for a start date and
    end date. The report will be scheduled to run once a day at a
    scheduled time. I need the report to automatically set the start
    date and end dates when the report runs at the scheduled time.
    When the report runs at the scheduled time, the end date needs
    to be set to that time and the start date needs to be set to 24
    hrs before the end date. I want the start and end dates to roll
    forward automatically when the scheduled report runs each day. I
    don't want any user intervention to change the start and end
    dates every day. How can I do this in a report ?
    Also, since the report is scheduled to run each day, I want the
    output to be saved to a unique file name each time the report is
    run as each day's report will report on the data only for that
    day. How can I get the report to save to a unique file name
    automatically each day ? Again, I don't want any user
    intervention where they would set the output file name manually.

    Try adding the following in the beforereport or beforepform
    trigger, before the RETURN clause (TRUNC gets rid of the time
    component of the date):
    :p_date_from := TRUNC(sysdate) - 1;
    :p_date_to := TRUNC(sysdate);
    :desname := 'REPORT'||TO_CHAR(sysdate, 'DDMMYYYY')||'.txt'
    Paul Williams

  • GR Date for Delivery Schedule line

    Vendor On-Time Delivery Report
    We have vendor On-Time Delivery report requirement, where we rate the
    goods-delivery of a vendor as "On-Time" or "Early" or "Late". The
    rating is given based on the difference between "Statistical Delivery
    date" and "GR date" (in the PO/Scheduling Agreement).
    In case of Scheduling Agreement (SA) we have to give delivery rating
    for each Delivery Schedule Line - Based on the difference
    between "Statistical Delivery date" and "GR date"
    The Goods Receipt is done at Schedule line item level and not at
    Delivery Schedule Item level, the GR date is not populated at Delivery
    Schedule Line level and we are not able to find the GR date for each
    Delivery Schedule Line.
    Once we get the "GR date" at SA Delivery Schedule line level, then from
    the difference between this date and "Statistical Delivery" date, we
    can rate the delivery of vendor as "On-Time" or "Early" or "Late".
    Is there any way that we can populate/get the GR date (GR creation date) for each delivery
    schedule line?
    Thanks in advance.

    Hi Rahul,
    I am working on the same requirement. Appreciate ur help on the same. The notes helps in understanding how quantities are distributed while GR. did u implemented any logic for this distribution or something else to compare the dates. I believe by checking the open quantity (EKET) (scheduled - GR quantity) we can see if there is open quantity for any schedule for the previous day then tht falls under the delayed quantity and if there is zero open quantity, it is on time delivery.
    thnx,
    Upender

  • Same size for the scheduling report

    for the schedululing report, if i create my report with any size it is displaying me with same size 7(when we delivr rport th users email's). can you please help me how can i change my scheduling reports size(data size)

    Hi User,
    if i create my report with any size it is displaying me with same sizeDownload the report to Excel and check the size !
    how can i change my scheduling reports size(data size)Get the huge data into report and schedule it then check the size of your report
    Thanks,
    Saichand.v

  • Variable data for InDesign

    I've been using Xmpie with InDesign for variable data and graphics for years, however the recent Xmpie versions are buggy and crash all the time.  Xmpie doesn't know how to resolve this and are ignoring my support cases.  I am now using an old computer with an equally old version of Xmpie with InDesign 3.  They're old but they work.  I was wondering what others are using and what they recommend.  Thanks for any info in advance!

    You have two choices. The cheapest choices is to learn to use a font tool and do it yourself.
    The best source I know of is a company called FontLab who produce a variety of applications at all level of price and capabilities:
    http://www.fontlab.com
    Or, you could hire a type designer, or a designer familiar with type design.

  • Regenerate Data for FI drilldown report(B/S)

    Hi. everyone
    Data for table glt0(bkpf, bseg) is not same FI drilldown report's data.
    So, The B/S that we make using FI drilldown report is not same F.01 B/S.
    Table glt0's amount is right. but FI drilldown report's data is wrong.
    I want to delete FI drilldown report's all data(not report) and recreate FI Drilldown report's all data.
    Do you know program or t-code for my problem?
    Pls, help me.

    Hi,
    just an idea: just add Custom key fig1 to Cube B. As is doesn't contain any data it shouldn't do any harm.
    The other option is: raise a error message at http://www.service.sap.com.
    regards
    Siggi

  • How to get correct opening blance data for the quarterly report in BOFC?

    Hi all,
    I  have a problem with getting the opening balance for the quarterly report.
    i would like to keep the beggining balance data for the end of previouse year. (eg: now is 2010, then keep the begginig balance at Dec.2009 for each quarterly reporrt through the year in 2009).
    however, for example in the second quarter, if i choose the beggining balance of Dec.2009 in the Consolidation definition, there is a problem that consolidation FS does not include the manual journal entry that ive entered at the first quarter such as goodwill.
    Do I need to make manual journal entry at all the quarterly reporting period if I want to set the beggining balance for the previouse year end?
    Could somebody please tell me how to remediate to this issue?
    Or how do you manage with the opening balance in BOFC?
    Thanks & Regards,
    Hitomi

    Hi Michael,
    HRMS appliocation
    database 10.2.0.4
    windows XP
    ebs 11.5.10.2
    One of our user using disooverer 4i desktop and administration edition on old windows 2000 machine and connecting to schema.
    We are decommision old windows 2000 machine.
    I have installed disooverer 4i desktop and administration edition on new windows XP VM box and trying to connect to same schema which was used with old
    desktop and asking me to create EUL. What is theat I should be doing to use new one same as old one?
    Old box is still there.
    Thanks.

  • Change billing date for first scheduling period in VA41

    Hi,
    Requirment: At the time of Contract creation, the first scheduling period amount will be compared to a fixed threshold value. If it is less than that threshold value then change its billing date to next schedule period's billing date.
    I have tried so many user-exits but hey are not triggered at the required point of time.
    As soon as we create the contract the dates will be changed accordinly.
    Also do we have any function module to change date if we make a Z program.
    bye
    Divya

    hello,
    SDAPO001  Activating Sourcing Subitem Quantity Propagation
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly)
    V45L0001  SD component supplier processing (customer enhancements)
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Badi's
    BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001     SD Customer functions for resource-related billing
    Thank u ,
    santhosh
    Edited by: santhosh kumar on Feb 9, 2009 7:59 AM

  • Material available date for a schedule line

    Hi all,
    I got a requirement of manupulating the material availability date in a scheduling agreement (preferably, customer specific).
    For Example : Suppose I  created a scheduling agreement for customer 1 coming under route 1 (and the route1 is defined as a transit time of 1 day ) with the scheduled delivery dates of  12.09.2007 and 14.09.2007; system consider the route value and proposes 11.09.2007 and 13.09.2007 as the material available date for the purpose of MD04, VL10 etc.
    For some customers using the same route no 1, I need an additional day for my preparation, i.e for the above example, I need the system to propose 10.9.2007 and 12.09.2007 as the material availability data for MD04, VL10.
    How to achieve this, I dont find any field in the customer master for this purpose.
    Can some one suggest some solution, it is an urgent requirement.
    Thanks in advance.
    Best Regards
    Ajit Patro

    you have to change either route(CREATE  new route with tranportation lead time) or use another shipping point ( preferable) by  maintaining another shipping condition for these customer ( maintain shipping times), this will solve your pro

  • Customisation of Date format while Scheduling reports

    Hello,
    While I am scheduling a report,in reccurance-Dateformat-RunObject and option is Hourly,
    the StartDate/Time format needs to change from 07 - 20 -AM 06/07/2009 to 06/Jul/2009 07-20- AM or equivalent time format.
    Is there any options to customise the time format like above while schedling the report.
    Thanks

    If you are scheduling from CMC or Infoview then you won't be able to customize it. If you are scheduleing from a custom application then you can build a screen whoch shows a date format in desired way so that the end user can select start and end time.

  • Master data for Delivery Schedules for Scheduling agreements

    At the link below, under the scheduling agreements with delivery schedules section, the integration section indicates that data comes in from 3 sources, one of which is master data.  Does this mean that the delivery schedule can be maintained in master data somewhere?  If so, where do you maintain it?  Getting the delivery schedule from EDI, or entering it manually, is not an option for our business requirements.
    http://help.sap.com/saphelp_47x200/helpdata/en/78/2085347860ea35e10000009b38f83b/frameset.htm
    All help would be appreciated.  Thank you.

    hi,
    the data you need from master data are:
    customer: KNVV-EIKTO, supplier account at customer
    customer inforecord: correspondance between customer material and your material number
    Roberto

  • Data missing in scheduled report via email as pdf and excel

    Hi,
    I scheduled a webi report to email as pdf and excel, I am getting the mail but on pdf and excel only I can see the report header, values are missing
    Regards
    Aflal

    how come?
    do you have any parameters in this report?
    can you tell exactly the steps u r following doing
    thanks
    Amr

  • Dates for Backwards scheduling when MRP Run

    Hello experts,
    When MRP run, which calendar does SAP take to schedule planned orders? where could I indicate it?
    Thanks in advance.
    Laura

    Thank you all,
    I have checked the calendar that is assigned to my plant, and, as you have said, is the one that is taking into consideration to determine the dates.
    In my case, Saturdays and Sundays are not workdays. As a result, every purchase requisition has its release date assigned to a workday.  What I have noticed is that although Saturdays and Sundays are not work days, planned delivery time and In-house production time is taking them into consideration to calculate the release date. What I mean is that those two fields are defined as calendar days. Is that correct??
    Thanks again.

Maybe you are looking for

  • I have 2 icloud accounts how can i see them both on my macbook and iphone

    I have 2 icloud accounts how can I see them both on my macbook and iphone?

  • I just recieved a new ipod and i cant get it to work on tv

    I recently recieved an ipod 5th generation, and inside the case it came with the audio adapter for the tv, but the other end that connects to the ipod is a small usb adapter. my ipod only comes with the big charging connector on the bottom. the only

  • HELP: Need SQL code for bulk move

    I am using Oracle 11.2, there are two tables tb_base, tb_hist as following: tb_base (id number(5), tag varchar2(16), setTs timestamp(6)); tb_hist(id number(5), histTs timestamp(6), setTs timestamp(6), tag varchar2(16)); tb_base 1, 'adsf', 2012/12/20

  • Terms of sale

    Terms of sale says following in finnish: "VAIN SUOMESSA iTunes Music Storen tuotteita on saatavilla vain Suomessa. Jos asiakas ei ole Suomessa, hän ei saa käyttää tai yrittää käyttää palvelua. iTunes voi teknologian avulla varmentaa tämän ehdon nouda

  • Download Org Chart in Graphical Structure

    Dear Experts Can anybody tell me how to download the Org Chart in Graphical Structure. All my options are disabled and  am unable to download and even Print outs too. Kindly tell me the solution for this Regards