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.

Similar Messages

  • Extracting material classification data for given sales order

    Hi Experts,
    Requirement is I Need to display a report with material and its characteristics values for given sales order. Please let me know if there is any FM/standard tables involved to display the below fields.
    Sales order number, Sales order line item number , Material number , Characteristic Name(ATNAM),Characteristic description(ATBEZ),Characteristic Value(ATWRT),Characteristic value description(ATWTB).
    Thanks & Regards,
    Pavee.
    Moderator message: "spec dumping", please work yourself first on your requirement.
    Edited by: Thomas Zloch on Oct 14, 2011 1:30 PM

    Hi Keshav,
    Thanks for spending your precious time in replying to my thread.
    I did a search before posting, I got an FM which is we cannot use due to performance issue.
    Thanks for letting me know that sales order  has material and material has characteristics,
    But For each characteristics that material has we will have several values, you will be selecting whichever is appropriate based on the requirement.
    If you know the answer pleases post. I have enough patience to wait for answers from other experts.
    Thanks
    Pavee.

  • BAPI/Function module TO block material which is mentioned in sales order

    Hi All
    Is there any BAPI to block material which is mationed in sales order....
    I am using BAPI_MATERIAL_AVAILABILITY to check material availibility
    how to block quantity if it is available whicl creating sales order via
    "BAPI_SALESORDER_CREATEFROMDATA2"
    ..Thanks

    The normal SAP ATP done in the sales orders use the figure ''committed qty'' meaning that if the ATP has been done and confirmed, that quantity will not appear in the next sales order as available.
    So if You're using the normal BAPI to create the sales order, the normal ATP function will be called in the processing.
    Nevertheless another solution to this issue is to have the MTO (Make-to-order) solution where the requirements are ''attached'' to one sales order/line only.....like this the problem of the stock being taken to another customer disappears.
    To do this you'll have to configure the following :
    - Go to SPRO and go to Sales and distribution -> Basic functions -> Availability check and transfer of requirements -> Determination of requirements using transaction - Here insert the entry with your sales order type - MRP type (from material master - you might want to consider create one only for this solution) and you should use one of the following:
      - KEL      Make-to-order, mat. variants
      - KELV     Make-to-ord.variant + consump
      - KP       Make-to-order with project 
    and choose the origin of your requirement - 1 - Item category + MRP Type
    - Than configure the association of the requirement type above to the requirement class (normally is the same code) transaction *OVZH*
    - Than configure the requirement class (this is what will tell the system the MTO) transaction *OVZG* - On the screen in the field Special stock - E - Sales order stock and please ask for help from an FI consultant because the area of *Account assignment is very important to be well configured*
    About the BAPI you're using - Its correct - That's the normal BAPI to be used, taking only into consideration the product allocation issue - MARA-KOSCH
    Explaining a little the BAPI you're using :
    The program should check if the selected material is allocated or non-allocated.
    This information is stored in a field MARA-KOSCH.
    We should check this field and if the field is not empty then material is allocated, otherwise is not:
           select kosch into l_kosch
            from mara
           where matnr = <VBAP-MATNR>. " Selected material
            if subrc = 0.
               if l_kosch is initial.
                  +" Perform calculation for non-allocated materials+
               else.
                  +" Perform calculation for allocated materials+
              endif.
           else.
         " Material not found, skip it ...
          endif.
    For allocated materials it will be checked allocation for the netting market of that Order.
    The calculation rules for allocated and non-allocated materials are different.
    For Non-allocated materials
    BAPI 'BAPI_MATERIAL_AVAILABILITY' should be used for getting the ATP quantity.
    Bapi should be called as follows --
    data: lfl_bapiwmdvs type bapiwmdvs,
    lit_bapiwmdvs type standard table of bapiwmdvs,
    lfl_bapiwmdve type bapiwmdve,
    lit_bapiwmdve type standard table of bapiwmdve,
    l_dialogflag type bapicm61v-diafl.
    call function 'BAPI_MATERIAL_AVAILABILITY'
    exporting
    plant = <VBAP-WERKS>
    material = <VBAP-MATNR>
    unit = <VBAP- VRKME>
    check_rule = 'A'
    +* STGE_LOC =+
    +* BATCH =+
    +* CUSTOMER =+
    importing
    +* ENDLEADTME =+
    +* av_qty_plt =+
    DIALOGFLAG = l_dialog
    +* RETURN =+
    tables
    wmdvsx = lit_bapiwmdvs
    wmdvex = lit_bapiwmdve.
    Please note that table lit_bapiwmdvs is the input table and to this following input should be passed -
    lfl_bapiwmdvs-req_date = sy-datum. "Current date
    lfl_bapiwmdvs- REQ_QTY = <Unconfirmed Quantity> in Sales Order Unit
    append lfl_bapiwmdvs to lit_bapiwmdvs.
    The return value l_dailog will be --
    ' ' --- Quantity can be Delivered -- Item to be displayed in the Report!
    'X' --- Complete quantity cannot be delivered -- ATP failed, Item not to be displayed.
    'N' --- Material not relevant for ATP --- Item not to be displayed in the Report.
    For Allocated materials
    For the allocated Materials, we have to first do the ATP check in same fashion as for Non-allocated Materials and then in addition to this ATP check, we have to also check for Allocation from SIS table S941.
    If ATP check fails, straight away the Item should be ignored from Output display.
    If ATP check passes, we further check allocation as follows --
    Valid entry should select from S941 as -
    data: l_period like s941-spbup,
    l_BUPER LIKE T009B-POPER,
    l_GJAHR LIKE T009B-BDATJ,
    lfl_s941 type t_s941.
    data: l_bukrs type tvko-bukrs,
    l_periv type t001-periv.
    * Select company code
    select single bukrs into l_bukrs
    from tvko
    where vkorg = <VBAK-VKORG>.
    * Select fiscal year variant
    select single periv into l_periv
    from t001
    where bukrs = l_bukrs.
    * Get Period
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    EXPORTING
    I_DATE = sy-datum
    I_PERIV = l_periv
    IMPORTING
    E_BUPER = l_buper
    E_GJAHR = l_gjahr
    EXCEPTIONS
    INPUT_FALSE = 1
    T009_NOTFOUND = 2
    T009B_NOTFOUND = 3
    OTHERS = 4
    IF SY-SUBRC <> 0.
    * Ignore entry and skip further processing
    ENDIF.
    concatenate l_gjahr l_buper+1(2) into l_period.
    select single kcqty aemenge from s941
    into corresponding fields of lfl_s941
    where SPBUP = l_period
    and KONOB = 'OBJ_ALL_MATERIALS'
    AND MATNR = <VBAP-MATNR>
    and zzcnetmark = <VBAK-ZZCNETMARK>
    and VRSIO EQ '000'.
    IF SY-SUBRC <> 0.
    *Ignore entry and skip further processing
    ENDIF.
    Remaining Allocation = difference between product allocation quantity and incoming order quantity
    i.e. (S941-KCQTY - S941-AEMENGE). Now we have to compare this qty with the Unconfirmed qty.
    Ensure same Material UOM for quantity comparison as follows --
    IF <VBAP-VRKME> NE <S941-BASME>.
    CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
    EXPORTING
    i_matnr = <VBAP-MATNR>
    i_in_me = <VBAP-VRKME>
    i_out_me = <S941-BASME>
    i_menge = <Unconfirmed qty in Sales UOM>
    IMPORTING
    e_menge = l_menge
    EXCEPTIONS
    error_in_application = 1
    error = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    * Ignore entry and skip further processing
    ENDIF.
    ELSE.
    *If both Units are same no need for conversion
    l_menge = <Unconfirmed qty in Sales UOM>
    ENDIF.
    Then, compare if Remaining Allocation > = l_menge i.e. Unconfirmed quantity converted to S941-BASME unit, then there is enough allocation for this Material for the Unconfirmed quantity and should be displayed in the report.
    Else, the Item should be ignored.

  • Batch determination in sales orders

    Hi,
    I have 2 questions related to batch handling in sales:
    1. Can anyone list the pros and cons of having batch determination done in the sales order instead of at the time of delivery creation? Please describe in detail and do not just copy and paste the SAP standard explanations. Experiences are very welcome.
    2. If I do batch determination in sales order, how do I make sure that the specific batch is there for delivery? In the ATP there is no such filed to include or exclude batches for a material, so I wonder - how is the batch reserved when entering it in the sales order? Please describe the reservation mechanisms if any.
    Thanks in advance,
    Lars

    Lars Tornblom,
    1.  Can anyone list the pros and cons of having batch determination done in the sales order instead of at the time of delivery creation?
    We Can proceed with Batch Determination at sales order there is nothing wrong in it. The Batch that you determine at the order level remains the same in delivery. The batch gets copied in the delivery level.
    1. You cannot change the Batches at Delivery level.
    2. Batch Split is not possible at Order level. (Since BAtch split CHSP is available only at Delivery level)
    2. If I do batch determination in sales order, how do I make sure that the specific batch is there for delivery?
    Based on Copy controls the Batches that you have mentined at order level gets copies to Delivery. you cannot chenge the batch.
    That is the reason why we proceed with Batch management at Delivery process, wherein we can choose the Batch Manually OR Go for Automatic Batch.
    You can also perform Batch Split, Choose the Materials from the batch. that's having stock.
    3. In the ATP there is no such filed to include or exclude batches for a material, so I wonder - how is the batch reserved when entering it in the sales order? Please describe the reservation mechanisms if any
    We activate the Batch Management Indicator in The Material master - Sales: General data View. and proceed with Batch configuration in Logistics General. The Batch concept is managed by three modules MM,SD and PP. So its an integration point.
    In the case you have suggested that Batch will be carried from Sales order, now the stocks are created in batches and stored in storage location. so the batch should exists before you raise an order then only you can confirm.
    If no Batches are aintained and you are trying to enter batch in sales order it will throw an error stating "No Batches Maintained".
    If Batches are there for the material then it will be assigned. If batches are not existing then it will throw an error as explained above.
    Regards
    Sathya
    Edited by: Sathya Pavan Yedavalli venkata on Apr 27, 2009 8:42 AM

  • Material Availabilty Date.

    What way we can allow the system to update the Material availabilty date to be entered less than the server date. In order to push my Legacy orders in the system, I need the system to allow the Material Availabilty date field to be allowed to have the date in the past.
    In standard Sap ecc6 its not allowing to do so.

    This is in case of sales Order where under Shipping there are 5 dates, out of which there is 1 called as Material avail.date, in which the system do not allow to enter any date less than Server date. How can we allow the SAP system to do so.
    The answer is no way related to my question.

  • Storage location determination at Sales Order

    Dear All,
    Could we storage location determine at sales order level ?
    As per my requirement. Stock is available a particular plant example below
    Plant
    Storage Loc
    Stock Available
    Batch
    1305
    1300
    10
    1000190
    1305
    1300
    10
    1000890
    Got order from customer is 15 Quantities and the sale order is confirmed because stock is available but at the time of delivery storage location is determined on the particular material so batch is picked automatically on base quantity other other is showing open. So could u plz give me solution for storage location determination on sales order level.
    Thank You!
    Chakradhara

    Being an old member of the forum,  I dont want to highlight the importance of adhering to forum rules.  This topic has been discussed many times here and if you search in SCN or Google it, you would accept this has been discussed many times.  Please adhere to forum rules and avoid posting such repeated queries.
    G. Lakshmipathi

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

  • 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

  • Partner determination functions are not determine in sales order

    Dear Sap Gurus,
    I have made a new partner function (P2) and have been configure it in partner determination procedure, although i hv made new customer master for the same account group. All th partner function are showing in the customer master data but these are not determine in sales order, one error is coming...this partner procedure is not defined.......kindly give me advide how to resolve this problem.
    Regards
    Parul Deshwal

    Hi
    Have you assigned the Partner determination procedure to your sales document type?
    Also have you assigned the Partner function to your Partner determination procedure.
    Also do the same to the sales order item partner determination
    regards
    Prashanth

  • Condition type not determine in sales order

    I have condition record maintained for the condition type as per the order reason. When I create the sales order system is not reading the condition record so no condition type is getting determined. Pricing date from the sales order is within the validity period of condition record.Parmeters are also matching but still in the sales order condition type is not getting determine.
    Thanx
    PNU

    In that case, do update of pricing.
    To do that, Sales Order - Item data - Condition Tab - Click Update button and choose option B - Carry out new pricing.
    To know who manually remove this.
    Choose Enviroment from menu bar in sales order - choose Change for display of change in the doc.
    Regards
    JP

  • Pricing procedure determination in sales order

    Hi Experts,
    In our business scenario, we have three plants and all plants have different pricing procedure. And we are using same sales area and sales document type for all plants.
    Currently one customer is purchasing goods from only one plant. So in our system, pricing procedure determination in sales order based on customer pricing procedure.
    Now as per new requirement, same customer will purchase goods from different plant. And we can’t change or create new sales area and sales document type as per our existing system design.
    So can we change customer pricing procedure at a time of SO creation level? If yes than how?
    Regards,
    Haresh

    Are you a functional or developer?
    Hope are aware that as per SAP standard,  pricing procedure(OVKK) is determined based on
    (1)
    Sales Org
    (2)
    Distribution Channel
    (3)
    Division
    Customer Pricing Procedure
    (5)
    Document Pricing Procedure
    Sales area determined in your sales order or billing doc
    Determines from Sales Data of Customer Master
    Determines from sales(VOV8)/billing(VOFA) doc type
    In addition to that sales order is created for only sales area, which you select based on your customer sales area while creating the sales order.
    Now, keeping above facts in mind, can elaborate your requirement again.
    Thanks, JP

  • Batch Determination at Sales order

    Dear Friends
    The batch determination at Sales order level, the selection criteria
    shows characteristic LOBM_LFDAT, which is Batch determination delivery date
    however this date differs from the actual delivery date from schedule line
    or the requested delivery date.
    As I searched this is not maintained as a characteristic in the Class.
    nor in Batch master record or any strategy.
    How is this coming by default.
    please guide
    Kind Regards Ravi

    Thanks

  • Batch determination at sales order level

    Dear All,
    We are using my sap erp ecc 6.0.We are using the batch determination at sales order level.We had a problem whenever customer requested deliver date is beyond the RLT date then all the old batches which are already assigned and dispatched with some other sales order,that old batches are becoming filled with 999,999,999....(infinity stock).And at the same time it is determining the batch for the sales order line item.
    please help how to stop the old batches filling up with infinity stock.
    regards,
    Hari

    please look into this and throw some light.
    regards,
    Hari

  • Account Determination with Sales Order Stock

    Hi, Guys
    Does anybody know how (and WHY) SAP makes (or doesn't make) account determination of material movements from or to Sales Order Stock???
    I have found that, for example, an Accounting Document is generated when transferring to or from Customer Stock (411E and 413 mvt) and that no Accounting Document is generated when processing GI from Customer Stock (601E mvt) or GR against Production Order (101E to Customer Stock)....
    There are also NO Accounting Documents when inventory differences occur (701E or 702E)...
    It's pretty strange I think....Sure there is some logic  put into the process of managing Sales Order Stock but I don't get it...
    Of course, reward points are guaranteed for helpful answers!

    Automatic Accounet determination is done in MM. In this for some of the movement types there is no need to enter the G/L account every time.
    All are customized in  Automatic Account determination.(AAA)
    Go to SE16 enter the Table name T156 and press F4 you can see the movement types where G/L account are customized in  (AAA)
    you can check the movement types
    G.Ganesh Kumar

  • Additional Data A in Sales order Item....

    Hi,
    Where to Configure fields(Material Group1,Material Group 2) in Additional data A in Sales Order Item level??? so that user can select it from Dropdown list.
    Any impact on Busines Process???
    Regards,
    Amol

    Hi Amol,
    The path for configuring these material groups is:
    SPRO>Logistics-General>Materail master>Settings for key fields>Data relevant to sales and distribution-->Define material groups.
    Here you can define the material groups and for each group you can define the values also. by double clicking on the groups.
    No,It willnot have any impact on the business process at all.
    Regards,
    Krishna.

Maybe you are looking for

  • Photo Booth: blackout?

    I am having a problem with my photo booth. My 3 year old niece got a hold of my laptop and started pressing buttons when we were using photo booth. Now the screen in photo booth is dark and we can barely see ourselves in the picture screen. Any idea

  • Restore area not working......

    GW8 with latest SP/HPs OES11 - nss volume Moved the PO to new server and have it working, mostly. Users lost a bunch mail 1 month and older. And all attachments are lost. Yes all the files were copied with agents down. Source server was OES2. Have cr

  • Serial numbers Adobe cs5 (mac)

    none of my serials numbers i was using works any more for Adobe creative suite 5 master collection.. need new numbers asap or im in trouble... can anyone help??? thanks

  • Reveal in Bridge from Mac Finder

    Hello all you Creative Suite users! I want to right-click a folder in the Mac Finder (OS 10.5 or newer) and be able to choose Reveal in Bridge. This is the reverse of right-clicking a folder within Bridge and choosing Reveal in Finder. In Windows 7,

  • Working on Mac, not PC

    We have created some .swf files that are being served by a PHP script that we wrote. All works correctly on a Mac, but on a PC (in both IE and FireFox), the link does not work. The links are not embedded into the .swf files because they are attached