Req. Delivery date - IDOC to Sales order

Hello,
A sales order is created from IDOC. If customer sends the requested delivery date as 05/27/2009 (IDOC) system has automatically back the date to 05/24/2009 which should be the customer requested delivery date and to be displayed on the sales order.
3 days of lead time to back the date of the customer's requested delivery date. Is this functionality can be done through configuration settings or does this require ABAP coding?
Example -1
05/27/2009 (Customer's req. delivery date through IDOC)                      05/24/2009  (Req. delivery date to be displayed on the sales order)
Example -2
06/10/2009 (Customer's req. delivery date through IDOC)                      06/07/2009  (Req. delivery date to be displayed on the sales order)
PS: This logic is applicable for only few customers who has specific shipping conditions (01)
Thanks.

Hello Zuzana,
Thanks for the response.
We are not using middleware.  Inbound IDOCs we process are:
Message type: ORDERS
FM: IDOC_INPUT_ORDERS
Process code: ORDE
Is there any scope for configuration settings? I guess No but still checking with you.
PS: Appreciate if you could give the correct USER EXIT.
Thanks.

Similar Messages

  • I want to pick up Schedule line Delivery date based on Sales Order of Mater

    Hi Experts,
    I have one scenario like,
    I want to pick up Schedule line Delivery date based on Sales Order of Material.
    For example :
    Go to va03
    Give the order no
    Press the enter
    Double click on material.
    Go to Schedule line Tab
    Then we can find out the Delivery date .
    I want to pick up the that Delivery date. Could you please help on that.
    Thanks,
    Amjad.

    Hi,
    schedule line dates are available in VBEP.
    VBEP-VBELN = sales order number.
    VBEP-EDATU = schedule line date.
    REgards,
    Raghavendra

  • Delivery date on the sales order

    Hi frnds
    I am facing an issue here. When the sales order comes of credit hold the system proposes a new delivery date in the sales order. How can i change the settings to avoid the system from assigning weekends(Saturday & Sunday) as the delivery date????
    I have checked that the factory calendar is set for weekdays only and also the propose del date is check marked in VOV8, OVX5 & OX10 have factory calendar asssigned but i am not able to figure out how to restrict the delivery date to weekdays to be proposed by the system.!!!
    Am i missing something???
    Will appreciate your suggestions.
    null

    Hi,
    The fields needs to be activated in the filed group in accounting.
    The path is SPRO -> Financial accouting -> Accounts Receivables and Accounts Payables -> Customer accounts -> Master data -> Preparations for creating Customer master data -> Define account groups with screen layout.
    Shiva

  • Unable to change requested delivery date in the sales order at item level.

    The issue is when I create order with one material (linked to network and project is created automatically in the background), I am able to change (in change mode) req delivery date for an item, but when I create order with 2 materials (linked to network and project is created automatically in the background), I can not change (in change mode) the req delivery date of any item. Req delivery date is then copied from the header req delivery date.
    Is this a standard SAP functionality or a defect?

    Req del date is the date requested by customer and  can be changed at item level. Probably the confirmed date in the schedule line is derived from the network scheduling after ATP check. (ATP check is not activated in this case)
    I am able to change the req del date at item level if there is only one item (Linked to network) and not when there are two line items (Both are linked to 2 diff networks belonging to same project)
    I tried to change the date in the network, scheduled and saved but that didnt change the date in the sales order. On the contrary, if I run ATP check, netowrk dates get back to original dates derived from sales order.

  • Requested delivery date in a Sales Order?

    Hi,
    In one of my client Functional document, it is mentioned that
    [Material Availability Date] = [Requested Delivery Date] u2013 [No days in route]
    I want to know that from where does the system get the requested delivery date when we create a sales order?Is it determined automatically based on certain parameters or is defaulted always to the order creation date?

    It is based on few parameters like
    1. The relevant document type and in there Requested Delivery Date and there you will get Lead time in days and you can entar the number of days there. As it Specify the number of days after the current date that the proposal for the requested delivery date in the sales document should be.
    2.In material Master MRP2 screen you will get Scheduling Screen where you will get
    In-house production
    GR processing time
    Plnd delivery time

  • Re-ATP changes already saved ATP delivery dates in a sales order

    Hi,
    I have a order where ATP has run and given a ATP date of say 10.01.2008, in the stock requirement list , Tab T, a temporary assignment is made against this with purchase order stock which is due on 10.01.2008.
    However when you go the sales order and re-ATP again,
    The dates gets changed and a future date gets assigned to the order instead of holding the purchase order stock which is assigned in tab T to this order.
    Is there a way to stop this from happening? That is since the PO is even temporary assigned to this order it should not remove this assignemnt.
    Is this the normal behaviour of ATP?
    Thanks
    Keshini

    Hi Surendra,
    For SO, business event is A and for delivery it's B. When integrated with ECC, the check rule in ECC points as biz event in APO.
    You can control ATP check by customized settings for check rule in ECC.
    Also, by setting requirement class and requirement type in ECC, you control check mode in APO. So, even if you dont define for check mode in APO, the system might refer from ECC for the ATP check settings. Look into your ECC customization for how requirement class is derived and settings for requirement type. (based on MRP type, strategy grp and Item cat).
    I'm not sure how you can control ATP to happen for some sales orders/deleveries in ECC and for some in APO, since check mode is mentioned in material master.
    However, there are ATP BADIs (business add-ins) available in both ECC and APO, whch can serve your purpose.
    Regards,
    Bipin

  • Exit for delivery Date check in Sales order [Via EDI]

    Hi Friends ,
    We have a requirement in which if the Sales Order is created Via EDI with INVALID delivery date then I have to set a flag in some Z Table . I have tried searching for exits and debugging the code but was unable to find a place where SAP checks for delivery date validity . Please help me with possible exits/Badis?Enhancement Pts etc where I can mark this flag .
    Thanks & Regards
    Gaurav Deep

    @Vinod Thanks  for your reply , the delivery date is there in EXIT_SAPLVEDA_009 .
    But how will i check if the delivery date is valid or not , If you go to VA01 and give a invalid delivery date a warning message is issued , here if the warning message is issued then I want to set my flag , this might save my from  coding redundant delivery date check logic , can someone please help me how can i track if this warning message is issued .
    Thanks & Regards
    Gaurav Deep

  • To Blank out system default requested delivery date when create Sales Order

    Hi Experts,
    I am facing a problem when create Sales Order doc copy with reference to a contract.
    The create with reference screen under the Contract tab, SAP default with current date as the Requested delivery date.
    Is there any way to blank out this default as I need to use the requested delivery data in the contract doc ?
    Many Thanks.
    Regards,
    Xavier

    Hi,
    Try this--
    While defining the Contract sales docment type in VOV8,  uncheck the proposed delivery date field in  the tab Requested delivery date/ reqested pricing date/reqested prchase order date
    I will not propose the system date and leaves the field blank
    you can enter  the required delivery date.
    Hope this will work
    regards,
    santosh

  • Material Availabilty Date Determination in Sales Order

    Hi Gurus,
    When creating the sales order, if stock is not available then how the material availability date is determined.
    What are the inputs the system consider for calculating the material availability date.
    Even though I am giving the total replenishment leadtime, Inhouse processing time(Lot size independent), GR processing time and even the planned delivery time, the system proposing the current date as material availability date irrespective of the sales order quantity.
    All responses will be rewarded suitably.
    Thanks and Regards,
    Jejesh.
    Edited by: jejesh yal on Sep 12, 2008 6:33 PM

    Available checking rule in SD.
    It depends on the Availability group you have maintained in material master.
    The checking rule specifies the scope of the availability check for the respective transactions in sales and distribution by specifying precisely which stocks, receipt and issue elements should be taken into account during the availability check.
    Every checking rule is allocated to a checking group: together these two elements determine the final inspection requirements. In addition, the checking rule includes a specification whether or not an availability check should take into account the replenishment lead time ( i.e. Total time for the in-house production or for the external procurement of a product. In in-house production the replenishment lead time is determined to cover all BOM levels.)
    Items for which the delivery date falls within the replenishment lead time, but for which there is no inventory, are confirmed for delivery after the replenishment lead time. In the case of items for which the delivery date falls after the end of the replenishment lead time, the system assumes that everything can be confirmed.
    If you want the system to check the replenishment lead time, you should make sure that you have entered a value in at least one of the following three fields in the material master:
    GR (goods receipt) processing time (Purchasing view)
    Planned delivery time (MRP I view)
    GR processing time (MRP II view)
    Otherwise, the system confirms every requirement.
    Ava checking group what you have maintained in material master and the checking rule  for SD (in std system is A)
    --combination of above will decide how the ava check to be carried out and decide the delivery date. This sitting is available in SPRO in OVZ9.
    If you carry out the availability check using the replenishment lead time, you should plan ahead in regular intervals (on a daily basis for individual and daily requirements, on a weekly basis for weekly requirements) to prevent a shortage and therefore a possible delivery block. This shortage could occur if the delivery date of a sales order, which was confirmed the previous day for the replenishment lead time, is already within the replenishment period on the current day and therefore results in a shortage.
    Hence,
    1. Check the configurations for the checking groups which are contained in the standard SAP R/3 System.
    2. Make sure that the checking group is maintained in the material master records. Depending on the plant, you can specify a checking group for each material type
    3. Select the individual stock elements as well as the receipts and issues which should be taken into account during the availability check.
    4. Select the field for replenishment lead time if you do NOT want to take the replenishment lead time into account.
    Depending on above setting delivery date will e determined or delivery block in case no qty available can be designed.

  • PR delivery date calculation for TAB orders

    Hi All,
    1) The PR which is created via TAB item in the sales order - the delivery date for such PRs is equal to the delivery date in the sales order. This is happening only for TAB orders without BOM explosion in the sales order.
    2)In BOM exploded sales order - (meaning the parent item is entered in the sales order with item category TAP. ) -The sub components of this parent item is auto populate in the sales order. If any one of these sub components have item category TAB...then it creates a PR which has the delivery date equal to the "Planned delivery time" in the info record.
    Can anybody please explain why the PR default delivery date is different in the two cases explained above. Both are TAB items...the only difference is one is a stand alone TAB item and the other is via BOM explosion.
    Your help will be highly appreciated.
    Thanks
    Ashok

    Hi Sasy
    Delivery date calculation for MRP generated PR will follow the below settings
    1) Purchasing processing time in the Plant parameters in the customization and is calculated based on the Factory calendar days.
    2) Planned delivery time maintained in PIR and is calculated based on Normal calendar days
    3)GR Processing time Maintained in Material master record, calculated based on Factory calender.
    If you add up in the following sequence then you will get the exact delivery date.
    Purchasing Processing time + Plnd delivery time + GR processing time.
    Hope it will solve your  issue.
    Thanks / Karthik

  • Req. delivery date and plan order finish date relationship

    Dear Experts,
    I have a question on setting the req. delivery date and plan order finish date relationship. Now, I want the plan order finish date is one day before the req. delivery date, is it possible to set it in configuration? Please advised! Many thanks!
    Regards,
    Matt Yim

    Matt,
    Please use a schedule margin key(SMK) in the material master MPR2 view which has float after production defined as 1day.
    If there are no SMK with that defination then you can define you own in customisation and assign the same in the material master. (SPRO--->Production ->MRP->Planning ->Scheduling and Capacity Parameters->Define Floats).
    Regards,
    Prasobh

  • Req. delivery date is taking other date than system date in va01

    DEAR SAP GURUS ,
    I am facing one porblem . when i am creating a sales order then in sales tab ( the very first tab ) in req. delivery date field it is picking other date than current system date . for example today (10.04.2009)
    i am creating a sales order then it is showing 14 .04.2009 . but i want it should show today's date .
    what is the problem and how can i resolve it in spro . i don't wish to do it by user exit or badi .
    plz help me out to solve it through customization .
    THANKS ,
    AMIT RANJAN

    Hi,
    Check these links..
    the Requested delivery date is determined based on the lead time specified in the definition fo the sales document type in VOV8.
    https://forums.sdn.sap.com/click.jspa?searchID=24726102&messageID=4378484
    Requested delivery date not the Current Date?
    Sales Order - Requested Delivey Date
    Regards,
    Omkaram.

  • Partial delivery per item in sales order and ATP - schedule lines

    Hi,
    I've problem regarding ATP- schedule lines and partial delivery flag.
    In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
    Please look at next example.
    Customer requires:
    10 PCS of materail A on date X. Only 5 PCS are available on date X.
    10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
    So if we create outbound delivery on date X it will contain only 5 PCS of material  A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
    Problem is with material B.
    The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
    That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
    Do you know how to fix this problem?

    Hi,
    I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
    Example in same sales order we have:
    Schedule line for item A:
    DATE X confirmed quantity 10
    Schedule line for an item B.
    DATE X confirmed quanitity 0 (zeroe)
    DATE Y confirmed quantity 10.
    I would like to create outbond delivery on date X with:
    item A quantity 10
    item B quantity 0.
    And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
    Do you know how to do that?
    Regards

  • Third Party process - billing date change in Sales order / Customer Invoice

    Dear Friends,
    In Third Party Sales Process , as we are aware  billing is order related billing and it will become due only after vendor invoice is received.
                   My situation is in the original sales order billing date is eg: 01.02.2009 . The subsequent vendor invoice ( Invoice receipt done based on PR --> and PO)  has a later date eg: 05.02.2009 .
    This means that the customer biling can be done only after this date.  
    How the system behaves in this case wrt to the billing date ( 01/02/2009) of the original sales order.
    Regards
    Mahesh
    Edited by: Mahesh sap on Feb 4, 2009 8:55 AM

    Hi all ,
             Thanx all for your responses . But my case is a bit peculiar . Here the vendor invoice is coming by IDoc through EDI . When EDI flow is confirmed, the billing date is pushed ahead. As per billing calendar  in CMR the customer can be invoiced only on the last date of the month. 
    As a result if the original billing date in the sales order is Feb end, when vendor invoice received through EDI , the billing date is shifting to march end .
    Is it because the date of vendor invoice is causing this?  Obviously the customer billing date falls only after vendor invoice date.
    Regards
    Mahesh

  • No Schedule Lines due erro however Selection date exist in Sales  Order

    Hello Experts,
    I'm in process of creating a Delivery document for my sales order. I've provided Delivery date under "Schedule Lines" tab.
    Now when i enter the same date in VL01N, selection screen in Requested Delivery date field along with Shipping Point and Sales Order No SAP still says
    No schedule lines due for delivery up to the selected date
    Message no. VL248
    Anybody will know why?
    Many thanks in advance.

    Hi,
    Display your sales order. select the line item. Click on 'Schedule lines for item' button given below the item lines. It will show you the schedule line for the item. So, create delivery document for the delivery date given in the schedule line. Your delivery document will be created.
    The error doesn't mean that the plant have no stock to deliver. Even the plant have enough stock, the delivery will be done as per the schedule.
    Regards,
    K Bharathi

Maybe you are looking for