Batch classification "Date of last goods receipt" is "00.00.0000"

Dear all,
I have configured all steps for batch determination for FIFO.
It worked fine for IM (stock transfer - mov.type 301) on last friday, however, get the issue today:
- After I do GR (mov.type 101), the batch is auto created, batch classification is created,
I use MSC2N to view batch classification:
the value of "Date of last goods receipt" is "00.00.0000"
What is wrong with my configuration?
Could you pls help me to fix this?
Thanl you very much for you help!
Edited by: Ngo Quoc Hung on Dec 13, 2010 10:59 AM

System Updates Batch Data in the Batch Master Record in the Following ways :
1)  If the batch does not yet exist for the plant, it is automatically created.
2)  If the batch already exists for the plant, the new quantity is simply posted as a receipt in the specified storage location.
When posting a goods receipt with reference to Purchase order, the system updates Posting date as the goods receipt date in general data of the batch.

Similar Messages

  • Automatic batch classification with procedure on goods receipt does not wor

    Hi,
    I have a material with batch classification.
    The material has two characteristics.
    One is a number called VALUE.
    The other is also a number (called CONVERSION) and shall be deived from the first.
    A procedure is created and assigned to the second characteristic.
    $SET_DEFAULT ($SELF, CONVERSION , $SELF.VALUE / 6000)
    When I post a goods receive (movement Type 501) the characteristics can be filled . The field VALUE is set with 12000.
    I was expecting the characteristic CONVERSION to be calculated as '2' and filled by the procedure.
    This is not the case.
    If however, I try to fill it manually, the system accepts only the calculated value '2'. Otherwise an error is shown.
    How can I force the system to calculate and fill the second characteristic when insserting a value in the first ?
    Thanks for any help.

    Hi Marcus,
    i have the same problem with movement type 101.
    How did you solve this issue?
    Can you help me.
    Thank you.
    CM

  • Batch search strategy based on goods receipt date

    Hello,
    Can some one help me with setting up Batch search strategy based on goods receipt date currently is on batch number.
    Thanks a lot
    Thanks!
    Best Regards
    Srw

    Hi
    If you want to set up Batch search strategy based on goods receipt date......then you have to create GR Date as one charecteristics in T.Code: CT04 and assign this charecter in Class with respect to class type  023
    Then assign this class in Material Master Classification view..
    Make sure in Material master, Purchasing view...you have activated Batch management active check box....
    Then when ever you do GR in MIGO, In batch tab, In classification field maintain the GR Date..
    Then Create sort sequence in  T.Code: CU70 and you can maintain in what basis ie)in assending or desending GR Date you have to search the batch..
    And then Create Batch Search Statergy in MBC1 and there you assign the sort sequence in Details...
    Now  you do your regular procedings.....the material Batch will be searched based on GR Date...
    Reward if useful
    Regards
    S.Baskaran

  • Last Goods Issue Date & Last Goods Receipt Date

    Hi ,
    I would like to know in which table (and fields) I can find the "<b>Last Goods Issue Date</b> " & "<b>Last Goods Receipt Date</b>" based on Material Code, Plant and Storage location.I have to prepare a existing stock report for slow moving material.
    Thanks.

    Hi,
       Check table LIKP deliver header and LIPS deliver Item
    Regards,
    Prashant

  • Basics for Batch Classification Data

    Hello Experts ,
    I have few queries for Batch Classification Data .
    1. Which are the tables where Batch Classification Data for the batches is stored .
    2.Which Function module is called once we do the Goods movement which determines the batch
    classification data .
    3.When we do stock transfer for batches , then the Batch classification will run in Issuing plant and
    the batch classi. data will be copied in the receiving plant . Can you please tell me that which object
    carries this data from issuing plant to receiving plant.
    4.There is also a user exit with which we can play with Batch classification , can you please give some information on this .
    Thank you very much for the help !
    Regards
    Shashank

    1. The table is AUSP - but why would you need to know that. There are good function modules to query, read, change classifications of batches - so why would you like to read directly from DB?
    2. This depends on your release. Typicall in MIGO the module VB_CREATE_BATCH is called, the same one that is called within the BAPI to create batches.
    3. See 2. When you create a batch with reference, you call the same module additionally with the key of the reference batch (this is the issueing batch). 
    Inside that module are loads of user exits for all kind of purposes.
    Why not have a look yourself in Customizing at Logistics General -> Batch Management -> Batch Valuation.
    There's the "customer exits for goods movements in inventory management" (this is called e.g. in the goodsmovement bapi and the old transactions)  --> EXIT_SAPMM07M_004
    and the  "Valuation of Creation of New Batches Using Function Module" (this is called in the MSCxN and in MIGO) --> EXIT_SAPLV01Z_014 .
    In Customizing there's also the documentation what you can achieve with the exits.
    Hope this helps.
    Stefan

  • Updating Batch classification data from MIGO for Purchase order

    Hi,
    I need to update batch classification data (in MSC3n) from MIGO for purchase order. The logic needed for this is as below,
    1) Pass material and batch to MCH1 table to get CUOBJ_BM.
    2) Pass CUOBJ_BM to INOB table to get INOB-OBJEK.
    3) Pass INOB-OBJEK to CLAF_CLASSIFICATION_OF_OBJECTS to get class name & characteristic name.
    4) Pass INOB-OBJEK, CLASS name and characteristic name to BAPI_OBJCL_CHANGE to update batch classification data.
    I created implicit enhancement at the bottom of FM "CLVF_VB_INSERT_CLASSIFICATION". But the problem is, the return parameter of BAPI_OBJCL_CHANGE is giving the following error.
    Class type 023, object type MCH1, object RAW-6             0000001151
    Object is currently locked by user
    The assignment was not changed
    Please let me know how to do it. Is there any BADI or User Exit?

    Hi,
    As you said the break point is not triggering did you activate your exit and activated even the project to which your exit is assigned.
    I hope you missed activating your project in CMOD transaction. Please verify it once and if it is not activated then immediately activate it and try debugging again.
    Regards,
    Rafi

  • Last goods receipt, last goods issue and last purchase order

    Hi Experts!!
    is there any table/info structure where I have the last goods receipt material document number, last goods issue material document number and last purchase order number? I want to extract this information to Business Warehouse.
    Best regards

    Are you looking for a report similar to MB51?
    If you put little more detail, i might be able to help. I don't know much about info structures but i can tell you the SAP tables.
    All Movement Details are in the below tables.
    MKPF- Material Document Header,
    MSEG - Material Document Detail -( you can put your material, plant for selection)
    Last PO  - you can get it from Info-record (EINE- EBELN, EINE-EBELP).
    Thanks,
    Shekhar Ramineni

  • Batch Classification Data Report

    Hi Experts,
    I want to create a report that displays the contents of the batch classification data (characteristics) in each batch. Can I do this via ABAP query? May I know which tables contain this data? Thanks!
    Regards,
    Marvin

    Hello
    First way:
    1. With material number and batch number goto table MCH1 and get CUOBJ_BM.
    2. Goto table AUSP with OBJEK = MCH1-CUOBJ_BM and KLART = '023' (or '022')
    You will get characteristics (AUSP-ATWRT, AUSP-ATFLV)
    Other way: use bapi BAPI_OBJCL_GETDETAIL for this. (examples of use you may find yourself in SDN)

  • FMS in Batch field to bring data from IGN1 (Goods Receipt)

    Dear all
    I'm using B1 8.8 PL16.
    I need to take some information in Goods Receipt lines in to the batch information. I tried the query $[$30.10.0] to do the FMS in a field of Batchs data. The query works if is in a goods receipt line but not in the field of bachs lines.
    Kind Regards,
    Margarida

    Dear Margarida,
    The $ variable is only available to the current form. When you on the batch form, Goods Receipt line variable will not be available.
    Thanks,
    Gordon

  • Batch Classification data not getting updated during the GR of the PO

    Dear Gurus,
    While doing the GR of the Purchase order the classification data for the batch should get updated .However we can see those data in MSC2N (Change batch) but not in MSC3N (Display Batch) .While consultuing with SAP we found that the data in MSC3N is directly picked in the AUSP table but the data in MSC2 N  reads the information directly from the
    reference table field (MCH1-LWEDT & MCH1-LIFNR .My Qusetion is why this the AUSP entries are not getting updated during the GR itself.
    Sumit Mohan

    Hi Sumit,
    I am not sure about your question, but if you want to populate the classification data during goods receipt then you need to maintain characteristics values in material master for classification tab under class type batch i.e. 022. After then it will apper during goods receipt for characteristics value for batch.
    Regards,
    Bhagat

  • Batch number issue when posting goods receipt for Subcontracting PO

    Dear expert,
    I always heard there will be issues while posting goods receipt for subcontracting PO. If the component is managered by batch.
    No batch number will be proposed during PGR in MIGO...
    I dont quite understand where is the issue??
    My understanding:
    We have batch managered components and End Product. All have batch numbers, then we PGI the stock to 'SC stock' via 541 movement type.
    Then Vendor will finish the end product and send us back the end product.
    We consumption the components use 543 O movement type? And GR the end product..
    So while goods receipt, the sytem just need pick the existing batch number for both components and finish products..
    Where are the issues???
    Thanks.

    Hoo Laa wrote:
    I have questions for people always mentioning there are issues with batch determination while post goods receipt for subcontracting orders.
    >
    > I am thinking maybe they didnt active the batch determination for 543 movement type..
    >
    > Thanks.
    Hi Hoo,
    You are right!!
    Setting of batch number determination has its importance in Mvt Type be it 541, 543....
    The issue you might have observed would be with Batch Determination in Goods Issues which folks find it bit tough to achieve n make it work for them.
    Cheers!!
    Shiva

  • Automatic Batch determination at time of Goods receipt for production order

    Hi SAP experts,
                             Greetings to you all. I wish to ask a query that how batch is determined automatically at the time of goods receipt for production order .
                             I have done the following settings:
    1.Specified batch level at material level
    2.External batch number assignment
    3.Defined production order condition table '501' (plant/material)
    4.Defined production order access sequence (order type-plant -material)
    5.Defined Production Order Strategy type.
    6.Defined Batch search procedure in Production Order.
    7.Assigned Batch search procedure to Production order type for a particular plant  , batch check not activated.
    Please let me know of any more settings to be checked for the same.
    For example, a production order is being confirmed for a quatity of 5 nos . at a time . However, the GI movement (261 movement type) for the production order components  is taking place for 1 EA qty. from 5 different batches.
    So now, how the system will define the GR (movement type 101) for the production order header material for the qty. 5 nos. EA ?
    It is desired that the system should do GR for the qty.  1 EA of the header material for the 5 different batches (batches which were automatically deteremined for the Goods issue of the components).
    Thanks in advance. good day.
    Best regards,
    RB

    HI Rahul,
    As explained earlier, for e.g., if the GR is taking place for the production order for qty. 5 nos. , and in that , if the component qty. is 1 EA for 1EA of header material ; then , the GR for the header material should take place for the same different batches from which the order components were issued for the order and not for the other batches in stock for the header material as well as components.
    I am not sure if i understand your requirement 100%.
    But let me explain you standard behaviour.
    When Confirmation for production order happens and GR is posted during confirmation , All the GR happens agaist same batch number which i sassigned in production order assignment screen.
    So for all the order qty single batch would be fixed. Say batch A1 is created for Header material for 100 qty.
    Now during components issue to production order, If 100 qty needs to be issued for compoenent B it is possible to use multiple batches of componenets ( using splilt batch functionality /or manual batch number entry agaist componenet in goods movement screen) but header batch remains the same.
    Check and Revert,
    Santosh Sarda

  • Batch expiration date check when goods issue

    Dear expert,
    In batch expiration date check, we have a requirement that when do goods issue with delivery note we should have a expiration date check for expired batch(the system needs to give a warning message when we want to pick a expired batch(in WM) or to issue a expired batch). But I checked OMJ5 and found that there is no check for movement type 601, 641, 643 or 647. Do we have a standard function for this requirement? Thanks.
    Leo

    Hi,
    In SD batch determination normally happens during Delivery creation for a Sales Order, Check for batch determination is maintained for a combination of sales org, order type - system determines Search Procedure at this level (here a check box also controls the batch check against selelction rules in case somebody puts a batch manually)
    later on through selection class and sort rules batch expiry is check during determination
    so all checks are applied before an actual goods issue is made so std SAP doesn't provide this check indicator at mvt type level
    Hope this helps
    Reg
    Dheeraj

  • Batch Classification data(charateristic) updation

    Hi All,
         I need to update certain classification data of a batch. I know the class of the bacth and the charateristic name. What I don`t know is the FM to do it. Can you please help me here. And also if there is some sample code then that would be great.
    Thanks
    Anuj

    Hi Anuj,
                 I am creating batch using BAPI_BATCH_CREATE. While creating batch i need to maintain Classification characteristics as well...how to maintain this classification data...in FM docu it is saying..
    You use this method to
    Change a batch master record
    Create classification of a batch in the background (object characteristics only)
    What does it mean and how can I pass the classification characteristics in background...plz help me.

  • Cannot add row without complete selection of batch/serial numbers while creating Goods receipt purchase order

    Error:Cannot add row without complete selection of batch/serial numbers
           Dim oPDN As SAPbobsCOM.Documents
           oPDN = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)
                         Dim serno As String = "SH-A1,SH-A2"
                        Dim sernoval As String() = serno.Split(",")
                        Dim mnfser As String = "SH-B1,SH-B2"
                        Dim mnfserval As String() = mnfser.Split(",")
                        For k = 0 To sernoval.Length - 1
                            oPDN.Lines.SerialNumbers.InternalSerialNumber = sernoval(k).Trim
                            oPDN.Lines.SerialNumbers.ManufacturerSerialNumber = mnfserval(k).Trim
                            oPDN.Lines.SerialNumbers.Quantity = linedetails(iRowNo).Quantity
                            oPDN.Lines.SerialNumbers.SetCurrentLine(k)
                            oPDN.Lines.SerialNumbers.Add()
                        Next
                    oPDN.CardCode = "C232323"
                    oPDN.Lines.ItemCode = "A00004"
                    'oGR.Lines.LineNum = 0
                    oPDN.Lines.BaseLine = 1
                    oPDN.Lines.BaseEntry = 202
                    'oGR.Lines.BaseRef = 203
                    oPDN.Lines.BaseType = 20
                    oPDN.Lines.Quantity = 1
                    oPDN.Lines.UnitPrice = 2
                    oPDN.Lines.WarehouseCode = '01'
                 oPDN.Lines.Add()
                 lRetCode = oPDN.Add

    Hi Vasanth,
    Invert the SetCurrentLine () and Add() at the end of the SSSerialNUmbers loop.
    Regards,
    Eric

Maybe you are looking for

  • After 10.4.6 upgrade Print causes programs to quit

    After upgrading to 10.4.6 I can no longer print with either an HP1320 or Epson 1280. When selecting the print command in any application (Mail,Word,Text edit,Safari,Preview) I get a message that the application unexpectedly quit. I have the latest dr

  • Calender not work correctly

    I wrote this code to get the date for the first day of the week. So if todays date is 05/01/2002 it should out put 04/28/2002. The problem that I am having is that it will give me 05/29/2002. If I run this in a plain java file I get the correct date.

  • Final Issue Indicator not set in maitnenance order after ECC 6.0 upgrade

    Hi, We encounter this problem after upgrading to ECC6.0 from SAP R/3 4.6C Final issue indicator (RESBD-KZEAR) is not being set in maintenance order (IW33) for sub-component non-stock items in General Data page Would be great if anyone could guide in

  • Repeat Function Key (F4 in Excel)

    Is there a repeat function shortcut in Numbers? For instance, if I insert a row and then want to move down a couple of rows and insert another, is there a shortcut key? Or do you have to use the mouse and table menu? In Excel the shortcut is F4. It r

  • W520 DWM crashes after undocking

    I have a highly repeatable issue where my Desktop Window Manager (DWM.exe) will crash after going from a docked state to undocked.  It does not happen immediately.  It could be up to an hour after undocking but usually occurs when I switch from one w