Vendor/supplier Name through Batch number

Hi experts,
  can you please tell me, in which table i will get the vendor/supplier name for a batch number ( CHARG ).

hi,
use these tables.
MCHA
MKOL
MLIB
MSCA
MSLB.

Similar Messages

  • Is it possible to Update Supplier name through API

    Hi Folks,
    Kindly suggest me that is there any possibility of updating the existing Supplier name through API's.
    If it is possible kindly suggest me the API or Weblink for that.
                     Thanks in Advance
    Raj

    Hi Raj,
    With patch 17575099:R12.AP.B, Oracle has provided three public API's for updating supplier information. The new API's are the following procedures in the AP_VENDOR_PUB_PKG (appvndrb.pls) file:
      Update_Vendor_Public
      Update_Vendor_Site_Public
      Update_Vendor_Contact_Public
    I hope this helps.
    Cheryl

  • Vendor batch number in stock transfer

    Hi,
    Batch management at plant level.
    When we transfer the stock from one plant to another plant, the vendor batch number is not getting updated in the receiving batch master record.
    In 303,we will send it from one plant to another plant (Stock in transit).
    In 305,we will receive it to another plant with different batch number.
    How do we know this 305 has been done for 303?
    Eg:
    303
    Material : A
    Plant:Phar1
    Batch 100
    305
    Material: A
    Plant:Phar2
    Batch :200
    How do we trace the stock in case we need to resend back to the supplier?
    Thanks
    Srini

    You are facing a classic problem. Given Batch number is unique at Plant level, to maintain the continuity, you should have the same batch number between the two plants. Any specific reason why you don't have it.
    Then if there is valid case not to have the same batch number in this scenario, then you should look at making the batch number generation external so that you can prefix/suffix or come up with a way to get the original batch number from the sending plant in the receiving plant batch number.
    Recently we had a similar requirement, so we activated batch classifiction and put the orignial batch number as one of the characterisitcs in the batch class. You can also think enabling such functionality..

  • MIGO field selection - vendor batch number

    I created a new movement type by copying from the standard SAP movement type 501 (GR w/o purchase order).
    When posting a GR with this movement type and a batch-managed material, the Batch field is open for entry but the Vendor Batch field (GOITEM-LICHA) is suppressed. I suppose this is because SAP does not expect you to enter any vendor-related information if you do not have a PO. And similarly if you have vendor-related information (like a vendor's batch number) you should be using a PO.
    However the business requires a Vendor Batch number to be entered in this scenario.
    Does anyone know how to make the Vendor Batch field open for input when using a specific movement type?
    I'm thinking maybe a BADI like MB_MIGO_ITEM_BADI is my only option. I've tried the MIGO field selection (OMJX) but couldn't make this work. Any input would be appreciated.
    Thanks!

    I am afraid I must confirm that, as you have already seen, it is not possible to enter a Vendor Batch (LICHA) in a goods receipt without reference to the purchase order with the movemement types 501, 511 or 561.
    There is no standard system setting or program code available which can set this entry as required or optional. This kind of requirement can only be achieved through a software modification,
    Also, please notice that although you can enter a Vendor Batch when posting a goods movement with reference to a purchase order, you cannot display it later with transaction MIGO:
    Please, kindly check the information contained under the attached note regarding this matter:
    330585 - MIGO: Vendor batch in material document display.
    As stated in this note, under the 'System response after the note is implemented' section:
    "After the attached correction instructions are implemented, the field
      can no longer be seen in the display of the material document for the
      vendor batch using Transaction MIGO. Displaying the vendor batch does
      not make much sense since it might have changed since the posting of
      the material document. The material document itself does not have the
      information of the vendor batch that was entered at that time. In the
      system, only the information of the current vendor batch exists for
      the batch."
    Sorry not having a positive answer ! =/
    Plauto

  • Inspection type 01 - inspection lot creation based on vendor batch number

    Hi Guys,
    this topic has been discussed several times here, but I was not able to find a suitable answer for my question.
    I am facing the folowing requirement:
    I have activated inspection type 01 for a raw material.
    I am receiving a firs goods receipt from vendor A with vendor batch number 0001.
    The system creates its own goods receipt batch number 0546 based on internal numbering.
    A new inspection lot is created.
    I am posting a second goods receipt from vendor a with vendor batch 0001.
    The system creates a new batch number 0547 based on internal numbering.
    A new inspection lot is created.
    I do not want to get the second inspection lot, because I received vendor batch 0001 before and I am assuming it has been inspected or is in inspection.
    Option 1: Post the second goods receipt against the first internal batch number created.
    I am aware of this need at the moment, but a user is not always checking if there is an internal batch with the same vendor received before.
    Can I customize the system to create inspection lots based on the fact that the vendor batch number was received before?
    Or do I have to use an exit and some ABAP code to get the wanted result?
    Thanks for your advice in advance.

    You need to use one of the enhancements that Do-Wook has suggested.  There is no standard SAP way to suppress the inspection based on the vendor batch number.
    With the first enhancement you use the system to check for a previously received vendor batch and if one is found, then that batch number is proposed and not the next one from the numbering series.  In this case, the lot isn't created than due to the inspection lot control of the inspection type.
    With the second enhancement you check the vendor batch number and if it's been received you suppress the inspection lot creation and the stock goes right to unrestricted.
    You'll probably need to do one or the other.  Myself, I prefer the first enhancement.
    Craig

  • While creating PO using BAPI_PO_CREATE1 vendor batch number is not comming.

    Hi Friends,
    I am using BAPI "    'BAPI_PO_CREATE1' to create PO in my report.
    The PO's are getting created but i the vendor batch number is not found in the PO.
    Where as i am passing the vendor batch number.
             bapimepoitem-vendrbatch = '2'.
              bapimepoitemx-vendrbatch = 'X'.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader          = bapimepoheader
          poheaderx         = bapimepoheaderx
          memory_uncomplete = 'X'
        IMPORTING
          exppurchaseorder  = v_po_number
        TABLES
          return            = bapiret2
          poitem            = bapimepoitem
          poitemx           = bapimepoitemx
          poschedule        = bapimeposchedule
          poschedulex       = bapimeposchedulx.
        Commit the transaction
      IF v_po_number NE space.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait   = 'X'
          IMPORTING
            return = bapiret2_c.
      ENDIF.
    Please reply urgently.
    Thanks Regards,
    Sandipan Jena

    Hi
    My answer is pure assumption.
    Please check the following OSS notes
    Note 758810 - BAPI_PO_CHANGE vendor batch and batch not visible
    Note 1230268 - Field Vendor Batch never filled for PO BAPIs
    Please take help from BASIS and SAP, before implementing the OSS note
    Regards
    Madhan D

  • Vendor listed in the batch does not reflect actual supplier.

    Hi,
    Vendor listed in the batch does not reflect actual supplier.
    For some (STO's) it reflects the actual supplier & for some it is replaced by receving vendor.
    Regards,
    Sudakar

    Great, that worked, thanks.
    Now I have a small problem. I'm dispatching a MOVE event
    manually at one point to force a listener to trigger, and it seems
    that afterBounds is null. Here's how I'm dispatching the event:
    nativeWindow.dispatchEvent(new
    NativeWindowBoundsEvent('move'));
    While the MOVE listener function is successfully called,
    event.afterBounds.x throws a null reference exception.
    Is there an easy workaround?

  • Vendor batch number in po

    how can i update vendor batch number for an existinf PO as  bapi_po_chanegs is not working for this requiremtn.

    If you have less number of records then you can use BDC.

  • Supplier number and Supplier name

    i want to extract supplier number and supplier name based on company code, this requirement impacts both SRM system and R/3 system, i don't know from where should i fetch supplier number, is it from SRM or R/3 ? and how? i know the question is very abstract , can anyone please help me on this?

    Hello,
    All the master data resides in the R/3 system but not in the SRM system. So, if you are building the application to fetch the Supplier Number & Name, then you need to build the same in the R/3 system.
    Hope this helps.
    Regards,
    Venkata Phani Prasad K

  • QE72 display vendor batch number

    HI,  
    we would like to see additional to the internal batch number the vendor batch number in the result recording screen (top alv grid).
    Currently I started to create the additional output information with imp. enhancements in  SAPFQE20.   This looks good, and I'm able to get are new line with the vendor batch number description. But I don't have any data to display for the lots.
    I checked and found that all inspection lots are stored in structure "G_INSP_LOTS" defined in RQETBI20 as BAPI2045D_IL0. But bad that this structure don't have any vendor batch number.   If I check the inspection lot this information is stored in  QALS-LICHN.
    Strange is, if I check the BADI "InspectionLot"  (objecttype BUS2045) there is attribute vendor batch defined.   Based on the numbering of the BADI BUS2045 and the defined BAPI2045D_IL0 structure it seems there is a relation but do somebody knows this relation ?
    Also function module MAP2E_QALS_TO_BAPI2045D_IL0 that is used to translat WALS information into the BADI structure don't have any hint for LICHN.
    Not sure if this is missing implementation. Could this be for such an basic field?
    Any ideas, what I can do to display the vendor batch number.
    Thanks for your hints on this topic.
    Jens

    Anyone having an idea?
    We are facing same issue.
    Material M00001 with 2 batches XYZ and ZYX.
    Batch XYZ has vendor batch set to 0123456
    Batch ZYX has vendor batch 33333333.
    Now user posts GI with batch XYZ and system automatically changes vendor batch in master record of second batch ZYX and replaces 33333333 with 0123456. 
    Do you see any logic in it?

  • Batch Number creation through DIAPI

    Dear all,
         i tried batch number creation through DIAPI.. but its shows error message [WTR1.Whscode][Line:1],'No matching Records found(ODBC-2028)' any body helpme  in this regard..
    thanks in advance.. here i have attached my coding..
    Dim objLines As SAPbobsCOM.StockTransfer_Lines
            objForm = objAddOn.objApplication.Forms.Item(FormUID)
            Dim objStockTransfer As SAPbobsCOM.StockTransfer
            objStockTransfer =    objAddOn.objCompany.GetBusinessObjectSAPbobsCOM.BoObjectTypes.oStockTransfer)    
            objStockTransfer.DocDate = System.DateTime.Today
            objStockTransfer.TaxDate = System.DateTime.Today
            objStockTransfer.FromWarehouse = "01"
            objStockTransfer.PriceList = 1
            objStockTransfer.Lines.ItemCode = "B000001"
            objStockTransfer.Lines.Quantity = "1"
            objStockTransfer.Lines.WarehouseCode = "BAP"
            objStockTransfer.Lines.BatchNumbers.BatchNumber = "B10"
            objStockTransfer.Lines.BatchNumbers.Quantity = "1"
                  objStockTransfer.Lines.BatchNumbers.Add()
                If objStockTransfer.Add <> 0 Then
                objAddOn.objApplication.SetStatusBarMessage(objAddOn.objCompany.GetLastErrorDescription, SAPbouiCOM.BoMessageTime.bmt_Short, True)
                objAddOn.objApplication.MessageBox(objAddOn.objCompany.GetLastErrorDescription)
            Else
                objAddOn.objApplication.SetStatusBarMessage("Inventory Transfered Successfully", SAPbouiCOM.BoMessageTime.bmt_Short, False)
            End If
    With Regards
    G.shankar Ganesh

    Shankar,
    your code looks fine. just ensure that the warehouse code and batch you are specifying , do exist in owhs and oibt tables respectively, with the specified quantity. ( and the best way to check it is, try stock transfer from UI with the same parameters.)
    also, may be off topic, but, before specifying batch lines, you need to ensure that items are managed by batch or not )
    regards,
    Binita

  • To get supplier name based on latest approved date

    hi
    in PO SUPER USER -Purchase Order Summary ,when we enter the item number in Item,rev field a new form Purchase Order Lines opens
    in this form there are many lines of PO numbers ,suppliers(vendors),approved date ,can we get the supplier name for which the approved date is most recent
    kindly guide
    thanking in advance

    hi
    in my system i can see the latest approved date wise but i have to add an inline query on the most recent vendor based on approved date to an already existing query
    meaning just the first row data(most recent supplier) should be captured in the query
    when i do the following query , i am taking an eg of the item_no 1020101001
    select msib.segment1,max(pha.approved_date) from
    po_headers_all pha,
    po_lines_all pla,
    po_vendors pv,
    mtl_system_items_b msib
    where
    pha.po_header_id = pla.po_header_id
    and pla.item_id = msib.inventory_item_id
    and pv.vendor_id=pha.vendor_id
    and msib.segment1='1020101001'
    --and pha.approved_date=max(pha.approved_date)
    group by
    --item_id.
    msib.segment1
    this is the output i get
    segment1           MAX(PHA.APPROVED_DATE)
    1020101001    1/9/2011 3:16:48 PMwhen i do the following query
    select msib.segment1,max(pha.approved_date) ,pv.vendor_name from
    po_headers_all pha,
    po_lines_all pla,
    po_vendors pv,
    mtl_system_items_b msib
    where
    pha.po_header_id = pla.po_header_id
    and pla.item_id = msib.inventory_item_id
    and pv.vendor_id=pha.vendor_id
    and msib.segment1='1020101001'
    --and pha.approved_date=max(pha.approved_date)
    group by
    --item_id.
    msib.segment1
    ,pv.vendor_name
    segment1           MAX(PHA.APPROVED_DATE)  VENDOR_NAME
    1020101001    7/21/2008 9:09:20 AM   TRIZAC  ABU DHABI
    1020101001   1/9/2011 3:16:48 PM        SAUDI CEMENT COMPANY
    1020101001   2/14/2010 4:03:46 PM     UNION CEMENT NORCEM CO.
    1020101001  5/19/2010 3:08:32 PM      AS CIMENTO SANAYI VE TICARET A.S.i require the most recent vendor_name for a particular item ( i require the output as below)
    segment1 MAX(PHA.APPROVED_DATE) VENDOR_NAME
    1020101001 1/9/2011 3:16:48 PM SAUDI CEMENT COMPANY
    kindly guide me
    thanking in advance

  • Copying of Batch Number and Characteristics not copying in GI

    Dear SAP Gurus,
    I have created a Stock transport order (STO). Against that STO I have created the delivery. In the delivery I enter the Batch Number/Characteristics(MM). When I do the Goods Issue against that delivery the Batch number is not being copied. Against that Goods |ssue, when I do the Goods Receipt I have to enter the batch number/characteristics manually.
    We have a two step Storage Location to Storage Location transfer.  When we do the Goods Issue the stock goes to Goods in Transit and then the GR is done against that GI.
    Please let me know how to copy the batch number/characteristics automatically. Please also mention the name of the user exit if this can be handled through a user exit.
    Thanks and Regards
    Shehryar Zuberi

    Dear All,
    Can anyone help please?
    Thanks
    Shehryar Zuberi

  • Copying of Batch number in GI and then to GR - MM

    Dear SAP Gurus,
    I have created a Stock transport order (STO). Against that STO I have created the delivery. In the delivery I enter the Batch Number/Characteristics(MM). When I do the Goods Issue against that delivery the Batch number is not being copied. Against that Goods |ssue, when I do the Goods Receipt I have to enter the batch number/characteristics manually.
    We have a two step Storage Location to Storage Location transfer.  When we do the Goods Issue the stock goes to Goods in Transit and then the GR is done against that GI.
    Please let me know how to copy the batch number/characteristics automatically. Please also mention the name of the user exit if this can be handled through a user exit.
    Thanks and Regards
    Shehryar Zuberi

    Hi Shehryar
    When you post the receipt (via MIGO or MB01) if you change the way you receive (e.g with reference to the outbound delivery) then all of the batch details and characteristics will be copied into the receipt
    The batch is only copied when you receive with reference to the outbound delivery from the STO
    Good luck
    Steve

  • Copying of Batch Number and Characteristics in GI/GR

    Dear SAP Gurus,
    I have created a Stock transport order (STO). Against that STO I have created the delivery. In the delivery I enter the Batch Number/Characteristics(MM). When I do the Goods Issue against that delivery the Batch number is not being copied. Against that Goods |ssue, when I do the Goods Receipt I have to enter the batch number/characteristics manually.
    We have a two step Storage Location to Storage Location transfer.  When we do the Goods Issue the stock goes to Goods in Transit and then the GR is done against that GI.
    Please let me know how to copy the batch number/characteristics automatically. Please also mention the name of the user exit if this can be handled through a user exit.
    Thanks and Regards
    Shehryar Zuberi

    Dear All.
    Please help me solve this problem.
    Thanks
    Shehryar Zuberi

Maybe you are looking for

  • My iPhone 5 won't connect to store to buy a text tone

    Every time I try to buy a text tone on my iPhone 5 it won't let me. I press the store button in the right hand corner and nothing happends. How do i buy a text tone ? Can i get one another way?

  • MBP mid 2010 - 15" 2,4Ghz (Battery Problem)

    Hi guys. I have a MBP mid 2010. My battery wont last more that 4.30 hours. I have tried more than enough times to test' it. Last Night with fully charged battery I was able to get 4.40 Hours. Bluetooth OFF Low monitor brightness Low keyboard illumina

  • Excise invoice with ref to proforma invoice

    Hello guru's when i create excise reference in J1IIN with reference to Proforma invoice the excise duties are not flowing to excise invoice but the values are capturing in proforma invoice regards

  • Belle Refresh (111.140) for product code 059H136

    Hey everybody. Is anyone able to tell me if Belle Refresh was halted from distribution? i am not able to download it via Nokia Suite or OTA and i am curious what gives. i have Belle v. 111.130 on the phone now and wonder if i missed my chance, or if

  • BAPI_PTMGRATTABS_MNGCREATION inexplicable error

    Hi all, I built a custom BAPI to insert various absence types in IT2001. This custom BAPI is very simple, and substantially only encapsulates the use of standard BAPI BAPI_PTMGRATTABS_MNGCREATION, taking care of preliminary locking of CID and success