After Bop run the delivery dates differs in STO tables.

Hi,
I have created a STO with multiple line items with multiple delivery dates in the same STO. We have APO also
E.G. 1st and 3rd line item have todays delivery date(01.03.12) and 2nd and 4th line item have 05.03.12.
for the 1st and 3rd line item the system have material availability and we get the confirmed committed quantity from the APO system and got deliverd successfully.
for the 2nd and 4th line item there is no stock in R/3 and APO sytem, and we get the committed quantity as 12/31/9999, once the material is available, BOP run happens it gives committed date in the STO delivery schedule, we found the committed date between EKET table and VETVG table is different when we try to do it for the future date, i want to understand how the committed date arrived in the VETVG table and why it is differing from the EKET table, for the 1st and 3rd line item, the committed date is same in both the table, plese advise.
Regards,
Rajesh

Hi
You can change the dates with userexits if you have specific requirements. Please, see these notes:
SAP Note 414484 - VL10: Delivery creation date all up to today (user exit)
SAP Note 198137 - VL10: Customer-specific enhancements / user exits
If you have any kind of 'accident' while you are trying solutions with records in table VETVG, see SAP Note 61148 - VL04 VL02 AME807 AME815: Insert to table VETVG.
I hope this helps you
Regards
Eduardo

Similar Messages

  • After BOP run the dates in not updating currectly in R/3

    Hi,
    I have created a STO with multiple line items with multiple delivery dates in the same STO. We have APO also
    E.G. 1st and 3rd line item have todays delivery date(01.03.12) and 2nd and 4th line item have 05.03.12.
    for the 1st and 3rd line item the system have material availability and we get the confirmed committed quantity from the APO system and got deliverd successfully.
    for the 2nd and 4th line item there is no stock in R/3 and APO sytem, and we get the committed quantity as 12/31/9999, once the material is available, BOP run happens it gives committed date in the STO delivery schedule, we found the committed date between EKET table and VETVG table is different when we try to do it for the future date, i want to understand how the committed date arrived in the VETVG table and why it is differing from the EKET table, for the 1st and 3rd line item, the committed date is same in both the table, plese advise.
    Regards,
    Rajesh

    Hi Anil
    here is the bapi execution
    public void executeIRCreateBapi( )
    //@@begin executeIRCreateBapi()
    //pass the header,item etc data values
    boolean table_data_valid = setTableValues();
    if (table_data_valid) {
    try {
    inputIRCreate.execute();               
    String year = inputIRCreate.getOutput().getFiscalyear();
    String invoiceNumber = inputIRCreate.getOutput().getInvoicedocnumber();     wdContext.currentContextElement().setCtx_InvoiceNumber(invoiceNumber);
                   } catch (Exception e) {
                        handelModelException(
                             null,
                             e,
                             "Failed to retrieve IR Bapi list!");
                   wdContext.nodeOutput().invalidate();
    Mukesh
    Here is the binding
    inputIRCreate.setHeaderdata(header);
    inputIRCreate.addGlaccountdata(glacntDetails);
    ETC..
    inputIRCreate.addGlaccountdata(glacntDetails);
              wdContext.nodeBapi_Incinv_Create_Header().bind(header);
              wdContext.nodeBapi_Incinv_Create_Account().bind(accountDetails);
              ETC.....
    after bining i am executing the Create BAPI

  • 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

  • If free upgrade is available to those who purchase after 6 June 11, Purchase should mean the order date or the invoice date or the delivery date?

    If free upgrade is available to those who purchase after 6 June 11, Purchase should mean the order date or the invoice date or the delivery date?

    Apple usually has gone by the invoice date, which is the date Apple usually considers to be the "purchase date" for warranty and other programs, but precise details for the Mac OS X 10.7 Up-To-Date program have not yet been released, so that may differ. We'll have to wait until they open the program to know for sure.
    Regards.

  • How to cancel the second ATP after changing the delivery date in the SO

    Hello,
    our solution creates automaticly a production order accorting to sales order.
    The system calcule ATP for each items at the creation of the sale order.
    Sometime, we change the delivery date on the scheduled line and SAP do another ATP. If the composants are not available we get an TSUP status on the order production.
    How can we cancel the second ATP ?
    Is it possible to cancel it when we change delivery date ?
    Thanks
    Regards
    Pierre

    I think its not possible to skip the atp during change of the sales order.  All these determinations will trigger before saving the order
    regards,
    Ramana

  • The delivery date is no use for the scheduling lines

    We are using scheduling agreement and automatic scheduling lines.
    but the delivery date is no use in MRP running.
    In scheduling agreement,I already maintain delivery time=2days and GR days=3 days.
    But after MRP running, I found the delivery line only consider GR days but not included delivery days.
    For example. (delivery time=2days and GR day=3 days)
    requirement date=2009.04.16,
    MRP results :scheduling line date=2009.04.13.(!only GR days=3 days in use )
    Why? I am using standard lot size TB( daily lot size, Scheduling: Requirements date := delivery date)
    Thanks in advance.

    We are using scheduling agreement and automatic scheduling lines.
    but the delivery date is no use in MRP running.
    In scheduling agreement,I already maintain delivery time=2days and GR days=3 days.
    But after MRP running, I found the delivery line only consider GR days but not included delivery days.
    For example. (delivery time=2days and GR day=3 days)
    requirement date=2009.04.16,
    MRP results :scheduling line date=2009.04.13.(!only GR days=3 days in use )
    It should be 2009.04.11.
    Why? I am using standard lot size TB( daily lot size, Scheduling: Requirements date := delivery date)
    Thanks in advance.

  • 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

  • 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,

  • The delivery date for the PR needs to consider planning Calender Periods

    Hi Friends,
    Please help me in solving in my scenario given below:
    The Planning calender periods are from Monday through Thursday(No Friday and weekends). When there is a Purchase Requisition (PR) planned date on Monday and the GR processing time is one day. The delivery date should be on the before Thursday (Becasue there is no period on Friday).
    But, the delivery date is being created with the before Friday, which shouldn't happen.(Requirement is that Delivery date shouldn't consider that friday, hence, the delivery date needs to be on Thursday).
    NOTE: The lot size settings are Lot sizing Procedure : P(Period lot sizing procedure), Lot-size indicator: K (Period lot size as in Planning Calender), Scheduling : 1 (Period Start = Delivery date).
    Thanks for helping me in advance,
    Surendra Chakka

    Hi Santosh,
    Thanks for your Questions. Below are the explainations:
    1. Can you expalin how your system is behaving at the moment?
    A. Presently the GR Processing time is 1 day for a material in Plant. So, if the user wants to produce on Wednesday (Planned date in PR, provided by the MRP run), then the delivery should be on Tuesday (Because GR processing time is 1 day). In  the same way, he dont wants the delivery to be on Friday. I mean, if he wants to produce on Monday,  he wants the delivery to be on Thursday.
    Only Friday, he don't wants to make the Delivery.(The delivery date should not show Friday in PR's).
    2. Pls explain your original MRP view and planning calendor setting...
    A. For solving of the above issue, we changed the Lot size to copy of "PK" - Period lot size acc to planniong calendar. Then we maintained the Planning calendar, in which the periods are for every Monday, tuesday, wednesday and thursday. Expecting, the delivery  should be excluded for friday, the friday in the planning calendar is not given as a period.
    The scheduling paramter in the Lotsize is tried with both the options (period start = Deliery date and period end = Delivery date).
    Later removed "PD" in MRP type and tried with "R1" Time phase req. But, the precondition for this is to maintain "Forecast req". This is also done. But, then, the system for this material is not responding to the MRP run. It is asking to run the forecast model. We ar not using SOP.
    3. The results thst you get with current setting?
    A. For the planned date in PR of Monday, the delivery date in PR is on the day before monday. i.e., Friday (Saturday and sundays are holidays).
    4. Expected results...?
    A. For the planned date in PR of Monday, the delivery date in PR should be Thursday (the day before monday production).
    Hope, i am clear in my explaination. Please revert back, if you need any more information.
    Thanks and Regards
    Surendra Chakka

  • Delivery grouping and the delivery date for group in SD

    Hi
    Using a userexit I am grouping certain materials together.  However the delivery date for group field is not picking up the expected date.
    Assume the following example:
    Material X            Delivery Date 20.12.2006
    Material Y           Delivery Date 27.12.2006
    If I group them together I expect the delivery date for the group to become 27.12.2006 however it is picking up 20.12.2006.
    If anyone has some thoughts regarding this they would be most appreciated.

    Yeah got ur point i was mapping the table configuaration for ur reference.
    This grouping is supposed to make sure that all materials are delievered at the same Date (VBEP-EDATU) and must use the last date in the delivery group.
    say materials  X -- DELIVERY DATE  20 12 2006
                         Y -- DELIVERY DATE  27 12 2006
    so the matnrs are avalaible in VBAP along with  for the VBELN and POSNR values now pick the delivery date for this material from VBEP   ,,
    Now once the itab is sorted by delivery group  and EDATU descending .
    so X and Y are present in for delivery group 001 say .
    X -- DELIVERY DATE  20 12 2006
    Y-- DELIVERY DATE  27 12 2006
    after sort by date it will be
    Y-- DELIVERY DATE  27 12 2006
    X -- DELIVERY DATE  20 12 2006
    which will pick up the latest date (or max date)
    Tis was what i meant to say.
    what is the incude you r using ?
    regards,
    vijay

  • 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 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 }

  • 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

  • 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

Maybe you are looking for

  • IPod 1st Gen (Scroll wheel) not recognized by iTunes

    iPod 1st Gen (with scroll wheel) will not connect to iTunes 12.1 on MacBookPro.  Charging when I plug it in, want to add music to it, but iTunes will not recognize it.  Anyone have any suggestions or does anyone know if this iPod is no longer support

  • Screen font size in bridge cc windows 7 not adjustable?

    Having installed New CC Version yesterday i was kind of amazed about the screen font size especially for the file tree and the file folders on the left of the screen in Bridge (Windows 7). Is there a way to change the size of those screen fonts besid

  • Converting JTable into pdf format

    Hi All, I have a fairly big Jtable with more than 100 columns in it. How can create a printable PDF version from it. THe current version of iText doesn't generate it right. It trims after 4 or 5th column. I am afraid that I can create a PdfTable from

  • Impossible to sync calendar with Mac OS X 10.8.5 Mavericks

    Hi - can anyone help me out here. I can not get my Blackberry link to sync my calendar with my mac (Mavericks OS X 10.8.5 software) and blackberry desktop does not work on Mavericks. Any help would be so gratefully received, Thanks!

  • Inserting unicode into oracle

    Hi every one , I need to know how to insert unicode data(data in other language) into oracle using java can any one give me hint or reference to any page I would be thankful .... ! Regards, Ibrahim...! Message was edited by: Ibrahim_coder