Dyamic execution of report for every month and data through mail.

Dear Friends,
We are using ECC6.00 With EHP4. My requirement is to send the list of pending notifications with the list details as appearing in transaction QM10. Every month i am supposed to change the from date and to date for example 01.07.2010 to 31.07.2010 for the month July.
How can i make system calculate the from and to date for every month and send mail.
I can schedule the  job using SM36 but how to make system calculate the from and to date dynamically for every month. i.e., for august system should calculate date 01.08.2010 to 30.08.2010 automatically as the next month is reached.
Experts help required.
Regards,
M.M

1. You need to create a variant.
2. In this blank out the date and give all the required values which will filter for the Pending nofitications like notificaiton type, status, etc.
3. Then click save.
4. When you click save it will give you an option to save as variant.
5. Now in the Variant Attributes screen give the variant name/meanting
6. In the below you will get a "objects for selection screen)
7. In the same you will get the filed name calle d" notification date"/
8. Here Move the curson to the righ side you will find the selection variable, change to D-Dyanamic date calcuation  and after that right side you will see one more column for the name of variable(input using only f4)
9. Here press f4,
10. then  ypou get a pop up for selection varaible. there first Put "I: for current date and also 'I" for hte Current date +/- ??? days
in this give 30 days.
11. You can also use other function her.e
Now once the variant is created then you have to schedule a job for this program + variant in the sm36 and in the distribution list
you need to mention the email
check and let me know for the feedback
reg
dsk

Similar Messages

  • Sales report for current month and year a go month

    i could you please guide me builting report for current monthwise for current month and year a ago month
    report parameter month_year='06-2010'
    tables = sales and below are the table fields
    customer_id
    invoice_dt
    invoice_am
    thanks
    nhm

    Okay, Still you did not mention how you will pass value in report while generating.
    Anyway the query with UNION ALL will work. For Example.
    I am assuming that the parameter for date/month you will pass in range like 01-JUN-2010 to 30-JUN-2010
    SELECT customer_id, SUM(curr_value) curr_value, SUM(past_value) past_value
    FROM
    SELECT customer_id, NVL(SUM(invoice_amount),0) curr_value, 0 past_value
    FROM sales
    WHERE invoice_dt BETWEEN :P_FROM_DATE AND :P_TO_DATE  -- here P_FROM_DATE and P_TO_DATE will be the date range for current year as i showed above.
    AND  -- Any Condition goes here...
    GROUP BY customer_id
    UNION ALL
    SELECT customer_id, 0, NVL(SUM(invoice_amount),0)
    FROM sales
    WHERE invoice_dt BETWEEN ADD_MONTHS(:P_FROM_DATE,-12) AND ADD_MONTHS(:P_TO_DATE,-12) -- This add_months function for the previous year same month.
    AND -- Any condition goes here...
    GROUP BY customer_id
    GROUP BY customer_idNow using the above query you can design the tabular report as you showed the format.
    -Ammad
    Edited by: Ammad Ahmed on Jul 3, 2010 7:55 PM
    added GROUP BY

  • Profit & Loss Report for Every month

    Hi,
    Can anyone tell me is it possible to get the report on Profit & Loss Report to every month for each PROJECT? If possible please let me know the T.Code.
    Regards,
    Mohan.

    Hi
    try this tcodes
    S_ALR_87013572 - Project results
    CJIF - Results Analysis
    Also F.08 is not balance sheet report because we don't assign Financial statement version there
    Regards
    Tanmoy

  • Report for 18 months------ really urgent

    Hi All,
    we are using FR 11.1.2V here I have a different requirement from my client
    He want to see the report for 18 months and that also to be automated, here the problem starts
    we are allowing user to selelct only one start periode and one start year in Grid POV. and for periode we are periode+1, periode+2... till periode+18 this is fine,
    but how the Year Dim will change accordingly
    for exp:- 2010     2010     2010     2010     2011     2011
    Sep     Oct     Nov     Dec     Jan     Feb
    Here how the Year will change to 2010 to 2011 and 2012 automatically. User will select only one star periode and one start year.
    your quick responce will be more helpfull
    Regards
    Kumar
    Edited by: Kumar on Jul 26, 2010 8:11 PM

    Kelly,
    I tried to do the same which you told me, but it dose'nt work
    we are using Essbase as database for FR.. I did not find any option called Periode Offset function at the time of member selection, what I did is...
    in Col A I selected Current POV of periode and Current POV of Year... so that user can change current year and perioed..... and in col B I selected Same as Col A for Year and RelativeMamber +1 for Perioed and so on... perioed chnaged next one but not year... let me know if I selelcted any workg selection.
    SVK

  • Acmcneill1ug 14, 2014 7:16 AM I have IMac OSX 10.9.4, 4GB,Processor 3.06 with Intell2Duo. I would like to check for Malware. I run a TechTool Pro 6 every month and that comes up great. When check how much memory I am using, with only Safar

    Acmcneill1ug 14, 2014 7:16 AM
    I have IMac OSX 10.9.4, 4GB,Processor 3.06 with Intell2Duo. I would like to check for Malware. I run a TechTool Pro 6 every month and that comes up great.
    When check how much memory I am using, with only Safari open I am using 3.9 and more of her 4.0 memory. She is very. very slow in processing. I had 4000
    trash to clean out and it took her over an hour to expel. Also for some reason Safari will not allow me to click on a link, in my G-mail, and let it go to the page.
    It has a sign saying a pop-up blocker is on and will not let me do it. I must open the stamp to look at my e-mails and if I have redirected link now I can do it.
    I have not changed my preferences so where is this pop-up blocker?
    I have looked at preferences on Safari and Google, which I do not understand Google, and do not see where this blocker could be.
    Malware is something I want to make sure is not on my computer. Tech Tool Pro 6 is all I know of and it does not detect Malware.
    Help.
    Ceil

    Try Thomas Reed's Adware removal tool. He posts extensively in the communities.
    Malware Guide - Adware
    Malware Discussion

  • HT5622 how can I find what the charges aree to my credit card from the apple store? I get multiple charges every month and don't know what they are for...I want to cancel whatever is being charged to me...how do I do it?

    how can I find what the charges aree to my credit card from the apple store? I get multiple charges every month and don't know what they are for...I want to cancel whatever is being charged to me...how do I do it?

    Have a look at this link
    http://support.apple.com/kb/ht2727

  • I occasionally get an error that forces me to shut down/restart my computer. After restart, a message pops up stating that an error has occurred and a report will be sent to Apple. This hass been going on for several months, and Apple has never contacted

    I occasionally get an error that forces me to shut down/restart my computer. After restart, a message pops up stating that an error has occurred and a report will be sent to Apple. This has been going on for several months, and Apple has never contacted me about this problem. Other than the forced shutdown/restart, I have had no problems with Garage Band.

    I occasionally get an error that forces me to shut down/restart my computer. After restart, a message pops up stating that an error has occurred and a report will be sent to Apple. This has been going on for several months, and Apple has never contacted me about this problem. Other than the forced shutdown/restart, I have had no problems with Garage Band.

  • Parameter for Current Month and Previous Month

    I'm trying to create a parameter for current month and previous month based on the ex_date, but not sure what i'm doing wrong. 
    where ex_date = @SelectDate
    I created a second dataset below for the values in the parameters.
    SELECT Month(CURRENT_TIMESTAMP) AS 'Month', 'Current Month' as 'Current Month'
    union all
    SELECT Month(CURRENT_TIMESTAMP)-1 AS Month, 'Previous Month' as 'Previous Month'
    Results
    Month Current Month
    3 Current Month
    2 Previous Month
    Once I preview it I get "Conversion failed when converting date and/ or time from character string" I changed the data type to "date/Time" but that did not make a difference. The date is convert (varchar(10), ex_date, 101) so looks like
    11/12/2014. 
    I've also tried expressions like =month(now()) to pull current month with same error so i'm not sure what i'm doing wrong. Any ideas?

    i tired this real simple report
     in the first dataset - my main report query - select name from sysdatabases where month(crdate())=@month
    in the second dataset - select month(getdate()) as Month1
    in the parameters - choose int data type and available values - select the second data set
    in the first data set- add this parameter..( i am assumming you know this, since you have done)
    in the preview you should get the drop down with current month number - 3
    and if you run the report, it will display the database names that were created in march. remember we are no checking year, so will get all that were created in march across the years.
    Hope it Helps!!
    I'm looking to have the dropdown say "Previous Month" and "Current Month" as a option. I know how to get the information in SQL, but not sure how this translates or put into a parameter.
    Current Month
    list_date BETWEEN
    DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)
    AND
    DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()) + 1, 0)
    Previous Month
    list_date between
    CONVERT(varchar,dateadd(d,-(day(dateadd(m,-1,getdate()-2))),dateadd(m,-1,getdate()-1)),106) /* Last Month */
    and
    CONVERT(varchar,dateadd(d,-(day(getdate())),getdate()),106)

  • In ALV: Subtotals for every month, not for every day, possible?

    Hello,
    in my Alv-Grid I have a date column, which I want to use to generate subtotals. But I don't want to have a subtotal for every date, but for every month. Is there a method to accomplish this with subtotals? Thanks.
    Regards, Lars.

    Hi Stembergg,
    1. Its not possible with only date field.
    2. However, if you have one EXTRA FIELD
       which contains the Month
       only then it is possible.
      ( You may hide this extra field if   u don't
      won't to display. But anyhow, u need to
      modify your logic and the internal table
       and accordingly populate the extra field)
    3. There is contraint in alv
        that we cannot use any function for any column value
        for any claculation/grouping purpose.
    Hope it helps.
    Regards,
    Amit M.
    Message was edited by: Amit Mittal

  • Can I sign up for a month of data with Verizon without auto renewal and how long can I go without using my sim card before it is deactivated?

    When I checked out Verizon's data plans online, the only option I saw that did not involve automatic renewals was the option to pay $5 for a day of 300 MB. The other options (e.g., $20/month for 1GB) all appeared to involve automatic renewals every month unless I go in and cancel the plan. However, during a chat, a Verizon representative told me that auto renewal of the prepaid plans is an option that can be avoided, it just isn't listed in the online information. Has anyone found a way to only sign up for one month of data without having to cancel the next payment?
    Also, when I looked online at a site that compared data plans, it stated that one needed to use the Verizon network every 4 months or else the sim card would be permanently deactivated. But in a couple of online discussions, the limit was listed as being 3 months. Verizon told me 6 months. Does anyone know which is currently correct?
    Finally, I have heard that if the sim card does become deactivated, Verizon tends to insist on making one buy a new one with a regular data plan and not the prepaid options.Has anyone had any experience with this?

    GeekBoy.from.Illinois thank you for replying. I tried the Verizon support forum, but before I can ask a question there I need to register, and the first step in registering is entering my mobile phone number. Since I don't have a Verizon phone, I can't register and, therefore, can't ask any questions. I did look through previous questions and answers, but it only confirmed that Verizon employees do not give out consistently correct information. I guess I will try talking or chatting with two of three more of them and hope that whatever the majority answers are will be the correct ones.

  • Standard report for cheq incomming and chq ougoing.

    Dear All,
    urgent one please.
    Is any standard report for cheque incomming and cheque ougoing with document wise.
    if so pls suggest me.
    awaiting your valuable suggestions.
    Thanks & Regards,
    satishkumar.m

    Hi,
    my doubt is in.tr.code fb02 and after putting doc type bp(bank payables) after executing that i will get screen showing details ie., doc no., year, type do.date and posting date.
    my client wants outgoing cheq details ie., to who we have issued the cheques with cheque no, date, and bank.
    if we go to drilldown report of fb03 we r getting but each and every entry they cant go and drilldown it..
    we cheked in fchn but that requirement wont suit to my client..
    can any one suggest me.
    thanks & regards,
    satishkumar.m

  • Report for every 1 hour

    I wanted to take out a report for every one hour, the count, i used trunc(x_date,'hh24') to take the report, but the problem is, for few hours there wont be any count, so i have to substitute with zero there, any ideas ?,

    Hi,
    If you want to make sure all hours appear in the result set, even if they don't appear in the table, then outer-join to a table (or, in the example below, a sub-query) where you know they do exist.
    For example, if your table_x has columns entry_dt and amt, and you want results for every hour of the day, you can do somehting like this:
    WITH     all_hours     AS
         SELECT     TO_CHAR ( SYSDATE + (LEVEL / 24)
                   , 'HH24'
                   )     AS hr
         FROM     dual
         CONNECT BY     LEVEL     <= 24
    SELECT       a.hr
    ,       COUNT (entry_dt)     AS cnt
    ,       NVL ( AVG (amt)
               , 0
               )               AS avg_amt
    FROM           all_hours  a
    LEFT OUTER JOIN      table_x    x      ON   a.hr = TO_CHAR (entry_dt, 'HH24')
    GROUP BY  a.hr
    ORDER BY  a.hr
    ;COUNT never returns NULL, so you don't have to use NVL with COUNT.
    For other aggregate functions (such as AVG) you do need to use NVL to get 0 instead of NULL.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.

  • Where can i activate a delivery report for my sms and mms?

    where can i activate a delivery report for my sms and mms?
    I dont seem to find it on my Iphone 5.
    Its unacceptable!
    Also a sound for missed calls seems to be missing to !!!
    Unacceptable!
    Can somebody help me please?
    [email protected]

    Unbelieveble and unacceptable.
    Every simple phone has a delivery report....
    Big dissapointment
    Iphone never again.
    thanks anyway

  • Report for daily production and daily sales quantities

    Can you Please any body let me know what fields and tables should I pick to generate a report for sales qty and production qty for a material on daily basis. we are using PP PI

    Hi,
    You can use table MSEG for that purpose. Try BUDAT-MKPF as one of the selection parameters and use
    MBLNR-MKPF = MBLNR-MSEG
    MJHAR-MKPF = MJHAR-MSEG
    Sort the results in ERFMG-MSEG and ERFME-MSEG using
    BWART-MSEG = 101 minus 102 (for production)
    SOBKS-MSEG = E
    BWART-MSEG = 601 minus 602 (for sales).
    Above stuff might be useful to you for your development requirement provided you are having Sales Order specific production.
    Thanks & Regards,
    Abu Arbab A

  • Report for Asset number and its Purahcse order number

    Hello Friends,
    Please give me details of report for Asset number and its Purchase order number .
    Regards
    Nilesh Vakil

    hi,
    GO to ME2N...
    use SHIFT + F4..
    there check for the acc. assign cata. field and input the asset  and execute..
    Regards
    Priyanka.P

Maybe you are looking for

  • Vista x64 / Logitech Orbit MP / XFi Platinum problem confirmed... PLEASE RE

    I was wondering why my 7. option disappeared from my speakers configuration option. Turns out another person had the same issue with his computer and found out that unplugging his Orbit MP fixed the problem. (It was limiting his sound to 5.) Well I h

  • Video Filter missing: AE.keylight 906?

    Hi, I am a complete noob when it comes to editing video in Adobe. I've been looking for a solution to my problem in other places, but my attempts were futile. Here's what I did: I edited a video clip in Adobe After Effects, dealt with the green scree

  • No camera is found

    When I plug in my Iphone, i get the message: No camera is found... And, I can't get the pix off my iphone onto my computer! What gives???? thanks

  • My listener log is getting big

    hi Buddies; I got two DBs and two listeners. Right now, one of the listener is getting big. I'm trying to solve the problem executing the next instruction. lsnrctl set log_status off mv listener.log listener_old.log lsnrctl set log_status on But that

  • GarageBand won't open in 10.6.6

    GarageBand won't open after upgrade to 10.6.6 despite installing combo update and so forth. Tried locating com.apple.garage.plist in Library/Preferences but cannot find it. Please help, I just keep getting the 'initializing' bar and I have to force q