To Check the Delivery date

Hi,
While creating a  sales order, if delivery date is more than 5 days, a pop up should appear stating- if the sales order can be processed further. If yes the sales order is saved else the transaction is cancelled.
     Once the sales order is saved, it should navigate to the report screen,
& display the list of sales orderu2019s for the past 6 months for the particular customer
Kindly Provide me information how to do it ?
Is there any Standard BADI / User Exit available ?
Thanks & Regards
Vel

You can maintain the Logic if VBAK-AUDAT < 5 days with VBEP-EDATU ,then it will show an error and the same can be maintained in the User Exit -userexit_save_document.
Best Regards,
Ankur

Similar Messages

  • How to get the Delivery date in PO line Item in SAPScript

    Hi Gurus,
    I am working on PO Script (MEDRUCK). I copied the Standard to a Z form. ZMM_MEDRUCK, Now I need to print the the Header text at the end of MAIN window.  I put Iem number along with the other line Item informmation like stanadrd PO Script MEDRUCK. I also want to show the delivey date with line Item, so Itried to use EKET-EINDT but it is returning the delivery date of last line item, means while printing the first line and other information it is showing the delivery date of the last line item, I tried with the  PEKPO-EINDT it is also not working.
    Can any body suggest me how i can get the delivery date for the respective line Item  ?
    Regards
    Sony

    actually your are picking up the correct data from Table EKET (EKET-EINDT) but your are printing that in item data loop for EKET might have already executed in your script and the header of that internal table consist the last entry of the table so for that. Fetch the delivery date explicite from the Table EKET when your in item level processing and print that.
    For Example u can use this code.
    To print you have write the this code in Script item level printing window "MAIN" window
    Following perform is called to get the line item delivery date in PO
    {/: PERFORM GET_DEL_DATE IN PROGRAM ZPerform_prog
    /: USING &EKPO-EBELN&
    /: USING &EKPO-EBELP&
    /: CHANGING &DEL_DATE&
    /: ENDPERFORM}
    {* Dellivery date &DEL_DATE& }
    write the below code in the Z program "ZPerform_prog"
    { FORM get_del_date  TABLES in_par STRUCTURE itcsy
                             out_par STRUCTURE itcsy.
      READ TABLE in_par WITH KEY 'EKPO-EBELN'.
      CHECK sy-subrc = 0.
      $_po_no = in_par-value.
      READ TABLE in_par WITH KEY 'EKPO-EBELP'.
      CHECK sy-subrc = 0.
      $_po_line = in_par-value.
      SELECT *
      FROM eket UP TO 1 ROWS WHERE ebeln EQ $_po_no AND ebelp EQ $_po_line.
        $_del_date = eket-eindt.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
          EXPORTING
            date_internal            = eket-eindt
          IMPORTING
            date_external            = $_del_date
          EXCEPTIONS
            date_internal_is_invalid = 1
            OTHERS                   = 2.
        READ TABLE out_par WITH KEY 'DEL_DATE'.
        CHECK sy-subrc EQ 0.
        out_par-value = $_del_date.
        MODIFY out_par
                    INDEX sy-tabix.
        CLEAR : $_po_no , $_po_line ,$_del_date.
      ENDSELECT.
    ENDFORM.                    "GET_DEL_DATE }

  • The delivery date in Sales Order VA01

    Hi,
    I am wondering how the sales order process goes in term of business given that I am not an SD person.
    Normally, when a customer rep receive a sales order, the customer will request the date in which the goods are require.
    Thus, during the sales order creation, the person will key in the material, order quantity, and the delivery date.
    Example, customer wants the goods to deliver on Nov 25th 2011
    My confusion arise when the ATP check (i.e. the three section proposal date) find out that the goods are only available on December 10th 2011. Thus, the committed schedule line with committed quantity is copied from the ATP proposal screen to the 2nd scheduline line item with delivery date as Dec 10th, and the committed quantity. The following is the VA01 screen
    Schedule Line tab of item detail view:
    Dely Date -
    OrderQty----CommitQty
    11.10.2011--3--
    0
    18.10.2011--0--
    3
    Sales Order Overview screen:
    MaterialOrderQty-itemCat-FirstDate -
    Plant
    10000----2pcTAN11.10.2011-----AU01
    Question.
    1 - Do you feedback to the customer saying that the Delivery Date that can reach you is 11.10.2011 or 18.11.2011?
    tuff

    hi tuffy,
    here system will check ATP while sales order and confirm delivery date,if u r making sales order on 11.10.2011 but system will confirm delivery date in schedule line.
    u can take ur  msg reference where system is taking order on 11.10.2011 and confirm qty for delivery on 18.11.2011 so customer delivery date would be 18.10.2011.
    Edited by: KHAPREVIPIN on Oct 25, 2011 12:38 AM

  • Table where the Delivery date is stored in Confirmation tab on Me23n

    Hello ABAB Gurus,
                               Can anyone give me the table name where the Delivery date is stored in Confirmation tab in Item in ME23n.
                                  If anyone is aware of it then please let me know .
    Sagar

    Hi,
    Check the table EKES and field name is EINDT..
    Thanks,
    Naren

  • I pre-ordered an iPhone 6 Plus and the delivery date now says October 14th. The point of the pre-order is to get it on release day (or shortly thereafter). Can I go to a Verizon store to pick up my new phone on release day?

    I pre-ordered an iPhone 6 Plus and the delivery date now says October 14th. The point of the pre-order is to get it on release day (or shortly thereafter). Can I go to a Verizon store to pick up my new phone on release day?

    I'm not sure that answers the question Candice.
    I'm in the same situation.  I was up trying to get on the Verizon page at 11:55, kept getting the ECPD error.  When finally got through, the Silver Iphone Plus 64 showed arrival of 9-19.  At every step of the process, it seemed that I was ordering a phone that would arrive on day1.  At no point did it say this was an estimate.  At no point did it say it might change.  In a big yellow box, it said "9-19".  Ordered it, then got confirmation email stating it should arrive at 9-19.   Seems like all should be good, right?  Order site said 9-19, I've got a confirmation email saying 9-19, done and done.
    Then I check the website, and suddenly it changed to 10-14?!?!?!?  I feel like this was a bait and switch.  I was able to pickup an iphone5 in a local store on launch day, and would not have locked myself into a preorder through Verizon if I had known this would happen!
    So, that leads back to the original questions.  Lets assume I walk into a Verizon store on 9-19, and there is an available iphone6 plus just sitting there, can I either get that phone as fulfillment of my pre-order.  Or, cancel my pre-order and buy that phone right then and there?
    JJK
    PS:  It seems there are many people you misled this way.  For every person who takes the time to post on this site, there are going to be many many more who are silently ****** off.

  • Regarding the delivery date in sales order

    Hai
    when we give the inhouse production time in material master and the create a sales order whenever we give the quantity the delivery date does not change according to the quantity
    ex :- when i give the inhouse time as 2 days for producing a single material
                    but when the quantity in sales 10 no. but delivery date is only 2 days
                         i.e, based  sales order quantity delivery date should change
               i need the delivery date as 20 days who to do this give the customizing settings
    advance thank's for your reply

    Dear,
    Please check the timing in work scheduling view. other wise schedule the routing and maintain time there and check your result.
    In material Master MRP2 screen you will get Scheduling Screen where you will get
    In-house production
    GR processing time
    Plnd delivery time
    These are lot size independent but value in work scheduling view are lot size dependent.
    Go to VOV8 and check the Lead time part. If u will maintain lead time of 2 days, the req deliverty date will be 2 days frm order creation date.
    You can configure this in the configuration of the Sales document type in VOV8. Here we can specify the value and as per that configuration the date will be defaulted.
    Regards,
    R.Brahmankar

  • How system updating the delivery dates in sale order schedule line

    Hello
    i created a sales order with 2 line items. For the first line item the confirmed delivery date in the schedule line is 06.02.2012 and for the second line item the confirmed delivery date in the schedule line is 14.02.2012 . Both the line items are third party items and the PR created against the line items in the sales order .
    We created the PO with reference to the PR of the SO and we find there are different delivery dates coming in the PO document for the 2 line items . For the first line item the delivery date is coming as 14.11.2011 and for the second line item in the PO , the delivery date coming as 11.11.2011 . Firstly we are not understanding from where the delivery dates are picking in the PO.
    Secondly , once we saved the Purchase order and once we come back to the sales order , the schedule line dates are getting changed automatically in the sales order . For the first line item in the sales order the delivery date is changing to 22.11.2011 and for the second line item in the sales order the delivery date is changing to 22.11.2011.
    Now my question , is from where the delivery dates are updating in the Purchase order and once we save the purchase order how the delivery dates in the schedule line are getting changed .

    Now my question , is from where the delivery dates are updating in the Purchase order and once we save the purchase order how the delivery dates in the schedule line are getting changed .
    For third party processing, the delivery dates are updated in the purchase order based on the settings in the field Planned delivery time in the MRP2 view of the material master(defined in purchase info record in t.code ME11/ME12) and purchasing processing time defined in t.code OMEW. This means, since the date of PO created, it will take the days mentioned in the planned delivery time field and purchasing processing times to determine the delivery date, which will be copied into the sales order as delivery date. In your case, the purchase order delivery date is not copied into the sales order, hence you may need to check OSS note. How the PO is handled? Any confirmation control functionality is used?
    Regards,

  • Block GR if GR date before the delivery date in the PO

    Dear all,
    A key-user would like to avoid goods receipts to be posted if the date of the goods receipts is before the delivery date in the PO. The key-user wants to refuse systematically delivery from the supplier which is sooner than the delivery date in the PO.
    For example, in the PO, the delivery date is August 7th 2010. To make a GR for this PO, the user uses MIGO, inputs the PO. As today is August 5th 2010, the GR should not be accepted by the system. How to customize that?
    Another solution is to display the delivery date of the PO in MIGO so that the storehouse person can check directly the date of the delivery in the PO. That way, this person can check by itself whether the GR should be done or not.
    Thanks a lot.
    Olivier

    Hi
    This is standard SAP Customization.You an set message as Warning or Error message .
    The customization path is MM-Purchasing-Environment Data-Define attributes of system messages.
    Please let me know if it helps.
    Regards

  • Sales order cannot be created  for the delivery date before 20.10.2008

    when i create a sales order today (18102008) sales order cannot be created  for the delivery date before 20.10.2008
    how the system is checking the 2 days duration for delivery date - which table is having this duration days.
    is it dependent on sales order type.....
    actually i checkeup in V0V8 - even then i couldn't  solve this error when i am creating the sales order.
    Pls suggest

    Dear Selvamuthu
    In normal circumstances, you can create as many as sale orders as you can irrespective of delivery date, and system will not  prevent to create unless you apply some user exit for some reason.
    Check any user exit is applied for that sale document type where some logic would have been written in such a way that if stock is available, sale order can be created.
    thanks
    G. Lakshmipathi

  • Material availability date can not be after the delivery date

    Dear Experts,
    we are using the following scnario,
    1. Once the user creates the sales order, automatically system creates PO in the background.
    we have created Bapi program for creation of Background PO in SD User Exit.
    The following issue occurs in Prd, DS1, QS1 server, We have done Technical upgradation project, Now when we creates sales order automatically po created with error message of Material availablity date can not be after the delivery date. even sales order no also not updated in the PO.
    QAS server (without technical upgrade) i refered the same input parameter and used the same and create the sales order system generates PO automatically without error message.
    Does any one can through lights on this issue,
    Thanks and Best Regards,
    Muralidharan S

    Hi
    The dates are determined due to shipping and transportation scheduling settings. So check whether the shipping and transportation scheduling is being performed as per the cofiguration settings after Technical upgrade. Since the MAD date should not be after Delivery date but it seems that the dates are not determined properly.
    Also check the Transit  time, Loading time, Pick/Pack time and Lead time are retained as same as before the technical upgrade. Use the QAS server settings to validate the settings in other servers.
    Regards
    Rajkumar K

  • Why the delivery date in the order not changing with P.O???

    Hi All,
    I am encountered with an issue that in a P.O the delivery dates are kept as customer requested delvery date and these cahnges are not updating in the order.
    According to standard SAP the change in delivery dates in a P.O should get updated in sales order.But its not happening if we keep this date as customer requested delivery date,Why is it so?
    I would explain with an example so that it would be clear:
    An order is created say 03/31/2011 and the requested delivery date is 05/02/2011.
    Confirm delivery date is 05/10/2011  (because in purchase info record it is 40 days)
    Now when P.O is created this confirm delivery dates will come.If we change these dates to any other dates it would replicate in the order.But if we keep these dates as customer requested delivery date, it is not changing in the order.
    Please any one help me out....
    Regards & thanks.
    Edited by: deepak567 on Mar 31, 2011 7:50 PM

    Dear,
    Please check the timing in work scheduling view. other wise schedule the routing and maintain time there and check your result.
    In material Master MRP2 screen you will get Scheduling Screen where you will get
    In-house production
    GR processing time
    Plnd delivery time
    These are lot size independent but value in work scheduling view are lot size dependent.
    Go to VOV8 and check the Lead time part. If u will maintain lead time of 2 days, the req deliverty date will be 2 days frm order creation date.
    You can configure this in the configuration of the Sales document type in VOV8. Here we can specify the value and as per that configuration the date will be defaulted.
    Regards,
    R.Brahmankar

  • I just wanted to ignore the delivery date given by the system

    hi,
    sap gurus,
    good afternoon to all,
    i just wanted to ignore the delivery date which is given by the system.
    suppose if ur creating a sales order today then system designed date for delivery is after 7 days.
    i doesn't want that day.
    i want the same date as delivery date in which order is created.
    regards,
    balaji.t
    09990019711

    You can ignore the Requested delivery date , beacuse during delivery scheduling system takes this date into consideration.
    Yes , you can default the requested delivery date by changing in the Sales doc type (VOV8) as per your requirement in 'Lead time in dats field",  also you can change this default date as requested by the customer, during order processing .
    If you make the "Lead time in days" field blank, then system will automatically propose to-day's date as the Requested Delivery date.
    Whichever date you may put, system takes it into consideration  in delivery scheduling.Requested delivery date means , customer wants to receive the goods on this date. System checks by delivery scheduling, whether this date can be confirmed or not.
    First, it starts Backward Scheduling, means starts calculating backward from this Requested Delivery date and calculates the "Material Availabilty date"& the "Transportation Planning date".
    If  both these date ("Material Availabilty date" & "Transportation Planning date) are after the order date and the Material is available on the Material availability date then , the Requested delivery date can be confirmed.
    Even one of the date is earlier than the order date or  the material is not available on the Material Availability date then system can not confirm the Customer's Requested delivery date & immediately it goes for forward scheduling. Accordingly you get the delivery date/ dates in the schedule line for the item.
    So how system can ignore this date ?
    Actually this date is tested whether it can be confirmed or not
    & whether Forward scheduling will take place or not.
    I hope it is clear.

  • How to adjust the delivery date in PR generated by MRP

    Hi.
    We use MRP to generate PRs. The PRs are generated and the delivery date is also being calculated based on PR processing time + planned del. time + GR process.time.
    However my requirement is that the delivery date in the PR should be always Tuesday for the week we need the parts.
    E.G. Say MRP run has created a PR with delivery date as 28.02.2008, then system should automatically shift that date to Tuesday's date 26.02.2008 for that week.
    IF PR delivery date as per MRP is say 03.03.2008 (Monday), then system should automatically make it to Tuesday's date 04.03.2008.
    so in short , each and every PR generated for any vendor , the delivery date should be always the tuesday's date in front of the week we need the parts.
    So is there any standard setting or functionality available in SAP to achieve the same.?
    IF not, then is there any user exit to achive the same.?
    Pls help.
    Thanks and regards

    Can you please help me by informaing how can I run Time phased planning.
    My requirement is that MRP Run should give me the PRs with delivery date as Tuesday. Say planned del.time is 28 days . Pur.proc.time is 2 days and GR procee.time is 1 day.
    I want to run MRP every week. and. How can I set up period and what to set.?
    Questions:
    1) Calculation rule: Weekly with 'perid begins on (2)  Tuesday?
    2) Minimum period: 1 day. Is it right?
    3) Valid from and valid to date: I am specifying as per my requirement: (how much it should be?)
    4) How to run MD03.
    Any general guideline on how timephased planning woks?
    Like we need to run every week on spcified day , it generates requirement for the weeks in question only , or etc etc. .
    I have never used timephased planning. So can you please help me.
    Thanks
    Bharat

  • System does not propose the delivery date based on factory calendar

    Hi,
    I am creating a sales order for a delivery date for this sat which is (2/22/09)
    I have maintained 2 separate calendars for
    1) shipping point
    2) for the route
    The route has a transit time of 1 day and the calendar has sat and sunday as non working.
    the Shipping point has a pick/pack time of 1 day and the calendar has sat and sunday as non working
    The material is available in the warehouse
    Now when i create this sales order i enter the delivery date as 2/22/09, the system does not propose me the delivery date of monday (i.e 2/23/09) It accepts the 2/22/09 delivery date.
    In the schedule line i do see the date as 2/22/09 only.
    The delivery was created with the following dates
    Picking = 2/17/09
    Transportation Planning = 02/18/2009
    Loading =02/18/2009 
    Planned GI= 02/18/2009
    Delivery Date = 02/22/2009
    How can the system give me the delivery date of a sunday when the calendar doesnt allow sunday as working day.
    Also the route time is 1 day in transit so i am not sure why the system is proposing a 3 day transit time?
    Can any one explain the behaviour of SAP for the delivery date logic

    Dspsac,
    Delivery date can be any date.  For instance, if your customer insisted on a Sunday delivery, you would accommodate him, regardless of any calendar.
    From the delivery date, the system counts backwards USING THE FACTORY CALENDAR ASSIGNED TO THE ROUTE by the number of days in the route.  You have to consult the FC assigned to your Route to determine if the GI date has been properly calculated.
    From the GI date, the system counts backward Pick/pack time, using the shipping point calendar, to arrive at Material availability date.
    Calculations are explained in SAP online help
    [Transportation and Delivery Scheduling|http://help.sap.com/erp2005_ehp_04/helpdata/EN/dd/5607e7545a11d1a7020000e829fd11/frameset.htm]
    Regards,
    DB49

  • Error while checking the rate data through installation

    Hi everyone,
    I am facing an error message while checking the rate data for an installation:
    "Internal error: Error when reading internal table IEGER in ISU_O_DEVICERATE_OPEN".
    Please guide.
    Thanks and Regards

    Hi,
    The error comes from FM  ISU_O_DEVICERATE_OPEN include LEG70F40 line number 2555.
    It is giving error on following code of line in FM.
          find the serialno.
            loop at ieger into eger_wa
              where equnr = reg_wa-equnr
              and   ab   <= reg_wa-ab
              and   bis  >= reg_wa-ab.
              exit.
            endloop.
            if sy-subrc <> 0.
              perform close_object changing obj.
              mac_msg_put 'E890(E9)' 'IEGER' 'ISU_O_DEVICERATE_OPEN'
                                     space space input_error.
              if 1 = 2.  message e890(e9) with ' ' ' ' ' '. endif.
            endif.
    I think that you are not checking the active installation. Check whether that installation has proper ebtry in table EASTS.
    Try changing
    BIS     BISZEITSCH     DATS     8     0     Date at Which a Time Slice Expires
    AB     ABZEITSCH     DATS     8     0     Date from which time slice is valid
    data for the installation.
    If this dosent work then debug the program by putting break point on the mentioned line and check.
    Regards,
    Pranaya

Maybe you are looking for

  • Mac mini and photoshop elements 4

    hello, i'm using a mac mini intel solo with photoshop elements 4 and it is unbearable!!! has anybody else here experienced extremely slow reactions with this set up? i think it may just be a memory issue, i have the standard 512mb and the page outs g

  • Does not recognize playlists

    Just bought a new iPod Nano 4GB today, firmware version 1.1.3, iTunes 7.7.1 on a Mac Mini. When I sync my selected playlists, it doesn't keep any files (tunes) that I recorded myself (non-downloaded or from commercial CD's) in the selected playlist;

  • PRRW: Incorrect posting period (fixed posting date)

    Hi, ¿Can anyone help me? I have problems when using transaction PRRW in order to transfer travel expenses to accounting. The issue is that for one company code the posting date is not of the same posting period as the travel. If I try to transfer all

  • Production order date

    Due to business reasons, some times production order start date is changed. Is there a way we can find when the start date of the production order is changed after the production order being created. Note: We have not activated ECM and scheduling typ

  • How Do I activate the searching by product in Catalogue

    Hello, can anybody please tell me how do I activate the searching field for products and supliers, Because i'm trying to make searches in catalogue by product and I don't know how to activate this aplication. I'm using SRM 4.0