Dynamic population of vendor number in MIGO transaction

Hi Experts,
           In <b>MIGO</b> transaction(For Transfer Posting) for  <b>411 K</b>(TP Consignment to own),after I enter material,plant,storage location and batch, my requirement is to populate the vendor no(<b>LIFNR</b>) field dynamically (which is located below the spec. stock field)either by pressing enter or by clicking on '<b>CHECK</b>' button located in the application toolbar....
   I need the procedure to be followed to fulfill my requirement.
  Helpful answers will be rewarded.
Regards
Nagaraj

Hi
Search for the right User exit or BADI for this requirement and implement that
see the MIGO related Exits and BADI's
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                 
Regards
Anji

Similar Messages

  • Retrieve batch from serial number in MIGO transaction

    Dear all  Gurus,
    My company already implement ECC6.0 with IS-Retail function. And I have some concern that my company would like to activate batch for control the stock at DC and Store level and some articles also control serial number.
    When I would like to move the stock (ex. stock transfer between storage location MVT 311) in sap system I need to specify the batch first and specify serial number later. But in the physical stock what we know is serial number. So would it be possible to specify serial number first and let's the system to find out batch from serial number?
    And one concern it's possible that serial numbers that I select maybe have different batch number.
    Ex. Serial Number 1 belong to batch A
          Serial Number 2 belong to batch B
          Serial Number 3 belong to batch B
    When posting in MIGO transaction it's should to split in 2 line
    First line Mat xxx      Qty 1 Batch A Serial Number 1
    Second line Mat xxx Qty 2 Batch B Serial Number 2, 3
    Have anyone already have some case like this? Please help to suggest possible solution.
    Best Regards,
    Kate

    Hi Kate,
    I have some experience in Batch Management with IS Retail ECC 6. I believe their is a valid solution to it.
    coming to your query of way to aviod manually assignment of batches and spliting it for the site to site stock transfer via mvt type 301 or 311.
    we need to create Batch Search Strategy and Sort Rule for it.  The steps to do it as follows.
    1. Create a  Characteristic via CT04 for batch handling in the search strategy with class type "23"table name "MCHA" and field name "CHARG". If you are working with fixed value of batches, define it as the characteristic values or if you have batches creating internally by the system, Put a * in it.
    2. Create a class in CL02 with class type "23" and assign this newly created characteristic to it.
    3. Now create a sort rule in CU70 and assign this same characteristic to it and select the ascending or desending check box based upon your choice of "FIFO" or "LIFO".
    4. Now create a new strategy for batch determination while doing different inventory movements. Go to Logistics General  Batch Management  Batch Determination & Batch Check  Strategy Types  Define Inventory Management Strategy Type. Copy the standard one and create one for you and assign the class and sort sequence created above to it and define the number of spilts of batches, should happen, if in case one batch is insufflcient to handle the required movement of stock. maximum it could be 999.
    5. Now create batch search procedure definition. Go to Logistics General  Batch Management  Batch Determination & Batch Check  Batch Search Procedure Definition  Define Inventory Management Search Procedure. Copy the standard one and create one for you and assign the condiiton type created in the step above (strategy) and save it.
    6. Now assign the class created above to all the relevant article via CL20N.
    7. Now assign batch search procedure to the relevant movement types. Go to transaction OMCG and assign the mvt type 301, 311 and other relevant movement types.
    8. Maintain the condition record for the Batch Search Strategy via MBC1 / MBC2.
    9. Activate Batch classification for goods movements via OMCV as per choice.
    I trust it will help you a lot. If you find and believe the same, please assign the relevant points to me.
    Kind Regards,
    Kunwar

  • Exit and Serial number for MIGO transaction

    Hello All,
    I am facing an issue with MIGO transaction. I have to use FM 'ITOB_SERIALNO_READ_SINGLE', and for using this I want two values viz.. Material number and Serial Number..
    I have Material number directly flowing but Serial Number is not present. As per my knowledge, To get serial number I can use two methods:
    One is call FM 'GET_SERNOS_OF_DOCUMENT' where I need to Pass value of MBLNR to get the serial number. This MBLNR is not flowing in the code.
    Second is directly fetch data from SER03 table and then OBJK table to get Serial Number. Here again we need MBLNR to fetch data from SER03 table which is not present.
    I am using User Exit 'IQSM0007' for my purpose. I have checked other exits as well for MIGO where I can directly get Serial number generated but haven't got any.
    Please revert if you know anything in this regard.
    Thanks,
    Harjeet Grover

    Hello Reddy,
    I have tried them already and want you to know that this BADI will trigger before document posting and not after that.
    As of now I am coding like I am going to this BADI and importing internal table MSEG which has values to memory id. Then I am going to last BADI used for SERVICES and importing this table there. This last BADI triggers after the document is posted.
    I am here since I want a better solution, if it is?
    Regards,
    Harjeet

  • Change amount of freights in MIGO transaction

    Hy everyone,
    I saw that it is possible to change the vendor number in MIGO transaction when a purchase order has freights assigned but is it possible to change the amount of that freights in the MIGO transaction?
    Thanks in advance

    HI ,
    The Main intension and Usage of MIGO is to Receive the Good Deliveried by the vendor.
    So in the Back ground as a requirement for the Finanace and further Processing to the Vendor for Payments and Accounting document is generated for valuating the same.
    The store person is mostly concerned with the quality and quantity of the Goods received
    it is the Responsibilty of the Finanace and purchase depart ment ,to Take care of the Valuation of the good received.
    So i dont thing it is not Possible to add the freight value in the GRN.
    But if it posted as a delivery cst,after discussion and cern of the purchasing dept the Finanace dept can clear the bill MIRO as a unplannned delivery cost or some seperate entry
    Hope so it helps
    Regards
    Anjannna.

  • Vendor Batch number in MIGO

    Hi All
    The Vendor Batch ( MCHA-LICHA)  Number field is of 15 characters in MIGO transaction, where as we receive many material with batch numbers more than 15 characters.
    What is the possibility of extending the length of this field.
    Kind Regards
    Samson

    Dear Gabriel,
    Can you brief how did you resolve your issue, I am facing the same issue with my client.
    Regards
    Vivek Kumar

  • How to find the Transactions using vendor number ranges

    Hi All,
    How can we find out the employee vendor transactional data ?
    and what are the Tcodes used to find it?
    Are there any finance transactions which allow vendor number?
    Advance,
    Thnks

    Hello Gayatry,
    1. Goto ST03. Select choose for analysis. Choose only one application server  at a time in case you have mutiple application servers. Choose time period of your choice.
    2. In the next screen from menu choose GOTOPROFILESUSER PROFILES. Here you will get the list on users who have worked on that application server.
    3. Double click on the required user and you will get all the transactions he/she has executed.
    4. In case you select TOTAL in step 1  and then follow the steps 2 and 3 you will only get the list of application server on which the user has worked and not the transaction details.
    Regards.
    Ruchit.

  • Add  push button to Serial number tab in migo transaction

    Hi all,
    I need to add an upload push button to the tab screen of serial numbers in migo transaction.Is there any exit, or badi,or enhancement spot for this.
    Thanks & regards,
    Srilakshmi.

    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

  • Error Message " Enter a Vendor Number "?

    Hi,
    When we are executing MIGO 411 K transaction we are getting error message 'Enter Vendor Number'. My requirement is populate vendor dynamically based on combination of Material, Plant, Storage location and Batch. I got user exit for this User-exit (EXIT_SAPMM07M_001) when click on check button.
    We found a User-exit (EXIT_SAPMM07M_001) triggered when User clicks on 'CHECK' button. But since the vendor field (LIFNR) is a mandatory field in MIGO 411 K transaction, its throwing an error message 'Enter Vendor Number'.
    SO we are not able to populate the vendor number dynamically in user exit.
    Can any one help on this ..how to proceed further...
    Thanks
    Edited by: Venkatesh Padarti on Jan 2, 2008 11:21 PM

    All mandatory fields are checked before any processing happens.
    The simplest way is to enter a dummy vendor number (create a one-time or a dummy vendor for this purpose)
    Hope this helps,
    Lakshman

  • Vendor number in FBL3N report

    Hello Freinds,
    There is a filed in line item report FLB3N "VENDOR".
    In one of the requirement we need to populate the vendor number in a GL account.  In vendor recon account the vendor number is populated but for the other GLs involved in the transaction we require the vendor account in in the filed "VENDOR".
    Ex:  Vendor A/C  Credit ...........................   850
            Expense A/C Debit ..........................  1000
            Withholding Tax Payable Credit ........  150
    In the line item report (FBL3N for Withholding tax payable account) we want to view the vendor number in filed vendor.
    Any body please share your experience in this regard.
    Thanks & Regards,

    Hi Murli,
    Thanks for the info, i used BTE1650 its fetching offsetting account, this BTE holds good only for documents which has only 2 line items. When there are more then 2 line items in a document its not fetching correct offsetting account.
    With this BTE implementation the offsetting account is getting pupulated in GKONT in the following sequence.
    Test Case : Document entered with below line items
    Expense1 A/C Debit .......................... 500
    Expense2 A/C Debit .......................... 500
    Vendor A/C Credit ............................. 850
    Withholding Tax Payable Credit ......... 150
    For the above entry the FBL3N report for these accounts displayes offsetting account as follows
    for Expense 1 -
    offsetting account is Vendor account
    for Expense 2 -
    offsetting account is Vendor account
    for Withholding tax payable account -
    offsetting account is Expense 1
    for Vendor recon account -
    offsetting account is Expense 1
    In other words, in FBL3N is it possible to get the VENDOR (LIFNR field ) populated with value of vendor account number if a transaction involves any vendor  account.
    For example: From the test case transaction mentioned above
    In FBL3N report of
    for Expense 1 -
    the field LIFNR to should have Vendor number
    for Expense 2 -
    the field LIFNR to should have Vendor number
    for Withholding tax payable account -
    the field LIFNR to should have Vendor number
    Regards,
    Edited by: SAP_FICO on May 25, 2011 10:39 AM

  • Vendor number in FBL3N and FAGLb03 - GRIR clearing account

    Hi,
    I have added a special field BSEG-LIFNR and when i run above reports, it is showing vendor number only against doc type WE and not against any other document types.
    I wanted this facility to be available primarily to track GRIR account postings.
    Can any one help me on this why only a particular document type shows vendor number and not the others.
    Regards,
    Rajanikanth

    If your Purchase Orders are set up to be a 3way match then it is at the time of the Goods Receipt (WE) that the items are expensed.  So if you are looking up the expense GL account then you will only see the vendor field populated on those line items where there was a GR done.  If you are looking up GR/IR clearing account GL Accounts (usually a liability account) then the vendor field is populated for both the GR and IR transactions on those GL Accounts.  That is at least my understanding of how that field populates.  I'm not sure if there are any user exits that would allow us to change that or not.
    Cindy

  • 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

  • Vendor batch in MIGO

    Hi There,
                Please guide me how can I control the Vendor Batch used in MIGO
    transaction.
    Requirement is that when we do MIGO ,there are two batch entry fields one
    is Batch and another Vendor Batch. Now the field Batch is used as an
    internal generated batch and the filed Vendor Batch is the input filed
    of actual vendor batch.
    Now the problem is that I want to have a control over this vendor batch,
    i.e. If once one vendor batch number is rejected then next time MIGO with
    the same batch number should not be allowed by the system.
    Can we have some kind of control in this in std SAP or do we have to use some exits......
    Thanks & Regards
    Kaushik

    Hi Kaushik,
    One way of solving this can be by activating the below user exit
    Enhancement - MBCF0002
    Function Module -  EXIT_SAPMM07M_001
    This will get triggered before the save.
    So you can try with this exit.
    Cheers
    Alfred

  • Problem in Posting Document through MIGO transaction

    I am posting goods in MIGO transaction.When the goods are posted tables MSEG(Document Segment: Material) and table MKPF(Header Table for material) are getting updated for the new material.My requirement is to update the table QALS and QAVE with the new batch number getting updated in MSEG table.I have to fetch some data(Inspection Lot Number) from these tables.

    Hi,
    You can find data in these tables when quality checking is done, these needs to be set by functional consultants.
    Chekc your process if any Inspection lots size is defined for each each goods movement at all, if not these tables will not be populated at all.
    Regds,
    Mano Sri

  • Blocking a particular vendor for doing Migo in his account

    Dear Guru's
    My question is that is it possible to block a vendor so that no transaction can be done in his vendor account number. For example in our senario duplicate vendor number has been created for a particular vendor number and now i want to block one account so as nobody can do MIGO,MIRO or any payment in his account is it possible. I have tried with XK05 total block but it is not working . Problem is that before blocking many PO of that vendor is standing and they are reciving the material from that Po and system is allowing it to do so.
    Therefore i want to block the vendor so that no transaction can be done in his account. Kindly help me out

    Hi.
    I am Basically MM guy. To resolve this issue I would like to suggest a work around.
    You can use the two payment terms.
    1) One payment term in the company code (In vendor master record in the Payment transaction accounting). In this payment term you have set a payment block indicator
    By doing this system will block all the invoices or Down payment which are posted in FI. Against this vendor. Hence system will not allow you to pay to this vendor against down payment.
    2) Another payment terms in the purchasing view of the Vendor master. In this payment terms do not set any block.
    When you post an invoice against a PO your accounting document will not be blocked.
    Hence you can pay to a vendor with reference to PO invoice.
    I am not sure. I hope it will work. If it helps award me.
    Cheers
    Umakanth

  • Regarding - add a new field in migo transaction

    Hai guys,
         i need to add  one field in MIGO transaction, can u pls tell me the step by step procedure for adding the new field in migo transaction.
    Regards,
    N.selvamuthukumar.

    Hi Selvamuthu,
    It is possible using the BADI MB_MIGO_BADI to add Additional tabs in header and/or item as required
    MB_MIGO_BADI  -> BAdI in MIGO for External Detail Subscreens
    See the documentation below...........
    With the Business Add-In (BAdI) MB_MIGO_BADI, you can extend the interface of the goods movements transaction ( MIGO) with additional tabstrip controls for the detailed information (detail tabstrips) and header information (header tabstrips). It is possible for an external application
    to display an additional detail tabstrip with own subscreen (max. 10 lines) in MIGO
    to display an additional header tabstrip with own subscreen (max. 3 lines) in MIGO
    The program name, screen number and tab page text can be determined dynamically. Different screens can therefore be controlled according to the mode (for example, change mode, display mode, goods receipt, goods issue).
    To read the complete documentation  --go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display
    inside click on "DOCUMENTATION" button and there is a complete documentation step by step
    in addition to it ...--go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display ->
    on the top menu -> "GOTO" -> sample code -> "Display"
    in will get the "methods" tab..see the description
    Initialization and Registration of Ext. Detail Screens
    PBO of Detail Screen
    PAI of Detail Screen
    Add / Change a Line (GOITEM)
    Delete a Line (GOITEM)
    MIGO Reset (Delete All Internal Data)
    Post Goods Movement
    Check Item Data of Goods Movement
    Mode of Transaction MIGO (Action / Reference Document)
    Status Information and Header Data
    Save Held Data
    Load Held Data
    Delete Held Data
    PBO of Header Screen
    PAI of Header Screen
    Check Header Data of Goods Movement
    Publish Item Data After Processing
    sample code is given in these methods..so when we create a custom badi implementation of our own go to the sample code and copy the required code in the corresponding methods as required
    double click on the method..for eg:IF_EX_MB_MIGO_BADI~PBO_HEADER  in the sample code to see code....in this particular method we can see how method calls an external program and screen to create a new tab in MIGO...use code from mainly the following to get a new header/item tab
    PBO of Header Screen
    PAI of Header Screen
    PBO of Detail Screen
    PAI of Detail Screen
    Pls take some time to analyse the code or flow but we can have the tabs in the header/item level
    Hope it helps
    Regards
    Byju

Maybe you are looking for