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

Similar Messages

  • Hard Check During Delivery Creation

    Hello Experts,
    Need your advice. I am stuck up in a enhancement issue during delivery creation. i am working for passenger vehicle company.
    Back ground Info.
    the company procures chassis from vendor & builds bus body over it. there are various types of chassis & each is uniquely identified in SAP by Material No. & also mentioned in BOM created for bus. when chassis is received , equipment is created using T-code IE01. After this one more equipment is created for bus which is called BBD Serial No. The equipment for BBD serial no holds chassis serial no. My issue is at the time of creation of delivery using T-code VL01N the user puts the BBD Serial No manually in a dialog box provided, This BBD Serial No is not capturing in the importing structure IT_XLIPS of BADI "LE_SHP_DELIVERY_PROC" Method "Delivery_Final_Check".
    I have to put a check during delivery creation for consumption of Chassis , if the Chassis is consumed during production phase a Mat Doc will be generated with movement Type 261. As such we don't knew the Mat Doc for Chassis Serial no Consumed during prod phase. so to derive chassis no in the BADI against which we have to check for it's consumption. The user provide BBD Serial no in a standard dialog box in VL01N.
    Can we use Field Exit for this or any other BADI Should work.
    Best Regards
    Priyesh Shah

    Hi Priyesh,
    Below steps may help you to get the value of the standard dialog box provided in the screen.
    1. Find the field name of the standard dialog box provided in the the screen for BBD Serial no.
    2. Implement below code in the BAdI "LE_SHP_DELIVERY_PROC" method.
    FIELD-SYMBOLS: <fs> TYPE BBDFIELDTYPE.
    ASSIGN ('(SAPMV50A)BBDFIELDNAME') TO <fs>.
    Now the field symbol <fs> will hold the value passed in the dialog box.
    Please try and let me know if it is working or not.
    Thanks
    Gangadhar

  • Serial Number validation during Delivery Creation itself(PGI-system checks)

    Process:
    Sales Order PR(Purchase Order) GR( New Serial Numbers are created automatically or manually keyed in)
    Once the Goods Receipt is received, we do the (SO) DELIVERYu2014SERIAL NUMBER ASSIGNMENT Post Goods Issue
    Issue:
    Current Serial Number Profile Management does not do a valid serial number check during DELIVERY CREATION where we do a SERIAL NUMBER ASSIGNMENT.
    Only during POST GOODS ISSUE, the check happens for valid serial numbers; this is too late in the game for business as there is a time lag of 3 days from the DELIVERY CREATION and PGI.
    Reason being--- We donu2019t check the following u201C Existing Stock Checku201D( which does a serial number validation during delivery creation as well)
    SPRO>Plant Maintenance and Customer Service>Master Data in Plant Maintenance and Customer Service>Technical Objects>Serial Number Management>Define Serial Number Profiles
    If we check this option, the business requirement to do a valid serial number check does happen during delivery creation, however we cannot create new serial numbers during Purchase Order- GOODS RECEIPT.
    QUESTION:
    Can we have the system check the valid serial numbers from stock during delivery creation and serial number assignment.
    And Also create new serial numbers during Purchase Order- Goods Receipt.

    Hi
    1.In std SAP its not possible to check the serail number during Delivery creation, through enhancement it can be done.
    2.During GR for PO serial numbers can be created.
    Rgds
    Ramesh

  • Automating Goods issue during Delivery creation

    Hi all,
    We have a requirement to automate the Goods issue creation for certain type of orders when the Delivery is getting created. The orders that need to be automatically Goods issued during delivery creation are identified based on certain plants. These plants are linked to certain output type and in the output type routine is the standard program RVADEK01 with one additonal code for automating the Goods Issue creation.
    We have a custom table that holds the status of orders and there is a code in user exit userexit_save_document_prepare which changes the status of the order as closed when the goods issue is done.
    But when the delivery is saved, in this case when an automatic goods issue needs to happen, when the flow reaches this user exit, the output type code dosenot get executed and the Goods issue is not done and so the custom table will not be updated with the closed status. So we are in need to findout a place where we can update the status of the order in that table.
    The output type code is not executed even before the other user exit userexit_save_document. The output type code gets executed and goods issue is done after the this userexit_save_document when the COMMIT statement is executed in the subroutine BELEG_SICHEN_POST in the include FV50XF0B_BELEG_SICHERN.
    I need help in finding out if any user exit or badi is called after this commit statement, so that I can add my code to close the status of the order in my custom table. Just after this commit the Goods issue happens and the VBFA table gets updated with the 'R' records for goods issue.
    Please let me know if anyone has any idea on this. The ultimate goal is to find some place after the goods issue is done to update the status of the order as closed in the custom table we have.
    Thanks,
    Packia

    Dear Siva,
    As informed yesterday I changed the language from DE to EN, to match the other shipping points settings in table V_TVST, this did not bring the solution.
    Please let me summarize, I am really desparate here:
    This is only IM related, Not WM.
    Picking lists are not printed for any Shipping Point from this warehouse, this is just a small subsidiary of my customer in Finland.
    Issue is not Aut. PGI.
    VP01SHP has not been configured for any shipping points, still there we do get the PR except for the new shipping point.
    In the deliveries of correct processed shipping points  I do not find any picking output type.
    Item category in new shipping is equal to Item category in already existing shipping points, so no need to config here.
    There is no picking block active.
    PR creation happens once I enter the pick qty in the delivery in VL02N. This is the part that we need to have automated.
    Can you please try to help me out?
    Tnx & regards,
    Chris

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

  • Budget exceeded error during delivery creation

    Dear All,
    We are facing a problem during delivery creation. Our business scenario is engineered to order and every customer order is created as a Project in PS module. the sales order is linked to the  WBS element. While creating an outbound delivery for the sales order the system gives error message that "Budget exceeded for the WBS." This is for first time such error has occurred during the delivery creation. Logically delivery creation and PGI indicates negative incurrence on the WBS elements so even if the budget is not there or exhausted still then system should allow to create the delivery.
    Please let me know if anybody has face this problem and solved it.
    regards'
    Preetam

    Preetam,
    What you are saying is correct. Delivery creation and PGI indicates negative incurrence on the WBS elements, the system should not check budget of the WBS.
    Just for checking manually, read the details of the error and note the amount. Check budget availability of wbse and compare this amount with available budget.
    Regards,
    Amol Sarode

  • FIFO in delivery creation for STO

    Dear Gurus,
    Please consider the example on the issue we are facing.
    An STO 123456 had created, with 3 line items having same material (XYZ)
    STO : 123456
    Line 1     : XYZ      Quantity :     36      Delivery date : 29.02.2008
    Line 2     : XYZ        Quantity :30     Delivery date : 10.03.2008     
    Line 3     : XYZ     Quantity : 36     Delivery date : 31.03.2008
    and the available stock is 66 then we are creating delivery with reference to
    STO through VL10D (T. Code) system is considering line items 20 and 30 as
    the system should consider line items 10 and 20.
    We want the system should create deliveries for line items basis on the FIFO.
    Kindly help in resolving this issue as this an urgent.
    Many thanks for your cooperation.

    Dear Krishna kumar,
    Thanks alot for your reply.
    My question is, while creating delivery for an STO with same material number, with several items and different delivery dates(eg: 01.03.2008, 05.03.2008, 10.03.2008) then system is picking wrong items( item with delivery dates 05.03.2008, 10.03.2008) for delivery. For clear understanding please go through the problem description once again.
    Please let me know in case you need clarifications.
    I really thank for your quick reply.
    Warm Regards,
    Sridhar

  • Problem in delivery creation against stock transfer PO

    Hi,
    Scenario: -
    We have 5 material and make the PO for stock transfer yesterday. After that we made the delivery against that PO.
    Problem it this....today we need to make the another PO related to last one (all same material number's) but diff. qty.
    We make the PO but when we want to make the delivery against today's PO, delivery make only for 2 material's, not for all 5 material's.
    what should be the problem here???
    plz guide.....

    Thanks for reply dear...
    1. check against the the line items that delivery completed indicator has been ticked or not in the STO
    There is no TICK on delivery completed indicator (not on any single line item).
    2. check the delivery date against the line items in the STO
    Delivery date is 26.04.2010 in 2 line items and 26.03.2010 in balance line items (whom delivery not made)
    3. check the purchase order history tab for the line items in the STO
    PO History tab is in only 2 line items, which made delivery earlier but in 3 line items, no delivery tab exist.
    4.remove all the dates and calc rule in the t code VL10 d & VL10 b while creatin g delivery
    check after confirm above point by you.
    Plz guide..

  • Excess Delivery qty against STO qty -reg

    Dear Gurus
    In Stock Transport Order having material 100 Quantity.We are using this scenario between Mfg.Plant to branch.STO raised at branch against Mfg.plant. In mfg plant , they are making delivery , Invoices - excess qty (ie.more than 100) against sto qty.
    We have tried following user exit to control this situation. But system doesn't allow Error Messages.
             include mv50afzz.
             include mv50afz1.
             include mv50afz2.
             include mv50afz3.          "Userexit neu zu Release 3.0A
             include mv50afzk.          "Userexit 4.6A (KOMKG/KOMPG)
             include mv50afzl.          "Userexit 4.6A Liefergruppen
                                                                   "n_693000
             include mv50afzp.          "Userexit for pricing screen input
    Is it possible to control through Error Message.
    Thanks and regards.
    R.Udayakumar

    Dear Udayakumar
    Try this.
    Go to TCode 0vlp - (zeroVLP),  select your item category and execute.  There maintain B  for the field "Check overdelivery"  and save.
    Now try your process.
    thanks
    G. Lakshmipathi

  • Sales Order Update during Delivery Creation

    Hi,
      I have a requirement to update one of the customer specific sales order header table field during the creation of delivery.I'm trying to do this through the delivery user exit USEREXIT_SAVE_DOCUMENT program MV50AFZ1.
    I have a structure CVBAK available, but if i update customer specific the field in the CVBAK it's not changing the sales order.I won't be able to use BAPI or BDC to update SO from the exit, because during this delivery process the current sales order is being used, so system doesn't allow me to acces the sales order.
    Please give me the solution for my problem.
    Thanks

    Hi
    Probably the table VBAK is not updated by delivery transaction, so u can try to update that field (if it's custom field) by yourself.
    U can create a you function module for updating and call it in USEREXIT_SAVE_DOCUMENT:
    FORM USEREXIT_SAVE_DOCUMENT.
    CALL FUNCTION 'Z_VBAK_UPDATE'
          IN UPDATE TASK
          EXPORTING
               VBAK = VBAK.
    ENDFORM.
    In 'Z_VBAK_UPDATE' insert the code to update VBAK, you can also try to call the BAPI here, perhaps (the fm is called in update tusk) in this moment all blocks are released.
    Max

  • Designer hangs during universe creation against SAP BW

    Hi,
    We are trying to create OLAP universe against SAP BW 3.5 and we are running into issue wherein the designer just hangs and is not able to create the classes and objects, in most cases we have waited for about 30-35 mins and still it doesn't come back. We tried this for both against an Infocube as well as against BW query.
    I have couple of questions regarding the process flow for universe creation against SAP BW,
    Does universe stores/extracts any data from BW, like storing LOVs for the hierarchies? I know it does reads the rows, columns, free characterstics etc. in case of BW Query.
    The time to create the universe depends on what factors, size of the cube or amount of metadata? The customer is concerned regarding what is the guideline on how much time would this process take when the universe comes back with the classes and objects. If there is any such guideline, what is it?
    Any response on this is appreciated.
    Thanks,
    Amit Banavalikar

    I had similar problems, setting the "Connection timeout" on the SAP/BW connection within Designer (default 10 minutes) from 10 min. to 60 or 120. ALSO: uncheck the universe limits on "number of rows (5000)" and "query duration (10 min)".
    This solved the problem.
    The connection timeout which is set directly on the SAP-BW connection in designer seems to be used in a wrong way. The definition of the "close connection after xx minutes" means that the connction should be closed after xx minutes of  not being used by any process.
    With SAP BW the connection seems to be closed regardless of it's use after the specified time period.
    regards,
    Walter

  • Prevent Outbound Delivery creation against Purchase Order

    Hi All,
    we have a Intecompany (IC) process composed as following:
    1) IC purchase order
    2) Outbound delivery
    3) Good Issue
    4) Good Receipt
    5) Invoice and billing
    I'd like to prevent the outbound delivery creation in the purchase order as the delivery block does in the Sales order.
    I thought that using the confirmation control with control key  for order acknwledge was made for this purpose but my  tests was unsuccessful.
    Is there any standard way to achieve this goal?
    Thanks

    Applying a release strategy is not a bad idea but it would mean a more complex process as:
    1) the delivery block would based on a complex logic implemented on a user exit that would be not easily implemented with characteristics on which the release strat would be based
    2)  also the release process itsel would be more complex and different from the sales order unblock
    Even though I appreciate I'd prefer somthing easier like confirmation control or something similar that could be unset with just modifing the purchase order.
    Thanks again for the answer

  • Inbound delivery creation in STO via EDI/Idoc

    Hello experts,
    My requirement is like this:-
    Stock transfer order is created for supplying plant 2000 & receiving plant 2010.
    When the supplying plant 2000 posts an outbound delivery & PGI, at same time an Inbound delivery should be created in receiving plant 2010.
    I know theoretically that this is achieved by making confirmation settings & output types. But don't know exactly how to configure it.
    Can you please mention the process?
    I have referred the scn threads:
    Outbound Delivery to Inbound delivery by using IDOC
    how to configure the message control for DESADV
    SAP note 111903
    Receiving Vendor Confirmations via EDI - Purchasing (MM-PUR) - SAP Library
    But there is lack of clarity from my side.

    You do not need to use EDI messages to get an inbound delivery created when a PGI is done on the outbound delivery.
    Search for the config on the SPED output type. This SPED output message can be triggered during the PGI which results in the creation of an inbound delivery in the receiving plant.
    The receiving plant will have to maintain the confirmation control key 0004 at item level in the purchasing document.
    Link to SAP help Automatic Creation of Inbound Delivery - Transfer and Inventory Management - SAP Library
    Refer SAP note 1119073 point 3 and note 965176
    Regards,

  • Need Badi or UserExit during Delivery creation

    Hi,
    I have a requirement to create PGI automatically after delivery is created.
    So i am looking for Userexit or BADI which is called immediately after delivery is created so that I can used delivery number and call logic to create PGI.
    I have searched the sdn for same requirement but the badi LE_SHP_DELIVERY_PROC or BADI DELIVERY_PUBLISH and user exit MV50AFZ1 wont suffice .
    Please suggest.
    Thanks & Regards,
    Swapnil.

    Hi,
    to check which BADI are presents during the execution of your trx, just put a break point in the method "get_instance" of the class "cl_exithandler".
    Watch the "sxs_inter" variable (that contains the name of the BADI interface).
    Run the trx and just watch what u can implement.
    Hope it helps
    Bye
    Andrea
    Pls reward if it helps

  • Copy data from VBAK to LIKP during delivery creation

    Hi Experts,
    There is a custom field ZZLATESTDATE in the table VBAK. This is entered during sale order creation on the screen in the Additional Data tab of VA01 transaction.
    Now when I create a delivery with ref to this sale order, and save it, I want to copy this field VBAK-ZZLATESTDATE to LIKP-ZZLATESTDATE. This needs to be done automatically, through a user-exit or any other enhancement available. I dont want to populate it on the delivery screen. I just want to save it in the delivery header table LIKP. How do I go about it?
    Appreciate your help.

    Hi
    First of all, you need that the copy relation will be 1 to 1, ie, don't merge two or more SO in one delivery. For this, check in VTLA the field or VOFM that you set in Combination Requirement.
    Second, in tcode VTLA check in copy rules for the type SO to delivery. So, in VTLA in the field Header Data in transfers, create a copy of VOFM 001 (for instance 901) using VOFM 001 as a template and add this line.
      LIKP-ZZLATESTDATE = CVBAK-ZZLATESTDATE.
    See Note 327220 - VOFM function and its objects for further information related with VOFM.
    I hope this help you
    Regards
    Eduardo

Maybe you are looking for

  • DSO - Key Fields and Data Fields

    Hi Do we need at least one data fields (assigned at least one object to data field at DSO)?? or to create update rule to load data to DSO?? Because I am trying to load data with out any objects at data fields or unable to create update rule - all bec

  • Error while creating a product group--Batch input error 9

    Hi,    While creating a product group in T-code MC84, getting the error message" Product group can not be created (Batch input error 9)". Would appreciate providing yr help to resolve above issue. Thks, Nilesh

  • AS 10g (9.0.4)

    Hi everybody I have install Reports server and form server 10 g (9.0.4) for linux in a Red Hat 4 I can run reports and form but from de OEM - Application Control when i click in the rep_apserver LINK i get the following message java.lang.NumberFormat

  • Spacebar will not move marquee selection

    I just downloaded the CC trial for photoshop, then started using the elliptical marquee tool but when I try to use the spacebar to move the selection the selection will only move a few pixels then wont move at all. Any ideas? Also i have the screen f

  • Indexing multiple columns of multiple tables

    Hi, I'm trying to index multiple columns of multiple tables. As I have seen, the way to do this is using User_Datastore. have the tables to share a (foreign)key? My tables have only 2 or 3 similar columns(description, tagnr...) I want to get the diff