Commit changes at deadline or during a maintenance window (requires restarts)?

What happens in an application deployment if I uncheck "Commit changes at deadline or during a maintenance window (requires restarts)"?  If I have an application deployed to a collection with a maintenance window with a scheduled to be available
now with an installation deadline of one week, what would happed?  What about if the application was deployed to a collection that did not have a maintenance window and there were no maintenance windows defined in any other collection the member clients
were in?

This is for Embdedded devices, like ThinClients.
That means write filter commits either at deadline or during a maintenance window.
Your application still installs as you schedule it, available now and install week from now. If you have maintenance window and selected to not install or reboot outside of maintenance window, then everything happens within maintenance window. If you don't
check that box for write filter, then your app or setting you have just pushed does not get saved when device is rebooted.
Same scenario with no maintenance windows. If you don't have maintenance window then your app downloads and installs as you schedule the dates. Write filter would not commit these changes and everything would go away after reboot.

Similar Messages

  • Multiple Deployments During Single Maintenance Window

    I have a maintenance window that runs from 10PM to 4AM daily. I have three deployments with deadlines during that time. I'm also using the default restart times of 90 minutes and then 15. One of them runs at 11PM, the next at 1AM, and the last at 3AM. Two
    are software updates. 
    So if the first runs at 11PM and the updates install (they had already downloaded prior to the deadline) successfully. They each have a max runtime of 5 minutes. Now a user is still logged in from earlier that day. The 90 minute restart countdown starts.
    Will the second deployment still run at 1AM if the first one hasn't completed its restart yet?

    I'm not 100% sure, but I think it will need the restart first.

  • Maintenance Windows for restart requires app deployment

    I want to push out the application that does require the restart to work correctly. How do I make sure to set the maintenance windows so it won't install on the customer computers during office hours? It needs to be start install out of office hours and
    do the reboot. How? thanks

    More info:
    Business Hours vs. Maintenance Windows with System Center 2012 Configuration Manager
    http://blogs.technet.com/b/server-cloud/archive/2012/03/28/business-hours-vs-maintenance-windows-with-system-center-2012-configuration-manager.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • User receives meeting confirmation during Database Maintenance Window

    Hello
    I am facing an unusual behaviour which drives me crazy.
    A user (it’s unfortunately an important one) receives every night at 02:07 meeting confirmations in his “deleted items” folder. 
    During this time the Exchange Database Maintenance is scheduled. But I have no idea why this should generate such mails.
    I think somehow this maintenance Task sends out a meeting request which is automatically approved by the recipient and the confirmation is sent back to my users deleted item folder.
    Someone got an idea what is causing this?

    Hi,
    From your description, I would like to verify the following things for troubleshooting:
    1. Is this meeting a recurring meeting?
    2. I recommend you use message tracking to check who sent these specific emails.
    Here is an article about message tracking for your reference.
    Message Tracking
    http://technet.microsoft.com/en-us/library/bb124375(v=exchg.150).aspx
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Maintenance Window & User Experience setting

    Hello,
    We're having a lot of issues regulating our Windows Updates, mind you I consider myself novice to intermediate when it comes to SCCM has I have been managing the SCCM software and update deployments for a year or so now at work.
    My question is the following:
    I have Software (Windows) Updates scheduled to be pushed to every workstation on the network on the First Monday morning of every month.
    All of them have an ASAP availability and installation Window so when comes 00:00:01 AM the patches are installed.
    My issue are the multiple reboots in case of update dependencies and or faulty update patches that won't go through until another reboot. Some time it could extend for days, so for the time being the reboots are not enforced.
    I would like to activate the reboots and from my understanding if a maintenance window is say set Monday 1AM to 6AM, all the updates with a deadline will be applied.
    Now i'm wondering two things: First, in the deployment properties in the "Write filter handling for Windows..." under "User Experience" section there is a checkbox that sites "Commit changes
    at deadline or during a maintenance window (requires restarts)". Does this mean that updates will be applied ASAP OR IF a maintenance window is defined it will overrule the deadline as soon as the deadline is over and apply the updates during
    the window and this has nothing to do with Business Hours set on the end-user client Software Center?
    Secondly, with ConfigMgr 2012 SP1 in "Assets and Compliance"
    when I right click the properties of computer group to set the actual maintenance window there's a check box
    "Apply this schedule only to task sequences",  I'm sure the answer is clear, but what exactly does it refer to, like imaging a computer through PXE boot... or?
    thanks!
    Eric

    UPDATE:
    I think I found the answer to my issue....
    In the deployment section under "Deadline Behaviour"
    "When the installation deadline is reached, allow the following activities
    to be performed outside of the maintenance window:"
                - Software updates installation
                - System
    restart (if necessary)
    Those options were checked...... so the reboot ensued anyhow. >;(
    thanks for all your help guys, much appreciated! 
    Eric

  • SCCM 2012 R2 - Maintenance Windows + Installation deadline ASAP + Deadline Randomization

    There are a ton of questions out there regarding MWs and deadlines etc, but I haven't found any yet with my specific question:
    If I:
    Use an ADR that sets the software available time and installation
    deadline both to ASAP 
    AND
    put my machines into maintenance windows
    AND
    enabled deadline randomization (disabled by default in SP1 and R2)
    Will the deadline randomization take place during the maintenance window?
    I know the default setting for the randomization is 0-120 minutes so if I match that and make my MW 2 hours, can I expect all the machines in that MW to patch ONLY during the MW but at a random time during those 2 hrs?

    I tried for a couple days and could not get any of my 3 test machines to patch during the maintenance window with deadline randomization enabled.
    Yesterday I disabled it and over the night, 2 of my 3 machines patched during the MW.
    It doesn't appear to like the proposed setup - I would have anticipated them patching during the MW but during a random time between 0-120 min from when the MW started

  • Maintenance window modify time

    hi
    i need to modify the default stat collection so it doesnt run during default maintenance window, can i achieve by chaning default maintenance window ?

    Please note that you must disable the probram to disable the window before you make any changes.
    Try steps mentioned in below link and it should work.
    http://docs.oracle.com/cd/E11882_01/server.112/e25494/tasks004.htm
    Regards
    http://www.oracleracexpert.com
    ORA-12547: TNS:lost contact
    http://www.oracleracexpert.com/2011/10/ora-12547-tnslost-contact.html
    Repair Block corruptions using Data Recovery Advisor in 11g
    http://www.oracleracexpert.com/2011/09/repair-block-corruptions-using-data.html

  • Maintenance Windows - Best Practices

    One of the features of SCCM I've looked forward to the most are Maintenance Windows. The Best Practice Recommendations (in the Help File) suggests that:
    "....you should create specific collections for this purpose rather than use the default collections"
    If I want to implement Maintenance Windows accross the board, do I need to configure every collection that I create? Will the client get their Maintenance Windows settings as a result of an advertisement on a collection they're in? Or will they get the settings simply by being in a configured collection?
    Finally, if I create an advertisement / deployment with, say a 2-week deadline, should I avoid Maintenance Windows for this scenario? The deadline won't override any Maintenance Windows will it?

    I can't tell you what to do. However, trying to answer your previous post, I said you could do that. But if you tell the advert/deployment to ignore maintenance windows, then you are not adhering to them at all, and you may get deployments outside the time frame you intended.
    If you want to deploy to users, and let them deploy independently, then you don't need maintenance windows at all. But if you want maintenance windows so that assignments are deployed at the deadline, but according to windows, then you have windows defined.
    If an assignment is configured to allow end user to run independently of the assignment, then IF a user does that, it ignores maintenance windows. Windows are only adhered to by scheduled tasks, not optional ones that are user driven. So don't configure the assignment to ignore windows, as then it might deploy automatically at the deadline, at a time you didn't want on some servers.
    Leave windows inplace, but if users run the advertisement or patch deployment on their own, we don't adhere to windows.
    I'd probably look at two templates - one for users and one for servers. The user template would not suppress so the users could deploy manually (clicking the icon). The server template would suppress notifications, and just wait for the deadline, and the appropriate window.
    Does that make sense?

  • Error during Mass Maintenance of Material Master

    Dear All SAP guru,
    During mass maintenance of order unit ( PCS) and variable order unit "1" (Active) from T-code MM17, system is giving one error message.
    Error Mess:  30000052280140 : Messages have been issued: number MASS000120000000 and notification No.:
    MK101.
    While system allowing automatically to log through MM90, but after puting the log no.: MASS000120000000, system is not execting.
    Pl suggest ....as conversation factor is also maintained in material master for this.
    Regards,
    Pinku.

    HI ,
    check note 487111.
    According to this note
    Symptom
    In the planning data mass maintenance (MPGD_MASS), you select the "Conversion" field (UMREF) and enter the new value e.g. '2,01' and save the change. In the log of the mass maintenance, the system issues error
    MK101:
               ....... : Messages have been issued: number MASS............
    Detailed display of error message:
    Message number BF 020
               Value cannot be interpreted as a floating-point number. Other terms
    Reason and Prerequisites
    The problem is caused by a program error.
    The symptom occurs if during the maintenance of your own user profiles, you defined "Comma" for the decimal notation (Transaction SU3).
    Due to a program error, the system saves the value of the field to be changed program-internally in the exponential display with "Point" as the decimal place (2.01E+00).
    Solution :
    You have implement the solution mentioned in the note .
    Regards,
    Anupam

  • Application (WMF 3.0) won't install during maintenance window, but will install when there is no maintenance window

    Hi All,
    I'm just getting into the Application model in SCCM 2012 R2 and I like what I see so far, but i'm running into an issue.  When i set up an Application for WMF 3.0 with a prerequisite of .Net 4.0 and deploy it to a set of test systems that do not have
    any maintenance windows applied to it, it works great.  If it doesn't have .Net 4.0 it installs both that and WMF 3.0 and reboots.  If it already has .Net 4.0, it will skip that and just install WMF 3.0 and reboot. 
    However, if i deploy it to systems that have a maintenance window applied, the application recognizes that it needs .Net and WMF 3.0 or just WMF 3.0, but it never actually runs. 
    Here is the applicable entry from the appintenteval.log, and i've bolded the line where it shows that WMF 3.0 is not installed
    ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_0418fd00-0911-41d8-97f5-d7f04f58bd66/12 :- Title = WMF 3.0, Direct seleted dependencies = ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_4e541fdb-f444-4c5f-91f9-82c358325558/7 title=.Net
    4.0,     AppIntentEval    4/24/2014 8:20:19 AM    1768 (0x06E8)
    ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_0418fd00-0911-41d8-97f5-d7f04f58bd66/12 :- Current State = NotInstalled, Applicability = Applicable, ResolvedState = Installed, ConfigureState = NotNeeded, Title = WMF 3.0    AppIntentEval  
     4/24/2014 8:20:19 AM    1768 (0x06E8)
    ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_4e541fdb-f444-4c5f-91f9-82c358325558/7 :- Current State = Installed, Applicability = Applicable, ResolvedState = Available, ConfigureState = NotNeeded, Title = .Net 4.0    AppIntentEval  
     4/24/2014 8:20:19 AM    1768 (0x06E8)
    ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/Application_de66c10e-111e-4d68-95a8-5cee3f144081/13 :- Current State = NotInstalled, Applicability = Applicable, ResolvedState = Installed, ConfigureState = NotNeeded, Title = WMF 3.0    AppIntentEval  
     4/24/2014 8:20:19 AM    1768 (0x06E8)
    ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/RequiredApplication_de66c10e-111e-4d68-95a8-5cee3f144081/13 :- Current State = NonCompliant, Applicability = Applicable, ResolvedState = Compliant, ConfigureState = NotNeeded, Title = ApplicationIntentPolicy  
     AppIntentEval    4/24/2014 8:20:19 AM    1768 (0x06E8)
    and here are the entries from the AppDiscovery.log that are relevant:
    Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_4e541fdb-f444-4c5f-91f9-82c358325558" AND Revision = 7)"    AppDiscovery  
     4/24/2014 8:20:19 AM    2776 (0x0AD8)
        Performing detection of app deployment type .Net 4.0(ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_4e541fdb-f444-4c5f-91f9-82c358325558, revision 7) for system.    AppDiscovery    4/24/2014 8:20:19
    AM    2776 (0x0AD8)
    +++ Discovered application [AppDT Id: ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_4e541fdb-f444-4c5f-91f9-82c358325558, Revision: 7]    AppDiscovery    4/24/2014 8:20:19 AM    2776 (0x0AD8)
    +++ Detected app deployment type .Net 4.0(ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_4e541fdb-f444-4c5f-91f9-82c358325558, revision 7) for system.    AppDiscovery    4/24/2014 8:20:19 AM  
     2776 (0x0AD8)
    Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_0418fd00-0911-41d8-97f5-d7f04f58bd66" AND Revision = 12)"    AppDiscovery  
     4/24/2014 8:20:19 AM    2508 (0x09CC)
        Performing detection of app deployment type WMF 3.0(ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_0418fd00-0911-41d8-97f5-d7f04f58bd66, revision 12) for system.    AppDiscovery    4/24/2014 8:20:19
    AM    2508 (0x09CC)
    +++ Application not discovered. [AppDT Id: ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_0418fd00-0911-41d8-97f5-d7f04f58bd66, Revision: 12]    AppDiscovery    4/24/2014 8:20:19 AM    2508
    (0x09CC)
    +++ Did not detect app deployment type WMF 3.0(ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_0418fd00-0911-41d8-97f5-d7f04f58bd66, revision 12) for system.    AppDiscovery    4/24/2014 8:20:19 AM  
     2508 (0x09CC)
       ActionType - Install will use Content Id: Content_c6b448d0-7b59-4796-bb29-3f7fbfa6e70d + Content Version: 1 for AppDT "WMF 3.0" [ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_0418fd00-0911-41d8-97f5-d7f04f58bd66],
    Revision - 12    AppDiscovery    4/24/2014 8:20:20 AM    2508 (0x09CC)
    I have a 2 hour maintenance window applied to this system.  From the serviceWindowManager.log:
    OnIsServiceWindowAvailable called with: Runtime:7200, Type:2    ServiceWindowManager    4/24/2014 8:20:21 AM    1768 (0x06E8)
    No Service Windows exist for this type. Will check if the program can run in the All Programs window...    ServiceWindowManager    4/24/2014 8:20:21 AM    1768 (0x06E8)
            Biggest Active Service Window has ID = {02B82DF5-3360-4BCC-8154-9258F0B856C3} having Starttime=04/24/14
    08:20:00    ServiceWindowManager    4/24/2014 8:20:21 AM    1768 (0x06E8)
                Duration is 0 days, 02 hours, 00 mins, 00 secs    ServiceWindowManager    4/24/2014 8:20:21 AM    1768 (0x06E8)
    FindBiggestMergedTimeWindow called with TimeStart=04/24/14 08:20:21 and TimeEnd=04/24/14 10:20:00    ServiceWindowManager    4/24/2014 8:20:21 AM    1768 (0x06E8)
            Biggest Chainable Service Window for Type=1 not found    ServiceWindowManager    4/24/2014 8:20:21 AM    1768 (0x06E8)
    I'm not sure what else to try next and appreciate any help anyone can offer.

    Thanks.  I checked that setting and i have it set to false, so i don't think that's it. 
    I've done a little more experimenting.  I've changed my maintenance window back to 30 minutes.  Prior to the MW opening, i'll run an application evaluation deployment cycle on the system.  It will show the system as required WMF 3.0 but since
    the MW isn't open, it won't install at the time. 
    When the MW opens, i'll watch the ServiceWindowManager.log and it sees that it's a 30 minute MW and that the run time is 15 minutes but it still says the program can't run:
    ActiveServiceWindow has 1800 seconds left    ServiceWindowManager    4/24/2014 2:20:00 PM    2032 (0x07F0)
    Program can run! Setting *canProgramRun to TRUE    ServiceWindowManager    4/24/2014 2:20:00 PM    2032 (0x07F0)
    OnIsServiceWindowAvailable called with: Runtime:900, Type:6  
     ServiceWindowManager    4/24/2014 2:20:00 PM    2032 (0x07F0)
            Biggest Active Service Window for Type=6 not found    ServiceWindowManager    4/24/2014 2:20:00 PM    2032 (0x07F0)
    Program cannot Run! Setting *canProgramRun to FALSE    ServiceWindowManager    4/24/2014 2:20:00 PM    2032 (0x07F0)
    OnIsServiceWindowAvailable called with: Runtime:900, Type:2    ServiceWindowManager    4/24/2014 2:22:32 PM    816 (0x0330)
    If however, i kick off another application evaluation deployment cycle on the system during the open MW, the deployment kicks off right away and finishes. 
    Program can run! Setting *canProgramRun to TRUE    ServiceWindowManager    4/24/2014 2:22:32 PM    2940 (0x0B7C)
    OnIsServiceWindowAvailable called with: Runtime:900, Type:3    ServiceWindowManager    4/24/2014 2:23:49 PM    816 (0x0330)
    No Service Windows exist for this type. Will check if the program can run in the All Programs window...    ServiceWindowManager    4/24/2014 2:23:49 PM    816 (0x0330)
            Biggest Active Service Window has ID = {02B82DF5-3360-4BCC-8154-9258F0B856C3} having Starttime=04/24/14 14:20:00    ServiceWindowManager    4/24/2014 2:23:49 PM    816 (0x0330)
                Duration is 0 days, 00 hours, 30 mins, 00 secs    ServiceWindowManager    4/24/2014 2:23:49 PM    816 (0x0330)
    ActiveServiceWindow has 1571 seconds left    ServiceWindowManager    4/24/2014 2:23:49 PM    816 (0x0330)
    Program can run! Setting *canProgramRun to TRUE    ServiceWindowManager    4/24/2014 2:23:49 PM    816 (0x0330)
    This is not the behavior i would expect.  I would think that if the client knows it has a pending application deployment that is required, when the MW opened up, it would start the install immediately or close to the beginning of the MW.  It shouldn't
    need to have an application evaluation deployment cycle kicked off during the MW. 

  • Maintenance Windows and Installation Deadline

    I know this has been discussed many times in the past, but I wanted to clarify in my mind what I think happens.
     I have a maintenance window on a collection that is daily between 3:30am and 5:30am.  I create a deployment for software updates with an available time at 2:00am.  I specify the installation deadline in the deployment for 3:00am.
    In the Deadline behavior (user experience) I do not have either option checked (Software updates installation and System restart). So, my MW will not be ignored.
    With these settings, the needed updates will be downloaded, but not installed until the start of the maintenance window at 3:30am. (in essence, the deadline should be "before" the MW if I want them to install at the next MW).
    Thanks!

    I did:
    <![LOG[New Service Window Policy notification received.]LOG]!><time="14:14:52.483+300" date="01-15-2015" component="ServiceWindowManager" context="" type="1" thread="996" file="servicewindowmanager.cpp:217">
    <![LOG[CCM::ServiceWindowManager::CServiceWindowHandler::OnPolicyCreated - A policy change has occurred. New policy has been created.]LOG]!><time="14:14:52.483+300" date="01-15-2015" component="ServiceWindowManager"
    context="" type="1" thread="996" file="servicewindowhandler.cpp:2044">
    <![LOG[    Populating instance of ServiceWindow with ID={3DE9CD79-CC8A-4CDD-AD75-74191AB07BFA}, ScheduleString=786F1B4010100008, Type=4]LOG]!><time="14:14:52.483+300" date="01-15-2015" component="ServiceWindowManager"
    context="" type="1" thread="996" file="servicewindowhandler.cpp:104">
    <![LOG[        StartTime is 1/16/2015 3:30:00 AM]LOG]!><time="14:14:52.483+300" date="01-15-2015" component="ServiceWindowManager" context="" type="1"
    thread="996" file="servicewindowhandler.cpp:176">
    <![LOG[        Duration for the Service Window is Total days: 0, hours: 02, mins: 00, secs: 00]LOG]!><time="14:14:52.483+300" date="01-15-2015" component="ServiceWindowManager"
    context="" type="1" thread="996" file="servicewindowhandler.cpp:106">
    <![LOG[    The Service Window={3DE9CD79-CC8A-4CDD-AD75-74191AB07BFA} has started at 1/16/2015 3:30:00 AM]LOG]!><time="03:30:00.071+300" date="01-16-2015" component="ServiceWindowManager"
    context="" type="1" thread="5032" file="servicewindowhandler.cpp:1200">
    <![LOG[OnIsServiceWindowAvailable called with: Runtime:1, Type:4]LOG]!><time="03:30:00.071+300" date="01-16-2015" component="ServiceWindowManager" context="" type="1" thread="5420"
    file="servicewindowhandler.cpp:2258">
    <![LOG[        Biggest Active Service Window has ID = {3DE9CD79-CC8A-4CDD-AD75-74191AB07BFA} having Starttime=1/16/2015 3:30:00 AM]LOG]!><time="03:30:00.071+300" date="01-16-2015"
    component="ServiceWindowManager" context="" type="1" thread="5420" file="servicewindowhandler.cpp:1336">
    <![LOG[           
    Duration is 0 days, 02 hours, 00 mins, 00 secs]LOG]!><time="03:30:00.071+300" date="01-16-2015" component="ServiceWindowManager" context="" type="1" thread="5420" file="servicewindowhandler.cpp:1337">
    <![LOG[ActiveServiceWindow has 7200 seconds left]LOG]!><time="03:30:00.071+300" date="01-16-2015" component="ServiceWindowManager" context="" type="1" thread="5420" file="servicewindowhandler.cpp:1248">
    <![LOG[Program can run! Setting *canProgramRun to TRUE]LOG]!><time="03:30:00.071+300" date="01-16-2015" component="ServiceWindowManager" context="" type="1" thread="5420" file="servicewindowhandler.cpp:1249">
    <![LOG[OnIsServiceWindowAvailable called with: Runtime:900, Type:2]LOG]!><time="03:30:00.071+300" date="01-16-2015" component="ServiceWindowManager" context="" type="1" thread="4760"
    file="servicewindowhandler.cpp:2258">
    <![LOG[No Restricting Service Windows exist. It can therefore run...]LOG]!><time="03:30:00.071+300" date="01-16-2015" component="ServiceWindowManager" context="" type="1" thread="4760"
    file="servicewindowhandler.cpp:1510">

  • EXIT to change / add line items during STO PO creation in T.Code ME21N

    Hi
    Can somebody suggest me a EXIT or a BADI  to change / add line items during STO PO creation in T.Code ME21N.
    The requirement is as below.
    When the user enters a material no ( which has a BOM created in CS01), and presses enter or saves the PO, i need to get the sub components of the BOM and populate them as the next line items.
    This is because the user needs to create the delivery with reference to the PO. In the delivery, the BOM material needs to be populated with all the sub components of the BOM.
    I tried to do it using EXIT_SAPMM06E_013 in which i am able to change / add the line items in the XEKPO and YEKPO internal tables. The entries are available in the internal table when the EXIT is executed.
    But when the PO is posted internally, the item is not changed/added.
    Thanks in advance.
    Guna.

    Hi,
    Try BADI "ME_PROCESS_PO_CUST".
    cheers,

  • Change batch number field during post goods issue

    Hello,
    During one step transfer posting i want to change the batch number during goods receipt via transaction VL02N.
    I have tried using the below exits and badi without success.
    Exit EXIT_SAPMM07M_010
    mb_document_badi
    LE_SHP_GOODSMOVEMENT
    Below is the code i have implemented in the exit
    clear v_vbeln.
    select single vbeln into v_vbeln
       from likp
    select * from likp
        where vbeln = i_mkpf-le_vbeln
        and   vstel = c_vstel
        and   werks = c_werks
        and   lfart = c_lfart.
        IF sy-subrc = 0.
          e_charg = 'X'.
        ENDIF.
    If any body has implemented same functionality kindly help.
    Regards,
    Koustubh

    Hi,
    In the BADI LE_SHP_GOODSMOVEMENT, inside method CHANGE_INPUT_HEADER_AND_ITEMS, loop the parameter CT_XIMSEG.
    For each line in CT_XIMSEG, change the value of CT_XIMSEG-CHARG according to you logic and modify the internal table CT_XIMSEG transporting the valude of CHARG.
    Check whether now it is getting updated in MSEG.
    Regards,
    Harish

  • Automatic change of Work Center during Confirmation.

    Happy New Year to all!
    Just want to ask if anyone of you encountered the scenario during confirmation in which the backflushed work center was changed. The user claims that they did not do any changes during confirmation nor did they change manually the order itself. The confirmation happened last December and they only noticed it this month when they were checking the reports.
    I did not configure their system so that they can change the Work Center during confirmation. By default, the work center is grayed out during confirmation.
    Hope to hear from some of you soon!
    Thanks and regards,
    jLmendoza
    Edited by: John Luis Mendoza on Jan 4, 2011 3:15 AM

    Dear
    If your production order operations are re-scheuled and dispatched after Capacity Avalaiblity check in cm21/cm22/cm31 etc  , then during the dispatch of operation ,  you have option to change Work Cnetre , time , date based on the selection option in Startgy profile (CM31/CM21-Enter the WORK CENTRE /Order )  and check wether work centre is changed.
    One more option may be in Order Change in CO02-Operation Overview -Operation -Work centre -Here user may change the Work Centre .
    If you have Order Change management active then you can trace the same .
    Refer : Production order change history
    Otherwise , there is not such confirguration in SPRO where work centre can be changed automatrically during confirmaiton because it will grade out based on the ste of confirmaiton default screen in OP00.
    Hope it clarifies
    Regards
    JH

  • How to change property file contents during run time?

    Hi everyone. First post so go easy on me please.
    I have a couple of properties that I want to read from a from a file. To achieve this I simply use:
    ResourceBundle.getBundle("my.package.MyItems").getString("MyProperty");
    This works like a wonder. The problem is, i want to change the property "MyProperty" during runtime. I've found the properties file (MyItems.properties) inside weblogic, but if a change its contents it does not reflect in the application.
    I can come up with a couple of justifications:
    * I'm not looking in the right folder/changing the wrong file in the server;
    * Weblogic caches the properties file, meaning that I have to redeploy the project (defeating the purpose of actually having a properties file).
    Can anyone help with this one?
    [EDIT] Forgot important info:
    * JDeveloper 11.1.1.4
    * Weblogic 11.3 (not 100% sure)
    * Both JDev and WebLogic running on Windows 7 64 bits
    Thank you in advance!
    Best Regards
    J. Peixoto
    Edited by: 868634 on Jul 12, 2011 9:37 AM
    Edited by: 868634 on Jul 12, 2011 10:21 AM
    JDeveloper 11.1.1.4, not 3

    I tried it all.
    Just an explanation of my context.
    I have 1 application with 2 projects in it. First project is called "CommonUI_ViewController" and the second one "FO_ViewController".
    The properties file I'm trying to change is located inside "CommonUI_ViewController", in package "PropertiesConfig" and the file is called "PhaseListener.properties".
    "FO_ViewController" is dependent on "CommonUI_ViewController". When I run "FO_ViewController" the integrated weblogic server log shows this (among other things):
    [10:25:55 AM] Wrote Web Application Module to D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\FO_ViewControllerWebApp.war
    [10:25:57 AM] Wrote Web Application Module to D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\CommonUI_ViewControllerWebApp.war
    Note: both lines above point to folders. "FO_ViewControllerWebApp.war" and "CommonUI_ViewControllerWebApp.war" are NOT war files, but folders that have that name.
    I tried changing the properties file in the following locations:
    * D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\FO_ViewControllerWebApp.war\WEB-INF\lib\adflibSPVCommonUI.jar > PropertiesConfig\PhaseListener.properties;
    * D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\CommonUI_ViewControllerWebApp.war\WEB-INF\lib\adflibSPVCommonUI.jar > PropertiesConfig\PhaseListener.properties;
    * D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\CommonUI_ViewControllerWebApp.war\WEB-INF\classes\PropertiesConfig\PhaseListener.properties (no need to open any jar/war to get to this one).
    I changed all these files with different values but no change was shown in the application (using the method in the previous post).
    I believe that I'm still doing something wrong :/
    Thank you for your help so far vinod_t_krishnan!
    J. Peixoto

Maybe you are looking for

  • ADF Faces - Using ProgressIndicator Component as a Process Indicator

    Hi, I'm working on JDeveloper 10.1.3.2.0 and I'd like to know if there is an example anywhere for the next case: I have 2 jspx pages: one is a form with search fields. The other one is a table with the results of the search. I made some tests with bo

  • JWS not downloading updated files first time

    We are experiencing a problem where JWS does not download the modified files when the application is launched the first time after the jar files were updated. When user launches it again, it gets the updates. This seems to happen mostly for users in

  • Merge to Panorama/Photomerge hangs up in PS CC

    I have 5 images I select to make a panorama.  Usiing PS CC 64 bit on Windows 7 OS, File/Automate/Photomerge works fine.  But when I try to select the photos in LR 5 and Edit in/Merge to Panorama in PS, it opens PS CC and loads the 5 images and opens

  • Media Encoder corrupted output

    Media Encoder reports successful encode. The logs report no errors. In fact the only output is 2 intermediate work files, video only and audio only, the correct audio-visual output file is not there. The attached JPEG screen print shows the 2 file ty

  • KHS34: Re: my printer says 'printhead missing"

    http://h30434.www3.hp.com/t5/Printer-Networking-and-Wireless/my-printer-says-printhead-missing-quot/... ‎12-16-2012 04:29 PM Finally had chance to complete the form and make the call.   After going thru all the information provided on the form, I was