BAPI for MIGO - Movement Type 122 - Return deliveries to vendor

Hi,
I've been reading about bapi's for migo and the most commom was: BAPI_GOODSMVT_CREATE
But I want to do a Movement Type 122, and that is not supported by the BAPI.
Any idea beside Batch Input ?

Ildar,
Try this:
GOODSMVT_HEADER:
PSTNG_DATE
DOC_DATE
REF_DOC_NO (mandatory)
GOODSMVT_CODE = 01
GOODSMVT_ITEM
MATERIAL
PLANT
STGE_LOC
MOVE_TYPE = 122
ENTRY_QNT
PO_NUMBER
PO_ITEM
MVT_IND = B (reference to the document that has the request )
                MOVE_REAS (mandatory as well)
Let me know if you need any further help.
Francisco Coutinho,
ToInovate

Similar Messages

  • FI Integration with movement type 122 - Return to vendor

    Hello,
    I have a problem with transactions MBRL, because movement type 122 (return to vendor) impact the 408xxx and not account 409xxx.
    I checked the link between material group and valuation class (OLME), but in OBYC i don't know which transaction select ?
    And, the valuation classe linked to that material group does not exist in any line in OBYC
    Thanks

    For 122 , GI happensds accounting entry is
    Stocl  Cr
    Gr/IR Dr
    It is opposite of Goods recipt . Please maintain BSX for stock with val class and  WRX for Gr/Ir with val class.
    IF freight also there check FR1 for the same . NO GBB off sett required .T code OByc
    rewdzz

  • Bapi on GR movement type 122

    Hi,
    I am have a GR material document number with movement type 101.
    Using "BAPI_GOODSMVT_CANCEL" I am able to reverse the mat. docs. which is done with 102 movement type.
    But, My question in here is
    I have to do "Return Delivery" of a material document where the new created GR mat. doc with respect to 122 movement type.
    Can anybody tell me is there any BAPI for that?
    If no BAPI then any other way to do that in my program?
    I dont want to do manually.
    Regards
    Mohan

    Hi,
    You can try by creating a BDC program for "MIGO" transaction with "A02 - Return Delivery" and "R02 - Material Document".
    Also I think BAPI "BAPI_GOODSMVT_CREATE" can be used for the same. But need to analyze how to acheive the same.
    Thanks & Regards,
    Harish

  • Movement type 122 - return delivery

    Dear gurus,
    I have material type FHMI-PRTS.
    During return delivery with movement type 122, system shows following messages.
    qty balances are not sufficient in the register
    Pl. elaborate in details,
    Regrds,
    Devendra

    Hi,
    Check in SPRO > Logistics - General > Tax on Goods Movements > India > Business Transactions > Incoming Excise Invoices > Specify Which Movement Types Involve Excise Invoices > Here check whether Movement Types are maintained.
    Regards,
    Manish

  • Output Print for MIGO movement type-107.

    Hi All kindly help me in resolving the following issues:-
    There is the requirement of printing RF Label while saving the GR from PO in movement type-107.
    Help me to configure the output type in this case.
    How the data flows from MIGO transaction to the ABAP program and finally to the printer ?
    How to link the output type to the transaction MIGO and so in movement type-107 ?

    Hi,
    go to spro-Materials Management-Inventory Management and Physical Inventory-General Settings.
    in General Settings print version migo is 2 .execute after Maintain Print Indicator for Goods Receipt Documents check 107 mvt type.
    refer the below link
    Print material document (WE02) automatic when GR
    Regards
    Raj.

  • FM or BAPI for processing output types of inbound deliveries

    Hello All,
    Does anyone know if there is a FM or BAPI what can be used to trigger the output type of an inbound delivery. FOr outbound deliveries there is a bapi called BAPI_LIKP_PROCESS_MSG_DIRECT but this does only work for outbound deliveries.
    Kind rgds,
    Patrick Keltjens
    Edited by: P. Keltjens on Apr 23, 2009 12:56 PM

    Thx for the quick reply. I'll run a test a will let you know if this solved my problem....

  • Movement Type 122 and Equipment Master status

    Using Movement type 102 (Reversal Goods Receipt) the Equipment master status is reset to
    AVLB and the stock batch is deleted.
    However movement type 122 (Return Delivery to Vendor) does not do this.
    Is there anyway to modify movement type 122 so that it works like 102 ?
    Regards.
    Phil.

    If it is a Return to vendor - 122 movement type transaction, the reason for the movement is that the equipment is defective or some issues are there and that is the reason it has been returned. Given 122 movement type is designed to reflect such a business scenario, how you are expecting that this should result in Equipment status to become AVLB.
    So the question is why are you posting 122 if it is not real return due some defect ?

  • Excise invoice created using J1IS and movement type  122

    Hello
    Can you please suggest whether we need to run J2IUN for the following process in order to show the debit entries in extracted RG23A PART2 register.
    1. Returning the material with refernce to the original Goods receipt document (101) using MIGO movement type 122. Original GR document posted with capture and Post excise option.
    2. Creaqting the Excise inoivce using J1IS with reference to material document created in Step 1
    3. Releasing to accounting/ Posting the excise invoice in J1IV.
    4. Extracting the Register RG23A PART 2 using J2I5
    5. Print excise register using J2I6....But the debit entry not shown in register
    Can you please confirm whether the debit entries in register will be updated after the Montly utilization J2IUN run ( as this process is a indirect sale process)
    Please confirm
    warm regards
    Ramakrishna.

    Hi Rama,
    The accounting entries for 122 is as per standard.
    for the excise invoice
    Cenvat Clearing         Dr.     
    Cenvat Account        Cr.
    for utilization
    Cenvat payable          Dr.
    Cenvat Account         Cr.
    PLA Account              Cr.
    and for MIRO it would be the standard.
    you can refer the note 542862 for cin related accounting entries.
    let me know if this helps you.
    regards,
    Adwait Bachuwar
    Edited by: adwait bachuwar on Dec 21, 2010 2:21 PM

  • MIGO T code for 453 Movement type

    hi sap gurus,
    I am getting These error message when i am using MIGO T code for 453 Movement type
    Deficit of BA Ret.blocked prev. 104 EA : NTH-607-P5G 1034 3401 5786051

    This means your stock level in return blocked stock is not sufficientt to be able to carry out the goods movement. Check your stock level for your material in MARD-RETME (or in MB52).
    Mvt 453 means stock transfer from return blocked stock (that was sent back by customer) to your own stock. Return blocked stock is owned by the customer, through this goods movement you take over the ownership of the goods.
    Regards,
    Csaba

  • Block Movement type 122 for T code MBRL

    All SAP Gurus,
    I want to block the movement type 122 for T code MBRL.
    For this I used T code OMJJ, but here it is not showing MBRL as used T code.
    If MBRL is not specified in OMJJ for 122, then how MBRL t code is allowed for movement type 122.
    Please give ur valuable inputs.
    Regards,
    Edited by: Rajan R. on May 17, 2008 3:22 PM

    Hi
    Thanks for the reply
    Now I want to block movement type 122 so that it can not be used throuh MRRL, is it posssible and how to do that?
    I have alredy blocked MIGO for movement type 122
    Edited by: Rajan R. on May 17, 2008 3:51 PM

  • Reason code required for movement type 122

    I am getting the above error and looked up a thread on the forum which applies to my scenario. However there was a mention of defining a text schema and assigning it to the movemnt type. Can someone help me how to do that?
    Jai
    The thread is as follows:
    We are running SRM 550 with Extended Classic scenario. When I attempt to create a return delivery, I get an error message saying: A reason has to be entered for movement type 122. But there is no way to enter the reason, i.e no fields or indicators.
    <b>The text schema for return delivery is maintained and assigned to the document type for confirmations -</b> as far as I am aware this is all the config which is necessary to activate the reason for return delivery function. Am I missing something??

    Hi Jai
    Text Types Menu Path : SPRO -> SAP Implementation Guide &#8594; Supplier Relationship Management  &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Text Types
    Text Schema: Menu Path : SPRO -> SAP Implementation Guide &#8594; Supplier Relationship Management  &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Text Schema
    Fixed Values: Menu Path : SPRO ->SAP Implementation Guide &#8594; Supplier Relationship Management  &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Fixed Values for Texts
    Best regards
    Ramki

  • Blocking Movement type 122 for T code MBRL

    All SAP Gurus,
    I want to block the movement type 122 for T code MBRL.
    For this I used T code OMJJ, but here it is not showing MBRL as used T code.
    If MBRL is not specified in OMJJ for 122, then how MBRL T- code is allowed for movement type 122.
    Please give ur valuable inputs.
    Regards,
    Edited by: Rajan R. on May 19, 2008 10:22 AM
    Edited by: Rajan R. on May 19, 2008 10:59 AM

    Check the all authorization roles you have created for inventory management. In there you can take out MBRL from the list. Then, create a new role for transaction MBRL only, and then you can allow other movement types for this role except 122. Assgin this role to your users.
    This is what I have done at two client locations.

  • Update qty in delivery note through bapi for migo

    hi im using bapi for migo upload
    my requiremnt is to update QTY IN DELIVERY NOTE in migo.
    i got the folowing error if i dont pass the quantity.
    qty and/0r delivery indicator or final issue indicator missing
    if i pass the quantity field then it is changing quantity in unity of entity and qty in SKU i dnt want to change this field
    here is my code,
    gmcode-gm_code = '01'.
        ls_GOODSMVT_HEADER-pstng_date = tdate . "sy-datum.
        ls_GOODSMVT_HEADER-doc_date   = sy-datum.
        ls_GOODSMVT_HEADER-pr_uname   = sy-uname.
    loop at itab.
      ls_GOODSMVT_HEADER-REF_DOC_NO = itab-LFSNR.
      it_goodsmvt-move_type  = itab-BWART.
      it_goodsmvt-po_number  = itab-EBELN.
      it_goodsmvt-PO_ITEM  = '10'.
      it_goodsmvt-STGE_LOC  = itab-LGORT.
    it_goodsmvt-QUANTITY  = itab-LSMNG.
    it_goodsmvt-BASE_UOM = 'KG'.
    it_goodsmvt-material = 'RC1092'.
    it_goodsmvt-entry_qnt = itab-LSMNG.
    it_goodsmvt-ENTRY_UOM  = 'KG'.
      it_goodsmvt-mvt_ind = 'B'.
      it_goodsmvt-plant = 'G001'.
    it_goodsmvt-NO_MORE_GR = 'X'.
    append it_goodsmvt.
    clear it_goodsmvt.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        goodsmvt_header               = ls_GOODSMVT_HEADER
        goodsmvt_code                 = gmcode-gm_code
      TESTRUN                       = ' '
      GOODSMVT_REF_EWM              =
    IMPORTING
      GOODSMVT_HEADRET              =
       MATERIALDOCUMENT              =  lf_MATERIALDOCUMENT
       MATDOCUMENTYEAR               = lf_MATERIALDOCYEAR
      tables
        goodsmvt_item                 = it_goodsmvt
      GOODSMVT_SERIALNUMBER         =
        return                        = return
      GOODSMVT_SERV_PART_DATA       =
      EXTENSIONIN                   =
    if return-type ca 'EA'.
          rollback work.
          message id '26' type 'I' number '000'
          with return-message.
        else.
          call function 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
          wait up to 5 seconds.
        endif.
    select * fROM mseg
          INTO CORRESPONDING FIELDS OF TABLE IT_MSEG
                             where mblnr = lf_MATERIALDOCUMENT and
                                       MJAHR = lf_MATERIALDOCYEAR.
      LOOP AT IT_MSEG INTO WA_MSEG.
        IF WA_MSEG-LSMNG IS INITIAL.
          wa_mseg-lsmng = ITab-LSMNG.
          UPDATE MSEG from wa_mseg.
          commit work.
          wait up to 5 seconds.
        ENDIF.
      ENDLOOP.
    ENDLOOP.

    It is been done by implementing one implicit enhancement in FM: MAP2I_B2017_GM_ITEM_TO_IMSEG
    I have added the below functionality at the end of the function module.
    Just i have maped the ERFMG i.e ent_qnt(Received quanity) with LSMNG i.e qty.in del note
    All best for others.
    $$-Start: (1)----
    $$
    ENHANCEMENT 1  Z_EV_IMP_GOODSMOVEMENT.    "active version
    Populate the delivery note quantity and UoM
    IF IMSEG-ERFMG IS NOT INITIAL.
      MOVE IMSEG-ERFMG TO IMSEG-LSMNG.
      MOVE IMSEG-ERFME TO IMSEG-LSMEH.
    ENDIF.
    ENDENHANCEMENT.
    Thanks,
    Mahesh.Gattu
    Edited by: Maheshkumar gattu on Dec 3, 2010 4:35 PM

  • Movement type 122 & 161

    What is the difference between Movement type 122 & 161?
    Request to provide business process explanation also.
    Regards,
    Vengat

    Hi Raghavan,
    The basic diffrence between these two movemnt types is,
    122: you can return material to the vendor when you know the PO number or GR number. The major advantage here for us is material get returned with same value when GR taken.
    161: Returns PO, here we will retun the material by creating the PO with Returns flag.As soon as you take GR system returns the material with price given in the PO. Here system takes the price given in the Returns PO.
    The business functinality of the both are, If you taken the 100 qty GR from the vendor and 80 got accepted and 20 rejected. Then it is advisable to go for 122.
    But you have procured material from various vendors and 100 Gr qty only 1 pc got rejected and like that in case of other vendors. In cumulative you got some 30 pcs that are not usable. In that case you negotiate with any vendor to take that material at agreed price. In this case we go for Returns PO. Stock get returned with the agreed price.
    Thanks,
    Krishna Reddy

  • ME23N - Movement type 122

    HI Guys,
    i have an order xxxx with a net price of 3,29 USD. now the warehous made the movement type 122 and in purch. order history i can see it.
    now the issue is, i have a different amount between local amount and amount.
    for me the local amount is EUR and the Amount is USD.
    it seems that doing the movement type 122 the price 3,29 was taken in EUR and not in USD, how can i check this?
    any suggestion?
    thanks
    C.

    yes.
    In the PO i have a material with net Price 3,29 USD. The warehouse made mov. type 122 with mb01 to return some of this material to the vendor (50 KG). now if i go to the po history i see movement type 122 quantity 50 amount 199,09 USD as you can see the price has changed.
    i cannot find any document that state that the price has changed. in the fi documents related to that movement there is already 199,09 as amount.
    can this be dependent to the moving avarage price?
    can you please help me?
    thanks
    C.

Maybe you are looking for

  • DPS to iPad - Could someone clarify if this is correct please?

    Hi All, Is it possible I could pick someone's brains on this please? I think I've worked it out, just need to know if i have this right! OK, here goes. I best start with what i intend to do. I shall be creating content for our local sales team on the

  • Lost temporary file in Word 2010. really need help

    I did two stupid things: 1. I downloaded a word document from gmail but I chose to open it directly instead of saving it and then opening it.  I am sure this created a temporary file somewhere.  I had to Enable Editing afterwards. 2. I made several e

  • DPP not showing folders anymore

    DPP suddenly stopped showing the folder structure (not related to an update), so it's impossible to select any photos. Zoombrowser for instance is still working fine. I can show (and edit) a photo when I specifically open it withh DPPViewer.exe, but

  • WRT400N wireless router industrial network static IP

    I have two small industrial networks all with static IP addresses. One network uses IP 192.168.83.xxx and the other uses 192.168.84.xxx. I plan to add two more of 192.168.82.xxx and 192.168.81.xxx where xxx is the last number of the devices. I had a

  • Full PO print on change version

    Hello friends. When a PO is changed after the initial printout, the change output prints only the changes made, and not the full PO. I know this is the standard way SAP works, but it is a client requirement that the print take the full PO version. Is