IW31 - Modify Basic Finish Date

Hi Gurus,
I'm looking for a badi or user exit that allows me to modify the Basic Finish Date in the IW31/IW32 transactions just before saving.
I've tried the following ways without any succes:
- IWO10009 - Function Module --> EXIT_SAPLCOIH_009
This user exit is treggered before saving (as I would like to) but I'm not able to modify any field. It is used to active the automatic order release when saving the order.
- IWO10012 - Function Module --> EXIT_SAPLCOIH_012
It allows me to modify the CAUFVD-GLUZP, CAUFVD-GLTRP fields, but this user exits is triggered when the priority field is modified.
- BAdi WORKORDER_UPDATE --> I've tried to implement this BAdi but all parameters in the methods AT_SAVE, BEFORE_UPDATE are type = IMPORTING so SAP does not allow to modify them. I've tried it using field symbols but I thing that I've done something wrong.
Is there another way to do it?
Thanks and regards,
Sergi.
P.D.: I've looked for it in the forum threads but I could not find any valid answer.

You can use function module CO_IH_SET_HEADER in user-exit IWO10009 (at save).
Search for more details using "CO_IH_SET_HEADER"
Be very careful when using this technique as it caould cause data inconsistencies.
PeteA

Similar Messages

  • Set Basic finish date in serviceorder with today + 10 days

    Hi,
    when we create an service order (IW31) the Basic start date and Basic finish date has default
    value of today.
    I will set Basic final date as default with today + 10 days.
    I have search in SPRO but don't find any way.
    Is there an EXIT or BADI to do this?
    thanks.
    Regards, Dieter

    Hi Paul,
    thanks for your answer, i have tried it, but no effect.
    I have to clear what i really want to have (sorry that i havn't done it in the first thread.
    First we create an Service notification via IW51, and go direct via "create" button to "create order".
    A little popup is shown to insert order type, planning plant, main work center. After press enter
    we are in create Service order (with revenues) at this time i don't insert any value.
    Now the value of "Basic start date" and "Basic finish date" has a value of today, it seems that these
    value are set as default, priority is empty.
    Now i want that the 2 date-fields are set as default with today and today + 10 days.
    How can i do this?
    Regards, Dieter

  • Work Order Basic Start Date and Basic Finish Date to be changed

    Hi,
    Currently the business creates work orders without specifying the work resulting which the start and fish dates on work order are same. Also we have automatic scheduling turned off. In spite of this If I am trying to manual modify the basic start and basic finish dates on work order it does not allow me to do so. This issue is seen with work orders which are Released whereas orders with status outstanding have no issues. Could anyone please let me know what could be the reason?
    Thanks,
    Vinay

    Please check whether Scheduling type only capacity requirement is configured.
    If yes, choose this scheduling type in order, you can able to change Basic start date & basic finish date.

  • Process Order Basic Finish Date and Scheduled Finish Date

    Folks,
    I have a requirement from the business to be able to update the Process Order Basic Finish Date and Scheduled Finish Date independently from each other.
    In other words, update the Basic Finish Date and the Scheduled Finish Date cannot change or update the Scheduled Finish Date and the Basic Finish Date cannot change.
    I believe the reason for this is to be able to use the Basic Date to maintain the ATP accurately and keep the Scheduled Date to mark when the order was originally due from the shop floor to be able to measure if orders are being completed on time or late.
    I have worked in tnx OPUZ and had some success with other issues with these dates but I can't seem to make them work independently from each other.
    Or does anyone have any ideas how to measure proces order performance to the production schedule?
    Thank you for your help,
    Greg

    Rajesha, thank you for your reply but it doesn't solve my problem.
    Let me restate my scenario:
    I start a process order and both the basic and scheduled finish dates are the same, June 1.
    At some point, shop floor tells me they will be late and cannot deliver until June 15.
    I need to update a date in the system so the ATP and the MRP planning runs have correct information for promising customers, I will update the Basic Finish date with June 15.
    I also need to keep the original June 1 date in order to measure the shop floor performance to the production schedule to measure how early or late the  order was delivered. How can I keep the original finish date or how can I measure if a process order is early or late??
    Thank you for your help,
    Greg

  • Need to count the number of times the Basic Finish data chages

    HI Expertes,
    I have a requirement I need to count number of times the Basic finish date chaged for PM work order. I went throug our forums I got some info like using a standard function module
    CHANGEDOCUMENT_READ_HDRS_ONLY
    CHANGEDOCUMENT_READ_HEADERS
    CHANGEDOCUMENT_READ_POSITIONS
    But all the above function module will not be suitable for my requirement since  CHANGEDOCUMENT_READ_HDRS_ONLY it gives whole changes but my requirement is just need number of changes occurred in Basic Finish date but CHANGEDOCUMENT_READ_POSITIONS can give the filed number which has been changed but still I need change id.
    So kindly suggest me wether there is any other Standard FM to get number of changes occurred in Basic Finish date?
    Thanks,
    Rajesh

    Hi Debbie,
         To count the number of groups please try the folling steps:
    1) Create a formula @reset and place this formula in the page header
        whileprintingrecords;
        numbervar i:=0;
    2) Create another formula @evalgroup place this in the group header where you want to count the values.
        whileprintingrecords;
        numbervar i:= i+1;
    3) Create another formula @display and place this in report footer.
        whileprintingrecords;
        numbervar i;
    In order to display the count of details which are printing in the detail section place the eval formula in the detail section and the @display formula in the group footer.
    Hope this helps!!!
    Regards,
    Vinay

  • Production finish date differs from basic finish date in backward schedulin

    Hi, experts.
    When i do scheduling the planned order,
    production finish date differs from basic finish date in backward scheduling as below.
    Scheduling: Backward
    Basic finish date : 2010.01.22
    Basic start date : 2010.01.21
    Production finish date : 2010.01.23  09:00:00
    Production start date ; 2010.01.22 03:57:09
    *GR time : 0.
    *Scheduling Margin key : 0.
    I don't know why production finish date set in 2010.01.23 09:00. ( Basic finish date +1 day)
    Please reply me.
    Thanks.

    Dear Jong,
    1) what is the parameter used in MRP run, Basic scheduling or lead time scheduling
    2) you must find a exception Mssg for that plan order in MD04
    3) basic scheduling take the time from material master & lead time scheduling will take time
    from Routing
    Regards
    Madhu

  • Collective orders header order basic finish date is not changing

    Hai all,
    I am working on collective orders. The header order has Basic finish date as 17.05.2011 . Now i have changed this date to 10.05.2011 and re scheduled the order . But again system changing the Basic finish date to 17.05.2011. how to solve this.
    In the outline dates also i have given finish date 10.05.2011 it is remaining the same but order Basic finish date is not changing and schedulded dates are also not changing. can anybody help.

    Hi gurus,
    In a collective order suppose the lead order is having three child orders.  Kindl
    If one of the child order is partially confirmed is the entire collective order can be rescheduled.
    If one of the child order is Fully confirmed is the entire collective order can be rescheduled
    Can any body help me out

  • Why the basic finish date is not adjusted in planned orders

    Hi, all.
    Can anybody help me to understand:
    "Why the basic finish date is not adjusted in planned orders during
    forward scheduling, but in production order basic finish date is adjusted?
    It is look like non-coordination between groups of developers.
    And lead to situation, when planner don't see in MD04 when he can really wait material receipt. He must go to planed order and check production data there, it's unusable."
    Am I right, or SAP have it's own logic.

    Hi,
    Production orders are different story. Since production order is a constant element, they are not created in the course of MRP, basic dates can be adjusted. In production order basic finish date is adjusted, but you won't see for the upper level materials', basic dates of the planned orders adjusted according to the prodcution order you create. Production order is consistent within itself in terms of date and is not dependent to other elements of MRP, but planned orders are not like that.
    MRP creates planned orders whose basic finish dates are calculated by subtracting goods receipt time from production start date of the source of requirement. MRP works backwards without changing directions. Meanwhile if any production finish date is calculated different than the basic finish date due to forward scheduling, in order not to violate the alignment between the basic finish date and source of requirement's start date, basic finish date is not adjusted. If it was, dates of all the planned orders calculated so far at the upper levels of the BOMs had to be recalculated, otherwise all the consistency of all the dates is violated. This cannot be done because changes in any level affects all lower levels.

  • Change of Basic Finish Date for a Maintenance Order

    Hi Experts,
    I have a requirement where I need to change the Basic Finish Date of an order. Currently in config for order type and plant combination, scheduling parameters are set as:
    Adjust to Basic Finish Dates
    Automatic Scheduling.
    If in an order, I remove the tick for Automatic Scheduling, I am able to change that but I am not supposed to do that.
    Can you suggest me how thisissue can be resolved. Remember, changing the Config is not an option.
    Regards...

    hi
    Since you have done the adjust basic dates ,kindly change the operation dates ,which will automatically change the dates specified in the operation dates
    regards
    thyagarajan

  • MO basic finish date how to compute

    Hi, i create a MO, qty = 42000, basic start date 200/12/01, the system automatic calculation basic finish date 2009/02/19, Can you tell me the basic finish date how to compute?
    our system setting:
    standard margin key = 000
    scheduling type = Forward

    Hi,
        it will consider your processing time if u have made a production order based on standard value & base qty u have given in routing. plz check them.
       In case of Planned order creation generally it will take ur in house production time but if u have maintained base qty & setup time, processing time etc in work scheduling view then it will take finish time according to that & it will not consider in house production time.
    Regards
    Rakesh

  • Changing basic finish date in Preventive maintenance orders

    Hi Experts,
    My requirement is to block PP work centre when maintenance schedule the equipment for preventive maintenance. I am making system condition as zero in generated preventive maintenance order but basic finish date is not changing in the order automatically. Can anybody please explain how to bring this? Finally my requirement is system should change basic finish date and time as time given in operation of task list.
    Thanks in advance.
    best regards,
    Srinivas M

    Hi Praveen,
    I have done all setting and tested but there is no change.
    My client requirement is like this - whenever maintenance plans are scheduled, for the scheduled dates, production capacity should not be considered by production. We could do this for breakdown orders but not happening for PM orders unless we change the finish date.
    The issue is to get the finish date automatically when scheduling maint.plans with respect to values given in operations. Please suggest how to get the  basic finish dates automatically.
    best regards,
    -Srinivas

  • The Basic Finish date is a Day earlier than Planned date

    Dear Experts,
    I am getting a strange behaviour about Maintenance order Basic Finish Date when generated from Maintenance Plan. I have Customizing settings (TCode : OPU7) Adjust: "Adjust Basic dates, adjust dep reqmts to order start date" and scheduling type : Backwards in Time. For this setting Order Basic Finish Date is a day earlier than Planned date , but when Schduling type is Backwards instead of Backwards in Time, Basic Finish date is same as Planned date.
    Example: The start of cycle of a monthly plan is 14-Nov-2010, 1st Planned date is 14-Dec-2010. When Scheduling type is " Backwards in time" , the order generated is having Basic Finish Date as 13-Dec-2010 .And when Scheduling type is "Backwards" , Basic finish date is 14-Dec-2010.
    Thank you.
    -Malay-

    Hi there,
    Please check the primilinairy buffer in your strategy package. This field have an effect on your order start date.
    But I agree on Pete, you should use a forward planning.
    Regards,
    Johan
    Edited by: Johan Zeeman on Dec 17, 2010 11:29 AM

  • Want last date of the month as default basic finish date for the Proc order

    For forward scheduling type in process order, irrespective of the start date i want last date of the month as my  basic finish date.
    Ex start date can be 01/10/2009 or 15/10/2009, but the basic finish date should be 31/10/2009.

    Hi Sam,
    sorry to say , its not possible in standard SAP.
    1) If, on order creation, a planned order exists for the production order/ process order, the basic dates are copied from the planned order.
    2)If no planned order exists on order creation, you must specify at least one basic date.
    The scheduling type determines the basic dates that you must specify. and it useses timings from routings for scheduling.
    so may be you need some work around.
    explain your requirement why do you want to fix it for the last day of month and other constraints, may be we can find some way.
    Regards
    Ritesh

  • Production Order: warning when Basic finish date is before scheduled finish

    Hello experts,
    We will set in config OPU3 (scheduling parameters for prod order) Adjust dates = 2 Do not adjust basic dates, ... Essentially this will allow the shop floor controller to change scheduled date ie. production dates without affecting basic dates.
    With this setup the system may display in the header of an order the scheduling note "Basic finish date is before scheduled finish" as well as generate a scheduling log "Scheduled finish is after basic finish date" (message 36 mess class C7).
    These messages are not enough visible for our planners. I would like to find a way to generate a warning before save. I tried to add a record in OPJB: message class CO no. 533 "Scheduled date & is after the requirements date &" but this doesn't work.
    Note: I tried to add message class C7 no 36 in OPJB but got the error "Please enter a legal value".
    Have you been able to add message in table OPJB ? Is it a good idea or the only option is enhancement?
    Thanks for sharing your ideas.
    Francois P.
    Edited by: Francois Paquet on Sep 30, 2010 5:30 PM

    Hi Francois
    I'm trying to do the same (also for C7 035).
    Have you already found out how to do this?
    Arno

  • Material Availability Date and Corresponding Basic finish date

    Hi experts,
    I have one requirement from my Business for updating Basic Finish date based on the Material availability date
    Requirement goes like this, When we enter a Component of 100 qty  in the service order , if stock is not available we get system status as MSPT and IWBK we can see how much quantity confirmed
    But i dont see any table or report which shows when this material can be available for further delivery. Based on the next available material date i have to change the basic finish date in the service Order
    Please let me know if you any report available for this or any standard approach. I want to know if any exist to leverage this functionality and logic how to get this accomplished
    thanks
    sarvan

    Sarvan,
    You would need to perform this check when saving the work order as there could be multiple components all with differing ATP dates.
    But a development could do something like:
    Read all active/open components/materials on the work order
    Determine the availability data for each component/material
    Determine the latest of the above dates
    Apply this date to the order Basic Finish Date
    You would need to ensure your scheduling parameters do not set this date back to its original value (OPU7).
    You could achiev the above through user-exit IWO10009 (SMOD) or BADI WORKORDER_UPDATE (SE18).
    PeteA

Maybe you are looking for

  • When I plug my ipod into the USB and into my computer it doesn't show in itunes?

    The USB doesn't seem to have anything wrong with it and my ipod is also fairly new. I received it in December of 2011. I dropped it less than a week ago and it the screen is cracked but not completely. There is about an inch or so missing from my top

  • Error in installing oracle 11.1 on Linux

    This is the error message I get when installing oracle 11g 11.1.0.6.0 on Linux 5 (CentOS 5.2 Final) and the installation stalls at 9% fro m the installation logs java.util.zip.ZipException: invalid entry size (expected 6802107 but got 6802124 bytes)

  • What can i use now instead of iweb?

    I know Apple did away with iweb some time ago, but what can I use now to create a simple website using mac templates?

  • [URGENT]: expression not evaluated at runtime for Managed Bean ?

    I have written my Custom template for SingleStepButton.. <af:singleStepButtonBar maxStep="#{TriggerBean.selec and (TriggerBean.nodeLabel=='Services' and TriggerBean.nodeLevel=='5' or TriggerBean.nodeType=='Services' and TriggerBean.nodeLevel=='6')?6:

  • AccessControlException when using nanoXML :-(

    I am now doing some xml parsing in MHP box with nanoXML. There is exception below: java.security.AccessControlException: access denied (java.util.PropertyPermission net.n3.nanoxml.XMLParser read) at java.security.AccessControlContext.checkPermission(