How and where does Delivery Date get calculated in ME51N

Hi,
Can anyone please let me know the point where the delivery date is calculated in ME51N ?
i enter the Material and Plant and press enter and Delivery Date ( = Current Date ) gets populated automatically. I need to find out where it happens.
Because there is a requirement that the Delivery Date should be equal to the Current Date + some Lead Time, instead of the current Date. So, I need to find a BADI or exit.
For the transaction ME51N, there is only one Customer Exit - MEREQ001. And if I put a break-point at the compnents of this exit, the control doesnt go to these exits when I press Enter.
And there is a BADI 'ME_REQ_POSTED', which gets triggered when we save ME51N, but it should be triggered even when we press enter.
Please help me with all the above details.

Hi Dagny,
This is related to PO stuff. Probably the logic may be useful for you.
You can try out enhancements:
LMEKO001
LMEKO002
And you try out below code.
FIELD-SYMBOLS: <beket> TYPE ANY TABLE.
DATA: l_date        TYPE d
     l_ebelp       TYPE ebelp,
     w_beket       TYPE beket,
     t_beket       TYPE STANDARD TABLE OF beket,
     w_data        TYPE ty_data.
* Get the item number in the correct format.
l_ebelp = komp-kposn+1(5).
* Get the tabe with Delivery Schedule data.
ASSIGN ('(SAPLMEPO)ETT[]') TO <beket>.
t_beket[] = <beket>[].
READ TABLE t_beket INTO w_beket WITH KEY ebelp = l_ebelp.
*l_data = w_beket-eindt.*
Here l_data has the delivey date field you can even modify this data and update what ever u want.
Thanks,
Raj
Edited by: Raja gurrala on Jul 23, 2009 3:24 PM

Similar Messages

  • How  and where does SAP standard programs update the master tables...

    Hello there,
    How  and where does SAP standard programs update the master tables...
    to be precise.. if a (any) transaction occurs  the programs behind it holds the data in temporary structures.
    where and when does it get updated in the master table.
    can anyone tell me how it happens?
    I Know that from the where used list one can find the corresponding table but most of the time it wont suffice
    I am expecting a proper answer.
    Santosh B

    Hello Santosh,
    you need to do some self-reading on the following topic
    Updates in the SAP System (BC-CST-UP)
    http://help.sap.com/saphelp_47x200/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/frameset.htm
    Regards,
    Siddhesh

  • Where does the data get saved from (notepad) or Notes on Windows Mobile 5?

    Where does the data get saved from (notepad) or Notes on Windows Mobile 5?
    (ON the Phone)  Sticky note like program WM5
    I ask because I synced my Blackjack 1 to my pc after about a year and MANY notes later, All the notes from the PC remained but ALL new notes on phone (a years worth) were deleted from the phone.
    I would like to attempt a data recovery on my mobile device- that was an insane endeavor but i got it to work now i just need to know what to look for (what type of files to recover) and or where to recover from?
    I did make the phone a drive already and have data recovery software that can pull deleted files from the phone in fat or raw data format.
    Thanks.

    Hi,
    I think this is not the best forum for your question. This forum is for Microsoft Exchange Server's mobile connectivity issues.
    Regards,
    Zoltán
    http://www.clamagent.org - Free Antivirus for Exchange
    http://www.it-pro.hu
    http://emaildetektiv.hu

  • Delivery date getting calculated wrongly in delivery created via VL10D

    Hi Gurus,
    We have a strange issue, where in delivery date is getting calculated wrongly for replenishment delivery created via VL10D.
    When we are creating via VL10D , delivery date is getting the additional 30 days from MaxDlvCrteDate . With initial investigation i see that VL10D has delivery creation profile 0101 for which no of days maintained in max delv creation date is 30 .
    I assume that the delivery date is getting the additional days from delivery creation profile felid no of max delv creation date .
    I have created the delivery on 24.03.2011, as per the route no of TL time is 9 days , So Ideally the delivery date should be 04.04.2011 , however system has calculated it as 23.04.2011
    Delivery no             No of days in MaxDlvCrteDate                        Delivery  date
    213443158                           30                                                       23.04.2011
    If I create the delivery for the same PO using t-code VL10B, then delivery date is calculating correctly.
    Not sure why system behavior is strange.
    Please help me with your inputs to resolve the issue..
    Thanks in advance

    Please request one Abaper  to solve this problem.
    You cannot due nothing as the problem is in Code.
    Regards
    William

  • How and where does vendor sub range affect PO?

    can someone explain to me how is vendor subrange affecting a PO?
    meaning, I have my usual set of Partners in a PO and  the GS has sub ranges in the vendor master record.
    how can I see that
    1) the vendor/GS has sub ranges
    2) the subranges vendors
    thank you
    Alisa

    Hi,
    Use
    Vendor Sub-Ranges (VSRs) subdivide a vendor's total product range according to a variety of criteria.
    You can specify which materials or articles belong to which VSR in the info records of the relevant vendor. There you can also specify the sequential position of the material in the vendor sub-range, so that the items of a purchase order are sorted into the sequence in which your vendor expects them.
    In the SAP System, you can maintain certain data at vendor sub-range level. For each sub-range:
    ●      You can maintain different data
    In addition to the purchasing data or partners that have been created for a purchasing organization, you can enter different data or partners in the vendor master record for each vendor sub-range, for example, different ordering addresses, terms of payment, or partner roles.
    Your vendor Smith & Co. of Atlanta has two sub-ranges: detergents and adhesives.
    All the materials belonging to the sub-range "detergents" are ordered in Memphis.
    You have maintained a different ordering address in Orlando for the sub-range "adhesives" in the vendor master record.
    When you order materials belonging to the sub-range "adhesives", the system determines the ordering address in Orlando via the vendor sub-range.
    ●      Certain conditions apply
    You can maintain and change separate conditions for each vendor sub-range.
    For more details , you can refer to the link
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/e2/f3333956bd9f05e10000000a11402f/frameset.htm
    Regards,

  • How and where do I install a wireless internet card in G3 PowerBook?

    I own a G3 PowerBook "Pismo", Firewire, M7572. Not being familiar with working with the internals of a laptop, how and where does one install wireless internet card? Any help would be appreciated

    The G3 Powerbook "Pismo" takes an original Apple Airport Card, and NOT the extreme card. The original airport card is available here:
    http://www.macwireless.com/html/products/wirelesscards/11g_11bcards/airportcard.php
    http://www.ifixit.com/Apple-Parts/Airport-Card/IF143-010
    http://www.quadmation.com/AIRPORT.cardonly/
    http://www.powerbookmedic.com/Apple-Airport-Card-80211b-p-16144.html
    http://www.a1acomputing.com/usorapaicam7.html
    Installation instructions are here, if you are adventurous:
    http://www.ifixit.com/Guide/Mac/PowerBook-G3-Pismo/Airport-Card/6/3/Page-1

  • Explain How delivery date is calculated using backward and forward schedul

    How can anyone please explain how delivery date is calculated using forward and backward scheduling
    I want to have it broken down into the following steps
    for eg for delivery date calculation following dates are used
    Material Availabilty Date
    Material Staging Date
    Pick/pack time
    Transportation PLanning date
    Loading date
    Goods issue date
    Transit Date
    Delivery Date
    Can some one please give me an example and explain wht these dates are
    for eg customer needs delivery date on  11/20/2008
    how would the system cacluate whether it can meet the delivery date using backward scheduling
    and if it doesnt meet how does the system do the forward scheduling
    also i am not clear with the following dates
    material avaialibilty date
    material staging date
    transportation date
    can some one please explain me all this in detail
    Thanks

    Hi,
    Basically this is the CRSD(Customer requested ship date logic)logic in which system calculates the ship date depends upon the material availability. If material is available system calculates ship date on the basis of master data maintained in customisation.Master data is maintained in the  following link.
    If material is not available then system takes into consideration vendor delivery date & then calculate customer ship date.
    Please go through the link in SPRO
    LE-Shipping -Basic shipping functions-Scheduling -Delivery scheduling & Transportation scheduling-Maintain duration.
    In customisation following data is maintained
    Material Availabilty Date
    Material Staging Date
    Pick/pack time
    Transportation PLanning date
    Loading date
    Goods issue date
    Transit Date
    Delivery Date
    Hope you got the idea of CRSD calculation
    Regards,
    Prashant.

  • Where does the data come from which powers the ship date and delivery date

    Hi All,
    Please let me know, where does the data come from which powers the ship date and delivery date?.
    Adi.

    Hi,
    DELIVERY DATE  will be maintain in the SALES DOCUMENT TYPES in VOV8 in the tab REQUESTED DELIVERY DATE/PRICING DAE/PURCHASE ORDER DATE.
    The field is PROPOSE DELIVERY DATE .
    If you check the field then the document created date will be the Requested date and will be carried from ORDER TO DELIVERY.
    If you want the delivery date other thann the CURRENT date then you have to maintain the LEAD TIME in days in the same tab.
    SHIP DATE: is the date on which you do the PGI in the delivery .
    Please check them and revert back if u need further details
    thanks,
    santosh

  • Itunes STILL charged my card, but then told me the computer I was using couldn't be authorized.  OK, fine...but, now, how and where do I go to get my downloaded music?

    itunes STILL charged my card, but then told me the computer I was using couldn't be authorized.  OK, fine...but, now, how and where do I go to get my downloaded music?

    I'm sorry, but your data is gone & there is no way to get it back.

  • Why does my incredi email want to open a email in webpage ? i don't like this and how and where do i change the settings for this

    when i open my incredi mail to get emails it wants to down load my emails as a webpge it started 3 weeks ago how and where why is firefox doing this and how do i chenge setting to open emails in incredi mail and not as a darn webpage

    You cannot go back.

  • How and where can I write a subject matter in a reply I am doing,

    How and where can I write a subject matter in a reply I am doing, I dont want the original subject matter and all I can see is the person to whom I am sending it and cc on the right?

    What are you actually asking about use of webmail ?
    *[[Problems with email and how to find help]]

  • How InDesign comes to know about any changes on document, but not saved. As it shows * on the name of document when it is opened and any changes. And after saving * symbol is get removed from the name of document. How and where indesign@ handles this?

    How InDesign comes to know about any changes on document, but not saved. As it shows * on the name of document when it is opened and any changes.
    And after saving * symbol is get removed from the name of document. How and where indesign@ handles this?

    Are you just asking because you want to know, or do you have a problem you need to solve? I don't know how to write a program, but I think what your are describing is not an unusual thing for a  program to do. The * tells you that changes have been made since the last save, and the program reserves a portion of memory for undo functions. I suppose a coder could tell you how it works, but I don't think it would help an average user to know, but that's just my opinion.

  • How and When Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized

    How and When  Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized. Do the actual trigger lines get measured or does the attribute get initialized to a default value when the vxi resource manager is executed?

    Hey whl6868,
    According to page 157 (or 3-135) of the manual (http://www.ni.com/pdf/manuals/370132c.pdf), there is no default value for VI_ATTR_VXI_TRIG_STATUS.  If Resman is returning valid values for it, then it must be actually reading the lines.  Else, I would only expect it to return valid values when you actually call the function yourself.
    Regards,
    David R
    Applications Engineer
    National Instruments

  • How long does mountain lion take to download and where does it say how much it has left mine just says downloading ?

    how long does mountain lion take to download and where does it say how much it has left mine just says downloading ?

    It's totally dependent on your broadband speed.
    It took me about 45 minutes to download, but I have a reasonably fast connection.
    It will often say in the purchased pane of the Mac App Store how much longer it will take.

  • How and where do I get My iPad repaired

    The screen on my iPad has all these lines... I think it's the result of leaving it in a hot car. How and where do I go about getting it repaired?

    You can schedule an appointment at a Apple retail store's Genius Bar and see what they can do for you.
    Or you can find a certified service center and take it in to get looked at.
    http://www.apple.com/support/contact/
    Click on your product, and follow the prompts to get a list of service centers in your area.

Maybe you are looking for

  • Small Business SPA504G over VPN?

    Hello, i recently installed a PPTP server on the PBX machine to connect, i was wondering how to make our SPA504G phones to connect to it, i just have no clue, any windows machine can setup a network connection, but with the IP Phone im completely at

  • How to make windows 8.1 compatible with dng converter 8.1?

    I have installed the DNG Converter 8.1 so that I can view/edit RAW files on Photoshop Elements 12, but Windows 8.1 states "the source folder does not contain any supported camera raw files".  I have an Sony Alpha 6000 (version 8.4), and have moved th

  • Upgrade Path for 3G to 4

    I have a 3GS and I was planning on the following: 1) Backup / Sync 2) Install iOS 4 3) Backup / Sync 4) Activate iPhone 4 5) Restore from backup My friend has a 3G and is upgrading to iPhone 4. I told him he should do the same process. Was I correct

  • Cannot accept Meeting Request updates on iPhone

    Hi, When I am working at a client's account, I am sending or forwarding important meeting requests to my private mail. Then, when I open that mail account on my iPhone, and open the meeting request mail, I can scroll to the bottom and see a 'mime-att

  • Artwork Button Grayed-Out

    I have some MP3s of an unknown sample rate and different bit depths. I would like to add artwork to these files, but iTunes has the artwork button grayed-out. I can convert the MP3s to AAC, but the quality will suffer, and I don't have the original u