Check amount of transition stock during inbound delivery creation

I want to move stock between plans, therefore I have the following steps:
1. Stock Transfer Order (STO), e.g. 500 pieces
2. Sending plant: MIGO (GI for STO) with MT 351 to post to transition stock,  e.g. 100 pieces
3. Receiving plant: Inbound Delivery with reference to STO VL31N
4. process Inbound delivery in warehouse (SAP-WM)
The question is:
During step 3, when accessing VL31N the system proposes the full order quantity (e.g. 500 pc.)
I can change the amount to any amount I like, e.g 240 pieces.
How can I tell SAP, that Inbound delivery creation is only possible for the amount
which has been posted to stock in transition (100 pieces)
I want an error/warning message in case user wants to create Inbound delivery quantity higher than the amount that has been posted to transition stock.
Any ideas?

MIGO in sending Plant?
How it is possible? MIGO means, Goods receipt. This should be in Receiving plant.
Sending plant should do the PGI
MIRO in receiving plant
Billing in sending plant
Payment from Receiving palnt and clearing in sending plant
Correct me if i am wrong
Thanks

Similar Messages

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

  • Error during inbound delivery creation for some times not always

    Hi,
    I'm getting the following error when i'm trying to create an inbound delivery for PO.
                                                                                    Diagnosis                                                                               
    The system attempted to find the reference movement type for         
         the Warehouse Management system. A corresponding entry is            
         missing in table 156S with the argument 101/X/X/ / /X/.              
         The argument consists of:                                            
         o   IM movement type                                                 
         o   Indicator: Value update                                          
         o   Indicator: Quantity update                                       
         o   Special stock                                                    
         o   Movement indicator                                               
         o   Access indicator                                                 
         o   Indicator: Consumption         
    Can someone help me to resolve it? as it is not happening always
    Appreciates everyone time and help.
    Thanks and regards,
    Siva

    Hi,
    Thanks for the response and yes i did maintained IM/WM mvt types for 101 in both places.
    If the movement type is maintained well why SAP says it is not?
    SPRO > LE > WM > Interfaces > IM > Define Movement Types - "Assign WM Movement Type References to IM Movement Types'
    Related tabel is V_156S_WM
    If you check your configuration you will see that there are many entries with 101, and there are several other parameters...
    First you should check what you are doing in IM, what parameters that mvt has (qty, value update, special stock, etc) > after that you should check whether it is maintained well in WM customizing - see steps in my previous email.
    Regards,
    Csaba

  • Dump during inbound delivery creation with VL34

    Hi,
    when I try to create a inbound delivery for a Purchase order item with account assignment Q (project stock) I get the following dump
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC
    Except.                CX_SY_OPEN_SQL_DB
    Date and Time          28.07.2010 17:37:10
    Short text
         The ABAP/4 Open SQL array insert results in duplicate database records.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLV05I" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
          in
         procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         If you use an ABAP/4 Open SQL array insert to insert a record in
         the database and that record already exists with the same key,
         this results in a termination.
         (With an ABAP/4 Open SQL single record insert in the same error
         situation, processing does not terminate, but SY-SUBRC is set to 4.)
    Missing RAISING Clause in Interface
         Program                                 SAPLV05I
         Include                                 LV05IU15
         Row                                     1
         Module type                             (FUNCTION)
         Module Name                             SD_PARTNER_UPDATE
    Trigger Location of Exception
      Program                                 SAPLV05I
        Include                                 LV05IU15
        Row                                     480
        Module type                             (FUNCTION)
        Module Name                             SD_PARTNER_UPDATE
    When I try to create the inbound delivery with VL31N it works fine. I also tried a couple of BAPIs/FMs which gave me the same dump as VL34.
    Thanks in advance!!
    br
    Walter

    I also failed to find any OSS note relevant to this.
    If you are not using any exits / BADI, there's no standard modification, you should contact SAP AG and their responsibility is to correct the error.
    But it may happen that you are using your own logic (via user exit, BADI, standard modification), in this case you have to find out what causes the problem. If the error is becasue of your develoments, then you cannot ask SAP AG to correct the error, if the error is not caused by your developments then it's SAP AG's responsibility.
    Please read OSS note 575667 which says that:
    The most common cause for this runtime error is an incorrect logic in USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_SAVE_DOCUMENT in include MV50AFZ1.
    For this, read also notes 178328 and 415716.
    Edited by: Csaba Szommer on Nov 3, 2010 8:49 AM
    Edited by: Csaba Szommer on Nov 3, 2010 8:50 AM

  • Error during Inbound Delivery creation by Idoc DELVRY05

    Hi,
    We are trying to consolidate ASNs and creating an inbound delivery for the same. Thus we have more than one PO information in the idoc.
    It processes fine and creates an inbound delivery if all the line item nos are different.
    But the issue is, when there are articles which have the same line item no. even if the articles are different and they are on different POs. It gives the following errors.
    1) "Delivery item cannot be exactly determined
    Message no. HUFUNCTIONS313"
    I tried to debug the above error and found that while packing it looks to the lips-vbeln/posnr & not the PO nr./PO item.
    I am not sure if this could be handled by some config. Please advice.
    2) "V51VP - item was not found - process cancelled
    Message no. HUGENERAL056"
    Any hints or comments on the above would be appreciated.
    Thanks & Regards,
    Akshay

    Hi Raghavendra,
    It has been a long time. But, as far as I can remember we had made coding adjustments in the customer-exit EXIT_SAPLV55K_004, include ZXTRKU12 to fetch the correct item and fill the idoc segment fields.
    This resolved the issue.
    Best Regards,
    Akshay

  • Stock Transfer Inbound Delivery with HU Stuck - Unable to PGR

    Hi Gurus,
    Please help me with the situation.
    For 7 HUs there was a Two-Step Sloc to Sloc to transfer that was attempted to be performed.
    1. An Outbound Delivery is created from Plant 1000/0061 (313-)
    2. Picked and PGI-ed
    3. Inbound Delivery is created in the Receiving Plant 1000/0028
    5. This was done through a two step Sloc to Sloc Transfer (313 and 315)
    6. Since the receiving Sloc is WM Managed, a TOs were created and confirmed
    7. This happened sometime in April 2008
    8. THE PROBLEM NOW IS WE ARE UNABLE TO PGR THE INBOUND DELIVERY BECAUSE THE STOCK IN TRANSIT IS UNAVAILABLE
    9. Checked for SIT Stock; Unavailable
    10. Checked for any 315 movements after the TO Confirmation Date, but could not find any, until today's date
    11. LT0G is not working citing the reasons that LT0G will not work for TOs with HUs
    12. Cancellation of TO is not working under any Transaction
    13. The Stock of the material is 0 in Plant 1000/All SLocs
    THE HUs ARE SHOWING IN HUMO IN 1000/0028.
    How can I PGR the stock, or even cancel the whole transaction and scrap the stock.
    KINDLY HELP.
    Thanks.
    Ananth.
    Edited by: Ananthram Sundarababu on Jul 2, 2010 5:31 PM

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • Goods receipt during inbound delivery

    Hi all,
    We have a Plant (DVOP) and Subcontractor (Vendor- 2010113) in Japan
    region and have mapped this Vendor as a MRP Area Vendor (2010113) in
    the Japan Plant (DVOP). We do safety stock planning at each location.
    Based on the Master Data set up for the Subcontracting components MRP
    creates the Purchase Requisition for the components (which needs to be
    delivered to Subcontractor) and to this PR we convert into STO to
    deliver the material from Plant DVOP to MRP Area (2010113). System is
    allowing us to create the PO’s with Document type UB. We are delivering
    the PO using transaction VL10F to the MRP Area. In the document type we
    are not mentioning Item Category as ‘L’ as the document type UB is not
    allowing us to change the Item Category to U.
    After creating the delivery and PGI to the MRP Area, subcontractor
    receives the stock by inbound delivery (VL32N), and during the PGR
    time, we are getting the below error in the inbound delivery.
    Message no M7 226
    The System could not find entry in 101 X X O B X in any of the movement
    type control tables
    please can anyone advise,,,
    thanks
    sudhakar

    Hi,
    For creating inbound delivery , Confirmation tab must be entered in PO. It is must.then only you can post GR wrt Inbound delivery.
    Try it and any quries let me know.
    Regards,
    Smitha

  • Inspection lot problem during inbound delivery

    Hi,
    I am facing following issue during inbound delivery.
    I have activated inspection type 01 in material master for a packing material. Created a PO for the material through ME21N. PO created. Now I am creating inbound delivery through VL31N with reference to PO no and vendor. When I am entering the storage location I am getting the below error..
    Upon investigating the issue system is creating the inspection lot
    But inspection lot is not showing in QA32/QA02.
    checked various threads but not of much use. I am not able to proceed further.
    Kindly help.
    Thanks
    Kumar

    Hi Kumar,
    Plz check in PO history, if GRN is done. If yes then plz check in GRN quantity tab, if inspection lot is created. IN QA32, in dynamic selection enter the inspection lot and click on 'select all inspection lot' and check if it is created in system. If lot is prepared then as per the error message someone from your department must be processing it.
    In Your inbound delivery screen check your tab status overview if it is A: GR not made or C: GR completed.
    Also during inbound delivery  storage location is picked up in inbound delivery automatically from PO you need not to enter it again.
    Plz check else post screen shot of PO history and QA32.
    Regards,
    Priti.

  • Auto Inbound delivery creation

    Hi Sapgurus,
    I am trying to create Inbound delivery from Outbound delivery after it has been PGI'ed. These both are related to Intracompany STO. We have WM implemented so both of these deliveries result in TO creation and can be closed only after TO confirmations. I used SAP notes which stated to use SPED output type in output determination procedure for outbound delivery and then assign output determination procedure to delivery type. But I was not successful in getting the desired results.
    Can anyone please provide me with the steps of this configuration, I may be doing wrong something somewhere.
    Appreciate the help.
    Thanks in advance
    Manav Anand

    Hi,
    I think you are talking about stock transfer between two plants. I assume your requirement is after PGI of the replenishment delivery system should create automatic inbound delivery in second warehouse,right?
    You can create inbound delivery automatically for second warehouse.I had such scenario in my previous client.I believe through some user exit you can initiate inbound delivery creation immediately.
    Please check with your technical person.
    Regards,
    PRashant

  • 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

  • Inbound Delivery creation in ECC6.0 through IDoc (DELVRY03.DESADV)

    Inbound Delivery creation in ECC6.0 through IDoc (DELVRY03.DESADV)
    From SCM ICH system Supplier creates ASN on the WEBUI & sends it ECC 6.0 using XI.
    This is Proxy (DespatchedDeliveryNotification) to IDOC (DELVRY03.DESAV) scenario
    But at the receiver end i.e. ECC6.0 its giving me error at Tcode WE02 as action is not supported.
    Can you suggest me how to tackle this issue.
    Thanks in Advance.
    Regards,
    N>B.Shanmukha

    hi,
    >>>giving me error at Tcode WE02 as action is not supported.
    there are many segments in delvry03 with a first field - action (like, delete, create, 001,002, etc)
    check all of them as probably you're using one which is not supported
    and this is the real cause of the error
    you can check it like this:
    open this IDOC in We19
    then open action field and F4 and see if the one you use in the idoc is in F4
    change the wrong one and it will work :for 100%
    Regards,
    Michal Krawczyk

  • 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

  • ASN from vendor and inbound delivery creation

    hi
    I have a scenario where vendor sends ASN via EDI to R/3.
    This inbound ASN should create an inbound delivery. 
    Can you please help me knowing the idoc type, message type etc which will serve my purpose.
    Also the FM / Badi for inbound delivery creation.
    thanks in advance,
    Jo

    Hi,
    Use DESADV Message type and basic type DESADV01
    Use function module IDOC_INPUT_DESADV
    Edited by: Chandra Shekhar Singh on Jul 5, 2011 12:39 PM

  • Confirmation control key check for inbound delivery creation

    Hi,
    Currently, in the Client's company, the process of receiving goods from purchase orders looks like that (SAP-wise):
    - create a purchase order,
    - receive goods using MIGO and automatically create an inbound delivery,
    - pack the delivery and post goods receipt.
    Recently, some patches have been installed, including one described by note 1602047 (which basically enforces checking confirmation control keys if goods receipt assignment and goods receipt relevance are activated for inbound deliveries). Note says that it only affects two-step stock transfer and creation of automatic inbound deliveries using SPED output but it seems it also affects other basic processes like PO receipt in MIGO.
    Now, when using the old control key (that had MRP-Relevant and GR-Relevant fields checked), the system is unable to automatically create an inbound delivery after the goods receipt is posted with MIGO (with message VL148 - Not possible to create an inbound delivery). I learned that this is because the "GR Assignment" field must be checked in the confirmation control key so it's possible to automatically create aninbound delivery after receiving a purchase order in MIGO.
    After changing the confirmation control key to have the missing field checked it's not possible anymore to receive goods from PO in MIGO as the PO requires shipping notification in order to be processed in MIGO thus requiring of manual creation of an inbound delivery.
    Is there any way to skip this check so the process would remain the same (this model has been working fine for few years in the Client's system) and the inbound delievery would be created automatically after posting the receipt in MIGO?
    Thanks in advance,
    Piotr

    Hi,
    don't know if you found a solution, but we received the following message from SAP:
    The advent of the new version requires some attention to the users. It
    was necessary to avoid inconsistencies which in the past version the
    system was susceptible.
    Main Program SAPMM07M
    Source code of MM07MLVS
    sy-msgid VL sy-msgty E sy-msgno 148
    I have checked the process and through debugged I could confirm the
    following information SAP is providing to all similar incidents reportedfor us:
    Error message VL 148 is issued if in the confirmation control key used
    in the purchase order, the fields for MRP-relevance (T163G-KZDIS),
    GR relevance (T163G-WEREL) and GR assignment indicator (T163G-WEZUO)
    are not set.
    The correction of note 1602047 was necessary to avoid inconsistencies
    (table EKES) in the purchase order. Without having the GR assignment
    (T163G-WEZUO) set, there is no unique reference created between the
    purchase order history (table EKBE) and the inbound delivery
    confirmation (table EKES) at goods receipt which leads to a problem if
    several inbound deliveries exist for the same purchase order.
    If you set T163G-WEZUO to 'X', this assures that, for an inbound
    delivery, the confirmation record (EKES) belonging to this inbound
    delivery (EKES-VBELN) is also accurately updated at goods receipt.
    How to solve the issue?
    Use a confirmation control key with the GR assignment indicator set
    and then create the inbound delivery with VL31N. If you want to be able
    to create the inbound delivery with reference to a certain line item in
    the PO, use transaction VL34.
    If you still want to use transaction MIGO, there is the following
    workaround:
    - Create a purchase order without any confirmation control key
    - Create a goods receipt (GR) in transaction MIGO with reference to this PO and post the GR to a non-HU-managed storage location
    - Create a transfer posting with MIGO using movement type 311 to
    transfer the goods from the non-HU-managed storage location to the
    HU-managed storage location.
    As the transfer posting is an additional step for the user, the whole
    process could be automated using a partner storage location
    (T001l-PARLG) for the GR which then triggers (through a modification)
    the BAPI 'BAPI_GOODSMVT_CREATE' to create the transfer posting without
    user interaction.
    I hope to have satisfied you on the reason why it is now happening and
    also I believe you can explain to business that it is a new behavior
    necessary done from SAP side to avoid worse situations, we are aware of
    potential dissatisfaction it might cause. SAP Support is always
    available to clarify any issue.
    Sorry for not having a more positive answer.
    I hope it helps!
    Leentje

  • Error during Inbound Delivery

    Dear Expert,
    I have problem when we want to create Inbound Delivery/VL31N. Error message is "No deliveries created (check log)". The long text of log is :
    Diagnosis
                                                                                    There is no item category available in item category
        determination in the delivery (table T184L) for the following
        entries: EL LEIS V
                                                                                    System Response
                                                                                    The system does not allow further processing of this item.
                                                                                    Procedure
                                                                                    Specify the appropriate item category for the above mentioned
        entries or inform your system administrator.                    
    I confuse with this message, because i don't know the relation of table T184L with my case. the another Inbound delivery is working fine, only 1 inbound delivery that getting this error. Any solution and advice. Thx a lot
    BR,
    Affan

    hi
    go to t code 0184 and here against the entry EL LEIS V maintain item cat as norm and same manintain in ur material master
    regards
    kunal
    award if helpful

Maybe you are looking for