The stock consumption as per expiry date and not as per availability date

Hi All,
We had a requirement like below for our client:
While creating batch in ECC we put the expiry date for the batch as per the business requirement.
Suppose batch creation date: 01.01.2011
If in case the SKU shelf life is 1 year the logical expiry date should be 31.12.2011.
But here user can put any expiry date (there is genuine business reasons behind that), so for one SKU for one Availability date of the batch we can have 2 expiry date.
Please see below one example for the same:
                     EXPIRY DATE                 SHELF LIFE                    AVL DATE
batch-1        08.10.2012                       720                              19.10.2010
batch-2        06.06.2012                       365                              12.06.2011
batch-3        01.08.2012                       360                              03.08.2011
In the above case the SKU which is available first is having a long expiry period and vice versa.
As per standard SAP the stock which is available first will be consumed first. So as per standard SAP batch1 will be consumed first than batch-2 and than batch-3.
But our requirement is to consume stock based on the expiry date of the stock.So the stock which is going to expire first will be consumed first. In the above scenario the consumption should happen like batch-2 first than batch-3 and than batch-1.
The client requirement is to consume the stock as per the expiry date and not as per the Availability date (this is what happens in the usual scenario).
Could you please suggest how to incorporate this?
Thanks in Advance,
Mukesh Pandey

Hi Mani,
Thanks for your prompt reply.
I tried using the characteristic for Expiry date as the sort criteria as per sap note 377186.
After doing the changes in the structure as suggested by SAP note i was able to see this characteristics as one of the sorting criteria. But when I am trying to create pegging relationship between demand and supply element he message i am gtting is "MAX_SL_DATE" can not be used as a sorting criteria in a fix pegging.
System is just ignoring it.
We have batch managed stock here and stock availability date is batch creation date.But since we are manually creating batch in ECC and cifing it to APO we are getting scenarios where for the same creation date of batches we have different expiry dates.
I hope i am clear now.
Could you please suggest any other option as sorting is not working .
Regards,
Mukesh Pandey

Similar Messages

  • DocumentDB Displays "Something went wrong" in monitoring and usage says "No available data", is there a log to check?

    I have uploaded over 10,000,000 documents to a collection.  I attempted to upload 3.3g of data, but the upload job looks to have died 1/2 way through.  While trying to debug this problem, the monitoring is showing "Something went wrong"
    and usage says "No available data".
    Does anyone know what this error means?  Is this what DocumentDB displays when the collection is full?  
    Is there an error log I can look at for DocumentDB?
    I was able to partially run the count stored procedure, but it failed before it could complete.  I am trying to figure out what state this collection is in.

    I do not know why to count failed.  I could only put in 3 requests of 2,000 records every 2-5 seconds.  So it was taking hours to do a count of the documents, I had to leave it running when I went home from work and when I got in, the process had
    failed.  I believe it ran out of memory or errored out in some way that was not caught by the debugger, I had a wait for key press at the end and it missed that step.  I was trying to look at logs or the dashboard information to get some.
    I could have loaded more data than the collection could hold.  What is the behavior when you try to load more than the collection will hold?

  • Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.

    Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.
    Is there any way to re-number them in the order I have chosen so that they can then be sorted by number? The scans are all from pre-digital images that I wish to move to a photobook and I don't want to have to organise them twice!
    Thanks for any suggestions.

    I was a bit short, Chris, sorry. It is limited, what can be posted, when typing on an iPad.
    Now I am back on my Mac. I meant the following:  Batch Change the date for a large range of photos, that should have a date stepped in increments.
    Select all Photos at once and use the command "Photos > Batch Change".
    Then set the date for the first photo and select an increment, e.g. one minute.
    Now all photos will get a new date assigned, incremented by one minute, in the sequence you have selected. So you will be able to sort them by date.  This way it will be unnecessary to change the titles or filenames.

  • How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?

    How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?
    I currently run OS X 10.10.1
    Now i have been trying to work on this for a while now and what i want to do should be simple but its apparently not.
    Here is an example of what i want to happen.
    I will have 2 tabs: Contact | Sales
    Now Contacts will have the list of names and various information about a customer, While Sales will have one drop-down box for each Cell Row that will show the names of the person in tab contacts
    for what i am wanting to do i cant use the data format pop-up menu because the list is edited everyday several times a day.
    Now how do i do this, Excel can do this so how can numbers do it?

    Hi Shegra,
    Paste this into a applescript editor window and run it from there. In the script you may need to adjust the four properties to agree with your spreadsheet. Let me know if you have any questions.
    quinn
    Script starts:
    -- This script converts column A in one table into an alphabetized list of popups. It copies the last cell in that column. Then reverts the column to text. It then refreshes popups in column A of a data table starting with a user defined row.
    property DataEntrySheet : "Sheet 1" --name of sheet with popups to be refreshed
    property DataEntryTable : "Sales" --name of table with popups to be refreshed
    set copyRange to {}
    property PopValueSheet : "Sheet 1" --name of sheet with popup values table
    property PopValueTable : "Contacts" --name of table with popup values
    set PopStartRow to {}
    tell application "Numbers"
      set d to front document
      set ps to d's sheet PopValueSheet
      set pt to ps's table PopValueTable
      set s to d's sheet DataEntrySheet
      set t to s's table DataEntryTable
      set tf to t's filtered --this records filter setting on data Entry Table
      display dialog "Start from row #..." default answer "" with icon 1 -- with icon file "Path:to:my.icon.icns" --a Week # row
      set PopStartRow to {text returned of result}
      tell pt --convert list to alphabetized popups
      set ptRows to count rows
      set copyRange to ("A2:" & name of cell ptRows of column "A")
      set selection range to range copyRange
      set selection range's format to text
      sort by column 1 direction ascending
      set selection range's format to pop up menu
      -- popupsmade
      set selection range to cell ptRows of column 1 of pt
      set v to value of cell ptRows of pt
      end tell
      activate application "Numbers"
      tell application "System Events" to keystroke "c" using command down
      tell pt
      set selection range to range copyRange
      set selection range's format to text
      end tell
      tell t
      set filtered to false
      set tRows to count rows
      set pasteRange to ((name of cell PopStartRow of column "A") & ":" & (name of cell tRows of column "A"))
      set selection range to range pasteRange
      tell application "System Events" to keystroke "v" using command down
      set filtered to tf
      end tell
    end tell

  • HT204266 Hi... I bought an app from app store... It turned around to be a false app and not as per the description. App dev page is a fraud. How can I get a refund?

    Hi... I bought an app from app store... It turned around to be a false app and not as per the description. App dev page is a fraud. How can I get a refund?

    Welcome to the Apple community.
    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History.

  • Why is the folder strukture based on the import date, and not on the Creation date? How can i setting this?

    Why is the folder strukture based on the import date, and not on the Creation date? How can i setting this?

    What folder structure?
    If you're referring to how Aperture stores the originals in a managed library then the answer is you can't change it.
    If having the originals stored in a specific file structure is important to you you will need to switch to a referenced original setup.

  • Since the iPhoto upgrade, my albums are gone and everything is listed by date

    yosemite....since iphoto upgrade, all photos are listed by date and not the albums..How can I get my albums back?

    ryanepps wrote:
    Not sure why they did that, surely it makes more sense to place all the albums directly under the album tab instead of a sub folder... but hey, whats an extra click...
    Albums in Photos are not the same as Events in iPhoto. For those users that had dozens or even hundreds of Events, it's a blessing that Apple grouped them into a single folder. Gives the users the opportunity to organize (or delete) them as they wish.

  • I just bought a new laptop because my old one died.  is there any way to sync my phone with the new machine and not lose all my data?

    i just bought a new laptop because my old one died.  is there any way to sync my phone with the new machine and not lose all my data?

    Copy everything from your backup copy of your old computer to your new one.
    Then sync.

  • Planned order creation with PDS valid on only order start date and not finish date

    Hi All,
    We have requirement to allow creation of planned order manually if production version is valid on order start date and not finish date.  This is because lead time of order is longer. I refered OSS notes 385602. I could find out solution for this is implementation of OSS note 694140 to change validity mode at activity level to consider start date of first produce activity  in validity interval. Problem is even If I create order in APO by implementiong this note planned order is not transfered to ECC and it gets stuck with error production version not valid.
    Is there any way in ECC to control this? Any config or customization?
    Regards,
    Santosh

    Nilesh,
    I think there is a simple procedural skip happening in your business process. You are right when a planned order is created after MRP it would default assign it to the first available production version. 2options available for us,
    1. First use transaction MF50 and do the line loading and assign the quantites to the production versions/Production lines, so that the actual capacity planning is getting completed. This way you can have planned orders with both the production versions and matching to your actual line capacity.
    2. Use Quota arrangement concept, to automatically split the Planned orders during MRP for a percentage based on individual production versions.
    Now when backflush is performed S225 table is updated and Planned order qty also gets reduced.
    Hope this helps....
    Regards,
    Prasobh

  • HT1386 I was connected to my desktop to upload pictures but I tune activated and sucked up all my phone data and notes. I don't have I tune account, how can i get back those data??

    My I phone was connected to my desktop to upload pictures, magically I tune activated and synced all my phone data and notes. I don't have Itune account.

    This happened because you had not disabled automatic syncing in iTunes (so your phone synced when you connected it to your computer).  If you haven't synced again since this happened you may be able to restore your phone to the backup created at the beginning of the sync process to recover your data.  (If you have synced again the backup is already overwritten and your data is lost).  To do this do the following:
    Without connecting your phone, open iTunes on your computer and go to Preferences.  On the Devices tab check "Prevent...from syncing automatically".
    Now connect your phone and import your photos if you haven't already done so (see http://support.apple.com/kb/HT4083).
    Now open iTunes and right-click on the name of your phone on the left side and select Transfer Purchases (to transfer any recent purchases to your iTunes library prior to restore from backup).
    Right-click on the name of your phone again and select Restore from Backup, choose your most recent backup to restore from.
    When complete, you can go back to iTunes>Preferences>Devices and re-enable automatic syncing.

  • Interest calculation on due date and not on invoice

    Hello,
    Pls can some one let me how to start interest calculation on due date and not invoice date.
    In the interest calculation, T code FINT, the system calculates interest from invoice date till clearing date and not from due date till clearing date.
    BR,
    Zulfikar

    Hello,
    We have selected the Always calculate interest from net due date check box. but now when i run FINT transaction for a customer it is calculation interest from invoice date and not on due date. the item is already cleared.
    The scenarion is
    the net due date of the docuemnt is 30.07.2008 so the interest calculation should stard from 31.07.2008 till clearing date. but the interest calcualtion is starting from 01..07.2008 which is the invocie date.
    BR,
    Zulfikar

  • ¿How do I set the calendar to start week on Monday and not Sunday in my iphone?

    ¿How do I set the calendar to start week on Monday and not Sunday in my iphone?

    The jewish calendar does not have names for the days of the week. The week ends with the holy Sabbath (Saturday) and therefore the Sunday is the first days after Sabbath (Yom Rishon), the Monday the second day after Sabbath (Yom Sheini), etc.
    The Christians believe that Christ was raised on the first days of the week (Mathew 28:1, et al) AFTER the Sabbath was over. So their holy day is the Sunday and the working week starts on a Monday.
    The business days in the western world are numbered starting with the Monday as day number 1 (Timetables of Airlines, Calendars, even Microsoft Windows...).
    Unfortunately in the United States religious freedom extends to a level which is not understood easily by the rest of the world. Since the MAC OS X allows to change the first day from a Sunday to a Monday, one might wonder why Apple decided to give the iPhone a jewish touch.
    It could be supposed that this is the way of the least resistance. Only few complain about this issue, but if it were the other way around a lot of people would complain...
    PS: I agree with the others here: It is very, very annoying and more than once I entered an appointment into the wrong day...;-)

  • How do I get date and time component from a DATE object?

    Hi All,
    I need to get date and time separately from a DATE object, does
    anyone know what function I should call? GetDate()? GetTime()?
    I need this in a SELECT statement.
    Thanks in advance and looking forward to your early reply.
    Regards.
    Gladywin
    30/11/2001

    Hello,
    See following SQL.
    select to_char(sysdate,'dd/mm/rrrr') today_date,
    to_char(sysdate,'hh24:mi') now_time
    from dual
    Adi

  • When I send a text using siri the recipient shows that the text came from my email. How do I fix that so it show that the text came from my phone number and not my email address?

    When I send a text using siri the recipient shows that the text came from my email. How do I fix that so it show that the text came from my phone number and not my email address?

    Settings > Messages > Send & Receive > Start new conversations from:
    Only your phone number is selected.

  • Can't install Windows 8.1 because the Bootcamp Assistant-partitioned disk is GBT and not MBR.

    I can’t install Windows 8.1 because the Bootcamp Assistant-partitioned disk is GBT and not MBR, and attempting to format the bootcamp disk does nothing. I have read up on this issue, and the only solution seems to be to make a backup of my computer and reformat all disks via 8.1 setup terminal. I REALLY do not want to do that, is there any way to fix this? I’m on OS X Yosemite, if that pertains to the thread.

    Interesting. It wouldn’t install because I had FileVault enabled. Huh. Disabling it saved the day.

Maybe you are looking for