Vendor Number in Batch Info

In table MCH1 there is a field LIFNR (Vendor account number) which is populated for some batches and not for others. All of these are purchased items from a vendor. Is there some customizing needed to get the vendor number to always appear in the Batch information? Anything else to do besides manual procedure? We need it to be automatic in our company.
Thank you

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.
<a href="https://forums.sdn.sap.com/click.jspa?searchID=5207054&messageID=4012750">As suggested by Alfred Kingsley!</a>

Similar Messages

  • How Vendor Number appears in Batch

    In table MCH1 there is a field LIFNR (Vendor account number) which is populated for some batches and not for others. All of these are purchased items from a vendor. Is there some customizing needed to get the vendor number to always appear in the Batch information? Anything else to do besides manual procedure? We need it to be automatic in our company.
    Thank you

    Suppose I have placed a Purchase Order for 'X' Material for 500 qty. At the time of GRN system generates one batch number for this 500 qty. let us say batch B1 is generated by the system. But my requirement is I have to maintain uniqueness in this batch for every quantity. this uniqueness like B1-1, B1-2, B1-3, B1-4 ..........................B1-500. So that they can trace which material is in which placce and to whom we have sold out. How to maintain this scenario in batch management.
    Please don't suggest "use serial number for this scenario". This is not acceptable for my scenario.
    You should use serial number management. There's no point in speaking about batch if you give batch number for each pc of your material.
    If you want to give a unique ID for each piece of your material, your "batch" is called serial number...
    batch - Longman dictionary:
    quantity of food, medicine etc that is produced or prepared at the same time
    batch - SAP glossary:
    Subset of the total quantity of a material held in stock, which is managed separately from other subsets of the same material.
    Examples: different production lots (such as paints, dyes, wallpapers, and pharmaceutical products), delivery lots, quality grades of a material.
    serial number - Longman dictionary
    a number put on things that are produced in large quantities, so that each one has its own different number:
    serial number - SAP glossary
    Number that you give to an individual item of material in addition to the material number, in order to differentiate that individual item from all the other items of the material.
    The combination of material and serial number is unique.
    So, I think you should give the reason why you don't want to use SAP standard solution...and you should justify your requirement because you seem to be against the meaning of batch & serial number....
    Regards,
    Csaba
    Edited by: Csaba Szommer on Apr 5, 2009 6:52 PM
    Edited by: Csaba Szommer on Apr 5, 2009 6:54 PM

  • 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

  • Same customer and vendor number

    Not sure if this is the correct forum to post this question, but I'll give it a try......
    We are using BP and want to use same number for both customer and vendor. How can we achieve this?

    The synchronisation is not available in ECC 500.
    FS-BP has a synchronisation solution based on call transaction in batch-input. It should be part of the core.
    But I don't know if there was a solution to synchronize the numbers without modification.
    Anyway you can implement a BAdI in the customer master transaction to use your own numbers (CUSTOMER_ADD_DATA)
    BUT make sure the customer/vendor number will be linked to the correct address
    The saving process of the address is trigerred independantly (before or after the customer/vendor transaction is commited). As a result it is very easy to create orphaned address and loss of data accuracy for the vendor/customer.

  • How to retrieve the vendor number during creation of Purchase Order?

    Dear SAP experts,
    For our Purchase Orders, during PO creation (t-code ME21 or ME21N) we want to achieve the following:-
    1) default the delivery address to our plant A address if the vendor is local and
    2) default the delivery address to our plant B address if the vendor is foreign.
    At the moment, we are trying to use the user exit enhancement "MMDA0001" to achieve the above.
    The problem is how to retrieve the vendor number from the screen so we could pass the vendor number to ZXM06U32 to check the ktokk field in LFA1 table in the whether the vendor is foreign or local.
    Thank you in advance.
    Regards,
    Alex

    u can do one thing, create 2 partner function, like 1 for local, and second for import vendor.
    or make 2 batch  n activate vendor batch and make mandatory field from SPRO. 
    then goto SHD0, and do one by one step. first time take 1st requirement and second time take second . like that make two variant .
    i dont know how much it will be helpful. bt i want to suggest smth like that only.
    or, go for ABAPER help
    thanks
    nisha

  • Vendor names instead of vendor number in J1INMIS

    J1INMIS report-Company & Non Company details & Vendors Name is not available but vendor number  is available in Report.
    how do i get the names in the report instead of the vendor numbers
    warm regards
    Manjunath

    hai,
    Dont use j1inmis... Once u run j1inqefile,you will get an output where also you can
    see all the required info...
    Try to make use of that....
    J1inmis.. is very old
    Raghav

  • 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

  • Update vendor material no. from info record to contract

    Hello
    I'm trying to update the vendor material no. (IDNLF) in the contract from the info record.
    I have an updating job of vendor material no. for info records and I want it to update the number also in the contract automatically. (copy from EINA_IDNLF to EKPO_IDNLF)
    Is there a way to do it??
    Both the info record and the contract already exist.
    Thanks

    If the info record is already exist and then you are creating contract than it will automatically copy the Ven mat number

  • Changing batch info in IQ02

    Hi,
           can anybody explain me how to update batch info(itob-charge) in iq02 transction
    through bapi or FM
    i am getting error 'serial number for material cannot be blocked'
    how ever when i change through iq02 for same material it is allwoing me to change

    Can u pls with sample code how to change the batch info for iq02 transaction
    beacuse when i use FM 'ITOB_SERIALNO_MODIFY_SINGLE' i am getting error serial number for materialxxxx cannot be blocked
    Edited by: pankesh betala on Jun 26, 2009 1:54 PM

  • Get red error when installing Vendor number (purchasing view) - 0VEN_PURORG

    On BW 3.5, when installing Business Content of the InfoObject 0VEN_PURORG (Vendor number (purchasing view)), get the following red error:
    "Mapping between 0BPARTNER_ATTR R3_System_Name 0BPARTNER_ATTR is inconsistent"
    What does that mean and how to have it fixed?  Even if the red error shows up during the installing, but I can still use RSD1 to modify it though.
    Thanks

    Kevin,
    Try using 'Only Necessary objects' option and try. If the '0BPARTNER' attribute is not directly related to
    '0VEN_PURORG' Info object, you should be fine.
    Thanks

  • Having Two GR/IR  account based on Vendor Number Ranges.

    Dears,
    Requirement of our client is to maintain Two GR/IR accounts based on Vendor number Ranges. I explained, as per standard functionality of SAP we can not have 2 GR/IR accounts based on vendor number ranges since system is checking the valuation class of Material but we can have 2 GR/IR accounts based on the Materials.
    Please suggest me if there is any possiblity  of having the above scenario so that I can add more points.
    Thanks,
    Omprakash

    Hi Shahin,
    You can do this using,
    Material master QM view : Set the control for inspection lot creation as each material document,batch, storage location.
    Inspection plan: Use the dynamic modification at characteristics level.
    DMR: Create a DMR(lets say every 5 deliveries, assuming PO delivered in 5 delieveries) and assign it to each and every characteristics which you want to skip.
    Please let me know whether it helps.
    WR,
    Sanjeev

  • Asset report with vendor number and vendor desc wise

    Hi Gurus
    The requirement is to generate asset reports with the below fields:
    Asset class, Asset number & desc, vendor number & desc
    Suppose say all asset balances should be reported by vendor name and desc.
    I couldn't get the right results using an existing or a custom sort version. Do not want to go with a custom report or a SAP query.
    Any pointers in this regard would be helpful.
    Thanks
    Sekhar

    Hi,
    You can use table ANLA.
    Populate the asset field then go to settings tab and choose fields.
    Check the following fields given below:
    BUKRS
    ANLN1
    ANLKL
    LIFNR
    TXT50
    then execute.
    hope it helps.
    regards,
    otep

  • AP vendors with same vendor number in two different companies

    I am having trouble running the payment run f110 for two vendors in two different company codes.  The vendor is the same so the vendor number was set up the same in two different company codes.
    I continue to get the error fcz003.  I deleted all of the payment runs and still have the error.  Are separate payment runs possible ? Or do I need to have vendor 1234 send it's open balance to vendor 1234 in the first company code.  If so, what is the best way to move the balance.  
    Thank you,

    it is to be seggregated through company codes,if vendor is present in different copany codes

  • Query to fetch vendor number with whom this item was last purchased

    Hi All,
    We have a requirement to fetch the vendor number for an item with whom the item was last purchased. We need to derive this by looking at the open Purchase Order or the Material Transactions for the transaction type of ‘PO Receipt’ whichever is the latest.
    For this we are using the below query, but this query is taking a lot of time and doing an INDEX RANGE SCAN on PO_LINES_N1 & MTL_MATERIAL_TRANSACTIONS_N1
    SELECT MAX (v.segment1)KEEP (DENSE_RANK LAST ORDER BY DECODE
    (UPPER (poh.closed_code),
    'OPEN', poh.creation_date,
    mmt.transaction_date
    poh.creation_date) seg1
    FROM po_headers_all poh,
    po_vendors v,
    mtl_material_transactions mmt
    WHERE poh.po_header_id IN (SELECT pol.po_header_id
    FROM po_lines_all pol
    WHERE pol.item_id = p_inv_id)
    AND v.vendor_id = poh.vendor_id
    AND mmt.inventory_item_id(+) = p_inv_id
    AND mmt.transaction_type_id(+) = 18
    AND mmt.transaction_source_id(+) = poh.po_header_id;
    Can anyone please help me in rewriting this query or if we can use different tables to acheive the same functionality.
    Regards,
    Shruti

    Hi,
    Can anyone please help me with the below query.
    Regards,
    Shruti

  • In ME21N,User Exit/BADI for  Defaulting  Vendor number at item level.

    Hi Experts.
    In ME21N, for every purchase order, we have condtion tab for each line item.
    Many condition typesot taxes  are listed based on the config for the materials.
    My requirements is, When we go inside by selecting a condition type we find vendor number displayed.
    I need a user exit/BADI for defaulting the Vendor number.
    Regards
    Balaji R

    Hi,
    check with below link,
    fo this one you will find both user exit and badis
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

Maybe you are looking for