ATP Qty for past months

Hi,
For the current (overall at this time) ATP qty, I am using BAPI_MATERIAL_AVAILABILITY
Is there any way to get the ATP qty for previous months?
Thanks,
John

Is the update rule for age,a customized one?
If so it could happen that routine was setup after the data load of March.So April load is correct while the other older loads are not.
Try deleting and reconstructing the data requests of months older than April,in the cube.See if this corrects the age.
Another thing confused me.
AGE CALMONTH HEADCOUNT
012006 2679
022006 2694
032006 2694
15 042006 1
20 042006 1
Does datasource send 1 record for each employee?Looks so as it has employee age(which must be calculated by difference between date of birth and system-date).Then how come each record has HEADCOUNT field?
cheers,
Vishvesh

Similar Messages

  • Programming Logic required for pulling the records for past month /week

    Hi All
    I need help in the SQL programming logic.
    Oracle Database Version: 10.2.0.3.0
    Requirement
    In a data warehouse environment, I need to programme for weekly and monthly automated batch jobs to insert the data from Data_tbl to Reporting_tbl for generating reports. Tables descriptions are given below.
    Table1 - Data_tbl (Source table –this table gets updated everyday).
    Record_dt     first_name     last_name
    Table2 - Reporting_tbl_(Target table)
    Cycle_dt     first_name     last_name
    1. Monthly Report
    In the SQL Query, I have where clause condition—
    Where Record_dt >=’01-nov-08’ and record_dt<=’30-nov-08’
    Using the above condition in development, I am pulling the data from source table for the past month data. This will be repeated every month and it should be automated.
    i.e., if I run this report any time in dec 2008, it should pick records of dates from Nov 01st to Nov 30th 2008. if I run this report any time in Jan 2009, it should pick records of dates from Dec 01st to Dec 31st 2008.
    Date Values should be assigned for past month. Value of Cycle_dt in target table should be end date of past month like 30-nov-2008, 31-dec-2008.
    2. Weekly Report
    In the SQL Query, I have where clause condition—
    Where Record_dt >=’01-dec-08’ and record_dt<=’07-dec-08’
    Here week start day is Monday and end day is Sunday.
    If I run the report between Dec 08th to Dec 14th , it should pull records of dates from Dec 01st to Dec 07th 2008.
    On Dec 15th, it should pick from Dec 08th to Dec 14th.
    Value of Cycle_dt in target table should be end date of past week like 07-Dec-2008, 14-Dec-2008.
    Please help me with the logics for both Monthly and Weekly reports.
    Thanks

    Hi,
    For the monthly report, instead of
    Where Record_dt >=’01-nov-08’ and record_dt<=’30-nov-08’say:
    Where   Record_dt >= TRUNC (ADD_MONTHS (SYSDATE, -1), 'MM')
    and     record_dt <  TRUNC (SYSDATE, 'MM')SYSDATE is the current DATE.
    TRUNC (SYSDATE, 'MM') is the beginning of the current month. (Notice the condition above is less than this date, not equal to it.)
    ADD_MONTHS (STSDATE, -1) is a date exactly one month ago, therefore it is in the previous month.
    For the weekly report, instead of:
    Where Record_dt >=’01-dec-08’ and record_dt<=’07-dec-08’say
    Where   Record_dt >= TRUNC (SYSDATE - 7, 'IW')
    and     record_dt <  TRUNC (SYSDATE, 'IW')TRUNC (dt, 'IW') is the beginning of the ISO week (Monday-Sunday) that contains dt. Again, notice the end condition is strictly less than the beginning of the current week.

  • Age not getting updated for past months

    Hi all,
    I have loaded the cube 0PA_C01 for HR data regarding Personal Administration.
    Since I have loaded the cube in April,therefore in the cube when I see I get the correct Age of an employee for April.But for March,Feb and Jan I am not getting the Age as it is not getting updated.I checked the update rule 0HR_PA_0 and 0HR_PA_1,according to me it calculates the age based on system date.
    The data in my cube looks as below:
    AGE             CALMONTH                   HEADCOUNT
                     012006                         2679
                      022006                         2694
                      032006                         2694
    15                042006                            1
    20                042006                            1
    and so on.
    Could you please suggest how to get the Age for past months?
    Thanks in advance.
    Best Regards,
    Yogesh

    Is the update rule for age,a customized one?
    If so it could happen that routine was setup after the data load of March.So April load is correct while the other older loads are not.
    Try deleting and reconstructing the data requests of months older than April,in the cube.See if this corrects the age.
    Another thing confused me.
    AGE CALMONTH HEADCOUNT
    012006 2679
    022006 2694
    032006 2694
    15 042006 1
    20 042006 1
    Does datasource send 1 record for each employee?Looks so as it has employee age(which must be calculated by difference between date of birth and system-date).Then how come each record has HEADCOUNT field?
    cheers,
    Vishvesh

  • HT1338 I have installed osx mountain lion, it worked great for past months but recently, my mac takes lots of time to startup and sometimes gets stuck.. what should i do??

    I have installed osx mountain lion, it worked great for past months but recently, my mac takes lots of time to startup and sometimes gets stuck.. what should i do??

    Repair Disk
    Steps 2 through 8
    http://support.apple.com/kb/PH5836
    System Preferences > Startup Disk
    Select your Startup Disk

  • Itunes refuses to open for past month. Freezes up my computer. Help?

    itunes has not worked at all for a month. 64-bit. The problem is  system wide. As long as i am not trying to open itunes, my computer works perfectly. Help please.

    Can you elaborate?  I am not aware of any m3u playlist being present but maybe there is.  I have done this many times before.  I move tons of files around in my music folder, add/delete/change, and rather than have iTunes try to figure it all out again, I just remove everything out of iTunes and add my entire folder back.  I've done it probably 50 times in the past and now, when I do it, it's creating playlists for every single folder or album or something, just as the original poster has described.  I do not like the behavior and would like to turn it off now!  I'm on Mac so iTunes Folder Watch will not work for me.  Any suggestions?

  • Dv7-3165dx blu ray issues for past month cant get it to work?

    I have been trying to troubleshoot this problem 4 about a month now. When I put a bluray dvd the screen reads "no disk in drive". This message is the same response i get with diffrent players, hp mediasmart, cyberlink power dvd 10, arcsoft, and also with img burn. & a couple of others. I also chaged my drive letters in disk management, because my optical drive originaly was set to the letter F: Now its letter E: , So, my drive letters are, (C computer (D recovery (E optical (F): hp tools. I also ran the microsoft fix it. reads same message no disk in drive. I restored my computer, I updated my mediasmart software, also recoverd it from advance out of the box state, same thing I ran the revo program & reinstalled the mediasmart 3.1, no luck. I also did the regedit troublesoot recommended by microsoft. only to find that I dont have any higher or lower filters to delete. so I closed that up. I ran the cyberlink bluray 3D advisor and it passed, when i run the fix it tool by mats, it reads , disk in drve not found . drive has error but drive is ok, I also tried diskpart by command prompt & it reads no media in drive E: drive not ready. also uninstalled by devise manager no help there. reseated my drive by physically removing thr drive as instructed to the tee, no luck. My warranty is up but my pc has been sent back to hp twice when under warranty. so if they just replaced dvd drive in november does that mean i get warrenty on my drive for a year on the drive itself, imean if we cant troublshoot this problem ? HP services has been great to me and the forums awsome, I really hope we can solve this problem, THANKS A MILLION.

    You have done all the trouble shooting steps possible, sounds like the present one has failed.
     I don't know where you are from, but this one will work.
     http://cgi.ebay.com/Samsung-Blu-ray-BD-ROM-8x-DVD-RW-Laptop-SATA-Drive-New-/330600554428?pt=PCC_Driv...
     The face plate and rear mount are removed from your old one and used on the new drive. If you can try to find a Panasonic drive, but Samsung is OK.

  • Sales order creation for past month

    Hi,
    we created condition record for service tax for two tax code
    A1 - 12.36 % - Validity period - 01.04.2008 to 25.02.2009 &
    A2- 10.26% - 26.02.2009 to 26.02.9999
    Now client want to enter old January's sales order with old tax i.e 12.26
    My question is it possible?
    because if create order with January's pricing date then also system is taking current date with tax 10.36
    which is not require
    How to resolve this Issue?
    Regards,
    Akshay

    Hi,
    Thnx for reply
    I already have condition record for the perion april'08 to 25.02.09
    Thnx,
    Akshay

  • Planning Values for past calender month

    Dear all
    My planned values for past month will be moved out of Planning version.Where can i view my planned values for the Product group and materials for the past months/year.
    S Anil

    HI
    You can check History of PIR through MD62 itself.Select particular row, Goto Menu, Select Item History(Shift +F6).
    Or
    You may pls execute transaction MD73.
    Plz select option "3 :History Planned ind reqmnts " in the display options and execute the report.
    Regards
    Anupam Sharma

  • How to get the planned quantity of past month from md61

    Hi all,
           I couldnt get the planned quantity of past month from the tcode md61.It shows only the current and future month's demand.I want to know the planned quantity of past month's.
    I have checked PBIM,PBED,PBHI tables,here also I am facing the same problem.
        Is it possible to get past month quantity from md61? If No how to know the quantity planned for past month?...Please tel your ideas..
    Thanks in Advance!!!
    Edited by: Ranganayahi Chandirasekaran on Jul 30, 2008 8:17 AM

    Hi,
    You can check History of PIR through MD62 itself.
    Select particular row, Goto Menu, Select Item History(Shift +F6).
    Or
    You may pls execute transaction MD73.
    Plz select option "3 :History Planned ind reqmnts " in the display options and execute the report.
    Regards,
    R.Brahmankar

  • Need to delete the requirements in md61 screen for the past month

    Hi Gurus,
    I am having one requirment that my client need to auto delete the md61 screen entries , Suppose the requirement is maintained for 1000 the planned order will also generated for 1000 qty if stock is not available , then the production is done only for 500 quantities. On the next MRP run the system is considering again the past month 1000 quantities .
    How we can restrict this? If suppose the balace 500 quantities also the user dont want to produce . Then how can we delete automatically .
    Pl help me out this.

    Hello Vishnu,
    You can delete the old PIRs when the new month begins through batch job for MD74/MD75/MD76.
    Other way is to define a period of adjustment for the MRP Group in transaction OMPG and assign the MRP group to your material. Please refer F1 help there
    Adjusting in the past, that is the period of adjustment is calculated backwards - the system starts from today's date and calculates backwards by the number of days specified. Thus, planned independent requirements that lie before the date calculated by the system are not included in the planning run.
    Please refer
    MD61 considering Past requirements
    Best Regards,
    R.Brahmankar

  • I have been dragging my files to a external drive to have a back-up for them and I lost some of my folders. They just went completely missing. I didn't delete them, and it was all stuff that I have worked on in the past month. How do I get them back?

    I have been dragging my files to a external drive to have a back-up for them and I lost some of my folders. They just went completely missing. I didn't delete them, and it was all stuff that I have worked on in the past month. How do I get them back?

    You really should be doing backups with an actual backup application, especially one that will work automatically, and, if your external HD is large enough, back up your entire system.  These can automatically back up only what's changed since the  previous backup, and some will keep "archive" copies of things you've changed or deleted, also.
    Too many things can go wrong, such as your internal HD failing, and you'll have a major project to reinstall everything.
    You already have Time Machine, built-in to OSX.  You might want to review the Time Machine Tutorial, and perhaps browse Time Machine - Frequently Asked Questions.
    #27 in the second link mentions some alternatives, too.

  • How to get active programs/custom ABAP developments for past 6 months?

    All,
    Is there any transaction/table/program/FM to get active programs for past 6 months?
    Intention here is to get actively used custom ABAP developments.
    Regards,
    Sree

    Hi Sree,
    I usually look up the activity in transaction ST03N (Workload analysis). In most systems the standard activity statistics are available for up to three months. You can extend the period of course, see this [thread|ST03N Data; for further details.
    Once in the transaction, switch to expert mode. Under Workload node, expand 'Total'. Double click on the desired range you want to analyze. Switch to 'User Data' tab in the right window and in the lower left pane under 'Analysis View', double click 'Transaction Profile'.
    The # of steps roughly estimates how many times a particular transaction has been executed.
    Best regards,
    Asim

  • How to create a chart for past 12 months

    Our objective is to show month by month the cumulative growth of new accounts for the past 12 months.
    I know how to do cumulative. The problem is that for some of the months, we don't have new accounts. My pivot table only has those months that have new accounts. E.g. Month 1, Month 4, Month 5, Month 7, Month 10, Month 12. What I want is to have those months that do not have new accounts to have the same cumulative total as the prior month. So in my example, if Month 1 Cum = 10, then Month 2 Cum = 10, Month 3 Cum = 10, because Month 2, Month 3 do not have new accounts. This way, the chart would show data for each month.
    How do I do that?

    My requirement was slightly different, I had to built a report showing how many opportunities are going to a particular stage / week end (1/2/2009..1/9/2009 etc). I noticed that we do not have opportunities that goes to a particular stage in a certain week but still my chart should show there is a goal of 10 opportunities for that week end.
    What i did was i created 52 activities with a certain type (visible only to me) with a completed date of the specific weekend (It's a pain to create 52 activities, so i mass imported them). Now having done that i created a union of sales stage report and activities report. In both sales stage and activities i put filters to show case only the information that i need to see. Once i did this then i built pivots of the same.
    In your case i would suggest you create 12 activities one for each month i.e completed date 1/1/2009, 2/1/2009 etc. Then you build a accounts report with your specific conditions that would pertain its a new account. Let's say you have two fields # of Accounts, Month of created Date
    Unionize with Activities (filter for getting only the 12 activities that you created). Put two fields # of Activities, Month of Completed Date. Change the formula for # of Activities to 0 and rename the field to say # of Accounts.
    Once you do this build a pivot table and you will get your report. You can chart it if you want.

  • Can we run CK40N for the past month?

    Hi All,
    One of our users forgot to do the cost estimate for the month of May, that's why when he run CK40N (June 1), the prices went to future price, (i think because our MM is still May). I have some few questions and hoping for your positive feedback.
    1.) If we open the June period, will the future price became present price? or we need to run again CK40N?
    2.) Can we run CK40N for the past month of May? Reason is, we would like to capture the prices of Material last May.
    Please advise.
    Thank you in advance.

    Hi Tina,
    CK40N Meant for creatting cost estimates for the product and estimation is some wht which you create for future or current period. It is not possible to run ck40n for the past period.
    Now since you said that period june is not opened in MM. you can not release the price i.e.ck40n for june. check the details fo costing dates you have put in the dates parameters in ck40n. If you have run ck40n for june  then after marking the price system will set the price as a future price and same prices become the current price once you release the price. So if  you r executing ck40n  for june and june is not opened , you can not release the price. First u open the period june then execute the release functionality future price would automatically become the current price for  JUNE.
    Regards / Ashok verma

  • HT201250 Is there a way to change the intervals at which Time Machine performs backups (e.g., weekly instead of hourly or daily) past 24 hours, daily for the past month, and weekly for everything older...

    Is there a way to change the intervals at which Time Machine performs backups (e.g., weekly instead of hourly or daily) past 24 hours, daily for the past month, and weekly for everything older...

    You can edit the interval in Console or install a Pref Pane
    called TimeMachineScheduler (Leopard or higher) free from:
    http://www.klieme.com/TimeMachineScheduler.html
    Good luck, Tom

Maybe you are looking for

  • Oracle officer as well anyone who knows - please HELP!

    I am trying to migrate data from a WE8ISO8895I characterset database to an UTF8 characterset database. I noticed that many pp are having this issue thru' some other postings by other pp in this forum but I realised that so far no one has been able to

  • Why Cant we browse the net from our Apple TV?

    Im sorry if this question has been asked and answered a thousand times but I don't get it what is taking Apple so darn long? There is no technical reason preventing us from using the Apple TV to surf the net from our couch. Sure there might be argume

  • Why do I Always Get this error when I come to this page? I get others similar on other pages WHY??

    innerHTML is null or not an object post!input.jspa                       LineL1599 Code:0                                                                                    Cha:2 URI:http//forums.adobe.com/post!input.jspa? containerType=14&container=

  • ANY ALTERNATE OF = IN JAVA

    I HAVE AN THIRD PARTY APPLICATION BUT I CAN SET VALUE IN THIS FIELD IN THIS APLICATION TEXT FIELDS = SIGN IS NOT ALLOWED BUT I WANT TO ASIGGNT THE VALUE IN THIS FIELD HOW I CAN ASIGN THIS VALUE

  • Nexus 5k Scheduled Reload

    Hi, Is there a command similar to "reload in" for Nexus 5k and 3k. I have been searching, but couldnt find, hence thought of asking the expert community here. Thanks