Enhancement in MIGO Required....

Hi Everybody,
I have to enhance Migo transaction with internal batch number which will contain alphanumeric number. I have used Enhancement SAPLV01Z , but the code provided by sap standard is not working properly. So that no batch number is generating in MIGO transaction.
Your valuable suggestion required for solving the issue.
With Best Regards,
Debraj Pal.
Edited by: Dj_technical on Feb 20, 2012 1:48 PM

Hi,
Bellow are the list of enhancements for MIGO.
MBCF0011 Read from RESB and RKPF for print list in MB26
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0009 Filling the storage location field
MBCF0007 Customer function exit: Updating a reservation
MBCF0006 Customer function for WBS element
MBCF0005 Material document item for goods receipt/issue slip
MBCF0002 Customer function exit: Segment text in material doc. item
Regards,
Goutam Kolluru.

Similar Messages

  • Enhancement of MIGO

    Hi all,
    I have a requirement to post  an accounting entry into 2 gl accounts when a migo (Good Reciept [both posting and rversal] ) is done on a particular type of purchase order (this is apart from the normal ones which have been added by the MM person). This I did through a BDC program on F-02 and added it through an enhancement. But now, the requirement is that the DOCUMENT NUMBERs of the normal accounting entry and that of my new posting should be same so that when they click on accounting documents for that particular migo, it should display all the postings; both the normal one and that which i have just added. I have tried all i could but have not gotten a right way to do this.
    Please any body in the house with any sound advise on how to do this?????

    Of course, you realize it is not possible to get two accounting documents with the same document number, you need two different accounting (FI, BKPF) documents referencing the same material document. (MM, MKPF)
    In your batch-input (BAPI would be better) give reference to the material movement document:
    - AWTYP = 'MKPF'
    - AWKEY = MKPF-BELNR + MKPF-GJAHR
    Sample: (in an implementation of MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE "Exit after Writing a Material Document. Not in 'update task'")
      DATA : lv_awtyp TYPE awtyp,
             lv_awkey TYPE awkey,
             ls_mkpf_awkey TYPE mkpf_awkey.
        WRITE 'MKPF' TO lv_awtyp.
        ls_mkpf_awkey-belnr = i_mkpf-mblnr.
        ls_mkpf_awkey-mjahr = i_mkpf-mjahr.
        WRITE ls_mkpf_awkey TO lv_awkey.
          CLEAR ls_bdcdata.
          ls_bdcdata-fnam = 'BKPF-AWTYP'.
          ls_bdcdata-fval = lv_awtyp.
          APPEND ls_bdcdata TO lt_bdcdata.
          CLEAR ls_bdcdata.
          ls_bdcdata-fnam = 'BKPF-AWKEY'.
          ls_bdcdata-fval = lv_awkey.
          APPEND ls_bdcdata TO lt_bdcdata.
    Regards,
    Raymond

  • Enhancement in MIGO for Goods Movement

    Hi Gurus,
    I got a requirement to Create a 262 goods movement materials document with reference to a Sub-Contract GR for an account assigned Sub-Contract PO thru TCODE MIGO. The details are describe as follow:
    Once the 101/543 GR movement is carried out, a 262 movement type needs to be executed to reverse the consumption of the material against the service order and bring it back to the inventory (open stock). This movement needs to be triggered once MIGO ‘subcontractor goods receipt -101/543’ is committed (saved).
    When the 101/543 GR movement transaction MIGO is saved-
    1.     User exit needs to be invoked
    2.     Check if the GR is
    o     for an account assigned (EKPO- KNTTP Acct Assignment Cat =F) Sub-Contract PO (EKPO- PSTYP  Item Category L)
    o     AND the service order number (AUFNR) exists in ZXXXXXX (ZSUBCON_VALIDATION) table
    3.     Identify the line item material in the goods receipt document (First item /against movement type 101),
    4.     Identify the service order number (AUFNR) from ZSUBCON_VALIDATION table.
    5.     Call the goods issue (262) transaction via the BAPI using the material derived via step 3 and against the service order number derived via step 4. BAPI_GOODSMVT_CREATE  post goods movements

    Hi Matt,
    There are lots of Exits and BADI available in this transaction. See which suits you.
    Enhancement                                                                               
    MB_CF001                                Customer Function Exit in the Case of Updating a Mat. Doc.   
    MBCF0011                                Read from RESB and RKPF for print list in  MB26              
    MBCF0010                                Customer exit: Create reservation BAPI_RESERVATION_CREATE1   
    MBCF0009                                Filling the storage location field                           
    MBCF0007                                Customer function exit: Updating a reservation               
    MBCF0006                                Customer function for WBS element                            
    MBCF0005                                Material document item for goods receipt/issue slip          
    MBCF0002                                Customer function exit: Segment text in material doc. item                                                                               
    Business Add-in                                                                               
    MB_DOCUMENT_UPDATE                      BADI when updating material document: MSEG and MKPF          
    MB_DOC_BADI_INTERNAL                    BAdIs During Creation of a Material Document (SAP Internal)  
    MB_ME_CSGMT_BADI_SAP                    BAdI: Consignment Processing - Stock Transfer                
    MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens                  
    MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data                          
    MB_PHYSINV_INTERNAL                     Connection: Core Inventory and Retail AddOn                  
    MB_QUAN_CHECK_BADI                      BAdI: Item Data at Time of Quantity Check                    
    MB_RESERVATION_BADI                     MB21/MB22: Check and Complete Dialog Data                    
    MB_RESERVATION_SCR                      Screen BAdI for Retrofit DFPS                                
    MB_RESERVATION_UPCHD                    BAdI for Creation and Changing of Manual Reservations        
    MB_RES_BAPI_CHANGE                      BAdI: Execution of Changes to Reservation Fields             
    MB_RES_BAPI_CREATE1                     BAdI: Adoption of Customer's Own Fields as Reserv. Fields    
    MB_RES_BAPI_DETAIL1                     BAdI: Display of Customer's Own Fields in Reservations       
    MB_STOR_LOC_BADI_GTS                    BADI to Check and Change Storage Location (GTS Fct. Only)    
    MB_DOCUMENT_BADI_SAP                    BADI for Creation and Changing of a Material Document        
    ARC_MM_EBAN_CHECK                       BAdI: Enhancement of Archivability Check (MM_EBAN)           
    ARC_MM_EBAN_PRECHECK                    BAdI: Enhancement of Archivability Check (MM_EBAN)           
    ARC_MM_EBAN_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EBAN)            
    ARC_MM_EINA_CHECK                       BAdI: Enhancement of Archivability Check (MM_EINA)           
    ARC_MM_EINA_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EINA)            
    ARC_MM_INVBEL_CHECK                     BAdI: Enhancement of Archivability Check (MM_INVBEL)         
    ARC_MM_INVBEL_WRITE                     BAdI: Enhancement of Scope of Archiving (MM_INVBEL)          
    ARC_MM_MATBEL_CHECK                     Prüfung ADD-ON-spezifischer Kriterien für MM_MATBEL          
    ARC_MM_MATBEL_WRITE                     Check Add-On-Specific Data for MM_MATBEL                     
    MB_CHECK_LINE_BADI                      BAdI: Check Line Before Copying to the Blocking Tables       
    MB_CIN_LMBMBU04                         posting of gr                                                
    MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7              
    MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR               
    MB_DOCUMENT_BADI                        BAdIs During Creation of a Material Document                 
    Regards,
    Atish

  • Enhancement In MIGO

    Hi Experts,
    I want to add a new tab in SAPLMIGO (standard program for MIGO screen).Is it possible to do it using enhancement framework because i am working in ECC 6.0.
    If so please help me with the step-by-step procedure.
    Plese help me.........................................
    Its very very urgent...................................
    Thanks in Advance
    Athu

    Hi skk
    Those enhancements in SMOD will work but my requirement is to create a tab in the stnd prgm. SAPLMIGO using explicit or implicit enhancement implementation.
    please help me...................
    thnks

  • Enhancement for MIGO when SAVE with any of these tables afru,aufk,jest,tj02

    Enhancements/BADI's for MIGO Transaction When SAVE.
    Tables: afru,aufk,jest,tj02t,afpo,
    eban,qave,qals.
    can anyone pls suggest Enhancements/Exits/BADI's
    for MIGO transaction where i can use any of the
    above tables .
    i found mb_migo_badi, i dont think i can use this.
    If any one know any user exits to do it  .
    Regards
    Ashok.

    Hi Madhu,
    user exits for stopping PO creation without production order confirmation.
    Regards,
    Ashok.

  • Enhancement in MIGO to change the G/L account for Acc. asgnt category 'A'

    Hi,
      MY requirement is in the goods receipt when the Acc. assignement category is 'A' of  the posting item then the G/l Account assigned should be changed.
    I found FM MR_ACCOUNT_ASSIGNMENT and EXIT EXIT_SAPLKONT_011. but the exit is not getting triggered.
    Please suggest.
    Thanks

    I tried this ...... but it is not working.....My requirement is to change G/L Account no for Accounting document ....
    By default it is picking up from transaction OBYC according to the configuration done .......I need to assign different G/L account which is not assigned in OBYC Transaction .......and SAP should not pick it from the configuration
    Regards,
    Sivani.

  • Regarding enhancement in MIGO

    Hi:
    Is there anyone who has done modifications on MIGO transaction using MB_MIGO_BADI. I need to attach an extra tab with some extra fields. Please give me the complete detail. Points will be rewarded

    Hi,
    Please take a look at these threads:
    MB_MIGO_BADI   IMPLEMENTATION
    MB_MIGO_BADI Implementation
    https://forums.sdn.sap.com/click.jspa?searchID=4337016&messageID=3896299
    Regards

  • Enhancements applicable to transaction MIGO

    Dear All,
    There is a requirement from a business to make a field 'Unloading Point(WHERE tab)'  of transaction MIGO  as a  'Required' field only if Purchase order type is 'ZE'. Also, custom F4 help needs to be provide to this field.
    Is there any User Exit or Badi to achive this requirement.
    Thank you.
    Best Regards,
    Renuka.

    Hi,
    This is the list of enhancements for MIGO tcode:
    MB_CF001     Customer Function Exit in the Case of Updating a Mat. Doc.
    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
    Hope this helps.
    Regards,
    Satyam

  • Finding  required enhancement

    hi , can anybody plz tell how to find an enhancement which is required ....
    for ex.. i have a req that i have to display a popup mess before saving the sales order while Sales order creation/change...
    how to find the enhancement...
    plz tell the steps....
    thanks in advance..
    chandra

    Hi !!
        For this the user exit  exists in include  - MV45AFZZ . Use the form   FORM USEREXIT_SAVE_DOCUMENT_PREPARE      to do the vailidations and give the message / popup .
    ALso you can run the following program to get the exit or BADI in a transaction or program :
    *& Report ZUSEREXIT_FIND *
    report zuserexit_badi_find .
    tables : tstc,
    tadir,
    modsapt,
    modact,
    trdir,
    tfdir,
    enlfdir,
    sxs_attrt ,
    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,
    p_pgmna like tstc-pgmna .
    data wa_tadir type tadir.
    start-of-selection.
    if not p_tcode is initial.
    select single * from tstc where tcode eq p_tcode.
    elseif not p_pgmna is initial.
    tstc-pgmna = p_pgmna.
    endif.
    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 in ('SMOD', 'SXSD')
    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:/(105) sy-uline.
    format color col_heading intensified on.
    Sorting the internal Table
    sort jtab by object.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type c.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    loop at jtab into wa_tadir.
    at first.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Enhancement/ Business Add-in',
    41 sy-vline ,
    42 'Description',
    105 sy-vline.
    write:/(105) sy-uline.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    format color col_group intensified on.
    write:/1 sy-vline,
    2 wf_object2,
    105 sy-vline.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    select single modtext into wf_txt
    from modsapt
    where sprsl = sy-langu
    and name = wa_tadir-obj_name.
    format color col_normal intensified off.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single text into wf_txt
    from sxs_attrt
    where sprsl = sy-langu
    and exit_name = wa_tadir-obj_name.
    format color col_normal intensified on.
    endcase.
    write:/1 sy-vline,
    2 wa_tadir-obj_name hotspot on,
    41 sy-vline ,
    42 wf_txt,
    105 sy-vline.
    at end of object.
    write : /(105) sy-uline.
    endat.
    endloop.
    write:/(105) sy-uline.
    skip.
    format color col_total intensified on.
    write:/ 'No.of Exits:' , wf_smod.
    write:/ 'No.of BADis:' , wf_badi.
    else.
    format color col_negative intensified on.
    write:/(105) 'No userexits or BADis exist'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(105) 'Transaction does not exist'.
    endif.
    at line-selection.
    data : wf_object type tadir-object.
    clear wf_object.
    get cursor field field1.
    check field1(8) eq 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    set parameter id 'MON' field sy-lisel+1(10).
    call transaction 'SMOD' and skip first screen.
    when 'SXSD'.
    set parameter id 'EXN' field sy-lisel+1(20).
    call transaction 'SE18' and skip first screen.
    endcase.

  • Saving custom fields to MSEG added in additional TAB in MIGO transaction

    Hi Experts,
    I am facing an issue with an enhancement in MIGO transaction for which i need help. I have gone through several threads with similar issues but none of them have solved my issue. I have worked around with all BADIs of MIGO and user exits available but to no avail so I am posting a new thread.
    The requirement is pretty straight forward of adding a custom TAB in item details section of MIGO transaction. I have done that using BADI: MB_MIGO_BADI, method PBO_DETAIL. I created a screen with my custom fields and passed them in this method. The TAB appears as expected with all the fields. The custom fields are in MSEG table which has been enhanced and it needs to be updated with the user values on the screen.
    The issue creeps in when there are multiple materials in the purchasing document and user works around with them. Say he clicks on the second material and in the custom TAB changes its details in custom fields. Now he clicks on the fourth material and changes its details. Continues this for all the materials in random order. How do i identify in my custom screen [developed separately and called in PBO_DETAIL of the BADI] which details belong to which material or line number. The only way to do it is by using the purchasing order number and line item number. These are not available in my custom screen and needs to be exported from somewhere and imported there. I have not been able to identify the point where export can be done.
    Can anyone help me out with this problem? Either the point where export can be done or any other way of identifying the link between the line number / material number and the custom field details entered by the user.
    Thanks,
    Ritvik

    Hi Ritvik,
    you will not need it.
    The item methods will process exactly the item what the addional item data are related to. In PBO_DETAIL and PAI_DETAIL, use parameter I_LINE_ID for the item reference.
    Note: Not only read SCN etc,  also the parameters desciption of the methods used.
    Regards,
    Clemens

  • Enhancement for VL32N

    Hi,
    In vl32n transaction when we save the particular inbound delivery
    I want to perform material to material transfer posting by triggering MIGO transaction and changing the batch number .
    Can u suggest any enhancement for this requirement?

    Hi,
    Check if any of the following are useful to you:
    V02V0001  Sales area determination for stock transport order
    V02V0002  User exit for storage location determination
    V02V0003  User exit for gate + matl staging area determination (h
    V02V0004  User Exit for Staging Area Determination (Item)
    V50PSTAT  Delivery: Item Status Calculation
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields
    V50R0001  Collective processing for delivery creation
    V50R0002  Collective processing for delivery creation
    V50R0004  Calculation of Stock for POs for Shipping Due Date List
    V50S0001  User Exits for Delivery Processing
    V53C0001  Rough workload calculation in time per item
    V53C0002  W&S: RWE enhancement - shipping material type/time slot
    V53W0001  User exits for creating picking waves
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    Regards,
    Renjith Michael.

  • How to check what are the enhancement done for MIRO transaction

    Hi Experts,
    Please help me out, how to check what are the enhancement done for MIRO transaction.
    Thanks in advance.
    Thanks,
    Basanagouda

    Hi
    Use the BADI
    Please refer these documents: [Enhancements required in MIGO|Enhancements required in MIGO; and
    [Enhancement in MIGO for Goods Movement|Enhancement in MIGO for Goods Movement;
    Hope this helps!!
    Regards
    Vijay

  • BADI or userexit for MIGO transaction

    hi All,
                  I have a requirement to enhance the MIGO transaction subscreen 304.
    In subscreen 304 there is only check box ITEM_OK.
    In the MIGO at the bottom of the screen ,whenver we click on item_OK check box and press enter, in the line item it will automatically checks.
    After the first check it has to get disabled in the screen.
    I am trying to find the BADI for this..still trying
    Please let me know how to achieve this functionality.

    Hi,
    Try below BAdi's :
    MB_MIGO_ITEM_BADI or
    MB_MIGO_BADI
    MB_DOCUMENT_BADI.
    Also these will be of help furthur.
    Enhancement/ Business Add-in Description
    Enhancement
    MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
    MBCF0011 Read from RESB and RKPF for print list in MB26
    MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0009 Filling the storage location field
    MBCF0007 Customer function exit: Updating a reservation
    MBCF0006 Customer function for WBS element
    MBCF0005 Material document item for goods receipt/issue slip
    MBCF0002 Customer function exit: Segment text in material doc. item
    Business Add-in
    MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
    MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
    MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
    MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
    MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
    MB_DOC_BADI_INTERNAL BAdIs when Creating a Material Document (SAP Internal)
    MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
    MB_DOCUMENT_BADI BAdIs when Creating a Material Document
    MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
    MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
    MB_CIN_LMBMBU04 posting of gr
    MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
    ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
    ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for MM_MATBEL
    hope this will help you.
    Regards,
    Kiran

  • Badi Requirement

    Hi Freinds,
    I am new enhancements, i have requirements on BADI's, can any one help me in this how to slove this BADI's
    Points will be given
    The BADI's are
    1.The header text of the reference document is to be copied as well when purchase Requisition (PRQu2019s) are copied into purchase Order (PO)
    2.Change Item data in Tcode MIGO, Customer specific storage location determination for the material id with item text
    Can any one explain me in detail about this BADI's
    Thanks and Regards
    Vijaya

    Hi, can any one explain me about this 2 badi's, its very urgent , can any one help me in this
    Regards
    Vijaya

  • User exit for MIGO Posting Date

    Dear all,
    My Client want requirement is : Posting date of GRN should be after last posting date of goods issue
    i.e.  GI                261  1st june
           GI Reverse 262   2nd june
    again  GI 261  28 may   ( as 2 posting perod are open )
    then user should be able to do GRN on or after 28th may
    For this user exit please suggest me any FM or logic
    my current logic is allowing to post GRN after 1st june i.e. latest GI date  but that is not matching client requirement
    Please suggest
    Regards,
    Ishwar

    Hi,
       Enhancement for MIGO ,you can try these user exit
    MB_CF001-->  Customer Function Exit in the Case of Updating a Mat. Doc.
    MBCF0002 --> Customer function exit: Segment text in material doc. item
    MBCF0005 --> Material document item for goods receipt/issue slip
    MBCF0007  -->Customer function exit: Updating a reservation
    In BADI,you can refer these
    MB_CIN_LMBMBU04--> posting of gr
    .In MKPF table having data (posting date of goods issue) BUDAT-field name,tell the conditions as per your requirement to ABAPer,they can implement the enhancement as per your requirement...
    I hope,it will help you
    <=<< Sharing Knowledge is a way to Innovative >>=>
    By,
      Yoga

Maybe you are looking for