Maintenance Plan - Avoid maintenance dates in the past

Hi gurus,
I have a requirement that I dont know how to solve it.
I our maintenance plan (Based on days and activity) we need to avoid dates in the past when we start the plan (IP10).
We've noticed that sometimes in days based plans, after start in IP10, some records for dates in past appears.
Example:
If we start a plan in 01.01.2011 and cycle is at 10 days we get this:
ABNUM    NPLDA
1-              11.01.2011
2-              21.01.2011
3-              31.01.2011
We dont need records 1 and 2, because it planned date is in past.
Is there any way to avoid this records in past?? Our ideal behaviour will be as the following, with no past dates.
ABNUM  NPLDA
1-             31.01.2011
Thanks in advance.
Edited by: Ole ES on Jan 25, 2011 7:32 AM

Solved using IPRM0004 user-exit.

Similar Messages

  • Problem-planned order start date in the past

    I use PP-PI - After MRP run, planned order was created and has exception message "06-start date in the past" its make me wonder because before this problem occur we already tested many time and never found this message(06). then i check in OPPR- field "start in past" is blank, OPPQ- field "Start in past" are not check, OPUZ-Scheduling Type is backwards and field "Start in the Past" is blank, OPU5-Scheduling Type is backwards and field "Start in the Past" is blank.
    do any guru know why system not use forward scheduling when found that start date in the past? or have any config of other module which may lead to this issue?
    thank in advance.

    In OPU5,
    Check the setting for correct MRP group which is assigned in  material master or in the SPRO node
    Production >Material Requirements Planning>MRP Groups-->Define MRP Group for Each Material Type.
    check and come back

  • Load a sales order with delivery date in the past

    Hi,
    We want to load in the system a sales order with delivery date in the past, and maintain the schedule delivery date in the past. To do that, in the customizing Sales And Distribution / Basic Functions / Delivery Scheduling and Transportation Scheduling / Define Scheduling By Sales Document Type, I selected the flag Blackwards. But the problem is that the rest of the dates in the scredule line: goods issue date, loading date, material avail.date and transportation Plan Date, are in blank and you cannot enter any data because the system deletes it.
    How can I have these dates informed with dates in the past?
    Thanks in advance,

    You can control this using the "Message Control" in the SAP IMG.
    Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Message Control>Influence Message Control
    Using this you convert Error to Warning or even swith off this message.
    Please refer this thread for complete steps:
    Re: How to change an error message to a warning message in SRM
    Note: you need to suppress the messages relevant to your case here.
    Regards
    Kathirvel

  • Only return activities with a date within the past 90 days

    I'm doing an activity report that should only look at activity with a date within the past 90 days. I would like to avoid using a prompt; just to make things easier. Is there a way to do this say via a formual for example? Any thoughts?

    try this record selection formula
    {date field} in Over90Days
    regards,
    Raghavendra.G

  • How to print out a date from the past

    I am trying to print out a date from the past but I cant seem to get It,
    Lets use for example Independece Day,
    How would you write the code in order to print out that exact date?

    Look at the
    [url=http://java.sun.com/javase/6/docs/api/index.html?
    java/util/Date.html]Date APIActually the Calendar class would be better to use, since you can set all the different fields from year to second, plus things like day of week, day of month, week of year, etc.
    too slow
    Message was edited by:
    hunter9000

  • How to process data in the past based from data in the present

    hello guys,
    i have a problem in my labview programs. how to process data in the past based from data in the present ?
    i have a formula self-organizing maps
    this formula is looking for D1, D1 is neuron index that will be searched for the smallest value.and the result are D1=2 ,D2=5, D3=17 from calculating with formula  .it means the smallest value is 2, "2" from weight [2 2] in file attached.
    and then it will be in other formula
    it mean [2 2] + 0.5 ( [1 1]-[2 2] ) = [1.5 1.5]
    and the weight will be  [1.5 2 2 ] in matrix
                                              1.5 3 5
    I would appreciate any input/help on solving this
    thanks
    Attachments:
    dika.vi ‏16 KB
    weight.txt ‏1 KB
    data .txt ‏1 KB

    Hi Ronny Hanks,
    Moving your records from internal table into the database table depends upon various scenarios :-
    1. If you use INSERT statement.
    INSERT <database_table> FROM TABLE <internal_table>.
    But in this case, you need to make sure that you don't have any duplicate entries in your internal table that violates data entry into database table, else you will get a dump.
    INSERT <database_table> FROM TABLE <internal_table> ACCEPTING DUPLICATE KEYS.
    In this case, you are forcefully inserting duplicate records into your database table which may lead to data redundancy in your database table.
    2. If you use UPDATE statement.
    UPDATE <database_table> FROM TABLE <internal_table>.
    This will update the existing records in your database table from the internal table.
    3. If you use MODIFY statement.
    MODIFY <database_table> FROM TABLE <internal_table>.
    This statement works both in combination of INSERT & UPDATE statements.
    Existing records (in database table) will be eventually updated/modified and new records (not in database table currently) will be successfully inserted into the database table.
    Hope this solves your problem.
    Thanks & Regards.
    Tarun Gambhir.

  • Is there a way on CONVERSION to create a sales order with a scheduled ship date in the past?

    Is there a way on CONVERSION to create a sales order with a scheduled ship date in the past?
    Customer wants to maintain the original scheduled ship date on converted ordered, but the scheduled dates is defaulting to sysdate for past due shipments on converted orders.

    Hi Friend,
    As of now there is no functionality to display SSD,RD,PD backdated, max it can be sys date, not lower then that.
    Regards
    Shyam
    Please see following Metalink Note ID for all in One solutions
    Oracle E-Business : All In One Metalink Note ID's
    If you are happy with the Document, please mark as Helpful by doing so this will provide assistance for other people looking for answers to their queries.

  • Delivery Date in the past

    Hi Guys,
    Question:
    I have one item order with a Customer requested date of 6/23/2008 entered against plant 2000.
    quantity 400 units.
    Because we ware moving to a new warehouse we had to create a new sales document against plant 2019 with a creation date of 7/10/2008 but we left the same customer requested date ( in the past )
    stock just became available recentily in october and the material availability date was for October 24th, at plant 2019.
    so the system split the line into 2, line one with a delivery date in the past (6/23/2008) and
    the other with a delivery date in Novemeber.
    Does anyone know why this would happend? the MAD is in octoboer, so why would the system force
    the first line to be delivered on 6/23/2008?
    is the issue caused by creating the new order and leaving the Customer Requested date in the past?
    there were some other items in this Order that did not behave this way.
    any feedback would be appreciated.
    Cheers
    JD Loera

    While entering the sales, if you maintain the customer's requested date as in the past then system would give you a warning message and you can proceed. When you enter the material it would not be possible to deliver the goods as per the customer's requested date and hence system would carry out the forward scheduling and propose the next possible date when the delivery can be made to the customer.  This would ensure you have more than one schedules line for the line item.
    Regards
    Nadarajah Pratheb

  • Inventory status for a date in the PAST with BATCHES with VALUE

    Hi,
    How can I get a status REPORT of all inventory as on a date in the PAST with BATCH numbers and VALUE?
    The following ready reports do not solve my problem:
    1. Inventory Status: This gives CURRENT date inventory QUANTITY only.
    2. Inventory in Warehouse Report: This gives CURRENT date only, no BATCHES.
    3. Inventory Audit Report: Doe not give BATCH numbers and ignores qty without transactions.
    4. Inventory Valuation Report: Meant for "what-if" only.
    5. Inventory Posting List: Does NOT give BATCH numbers
    6. Batch Number Transactions Report: Doe NOT give VALUE.
    I suppose an SQL will be required for this requirement?
    Thanks,
    Ajay Audich

    Hi Rozario,
    Thanks for the pointer. Could you or anyone of the gurus out there have a code for doing this which will achieve this?
    Thanks,
    Ajay
    Edited by: Rui Pereira on Dec 9, 2008 5:08 PM

  • Start with dates from the past in the planning book

    I want to maintain some figures from the last 14 days in the past.
    And I want the planning book to show these 14 days, when I open the planning book.
    (I do not want to scroll back).
    In my Data view i have to define a Time Bucket profile for the future. (system demand)
    This profile I has defined with one day.
    The Time Bucket profile for the past are 21 days.
    When I start the planning book with the view, I see only one column with todays date.
    I want to see the past 14 days, and therefore I have to scroll back.
    Is it possible to start with the last 14 days?
    - By setting the Period information in the Data view tab?
    - By other settings?
    - By macro?

    Hi Per,
    You need to go for a developing an ABAP report. The development calls for updating the planning start date in the data view design mode.
    You can use function modules /SAPAPO/MSDP_PB_READ_DVIEW and /SAPAPO/MSDP_PB_SAVE_DVIEW_TAB.
    So the logic could be as follows:
    1. First develop a FM which will determine the planning start date as per your requirements. This has to be with respect to the system date. So this Function module should in effect subtract 14 days from system date and store in a date field.
    2. Using the FM  /SAPAPO/MSDP_PB_READ_DVIEW, this date can be updated in the data view / PLanning start date field.
    3. Using FM /SAPAPO/MSDP_PB_SAVE_DVIEW_TAB, you can save and generate the data view.
    After developing the program you need to schedule this in background so that the planning start date is calculated and stored automatically.
    You need to take care of one thing though. In case there are any macros developed in the data view/macro book, the start dates for macro execution will be changed as well. You need to tweak those as per your requirements.
    Hope this helps.
    Regards,
    Ashutosh

  • Enrollment of Benefits for a dependent and for date in the past

    Hello Experts-
    Can anyone let me know? What kind of changes need to be done on backend and portal for enrollment iview to enable a date in past for enrolling a dependent to the benefits..
    Thanks,
    Raj.
    Edited by: raj1234 on Feb 25, 2011 9:16 PM

    The way we have configured this as follows:
    -  We ask employees to first add all the dependents to the system before beginning their enrollment process.
    - Adjusted the Use cases for the Dependent infotype and subtypes accordingly.
    - Implemented the BADI (with custom logic for DEFAULT_DATE) HRXSS_PER_BEGDA to control the start date of the enrolled dependents.
    - We control the start date of the dependent records created in various ways (birth day of dependent, employee start date, adjustment reasons, ... )
    With this, we are able to provide employees with the ability to add dependents as of a past date and hence enroll dependents in Benefit plans as well.
    - Shanti

  • Table for Stock on Specific Date in the Past.

    Hi ..,
    Please give me the Name of the Table to find the stock on Specific Date for a given material in the Past. like the T.code we use MB5B.
    regards.

    Hi
    MB5B uses a list of tables & logic to get the Stock for a particular posting date.
    if you want the stock run this report in your Z- report & export the Values to your Z-report & use them accordingly.
    Hope this helps
    Thanks & Regards
    Kishore

  • Can you search for a particular date in the past to locate a file in the time machine

    Using a MacBook, OSX 10.7.5
    Is there a way to go back to a certain date in the history of the time machine?  Example - is there a quick way to go back to Oct 25, 2012?
    Thanks.

    All you could ever need to know about Time Machine:
    http://pondini.org/TM/Home.html
    (from the late and sorely missed ASC contributor Pondini)

  • Start date in the past

    In the process orders scheduling parameters there is a field called allow start in past when backward scheduled. Under what scenario would one allow an order to start in the past ?

    In SAP "allow start in past when backward scheduled" comes when it is backward sheduled. Now you have two options.
    1) If order is already physically processed you can allow it so that this order will not consume capacity in future which is not required.
    2) if order is not physically processed you can change it to forward scheduling.
    If the end user is doing all the transaction On-line this kind of problem will not generate.
    Regards
    AM

  • I want to move all my email data over the past several years from one yahoo account to another. I am told that I can use Thunderbird to copy and paste . How?

    I wish to close down one email account but have no time to indivuidaully send emails out piecemeal to my newly set-up email address/account.
    I want to keep the same InBox and Sent data columns as I have always had with dates associated with each email.
    I was told that setting up Thunderbird to deal with emailing can facilitate this copying and pasting between two accounts.
    Once done I wish to close my first email account ( its unfortuneately contractually linked to my old iphone 4 and I have changed cell phone companies so I am still keeping that account alive while I sort out how to move my data out into my new email account) and stick to using the new account.
    Both are yahoo.co.jp email accounts. Yes, I live in Japan.
    The Thunderbird program seems to have accessed and stored all of my email data . It did so quickly.
    Please advise what to do next.
    Thanks
    JW

    two ipods wrote:
    I have my husband Iphone and an Ipad on one account.  I have my own phone on another account. I want to move the Ipad from my husbands account to my account so I can purchase him an Ipad2 and I can use the old one with all the settings and apps as they are now and then update with my contact information.
    How do I do this?
    He will run into a problem when he wants to use his own account.  Some apps will have been purchased on one Apple ID and other apps will have been purchased on a different Apple ID.  That's a nuisance situation when the apps need updating and, unfortunately, there is no resolution at the present time (IDs can not be combined).

Maybe you are looking for

  • How to get VO row of the focus node in hGrid

    Hello Everyone, I am developing custom screen with the following layout. Header: Top Node Details <Table "contains some details about top-node or node in focus in hGrid"> Header: Organization Hierarchy <hGrid here> My requirement is to display some a

  • Can I obtain white key-tops for my MB Air black keyboard?

    I work in dim light where I cannot make out the characters on black keyboards. White keyboards are fine. Any way I can make my MacBook Air keyboard black characters on a white background?

  • Is CS6 Production Premium dual license?

    Hi everyone, I was wondering if when I bought CS6 would I be able to install it on 2 computers? I have CS5.5 Production Premium Student/Teacher Edition and it allows me to use it on 2x machines but I have been told by someone at CVP in the UK that it

  • Default of attachToWSDL ? WRONG DOCUMENTATION

    Hello, the default value of the Policy attribute attachToWSDL seems to default to false in the webservice security docs "WebLogic Web Services: Security 3-9" and true in the webservice advanced docs. "2-14 WebLogic Web Services: Advanced Programming"

  • Error 1606: could not access network location \xlstart

    Please help