Preventing expired batch from being sold

Currently in one of our client's setup, I can select expired batch from the list of items. Is there a way to prevent expired items from being selected when creating sales order (VA01) or, if the user can select the expired item, at least display an error or warning message?

Hi,
Do try making the batch in resticted use in change batch basic data1 tab,activate radio button of batch status for Batch restr.
It makes
Batch in Restricted-Use Stock
Specifies that the batch is included in restricted-use stock.
Use
If, though a batch has the status "restricted", you want to use a goods movement to post a quantity to unrestricted-use stock, the quantity is posted to restricted-use stock and not to unrestricted-use stock.
If the status of a batch is set to restricted, the total unrestricted-use stock is transferred to restricted-use stock by means of a transfer posting. A material document is created.
You cannot change the status of a batch (unrestricted/restricted) in a goods movement, only with the following functions:
by maintaining the batch master record manually
using the control function provided in the QM system
Configurations for Restricted-Use Stock
For planning purposes, restricted-use stock is treated like blocked stock, that is, it is either available or not available, depending on your system configuration.
Withdrawals from restricted-use stock are either possible or not possible, depending on your system configuration.
The status of a batch can be considered in batch determination, that is, you can search for unrestricted or for restricted batches.
_(This has been adopted from SAP documentation.)
Change batch T.code-*MSC2n*Regards,
Reddyy

Similar Messages

  • Prevent batches from being changed in MB1A

    Hi,
        I am looking to prevent batches from being changed by the material handler during the MB1A transaction. Does anyone know of any user exit or BADI in the MB1A tcode to acomplish this or any other way to do it ? The batches determined during production order batch determination are the ones which should be issued out and if for some reason the batch needs to be changed, they should get back to their supervisor to issue a different batch. Is all of this even possible ?
    Thanks
    GS

    Hi GS,
    Please check  Enhancement MBCFC010  Propose batch number on Inventory Management item screen or MB_CHECK_LINE_BADI - BAdI.
    Regards,
    R.Brahmankar

  • How to lockdown and prevent add-ons from being installed?

    Hi. I'd like to lockdown an installation of Firefox on a Win XP computer, to prevent add-ons from being installed by limited account users. How do I accomplish this please?

    Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    See:
    * http://kb.mozillazine.org/Locking_preferences
    You can use these functions in mozilla.cfg:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes
    lockPref("xpinstall.enabled", false);

  • [svn:osmf:] 9861: Fixing bug where sizing pixel from the previous run of updateIntrinsicDimensions would prevent the dimensions from being decreased .

    Revision: 9861
    Author:   [email protected]
    Date:     2009-08-31 23:08:03 -0700 (Mon, 31 Aug 2009)
    Log Message:
    Fixing bug where sizing pixel from the previous run of updateIntrinsicDimensions would prevent the dimensions from being decreased.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutContextSprite.as

  • Prevent OST file from being excluded from workstation backups

    Is there a way to prevent OST files from being excluded from client/workstation backups in WS2012E?
    Thanks,
    Reg
    This is especially a problem for clients that have migrated to Office 365 exchange service as they have no local backup of emails that were deleted and think synced with Office 365.
    Reginald Hook

    OST files are not a local backup, they are a cache of what is in the mailbox.
    https://support.office.com/en-gb/article/Introduction-to-Outlook-Data-Files-pst-and-ost-6d4197ec-1304-4b81-a17d-66d4eef30b78#__toc290027730
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • Is there anyway to set a passcode for my iPhone/iPad, but prevent the device from being disabled?

    My wife and I have iPhones, and also have an iPad. We also have three children, and recently they have been trying to guess our passcodes so that they can watch videos and play games. Trouble is, after 10 attempts, the device will disable for 60 seconds, and then if the 11th attempt is wrong, the device will disable for 5 minutes, etc. My iPad is currently disabled for 60-minutes. Grrr.
    Is there anyway to set a passcode to keep the children out, and yet prevent the device from being disabled on successive attempts? I realise that this feature is there to protect our devices from brute-force attacks, but we are being penalised, in that our devices become disabled for a period of time.

    Well, so you have to ask: Is the problem your iPad or your children? Another question: If they're not to watch videos or play games, then why are they on the iPad in the first place?
    Obviously you already know the answer to your question; there is no way to set it up the way that you want to. If you nonetheless feel that you should be able to do that, then put together your best case for it and make your wishes known directly to apple via their established Feedback links:
    http://www.apple.com/feedback/ipad.html
    Posting here is no substitute for doing that

  • Office 365 AAD Password Writeback not working; Event Viewer Error: 0x80230619 (A restriction prevents the password from being changed to the current one specified.)

    Hello all,
    I'm currently setting up a Proof Of Concept setup with directory synchronisation and password syncing to Office 365, leveraging AAD Premium for the password reset and password writeback to on premises
    AD functionality. Directory Sync + Password Sync is working flawlessly with the AADSync tool. However, upon requesting a password reset for a user, I'm hitting a password writeback error. The webpage states that the password does not meet the password
    complexity policy, while it does. I can set that particular password for that account at the on premises AD without any problem.
    In the event viewer at the AADSync server, I'm seeing this Error pop up whenever I try to reset the password:
    An unexpected error has occurred during a password set operation.  "BAIL: MMS(4032): ..\server.cpp(11003): 0x80230619 (A restriction prevents the password from being changed
    to the current one specified.) Azure AD Sync 1.0.0475.1202"
    My Setup:
    Windows Server 2012 AD with a single forest
    Seperate domain joined Windows Server 2012 for AADSync tool
    AADSync version 1.0.0475.1202 with options password sync, password writeback enabled
    Service account for AADSync tool with Replicating Directory Changes and Replicating Directory Changes All permissions
    on root AD forest structure with inheritance to all objects. This account also has the permissions to Change Password and Reset Password on all descendant
    User Objects.
    AAD Premium for my office 365 tenant
    AAD Premium licenses for the test users and the office 365 account used to sync to Office 365. This account is also Global Admin.
    Could anyone help me with this? Is there something I’m missing here? My guess is that the AAD is not trusted or the service account for AADSync tool does not have the proper permissions. I’ve tried
    many options, like setting the AADSync Service account to Enterprise Admin or granting the service account Full Control over that particular user.

    Concerning my issue:
    The Default Group Policy setting: Minimum Password Age is set at 1 day. As I was testing this feature with new users, their provisioned passwords were less than 24 hours old and the Minimum Password Age of 1 prevented the change of the password.
    After changing this to 0 days in the Default Group Policy, my password resets started working for newly created users. While this might not have affected existing users in production, it had me looking and searching for permission issues on my AD.
    So for those that might be experiencing ADSync Event ID 6329 and PasswordResetService Event ID 33008 Errors when trying to do a Password Reset using AAD Premium with Password Writeback, it might be helpful to check the applied password policy.
    The issue is solved.

  • [svn:osmf:] 14598: Fix FM-500: reinstating onMetaData handler clause that prevents incoming dimensions from being applied if they are not different from the dimensions that were already set .

    Revision: 14598
    Revision: 14598
    Author:   [email protected]
    Date:     2010-03-05 02:13:40 -0800 (Fri, 05 Mar 2010)
    Log Message:
    Fix FM-500: reinstating onMetaData handler clause that prevents incoming dimensions from being applied if they are not different from the dimensions that were already set.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-500
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamDisplayObjectTrait.as

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

  • On a MacBook, in Messages, how do you prevent your IMs from being sent as texts?

    In Messages, how do you prevent your messages from being sent as texts?

    Shootist007 wrote:
    Not sure how and why this type of thing started but it seems every program you install these days likes to start part of itself when the system starts.
    That started with Lion and progresses with the hillside feline. Ever since that pair got a personality disorder and can't make up their mind whether they're computers or phones, the world went to the dogs.  "Always on" paradigm my azz!

  • How to prevent ipad apps from being stored in the iCloud and how to bring them back to the iPad

    I have an iPad Mini Retina with 128GB of storage.  I purchased about a dozen apps and it gets stored in the iCloud and I don't know how to access them on the cloud storage.  Plus I have many apps from me itouch that I use and they are also stored on the iCloud. 
    How can I prevent further apps that I buy from gettting transfer to the iCloud?
    How can I download my existing apps that I purchase and that are from my itouch that are stored in the iCloud into my iPad?
    How do I access my iCloud storage from my iPad?
    Thanks.

    You make it sound like apps are disappearing from your iPad and uploading to iCloud. That's not how it works. Maybe somebody (or you) deleted the apps and you don't realize it.
    You cannot prevent apps from being stored in iCloud. That is one of the reasons for using iCloud. It will store all of your purchased apps and you will be able to download them if you delete them, or if you buy another device that you want to use the apps on.
    If you have apps that are in iCloud, just go to the Purchased Tab in the app store, tap on the Not on this iPad button at the top. Look for any of the apps that you want to download and then tap the cloud icon in order to download them to the iPad. You access your iCloud storage in the purchased tabs of the different stores or in the apps themselves. Any data that is being backed up in iCloud is on the device in the corresponding apps and you don't need to access that data in iCloud. It's at your fingertips already,
    Purchased apps do NOT count against your iCloud storage. If you have 60GB of apps, they do not take up the alloted 5GB of free storage that you get. The app data would count against the storage but not the apps themselves.

  • Something Preventing Text Engine from being initialized

    Just starting with Photoshop CS6 and trying to enter text. Getting the following error message:
    "Could not complete your request because something prevented the text engine from being initialized."
    Saw this error listed in 2008 on CS3. Does it look like the same thing? Any ideas?

    Hi. Because the forum you originally posted in is for beginners trying to learn the basics of Photoshop, I moved your question to the Photoshop General Discussion forum.

  • How can I prevent my images from being copied?

    This is a perennial question, but the simple answer is that you can't. It's impossible.
    Don't believe snake oil adverts for products that claim to prevent images from being copied. Once an image is displayed on a computer, there are numerous ways of copying it. "Solutions" that prevent users from right-clicking or pressing Print Screen can be disabled by turning off JavaScript in the browser; and screen grabbing software can easily make a copy of an image.
    If you want to show your photography on the web, but don't want others to steal your images, consider the following options:
    Add a watermark to your images.
    Embed copyright information in the metadata of your images.
    Save images at low resolution (72dpi is standard on the web, but useless for printing).
    The following image uses all three techniques:
    You can create a Photoshop action to watermark images. Use the File Info dialog box in Bridge CS4 to add copyright metadata to your images.

    I asked a question. Hans was kind enough to give me a solution, and for that I thank him! I have also learned a little more in the process!
    We have already established that the solution stops people right clicking on an image and saving the image (be it in Windows Explorer or not), but it has also been established that it is by no means a fool proof way of protecting images and that there are other ways of copying images from a webpage. However, it is another level of protection.
    Unfortunately, I do not want to watermark my images as I do not like looking as watermarked images myself. I also downsize my images for the web. I was just looking for another level of protection.
    Thanks for the input anyway!

  • Prevent infotype 0416 from being created under certain conditions

    Hi,
    Based on an advanced leave formula I can determine at runtime whether or not the infotype 416 record should be created or not. The formula is working.
    What is not working is that I need to find a way to prevent the 416 record from being created when the formula returns certain values. I have looked at ZXPADU02 and various other user exits and badi's but to no avail. The ZXPADU02 does not have the field which needs to be checked i.e. PA04160-NUMBR.
    Regards,
    Warren.

    Hi,
    The data is in INNNN structure.
    Write this code in include ZXPADU02 & set a break-point & check the value.
    case innnn-infty.
      when '0416' .
    perform validate_it0416
            using innnn
                  ipsyst.
    FORM validate_it0416 USING    p_innnn
                                   p_ipsyst.
       DATA: i_psyst LIKE psyst.
       DATA: i_nnnn  LIKE prelp.
       DATA: ps0416 LIKE ps0416.
       i_psyst = p_ipsyst.
       i_nnnn  = p_innnn.
       ps0416  = i_nnnn-data1
    if ps0416-numbr = ' '  "<b> check ur ondition here</b> endif.
    Hope this helps & solve your problem.
    Thanks,
    Sarika.

  • Preventing setup/cleanup from being displayed during exec.

    I am trying to prevent the setup/cleanup sections of my sequence from being displayed during execution.  (i.e. I do not want the users to see anything other than the main sequence).  This way they can see the progress being made through the sequence and the cleanup sequence will not block the view of the main sequence(and the values from individual tests).
    If anyone has a clue how to do this please let me know.
    (Note: I still want the startup/cleanup to run, just invisibly)
    Thanks

    This tracing option is set in the Station Options. In Sequence Editor, goto:
    Configure >> Station Options, Tab Execution: Remove the checkmark from "Allow Tracing into Setup/Cleanup".
    Regards, Guenter.

  • Prevent resource fork from being created on windows network shares

    I've already seen this article on how to prevent creating ds_store files on windows machines:
    http://docs.info.apple.com/article.html?artnum=301711
    But I haven't seen any way (short of buying software) to prevent the resource forks from being created. OSX creates resource forks on remote network volumes that pile up, are useless to the windows users, and creates a lot of grief.
    For every file copied to a windows share, OSX is putting a duplicate (unopenable) file with an underscore prefix:
    _file1.psd
    _file2.psd
    file1.psd
    file2.psd
    This is kind of rude network behavior, and I'd like to stop doing it.
    Isn't there some sort of terminal command similar to the .ds_store solution I posted above?

    I swear I saw a hack for that somewhere, but give up after 3 hours of searching for it!
    Seems like BlueHarvest at $10 is the best solution as it is...
    http://www.zeroonetwenty.com/blueharvest/
    Wondering if we couldn't "invent" something to add to that com.apple.desktopservices.plist file!?

Maybe you are looking for