Auto transfer posting in MIGO

Dear experts,
       Requirement is like, whenever we do goods receipt and save in MIGO(tcode), the transfer posting should happen after the commit work of MB_POST_GOODS_MOVEMENT. Could anyone suggest which is the correct enhancement-point to implement the code?
Thanks,
Adithan

Hi,
did you try to use this BADI: BADI_DIAD_GOODMVT_1. This is from BADI documentation
This BAdI enables you to initiate follow-up actions after a goods
movement. Using the number and year of the material document, the system
reads the goods movement data in the customer-specific coding and
triggers the relevant actions.
It has also sample code.
Cheers

Similar Messages

  • Transfer Posting with MIGO.

    HI,
    I need to do a transfer posting to post some of the materials using 541 mvt to my Subcontracting Vendor. When i am able to do it with MB1B , i am able to access with reference to PO whereas in the enjoy transaction ( MIGO ) with Transfer posting, i am able to see only reference documents such as material document, Reservation and Others.
    If i want to add one more reference to the Transfer posting function how to go about.
    Please expedite.
    Regards,
    RitiG

    Hi RitiG,
                                                                                    Unfortunately, as you have seen, the only two available references to post a Transfer posting with MIGO are 'Others' and 'Reservation'.                   
    This is, it is not possible to post a transfer posting in MIGO with reference to a Purchase Order. This is the standard behavior and it cannot be customized.                                                                               
    If you wish this option to be available to transfer stock to your subcontracting vendor (using the movement type 541), then, you will need to make this posting via the business transaction 'A08 Transfer posting' - 'R10 Others', but then you will not have any reference to the Purchase Order.                                                                               
    Alternatively, you can use transaction ME2O, which uses this reference to the Purchase Order, or you can continue using MB1B.
    Best regards,
    Esther

  • Populate Tax Code in RKWA table while doing transfer posting through MIGO.

    Hi All,
    I have a requirement where for certain countries i have to pass the tax code to RKWA table while doing Transfer posting through MIGO transaction.
    For certain countries which i have to pass the Tax code to RKWA table, basically will not be having the tax code. For this reason im looking for BADi/User exits where i can update the RKWA table with the tax code. If the tax code is not derived, im getting the error as 'No tax information found'.
    Please suggest if any BADi/exits are available for this requirement.
    Regards,
    Santosh

    Check the following SAP notes:
    139176
    579241
    Regards,
    Indranil

  • Transfer posting in MIGO- need BADI

    Dear All,
    i have this issue
    Stock transfer From Material code: 736
    Same storage location and Same Plant to material code: 9010 same storage location and same plant and same Quantity and same UOM and Addition UOM.
    Example:
    Material: 736
    SLoc: CT16
    Plant: 1100
    Quantity: 100 KG ( KG only Base UOM)
    Additional :
    Transfer the material.
    Material: 9010
    Sloc: CT16
    Plant: 1100
    Quantity: 100 KG (KG only Base UOM)
    Additional:
    need to find the BADI. i have googled and checked with few badi's MB_MIGO_BADI;and MB_DOCUMENT_UPDATE.
    but couldn't solve the issue.
    Need to find the BADI and its corresponding method.
    regards,

    Hi Naren,
    I will tell you four methods to find a BADI,
    Method 1. If you think that it is a simple requirement then got SE18 and click on F4 and Iformation Systems. In the short description enter the short text and search.
    Method2. Another simple method is to search with Package.
    Method3. Put a break point in the FM SXV_GET_CLIF_BY_NAME and then run your transaction
    Method4. Put a break point in the class CL_EXITHANDLER for METHOD get_instance. and then run your transaction.
    Hope this material helps.
    ThnX,
    Bhargav.

  • Transfer posting with Mov Type 311E in MIGO with reference to SC-PO

    Hi,
    I am working with MTO scenario.
    I want to carry out transfer posting of material with movement type 311E against subcontracting Purchase Order which is sale order specific.
    However, system does not allow me to do the same. whenever transfer posting, PO & movement type is selected in transaction MIGO, item details entry tabs are displayed blank.
    Below steps are being follow:
    Scenario is MTO ( special stock subcontracting)
    1. Subcontracting PO no. 4500000147 against Sale Order no 61 created.
    2. RM code - 61, available stock 100 TO & batch no.0000000127
    3. Transfer material to vendor for processing through MIGO ( since it is a special sales order stock, transferring happens from SL 0001- Main Stores to SL VLSC -Virtual storage location) using movement type 311 E
    5. Item Data details tabs are blank.---This is the issue / error.
    Note: I am restricted to post transfer posting through MIGO-Transfer Posting (will not use MB1B) due to some enhancement of MIGO and interfaces with legacy system.
    Please have a look on attachment for SAP screen issue.
    Regards
    Mohit Jaiswal

    Hi Mohit ,
    please check below link , you need to perform steps as given
    http://help.sap.com/saphelp_470/helpdata/en/4d/2b90b043ad11d189410000e829fbbd/content.htm
    also see the sales order subcontracting using the business addon
    http://help.sap.com/erp2005_ehp_04/helpdata/en/c7/2587b8dad94c52854ccd28015dceb0/frameset.htm

  • Transfer Posting problem via MIGO MVT 311

    While doing transfer posting through MIGO MVT 311 against reservation, we are facing the problem displayed below:-
    "Check table XMRES: entry 0000000000 0001   does not exist
    Message no. M7001
    Diagnosis
    In table XMRES the entry 0000000000 0001   is missing."

    You cannot use 311 .311 is Moving material from one storage location to another -- Un restricted to another, Reserved stock can be  moved by converting in to another movement type  .Do movement 341in mb1c , if 341 is not there then go to moment type control
    data and create particular moment type and run that for reservation no
    document created and in valuation area

  • User Exit  for MIGO(Transfer Posting)

    Is there any user exit for transfer posting by MIGO?
    if so plz give the names of user exits related to it.....
    Awaiting for ur reply..............

    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    No of Exits:          8
    Rewards if useful.........
    Minal

  • BAPI_GOODSMVT_CREATE: move 309 for transfer posting - change of sales order

    Hello Experts,
    I'm trying to use BAPI_GOODSMVT_CREATE to transfer the material from one sales order to another.
    But that doesn't seem to work.
    ls_goodsmvt_header-pstng_date = sy-datum.
          ls_goodsmvt_header-doc_date   = sy-datum.
          ls_goodsmvt_code-gm_code      = '04'.
          ls_goodsmvt_item-material    = ls_outtab_l-matnr.
          ls_goodsmvt_item-plant       = ls_outtab_l-werks.
          ls_goodsmvt_item-stge_loc    = ls_outtab_l-lgort.
          ls_goodsmvt_item-move_mat    = ls_outtab_l-matnr.
          ls_goodsmvt_item-move_plant  = ls_outtab_l-werks.
          ls_goodsmvt_item-move_stloc  = ls_outtab_l-lgort.
          ls_goodsmvt_item-move_type   = '309'.
          ls_goodsmvt_item-mvt_ind     = ''.
          ls_goodsmvt_item-entry_qnt   = ls_outtab_l-kalab.
          ls_goodsmvt_item-entry_uom   = 'EA'.
          ls_goodsmvt_item-spec_stock  = 'E'.
          ls_goodsmvt_item-val_sales_ord  = ls_outtab_l-vbeln.
          ls_goodsmvt_item-val_s_ord_item = ls_outtab_l-posnr.
          ls_goodsmvt_item-sales_ord   = ls_outtab_r-vbeln.
          ls_goodsmvt_item-s_ord_item  = ls_outtab_r-posnr.
    "      ls_goodsmvt_item-sched_line  = '000'.
          APPEND ls_goodsmvt_item TO lt_goodsmvt_item.
          CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
            EXPORTING
              goodsmvt_header  = ls_goodsmvt_header
              goodsmvt_code    = ls_goodsmvt_code
              testrun          = ''
            IMPORTING
              goodsmvt_headret = ls_goodsmvt_headret
              materialdocument = lv_materialdocument
              matdocumentyear  = lv_matdocumentyear
            TABLES
              goodsmvt_item    = lt_goodsmvt_item
              return           = lt_return.
    Right now i supply val_sales_ord with destination order number, and sales_ord with source. But I'm not really sure about that, which is the destination, and which is source sales order number parameter in itemline, val_sales_ord or sales_ord? Or maybe it doesnt work like that?
    Thanks for any help,

    So after some time i found out where the flow of bapi and migo differ, this is also, where the field KDAUF gets reseted, and the cause of not posting material document correctly:
    Starts in line 59 of MM07MFU0_UMLAGERUNG_PRUEFEN:
    * The old fieldselection (T156B) is not valid for a transfer posting
    * from MIGO
      IF NOT vm07m-xstor = zwei AND xmigo <> x.
        IF dm07m-fausw+55(1) = minus.
          CLEAR mseg-ummat.
        ENDIF.
        IF dm07m-fausw+56(1) = minus.
          CLEAR mseg-umwrk.
        ENDIF.
        IF dm07m-fausw+57(1) = minus.
          CLEAR mseg-umlgo.
        ENDIF.
        IF dm07m-fausw+64(1) = minus.
          CLEAR mseg-umcha.
        ENDIF.
        IF NOT vm07m-kzbwa = kzbwa-01 AND
           NOT vm07m-kzbwa = kzbwa-05 AND
           NOT vm07m-kzbwa = kzbwa-07.
          CLEAR: mseg-umbar.
        ENDIF.
    " the condition below is the source of my problems
        IF dm07m-fausw+60(1) = minus.
          CLEAR: mseg-kdauf, mseg-kdpos.
        ENDIF.
        IF dm07m-fausw+62(1) = minus.
          CLEAR mseg-ps_psp_pnr.
        ENDIF.
      ENDIF.
    I changed the value minus '-' of dm07m-fausw+60(1) to a dot '.', and the bapi worked like a charm. I am just not sure if I can change the records of T156B just like that, I guess not a good idea.
    Still i have no solution...

  • Getting serial number box while transfer post in MB1A but not while doing MIGO

    Hi Team
    I am getting serial number box while transfer post in MB1A.
    But getting below error under serial number tab while doing GR through MIGO of outbound delivery.
    Issuing plant and receiving plant, material, batch, qty are same in both cases.
    How can I get serial number box when doing GR? Does any customizing changes needed?
    Br, Kiran U

    Movement type is different for those two screen shots, also you are saying you are using MB1A, but you are using 301 movement type. Generally 301 movement type is not allowed from MB1A t-code.
    Please check these SAP notes if relevant for your case.
    856548 - MIGO: you cannot enter serial numbers
    856662 - T156Q: Missing entries

  • Transfer posting against purchase order in MIGO transaction

    Dear all,
    How can we make the settings in MIGO transaction code for Transfer posting with reference to Purchase order.
    Other wise, i want to do the transfer posting of my goods to my sub contractor with refernce to PO number in MIGO Tcode
    Any config settings are required.
    Thanks & Regards,
    R.Saravanan

    As per SAP online help you have three options to post components to your SC vendor's special stock:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/4d/2b906243ad11d189410000e829fbbd/frameset.htm
    You can provide components for existing purchase orders in the following ways:
    from the SC Stock Monitoring for Vendor list as a goods issue via Inventory Management
    from the SC Stock Monitoring for Vendor list as a delivery via Shipping
    from the Inventory Management menu
    If you read the instruction for the third option (first two is about ME2O), you will see it is speaking about MB1B and not about MIGO.
    1. From the Inventory Management menu, choose Goods movement ® Transfer posting.
    2. Enter the issuing plant and storage location. Choose Movement type ® Transfer posting ® Stck w. subcontract. ® From unrestricted. Enter the vendor and then choose Transfer posting ® Create with reference ® To purchase order.
    A dialog box appears in which you can enter up to 4 purchase orders.
    In MIGO you can choose only "A08" with "R02", "R08", "R09". "R01" is not allowed for "A08" in standard system.
    (Maybe it is possible but I do not know how...)
    Edited by: Csaba Szommer on Aug 5, 2010 11:54 AM
    Edited by: Csaba Szommer on Aug 5, 2010 11:54 AM

  • MIGO BADI - Transfer Posting

    Dear forumers,
    I have a requirement as such:-
    Upon a transfer posting in the transaction MIGO, some data fields will need to be updated in RESB and another custom table based on certain conditions. This transfer posting will be for issuing / transferring a part from one location to another.
    As for the data logic, I should be able to work it out. But, I am not sure on how I can find the right BADI for this.
    Would someone have any idea on this at all?
    Please help. Many thanks in advance.

    Hi
    If you use MIGO, you can use the BADI 'MB_MIGO_BADI'. You can use too the BADI 'MB_DOCUMENT_BADI', but in this case be careful (see Note 92550 - Stock inconsistency due to customer enhancement (exit, BAdI) ). This is for custom tables. For RESB data I don't know what you want to do.
    I hope this helps you
    Regards
    Eduardo

  • MIGO Automatic Transfer Posting  (Mvt 101 ) to (mvt 301)

    Hi Experts,
        My requirement is : MIGO - once  performed goods receipt (MvT 101) in receiving plant then transfer posting will perform automatically MB1B (MvT 301) to destination plant/ storage location based on shipping address.
    This should transfer after updating tables (which is after save for Mvt 101 ).  For this I got 1 Badi ' MB_DOCUMENT_BADI'.
    I have used  methods MB_DOCUMENT_UPDATE   and 1 User Exit mb_CF0001  (EXIT_SAPLMIGO_001 or EXIT_SAPMM07M_001 ).
    These 2 will trigger after updating tables, but  the problem is tables are locked especially plant table, so my BAPI  BAPI_GOODSMVt_CREAte is throwing error (says plant is locked).   I even tried DEQUE_ALL  still unable to unlock tables. when I come out of these 2 spots then only tables are unlocked by SAP.
    Appreciated for right answer.
    Regards,
    Sri
    Edited by: srijaS on Aug 17, 2009 1:08 AM
    Edited by: srijaS on Aug 17, 2009 1:09 AM

    Try calling Bapi with 'IN UPDATE TASK' or 'IN  BACKGROUND TASK "

  • Transfer posting MIGO  vs MB1B

    Hi,
    while doing transfer posting 311 with MB1B system automatically propose issued  batch on receiving storage location. With MIGO both batch are entered manually. Is there any setup (or user parameter) with which when we enter issuing batch in MIGO automatically receiving batch will be set as same?
    Best regards,
    vuk

    This thread solved the problem  (answer from Theodor)  [automatic batch number in migo_tr with movement type 301|automatic batch number in migo_tr with movement type 301]
    For MIGO field UMCHA set to optional.
    Inventory Management and Physical Inventory->Settings for Enjoy Transactions->Settings for Goods Movements (MIGO) -> Field Selection per Mvt Type
    Best Regards,
    Nenad

  • Error in transfer posting (MIGO,MB1C,MB1B)

    Hi Expert,
    Been having trouble in all my transfer posting both in migo, mb1c, mb1b. the error always say "internal program error at: Text for characteristic'" can you tell me what cause this error on my material and how could i fixed it,.
    Thanks and Regards,

    You should contact your ABAPer,by debugging he will tell you the real problem.

  • In MIGO transaction Transfer posting user exist or BADI or Enhacements

    Hi Experts,
    Could you please help on this issue.
    My requirment is, In MIGO transaction code, Transfer Posting (i.e., Storage location) screen, in item level there is Transfer  posting tab  From and Dest two sub screens are there.
    if user enter material , plant and stoargae location in From side and that will be same maintain in Destination side.
    If any user will change in Destination level Material or Plant or Stoarage location, I need to populate the error message.
    Could you please tell me BADI or user exist or Enhacement for this requirment.
    I have serached in SDN and debug the transaction code MIGO. I didn't found user exist and enhacment.
    Thanks
    Srinu

    HI ,
    If i tried this Enhacment MB_MIGO_SC. I have put break point and it is not triggering, when i am saving/ Checking the postings in MIGO transaction code.
    Thanks
    Srinu

Maybe you are looking for

  • Trouble compiling with JWS 2.0

    Hello, I have a servlet written with JDeveloper that compiles and runs fine with JDeveloper. I am attempting to get it to run using Sun's Java Web Server 2.0. Other servlets run in JWS by just copying the class file to the JWS servlet directory. I fi

  • Regarding Report Group-GR55

    hi friends,       I am running a report group using the T.Code GR55. In the selection screen when i enter the Fiscal Year-2007 and then run the report group it is generating an output. after that we are double clicking on the particular field on the

  • Debugging  of Tuxedo Service in C/C++

    Hi All, I am trying to debug tuxedo service (C code on HP-UNIX 11.00) in the following ways : shprod25 48: gdb csbfp001 -> csbfp001 is the application service exe (gdb) b GetRecircRow -> GetRecircRow is the function name (gdb) r Starting program: /ap

  • How do I get LR 5.6 to recognize my D5300 in tethering?

    According to the Adobe LR tethering list my camera is supposed to be supported for tethering since ver 5.5.  I have tried and tried with zero luck. Somewhere I saw a post that said to try the manufactures tethering software, well Nikon wants big buck

  • FMS server netconnection class

    Im using fms server 4.5 for my application. I am connecting the fms server using the netconnection.connect() method. This method returns a success status immediately when the connection with fms server is made. But if there is a failure in connection