Delivery creation/change triggers heuristic run

Hi all
We use planning procedure '3' "Cover Dependent Requirements Immediately" for finished goods in our distribuition centers. In the event: "Create or Change a Sales Order", we have the action: "Start Product Heuristic Immediately" which leads to my two questions:
1. When a sales order delivery is created/changed, heuristic is also triggered. Is there anyway to avoid this for deliveries (should still work for sales orders)?
2. When heuristic is triggered due to sales order creation/changes, new stock transport requisitions created by heuristics are automatically ATP checked and confirmed in the supplying plant. When heuristic is triggered due to sales order delivery creation/change, new stock transport requisitions are not ATP checked... How come?
Thank you in advance for your help.
Best regards,
Dan

Hi Dan,
If you are using MTS scenario, then Sales Order is business event "A" while Delivery is business event "B". In case of MTO, these will be AE and BE. For check instruction of your Check mode and Business event for delivery (B or BE), remove production. Use option "Availability check only, No Production" in Check Instruction.
This will solve your first problem.
Again, for solving 2nd issue, check Product Availability Check for ATP group and business event for Delivery. Check Control and Scope of check decide which receipts and requirements should be considered.
Both these settings are in GATP customizing.
Regards,
Bipin

Similar Messages

  • Function modules for delivery creation, change, deletion.

    hi all,
    anyone know and worked on function module to create/change/delete deliveries with reference to sales order/without reference of sales order.
    if any one knows about the function modules please let me know.

    BAPI_DELIVERYPROCESSING_EXEC will allow you to create an outbound delivery, but this is <b><u>not released</u></b> for customer use yet(Rel.47). Type that function module in the forum search area and you will get some sample code.

  • Issue with Message Type Triggering during Inbound Delivery Creation

    Hi Experts,
    Hi Experts, 
    Currently we are facing issue with message type triggering during inbound delivery creation:
    In NACE transaction for Inbound delivery we have 3 custom output types:
    Pricing Procedure Used is standard one -> E10001
    Z140  Inbound Delivery Create  (This should get triggered when IB delivery is created)
    Z141  Inbound Delivery Change (This should get triggered when IB Delivery is changed)
    Z142  Inbound Delivery Delete(This should get triggered when IB Delivery is deleted).
    At present if i check delivery in  VL33 -> Extras -> Delivery Output
    Both  Z140 and Z141 are being triggered during IB delivery creation. While it should be only Z140.
    Could you please suggest that are we missing any configuration in SPRO or we need to create any custom routine (requirement) to handle this?
    Thanks

    Hi,
    There is no fine-tuned control for inbound delivery messages as for Purchase order. Hence I guess to meet your above requirement, you have to go for a custom solution similar to the PO fine tune control settings.
    Thanks,

  • How to populate VENDOR in Delivery ADDRESS tab durinG PO creation/Change

    Hi Expert,
                     which structure is used to populate VENDOR in Delivery Address TAB in PO creation /Change  using BAPI (BAPI_PO_CREATE1/BAPI_PO_CHANGE).
      VENDOR SCREEN FIELD NAME IS CMMDA-EMLIF. Actually  this field is available in EKPO and I have been asked to modify this filed only corresponding to PO. But direct modification of EKPO is not good practice . what I'm trying is, using BAPI_PO_Change to make this change. can we do this at time of PO creation using BAPI_PO_Create1?
    Thanks in advance

    Hi,
    You can use the above BAPI's and fill the structure -POITEM  with the field : SUPP_VENDOR{Vendor to be supplied/who is to receive delivery}
    Simultaneously you need to update the field SUPP_VENDOR  to X of the BAPI structure POITEMX
    Hope this helps
    Regards
    Shiva

  • New planned goods issue date during delivery creation due to changed route

    Hello All,
    I have defined 2 routes with different values for transit time and transporation lead times. I have configured routes such that in order creation - route A is determined and while delivery creation due to weight group - delivery B is determined.
    Now for Route A i have maintained transit time of 3 days and Transportation lead time of 4 days and for Route B it is 1 day each.
    Delivery scheduling is active for the order type.
    Now when i create the order with a delivery date of say 05/24/2010 then (route A with transit time of 3 days) is determined and the planned goods issue date of 05/21/2010 is in the order.
    Now while creating delivery (Route B which has transit time 1 day) is determined due to the weight group. But the planned goods issue date is still the same 05/21/2010 as in order.
    I am assuming that since the route B has a route of 1 day so the planned goods issue date should be re-determined to 05/23/2010? IS there no scheduling done during delivery creation even though route and subsequently transit time has changed?
    Please let me know the answer to this...
    Thanks
    Shobhit

    Hi ,
    You can use TA - MASS . Enter object type - BUS2032(for sales orders) on initial screen and select sales item data.
    Next screen enter selection fields like sales order no and items. After giving order no and item range , execute and enter all new values for any item data fields. After pressing button "carry out mass change", don't forget to press save button.

  • Reuirement at the time of delivery creation or change

    Dear All,
    Please guide me or give me your inputs to full fill the requirement that i have,
    At the time of creation of delivery or changing a existing delivery i need to raise a pop up window listing all the materials in the delivery and next to the material a Input field needs to be there where the user can enter the certificate number for all the materials. This certificate number i need to store it in a Z field which i create in VBAP table. If the user does not enter the certificate number and try to PGI the delivery it must block the delivery for PGI. Incase if the user enters all the certificate number for the materials then it must allow to PGI the delivery.
    Please give me your inputs regarding this requirement. All your inputs will be valuable for me.
    Thanks & Regards,
    Sat

    Hello
    You have misinterpreted the warning message, this is not an error and there is no configuration that you have missed.
    In the STO process the material is subjected to avaialbility check,
    So i,e the reason the sytem has determined that the material is not availanle on the desired date.
    Thats the reason for the warning.
    Sufficient stock is not avialble on the Supplying plant for the STO, either you can change your deliovery date or the order qty to meet the availability
    Regards
    Mahesh Naik.

  • Error is thrown ONLY when the job is run doe delivery creation

    Dear SDNres,
    I am facing a tricky issue.
    I have a job that creates Sales order , Delivery, Billing.
    When the sales order contains line items <=8 then the job runs fine and creates delivery successfully
    When the sales order contains line items more than 8, then the job fails on delivery creation and the BDC captures error "customised error''
    Doubt:
    steps in manual creation:
    1)I create a Sales order with line items > 8
    2)then i create delivery manually .
    After the above 2 steps i dont get the error at all in case of manual creation
    But the same steps when the job does for a Sales order with line items >8 then the error comes and job fails.
    Kindly suggest me as to where i need to look for the error.
    Regards,
    SuryaD.

    Thanks for your response Dave.
    Yes i am doing a BDC Call Transaction.
    there is no BAPI.
    Trickier part is when i execute the job through debugging then i do not get the error.
    What could be the reason for this error.
    Is it some error in teh coding?
    regards,
    SuryaD.

  • Delivery creation during transfer postings and posting changes

    Dear Experts,
    Whenever i am posting a transfer posting with movement type 412 'Q' in a HUM managed storage location it is creating a outbound delivery. Basically this is a posting change and the system should not create a delivery. I want to prevent the creation of a delivery in this case.
    What are  the settings that creates a delivery whenever a transfer posting is performed without reference to a STO or a PO. Any posting happening with MB1B or MB11 that results in a delivery. PLease let me know the exact settings to look out for.
    Thanks in advance for your feedback.
    Raj

    SPRO>LOGISTICS GENERAL>>HANDLING UNIT MANAGMENT> BASICS>MATERIAL MANAGEMENT>INVENTORY MANAGEMENT>SET QMCHECK AND DELIVERY TYPE FOR EACH MOVEMENT TYPE
    THIS IS THE NODE WHICH IS RESPPOSIBLE FOR THE SETTINGS OF DELIVERY CREATION
    ALONG WITH THE ABOVE NODE THE NODE FOR HU REQUIREMENT FOR STORAGE LOCATION AND DEFAULT VALUE FOR DELIVERY IS RESPONSIBLE FOR THE OUTBOUND DELIVERY CREATED IN YOUR CASE
    Edited by: Sap: IN on Aug 17, 2011 7:00 AM

  • User exit to change partner for inbound delivery creation

    Hello,
    I have a requirement to change the partner number for
    the inbound delivery creation.
    I only see the USEREXIT_MOVE_FIELD_TO_LIKP but I am not sure if this is
    the right user exit for this requirement.
    Is there the user exit for modifying partner in the inbound delivery?
    Thanks in advance,

    HI
    There is a program with which you can find the available exits as per your requirement. You have to execute the same and give your transaction code. Hope this helps...
    *& Report  ZFINDUSEREXIT
    report  zfinduserexit.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    move : tadir-devclass to v_devclass.
    if sy-subrc ne 0.
    select single * from trdir where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir where pname = tstc-pgmna.
    select single * from enlfdir where funcname =
    tfdir-funcname.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object = 'SMOD'
    and devclass = v_devclass.
    select single * from tstct where sprsl eq sy-langu and
    tcode eq p_tcode.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(95) sy-uline.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Exit Name',
    21 sy-vline ,
    22 'Description',
    95 sy-vline.
    write:/(95) sy-uline.
    loop at jtab.
    select single * from modsapt
    where sprsl = sy-langu and
    name = jtab-obj_name.
    format color col_normal intensified off.
    write:/1 sy-vline,
    2 jtab-obj_name hotspot on,
    21 sy-vline ,
    22 modsapt-modtext,
    95 sy-vline.
    endloop.
    write:/(95) sy-uline.
    describe table jtab.
    skip.
    format color col_total intensified on.
    write:/ 'No of Exits:' , sy-tfill.
    else.
    format color col_negative intensified on.
    write:/(95) 'No User Exit exists'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
    get cursor field field1.
    check field1(4) eq 'JTAB'.
    set parameter id 'MON' field sy-lisel+1(10).
    <b>Do reward if useful...</b>
    Regards
    Dinesh

  • Delivery creation select variants must be checked

    Hi Gurus,
    in selection variants for delivery creation by batch were wrong on 2 points :
    date selection was too large (till D30 instead of D5)
    shipping point was incorrect.
    Please help me

    Goto T.Code SE38 and give the program name. You will find 4 options below and choose the variant and click the Change Button.
    You will be in the next screen, here you will have the option to change the variant, now click the change button and change the Shipping point.
    Once done save and back to the previous screen. Now press the Attributes button, this will take you to the screen where they have defined the Selection variable. You will find a Selection variable button on top of your screen, press that and this will take you to the next screen here you will find that the date has been maintained as D30, change this to D5 and save the variant.
    Lo! you are done. verify the date one more time before you run the job and that's it.
    Regards,
    Mani.

  • FIFO break during delivery creation against STO

    Hi,
    I am running a batch job which is responsible for delivery creation against STO.
    There are 3 STOs I have in system - STO1 from receiving plant - RP1 & STO2 & STO3 from receiving plant RP2.
    In all 3 STO, I have same issuing plant(IP1).
    I expect, when the delivery creation batch job gets triggered, it should create delivery against STO1, later to STO2 & STO3.
    Important parameters as per configuration is set to as below -
    Logistics execution -> Shipping -> Worklists -
    The batch job has shipping due list with
    option "1 Ship-to party and source document" and package type as 1 "All items for  document type and ship to party"
    Any body has any clue, how we can address this?
    Regards,
    Dipak

    Hi,
    Thank you for your reply.
    Below is my MD04 screen -
    The situation is, once GR is done in above plant, stock gets reflected in this issueing plant.
    Next activity is delivery creation batch job triggers.
    System should create delivery for the STO PO for receiving plant SP1.
    Rather than that system creates outbound delivery for receiving plant SP2 & SP3.
    Which I feel is FIFO break.
    My shipping due list has below parameter -
    Delivery creation profile -
    So any idea what causes this FIFO break.
    Also not sure what is this "planned delivery creation dates" you referred earlier.
    Regards,
    Dipak

  • STO Auto delivery Creation - Batch Job

    Hi Friends,
    I am facing issue related to auto delivery creation through batch Job for STO.
    I created a variant for auto Creation of delivery for batch Job using T code VL10BATCH, using the parrameter Shipping Point and Deliv. Creation date. The Batch Job is running fine, but my Client wants the delivery shoud be created from Delivery Date instead  of Deliv. Creation date.
        I tried to change the varriant , but could not find the delivery date as a parmeter to be selected.
    Is there any possible way to use delivery date for creation of Auto delivery instead of Deliv. Creation date.
    If not please tell why only deliv. creation date is given in varriant creation ,
    Regards,
    Kunal

    Hi,
    GO to VL04 there u just fill required fields and then go to menu bar program - execute in back ground then it will show u output parameters popup screen then enter. There u just give start data and time and then clikc on periodic values button there u select daily. Finally save. This will be run in back ground every day on specified time..
    Regards
    Sankar

  • Problem related to Outbound Delivery creation via Background Job

    Hi ,
    We are using the program RVV50R10C for creating OBD incase of STO .
    Z variant is created to take care of selection parameters which inlcudes Shipping Point , Delivery creation date , Calc Rule, Delivery priority and shipping conditions.
    The job is scheduled to run for every 10 minutes .
    As planned the job is running for every 10 minutes but the OBD are created after 1 hour .
    What are possible causes of this error.?
    Please note that there exists enough stock.
    Regards
    Ramesh Ch

    I think you will have the same problem when doing it manually with VL10B.
    The creation is based on entries in an index. there is a userexit where you can influence how and when an entry goes into the index.  E.g. you can speed up the overall performance if you do not update the index all the time, instead you are doing this with a background job from time to time.
    Check if this is the case in your system.
    this note may give you some hints:
    Note 356061 - Incorrect index compilation caused by own checks

  • Delivery date changed 4 times-called to ask what is going on and then best buy cancelled order

    I ordered a 55 inch aquos  with free ROKU stick for $599.00 on Sept. 22   (removed per forum guidlelines) and got a confirmed delivery of Sept. 26.  Unfortunately, I received a call in the morning of the Sept. 26 and was told that delivery was pushed to Tues, Sept. 30.
    On Monday, Sept. 29, I received an automated call informing me that the Tv will be delivered on Sept. 30 between 3:30 and 5:30. and I also received an email with the same information. Thirty minutes later I received another email stating that the delivery is again being pushed to Oct. 13. so I called customer service. I was told he can change the delivery date to Oct. 3 but call in the morning to confirm availability with warehouse.I called customer service on Sept. 30 to confirm availability and was assured that the Tv will be delivered on Oct. 3.
    On Thursday Oct. 2nd, I received another email stating the order will not be delivered until Oct. 16. I remained calm and called customer service and after a very long hold time I was able to speak with a representative and again after a long hold to check what is going on, she informed me that the order is now cancelled since the item is  discontinued. I told the representative that I already lost 3 days of work due to the delivery dates changing and since the TV has to be accepted by somebody 18 years or older I needed to be home. I asked if it is unreasonable to ask for the same exact TV but 1 size bigger since the 60 inch is available and in stock (but without the ROKU stick) but unfortunately I was told it is not possible. I asked to speak with a supervisor but they are all busy but she asked for my phone number so they can call me back in 20 min.. I waited but did not get a back from the supervisor the same day.
    I called again today,  Friday, Oct. 3 and I was assisted by a nice lady who after explaining my situation was sincere with her apology. She told me that she will call me back so she can speak with a supervisor about my situation. I asked her too if it is unreasonable to ask for the same exact TV but next size bigger since the one I was sold is no longer available and I lost 3 days of work due to the 3 changes in delivery dates. She affirmed that it is fair but have no authority to make decissions but will relay the history of the order to her superior so they can make a proper resolution. 
    After about 15 minutes I got a call  back and was told that since the bigger TV is priced at 799.00 they will give me a 50.00 dsicount for the trouble. I declined the offer since I feel that  $50.00 dollars for getting the run around and missing 3 days of work is not proper compensation and is an insult to any customer. I thanked her for trying and informed her that I am aware that it is not her fault and it is management who made this decission. 
    I sincerely feel  that I should have been given the next size TV for the same price of my original purchase and I should have been given a ROKU stick (which I did not ask for) for my unpleasant experience.
    We are  $150.00 apart from getting a resolution but management feels like it is the right thing to do for cases like these. Being a best buy customer for many years, spending many thousand of dollars,  I am  puzzled why best buy would treat any customer the way they treated me. Please explain the policy so I can have a better understanding. The $150.00 difference can easily be recopued from my next purchase. In my opinion, it is not a very smart business practice to lose a customer this way. Again, please explain the policy to me so I can understand better.

    Hello romcarlos1,
    While unforeseen complications can cause unexpected delays, it seems something went wrong at every turn. Misinformation and multiple missed appointments would frustrate me too, and I can only imagine this frustration turned into aggravation with the poor service you describe. After pulling up your account, I noticed that has been two weeks since your TV purchase, and I’m sorry for any inconvenience this may have caused. I appreciate you allowing me the opportunity to explain what should have happened.
    When your delivery day arrives, you should receive a call from us to narrow down the time frame to a 4-hour window.  This is done because our delivery agent’s schedule isn’t fully determined until the day of service as our customer’s needs may change prior to the delivery date. These routes are then best optimized to fit the appointments scheduled for the day. The particular television you wished to purchase is quite popular, however, and due to high demand, it’s currently on backorder in some areas of the country.  This may explain why your delivery date was continuously pushed back unexpectedly, and why we needed to reschedule multiple times.
    While in backordered status, however, an online order may be cancelled if you don’t wish to wait any longer and a different model may be purchase. Upon review of your order, I noticed that it was canceled upon your request. If you have since changed your mind and wish to wait for one to arrive, you may place a new order here. 
    It sounds like you wish to purchase a new TV entirely though, so I understand if you don’t wish to attempt a new order. While I cannot guarantee you a different outcome than the resolution already offered, I’d be glad to look into your case to see what other options may be available. Please know I have sent you a private message to collect further information from you. You may view this by logging into the forum and clicking on the envelope in the upper right-hand corner of the page.
    Respectfully,
    Alex|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Inbound delivery creation using VL31N

    Hi All,
    I could find that the message type DESADV, IDoc type DELVRY01 and process code DELS is used for creation of this.
    Let me know if this is correct. When i checked in my system I could not find process code DELS. Do i need to do some additional settings to get this.
    What is difference between IDOC type DELVRY01 and DELVRY03. Which one should be used.
    Here the ASN received is triggering inbound delivery creation.
    Please let me know on this.
    Regards,
    Shahu

    Hi,
    Where did you check that process code in WE64?
    Check in the correct set(Inbound messages).
    DELVRY03 is the latest one. You should use it only.
    Regards,
    Ravi

Maybe you are looking for