Return Delivery via BAPI_GOODSMVT_CREATE

Hi,
I'm trying to post a return delivery movement type 222 using BAPI_GOODSMVT_CREATE but getting error For reservation 0002207600 0001, no movements can be posted  . I notice that this bapi was using MB11 for the posting and tested also getting same error. But the return delivery was able to be post using MIGO.

Not able to post via BAPI causes by the item in the reservation was mark for deletion.

Similar Messages

  • Auto Quality Notification and Return Delivery Via Usage Decision

    Hello Gurus
    Need help !
    I am using the Quality inspection with Material Specification.
    Just an overview of my current system settings -
    Inspection Type 101 for Purchased parts , My Inspection characteristics and Batch Charracteristics are linked .Batch classification is updated as a result of Usage Deceision
    My Requirement -
    If the Inspection lot is getting rejected , system should trigger the Quality notification and return delievery automatically .
    Can someone pl help me with detailed steps for acheiving this...
    Reqward points will be given immediatly for sharing thoughts
    BR

    Hi
    Thanks for reply.
    I think I missed some thing in my question
    I understand that this is Standard Sap when you post the stock into Return Deilivery stock , it 'll do the movement type 122 and create the material docuement.
    However My requiremnet is to get the Delivery Document number with the reference of which i can do the PGI .
    I gone thru the SAP help and learnt that we can trigger the Quality notification automatically if we reject the inspection lot...But not confident "how" as never done before..that the reason i posted my query if someone has done this before..
    OR
    Any option to create Delivery  Document when rejecting one Inspection Lot is UD..W/o Notification also will work for me..
    So I am aiming to get Delivery Document not material document as our materials are WM managed...
    Could some one put some light on this...
    BR

  • Return delivery with via delivery indicator

    I am trying to post return delivery through MIGO transaction, with selecting ' via delivery' indicator. I am getting an error - data for creating a delivery is incomplete (Customer).
    I am selecting this indicator first time so that I can get delivery number which I can print later.
    How can I resolve this error ?

    Before creating return delivery via MIGO..Please check the following master data..
    1) Check the material is having Sales view
    2) Check you linked vendor master to the customer...
    3) Also check whether you flagged Returns vendor in the purchasing view of the vendor master record..
    Please check these master data settings if any one of above things are missing system would not allow you to process the return delivery..
    I hope it will resolve your issues. If it helps award me the points..
    Cheers
    Umakanth

  • Problem with pgi for returns delivery

    Hi,
    I'm trying to do PGI for returns delivery through BAPI_GOODSMVT_CREATE.
    The when the delivery is opened through VL02N, the Post Goods Issue button has Post Goods Receipt text written on it. When the GI is done, the material document has movement type 651.
    However I'm not able to create the same through the BAPI. I have tried various combinations of GM_CODE and all other variables. Have anybody of you tried doing movement type 651 for a returns delivery using the same BAPI?
    Please reply if you've come across some similar situation. I know how to use the BAPI,  I've been using it successfully for other movement codes etc. It's only in this case that I'm stuck up.
    Regards,
    Vijay

    Hi Vijay,
    can u pls tell me how  did u do  it....i am also having the same requirement....
    Developed a custom program for creating and updating Goods Movement Document by using BAPI_GOODSMVT_CREATE & WS_DELIVERY_UPDATE_2.
    thanks, Ankita.

  • STO Return Delivery

    Hi Gurus,
    Plant A orders for 100 Qty(STO) to Plant B of the same company code C.
    Plant B supplies 100 Qty,But 20 Qty are damaged.
    Plant A, Returns that 20 Qty to Plant B.
    Now My Q is,how will u receive that 20 qty in Plant B,What is the Movement type and refernece Docment for that?.
    Thanks in Advance.

    Hi Kavitha,
    You will have to create a STO PO in the similar fashion as the original STO PO (Do not reverse the Supplying Plant & Receiving Plant). Kindly click the <b></b>Returns Item<b></b>. Then create a Return Delivery via VL10B. Then create a delivery via VL02N. <b>Note: Do not do Post Goods Receipt</b>. Then do a GR thru MIGO by selecting <b></b>Goods Receipt<b></b> and <b></b>Purchase Order <b></b> (STO PO) .Then do Post Goods Receipt via T-code VL02N by giving the delivery document no.
    prasanna

  • Unable to post return delivery whne the input material is batch managed

    Hi,
    While clearing the Subcontract GRN where the input material is batch managed, unable to put return delviery and the system throws error and unable to complete quantity posting.
    Please guide me.
    Regards,
    RR Gopalan

    This is caused due to some technical restrictions in QM.
    When the reverse movement is being posted through QM process, the goods movement is being created in the background and it is being posted without reference to a existing material document. That is the system behaves as if you create a return delivery via MB01. In this case, the system cannot determine the batch number. As the reverse is created in the background and the components are determined internally and the batch cannot be passed over from the QM transaction. To prevent postings and avoid unnecessary inconsistencies in stocks,system will issue the error message.
    Workaround:
    The message M7389 is configurable. Hence please check in transcation OMCQ and set this as warning message. This would allow you to post the return delivery, But the problem is the batch nubmer would be wrong. So, You can define the corret batch number in the user-ext MBCFC010, it's MM related, You'd better to work with your MM colleagues.
    Best Regards,

  • BAPI_GOODSMVT_CREATE   /   Return Delivery

    Hi,
    I was able to create GR/material documents for a PO using this bapi -BAPI_GOODSMVT_CREATE with mvtype 101.
    I'm having problems in creating return delivery to vendor (mvtype 122) ,using this BAPI.Is there any other BAPI that i can use.YOur thoughts please....
    Thanks,
    Dan.

    Hi Dan,
    Please check this BAPI <b>BAPI_DELIVERYPROCESSING_EXEC</b>.
    Also you can check this FM <b>RV_DELIVERY_CREATE</b> as well.
    Please use FM RV_DISPATCH_DUE_DATE_POS to get some of the tables populated to be used in RV_DELIVERY_CREATE.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Create return delivery in MB11

    Hi expert,
    I am trying to post a return delivery 222 via BAPI_GOODSMVT_CREATE and also in MB11 and getting error For reservation 0002207600 0001, no movements can be posted. But i am able to post the return delivery by using MIGO. Any idea why this happen? A customize program require to use bapi for the posting. Thanks.

    >
    fcgan wrote:
    > Hi,
    >
    > Both also doing return delivery. IN MB11 when i enter the reservation number i am getting the error while in migo i just enter material document number and then enter the quantity to post. Thanks.
    I understand this as you are not doing the same in MB11 and MIGO.
    Have you tried doing the same? e,g, entering reservation number in MIGO?

  • Order status is coming "Being Processed" after return delivery

    Helloo Experts,
    We have a current situation here, Where order type (OR) with item cat (TAN) creates SO then delievry (LF) happened and PGI..
    Due to some reasons the order needs to be void.Then the SO has been changed (VA02) by adding item cat YREN with same quantity, then delivery (LF) ,PGR and billing (F2).
    Now after final billing the order status coming as "Being processed" instead of "Closed" at the document flow.
    Does SAP standard practice supports this process flow OR it should be Return order (RE),Delivery (LR) and return of credit (RE)  to make the Order status  "Completed".
    Is there any other ways to make these order's status changed from "Being Processed" to "Completed"
    Waiting for some valuable inputs.
    Thanks
    SM

    Then the SO has been changed (VA02) by adding item cat YREN
        with same quantity, then delivery (LF) ,PGR and billing (F2).
    This process is wrong.  You have to create a new return sale order with reference to the parent billing document.  If billing has not been generated, then you have to reverse the delivery via VL09.
    G. Lakshmipathi

  • Issue with Return Delivery for movement type 262

    Hi,
    I have got a strange issue, the user is trying to do a MIGO Return Delivery for a material document using movement type 262, this he claims has been doing it for many materials. However when i go to the MKPF table i see the transaction Code field to be MIGO_GI for all the material documents for which he claims to have done return delivery. But under this transaction code we have only 4 options - Display, Issue, Cancel and Remove from storage.
    Now when he tries to do the return delivery for movement type 262 he get an error message "Check table T156N: entry RL 262  does not exist" , but this has been very well maintained in the table.
    Can you please let me know -
    If it is possible to do a return delivery for a movement type 262?
    If yes how to address the above error encountered.
    Thanks in advance
    Sachin

    Hi Sachin,
    If you think of return delivery to vendor with or w/o PO reference you can use movement types 161, 122, 124 as default settings.
    Movement type 261 means withdrawal against production order and its reverse is MVT 262. The latter can be used e.g. via MB1A (or you can make storno of a confirmation by 261).
    Are you sure your user is using the correct terminology ('return delivery')? Please check the material documents he/she claims to have booked as return delivery. (in MB51 you can get a list of all material movements of MVT 261 that belong to 'your user' and after that you can open the material document and check through which transaction the booking was made.)
    BR
    Csaba

  • After Return Delivery to Vendor cannot remove shipping notification in MD04

    Hi.
    Good Day.
    I would like to ask help regarding to my issue.
    We had to create a return delivery to send the goods back to the vendor A. The packaging item was blocked and we created the outbound delivery via transaction MBRL with reference to material document when we do GR with the inbound Delivery A. After having processed all necessary steps including the posting of the goods issue of outbound delivery, the inbound delivery A is again open and expects a goods receipt of the returned units. This can also be seen in MD04. Meanwhile the supplier has sent a new "compensation" delivery, with a different inbound delivery B. This was goods receipted and with this delivery the complaint/return process is finished from the supplier's and our point of view.
    Problem: What remains is the original open inbound delivery A. Currently we have no idea how to get this one deleted, but we need to cancel it, because there won't be a credit note and there won't be another physical delivery for this inbound delivery A.
    What I have done so far:
    1) Tried using VL09 to inbound delivery A but there was no effects. probably because the inbound delivery A is already closed.
    2) It is not possible to set the item of SA to finished because we my use that item again.
    Thanks for your help.
    Med'z

    Hi Madhu.
    Good Day.
    First of all I really appreciate your response.
    I tried to change the first inbound delivery but canu2019t do much. Because all fields were block since it is already completed.
    The system shows the error "The goods movement status (partially or completely processed) does not allow the item to be deleted."
    I also tried to change the schedule line but it didnu2019t do any effect with the issue.
    Thank you,
    Best regards.
    Medel.

  • Return Delivery of Material Document as in MIGO.

    Hi  guys,
    Is there any bapi or function  module that  simulates the Return Delivery of Material Document as done in MIGO transaction.
    I have checked BAPI_GOODSMVT_CREATE but, this is not exactly matching the Return Delivery process(i.e, therez no field for item number of material document although material document field exists in GOODSMVT_ITEM) . If there is an other bapi or function module, kindly suggest.
    Many thanks in advance.
    Nithin

    Hi Nithin,
    Check FM  <b>BAPI_GOODSMVT_CREATE</b> documentation. In that check this
    6. GM_Code 06: Reversal of goods movements.
    Regards,
    Balavardhan.K

  • How to make a "return delivery" from a goods mvnt  linked to a reservation

    Hi, I want to realize a "return delivery" from a goods mvnt that is linked to a reservation number.
    I'm using FM BAPI_GOODSMVT_CREATE.
    I'm able to create a goods mvnt, but this doesn't updates the quantity in the reservation document.
    For example:
    There are 10 units of a material reserved in a reservation document.
    I create a goods mov. linked to the reservation number by populating the field RESERV_NO and RES_ITEM in the GOODSMVT_ITEM parameter. In this document I fullfilled the TARGET_QTY field with 10. This the positive movement.
    After that, reservation document says that there are no units pending to serve. (10 reserved - 10 served = 0 pending).
    Now, I want to return 2 units of this material. I fullfilled the fields REF_DOC_YR, REF_DOC and REF_DOC_IT with keys (doc/item/year) of the first goods movement, and MOVE_TYPE with the reversal movement number. But this doesn't updates the quantity in the reservation document.
    I tried fullfiling RESERV_NO and RES_ITEM, but this generates a positive movement, not the reversal!
    Is there any other process that updates quantity in the reservation document?
    Could anybody help me?

    1) Create a button on the chapter menu with the text MAIN MENU (or whatever you want it to say).
    2) Select the chapter menu in either the graphical or outline view of your DVD.
    3) Click on the Connections tab.
    4) Select the MAIN MENU button in the source column.
    5) Select the main menu in the Targets column.
    6) Click the Connect button above the Targets column.
    After doing the above steps you should see the main menu in the Target column to the right of "MAIN MENU:Jump when activated" in the source column. Your MAIN MENU button will now take you back to the main menu.
    Message was edited by: John Link

  • Return Delivery without Excise Invoice

    Hi,
    We are posting return delivery through MIGO 122 movement type.  During Return delivery we are not ticking the Via delivery in the General Tab.  System gives the MIGO No. not delivery No. And also system parallelly generates the excise invoice also.
    But we dont want to create the excise invoice parallelly during return delivery posting. We want to create the excise invoice through J1IS.
    Can you suggest me what SPRO settings required to remove the excise invoice generation while posting the Return delivery throught MIGO.
    Regards,
    R Mohan Kumar

    Hi,
    At the time of Vendor Return in (MIGO), select only Part 1 OR No Excise Entry under Excise Invoice Tab at Header level.
    And maintain Goods Issue Indicator as "IPD" at Item Details level.
    Then go to J1IS and create Excise invoice w.r.t. Material Document.
    If you don't want the Post option during MIGO then, Go to SPRO > Logistics - General > Tax on Goods Movements > India > Basic Settings > Maintain Excise Groups > Here deactivate "Post EI in MIGO"

  • MBRL - return delivery

    Hi Guys,
    I work on 6.0 system. I make return delivery using  T_code MBRL. When I set indicator in field "Create Delivery" system doesn't let me save dokument. I get message "Data for creating delivery is incomplite (Sales Org.)" I checked data like:
    -customer NO i vendor and vendor NO i customer, in customer shipping cond.
    -in sales view loading grp.
    When I don't set this indicator I can save the dokument.
    Thank you in advance for help.
    Kasia Gac

    Hi,
    You can return the goods to the vendor by creating a return delivery i.e either via MM or SD.
    If you wish to do it via SD, then you can create a delivery by using the create delivery option in MBRL.
    Pre-requisite for the above process is you have to maintain the SD organisation & master data as you mentioned above.
    If you wish to do it via MM save the MBRL doc without checking the create delivery option so that a material doc will be created with mov type 122.
    If excise is applicable create an excise inv using J1IS with ref to the above MBRL material doc.
    Thanks & Regards,

Maybe you are looking for