Traceability on reclass of batch

hi all,
we're facing an issue of loosing aging traceability due to re-class happened on batch.
here is the process/logic:
Our logic is to retrieve data from MSLB (Special Stocks with Vendor) first, from there we’re getting material doc/year/profit center/quantity with movement type
(541,542,543,544,701,702,309) from MSEG based on the following logic.
select mblnr bwtar prctr bwart xauto menge mjahr
into (w_mslb2-mblnr, w_mslb2-bwtar, w_mslb2-prctr, w_mslb2-bwart,
w_mslb2-xauto, w_mslb2-menge, w_mslb2-mjahr)
from mseg
where matnr = w_mslb-matnr
and werks = w_mslb-werks
and lifnr = w_mslb-lifnr
and charg = w_mslb-charg
and bwart in (541,542,543,544,701,702,309).
With the above data, we get the document posting date from MKPF. And we calculate the aging based on the date for movement type 541.
select single budat into w_mslb2-budat
from mkpf
where mblnr = w_mslb2-mblnr
and mjahr = w_mslb2-mjahr.
case w_mslb2-bwart.
when '541'.
w_mslb2-aging = sy-datum - w_mslb2-budat.
In case reclass on batch happen.
eg:
541 for part A batch#123
309 to reclass part A to batch#456
543 for part A batch#456
we'll not able to capture the correct aging days for original
part A batch#123.
Please advise anywhere we can link up between part A batch#123 and part A batch#456 in order to trace the aging.

you cannot cover all business processes in that area with one program. please consider setting up batch traceability using SAP standard like described [here|http://help.sap.com/erp2005_ehp_03/helpdata/EN/d2/05c838f2fbb363e10000000a114084/frameset.htm].

Similar Messages

  • How to trace vendor consignment when reclass happen

    hi all,
    we're facing an issue of loosing aging traceability due to re-class happened on batch.
    here is the process/logic:
    Our logic is to retrieve data from MSLB  (Special Stocks with Vendor) first, from there we’re getting material doc/year/profit center/quantity with movement type
    (541,542,543,544,701,702,309) from MSEG based on the following logic.
         select mblnr bwtar prctr bwart xauto menge mjahr
          into (w_mslb2-mblnr, w_mslb2-bwtar, w_mslb2-prctr, w_mslb2-bwart,
          w_mslb2-xauto, w_mslb2-menge, w_mslb2-mjahr)
          from mseg
          where matnr = w_mslb-matnr
            and werks = w_mslb-werks
            and lifnr = w_mslb-lifnr
            and charg = w_mslb-charg
            and bwart in (541,542,543,544,701,702,309).
    With the above data, we get the document posting date from MKPF. And we calculate the aging based on the date for movement type 541.
        select single budat into w_mslb2-budat
        from mkpf
        where mblnr = w_mslb2-mblnr
          and mjahr = w_mslb2-mjahr.
        case w_mslb2-bwart.
         when '541'.
            w_mslb2-aging = sy-datum - w_mslb2-budat.
    In case reclass on batch happen.
    eg:
    541 for part A batch#123
    309 to reclass part A to batch#456
    543 for part A batch#456
    we'll not able to capture the correct aging days for original
    part A batch#123.
    Please advise anywhere we can link up between part A batch#123 and part A batch#456 in order to trace the aging.

    Hi,
          They has not been done tranfer posting consignment to own(411k) and issues.Thats y stock is still avilabe.So user have to do these things in sap.
    If you want to do stock is nil without these things do Physical inventory but it is not advisable.
    Regards,
    Murali

  • Batch Traceability for Sugar as raw material during the production process

    Dear Colleague ,
    I need your support for a traceability issue in a customer on beverage sector
    See the case below:
    Batch Traceability for Sugar as raw material during the production process
    In AMSB the batch traceability in some production processes is very difficult, especially in case of sugar where tanks wherein more than one batches of the same material can be mixed. For example, in a single day almost 17-20 batches of the same material can be mixed and as the result is a composition of water and sugar the normal FIFO rule strategy cannot be applied during the component consumption.
    The raw material (sugar) is received in tank S5 at different points of time, and its content is transferred to tank B1 for storage purposes as well as for mix the sugar with other material such as water.
    At a specific moment the S5 tank contains only a single batch, while the tank B1 contains more than one batch. Tank B1 is used in order to supply the production line and the corresponding material consumption is triggered in backflush as soon as the production activity is declared (production confirmation). Along with the material consumption the batch determination takes place and a complex algorithm is applied: at a very high level, the single batch is consumed depending on its percentage inside the mix of composition and in case the this
    percentage is under a threshold level the current batch should be full used in order to avoid that it will exist for ever.
    Moreover, the good movement reversal (reversal of material consumption) and its correction lead to a complete new calculation of all the batches consumed after the original movement date/time. This means that the algorithm for batch determination should be reapplied for all the consumptions subsequent to the original movement.
    On the other hand it’s not possible to identify the mix of batches at the exit point of silos B1 because the total consumption of the material in the tank will never happen. As long as the tank level decreases it will be filled up from the tank used for receiving of sugar (S5).
    As requirement AMSB needs to post the material consumption starting from EWM, this means that EWM should be the master system in this case and the correspondingmovements have to be  transferred to ECC afterwards. This mainly because EWM  should guarantee the business continuity in case the ERP system is not available.
    AMSB asked if the scenario depicted has been implemented in some customer, in EWM system or in any other SAP solution.

    Hi ,
    At the time of consumption you can put ' * ' aestrix sign in the batch field.
    You will get list of batches of that material.select ur batch and consume the quantity.
    Regards
    Piyush

  • Traceability requirement for production but Plant1 is not batch controlled

    We have run MM, SD, FI for just over 12 months with only 1 Plant which does not have or need batch control.
    We are starting to scope out what we have to do to introduce PP in our food packing facility. This will require batch traceability at material level.
    I have been told that it is possible to create a 2nd Plant and configure it for batch control. BUT we will have to make arm's length transaction between the Plants. i.e. MM purchasing transactions in Plant1 then Plant1 issues materials, without batches, to Plant2 which receipts, with batches, and then uses batches in production.
    Does anyone have experience of this 2 Plant setup where Plant 1 is NOT batch controlled, but Plant 2 IS batch controlled?
    Is it a viable solution?
    Kind regards
    Jeremy

    Hi Jeremy
    You can activate batch management on the materials that will be relevant to batch. This can achieved in phased manner.
    Batch Management can be controlled at material level. As you are going to start PP as new process, You need do the following
    -  Shortlist the materials that will be batch relevant in future
    - Check stock levels, open purchase orders, PRs etc
    - For materials for which stock is already zero, activate batch management on them
    - For other when try to activate the batch, check error log and take action according to clear the stock so that batch management can be activated.
    I do not agree to have other plant as handing master data before implementation is one time effort, but if you have two plants.. this will remains for life. Think about the efforts and see what you want to do.
    Here is little tip
    In MM02 you receive a message that you shall look into the log if the batch management indicator cannot be saved.
    In that moment, hit enter and a new button will appear, there you can exactly read which document is hindering you.
    Usually it is stock in previous period that is forgotten to make zero.
    Check in MM03 at accounting view what your previous period stock is.
    As you have already cleared current period stock,
    you have to add again as much stock in the current period as you have to remove from previous period.
    then issue the stock with a previous period date. (you may have to allow previous period posting in MMRV first, and FI period has to allow it as well -> OB52)

  • Traceability with batch class characteristics in batch where used list.

    Hi,
    I have a process order which issues 5 pallets or material and produces 5 pallets of another material. Each pallet is a seperate batch in my scenario.
    All materials are assigned to a batch class and i will be using a class characteristic to enter the issued pallet number (includes material number and batch number)  to the produced pallet batch. This way i want to create a traceability system.
    the problem is i need a way to create a hierarchical view or integrate this scenario to batch where used list.
    there is a badi for where used list to read external data. but i guess that is for something called "external batches"
    can you please guide me for the best practice of doing this?
    Thanks,
    Alper,

    Hi!,
    I think you have to use the mix of two functionalities:
    1. Original batch function
    2. Batch derivation
    This way you can pull the characteristics of the source material batch in to raw material as well as finish material batches.
    In this you have to create a nonvaluated material which is used as original batch mateial. You have to assign this material in material master of the RM and FG alongwith other required entries.  Also you have to use batch derivation function to pull the charactristics of this original material batch in to the RM and FG.
    Please go through the SAP help regarding Original batch and Batch derivation function to have more clarity.
    Please revert back in case of any further issue.
    Regards,
    Uday

  • Batch traceability batch by batch in one process order

    Hi  guys
    Now our plant will consume two batch raw material A (batch A1,A2) to product two batch finished goods B (batch B1, B2) in one process order. The relation between raw material and finished goods is that A1 product B1 and A2 product B2. But now I use BMBC to do batch traceability for batch B1, the batch A1 and A2 will be displayed. I only want to trace the batch A1. So how can I do this? By the way, I cann't split this process order to two process order , because i only know the total quantity of finished goods B.

    Maybe I haven't explain very clearly. I will list some example:
    First , I have the requirement 1000KG for material 30~40g Chicken wings(material B). I know I have 3 batch broiler(material A) will be slaughtered. Batch A1 is 10000EA which average weight is 1.5KG, Batch A2 is 8000 EA which average weight is 2.0 KG, Batch A3 is 7000EA which average weight is 1.9 KG.But I don't know the quantity will be product by every batch. So I will create only one production order of material B which order quantity is 1000KG.After production finished, we know batch A1 product 300KG material B which batch is B1 and batch A2 product 550KG material B which batch is B2 and batch A3 product 150KG material B which batch is B3. These confirmation will be entered in one process order. When batch traceability for batch B2, the batch  A1,A2,A3 will be displayed in together. But the result we want to is just to display the batch A2.

  • Batch traceability in Process Industries

    Hi All,
    I would like to use the batch traceabilty functionality and the current industry is a process INdustry , but using the MB56 transaction gives me the batch traceabilty at the order level only. In case of our scenario we have multiple batches for single order and the order continues for several days. The output of MB56 gives all the batches for the order rather than the only required batch. How can I get the batch tracing for the components to the header material - bot top down and bottom up.
    Regards,
    Amol Kale

    When you work in this manner, allowing the production of many batches out of one process order, then you can't get a single batch-to-batch relation because there's no such information in the system. It just doesn't exist, it was never reported, so system can't know.
    If you need (because of regulatory or GMP reasons) to have a one-to-one relationship, then you need to revise the way you use process orders.
    Otherwise you need to manage it in a self made side application into which you will have to report separately.
    There's a new functionality called WIP Batches. You may investigate it to see if it can help you.

  • REM Batch Traceability

    Hello,
    I am working with REM scenario.
    When i am checking my RAW Material batch using MB56 transaction. It is showing me the other batches for the same RAW material.
    Example:
    My Assemblies Batch is A01.....A02...A03.
    Component Batch is C01....C02...C03.
    When i am checking in MB56 where used list for my Assembly batch A01.My expected result is the report shows me only batch C01. But the report showing me all the batches for the component C01,C02,C03.
    How can i correct the error? Any customizing or any master data change is require?
    Maulik
    Edited by: Maulik on Mar 24, 2011 8:03 AM

    Please check the flag "Update Batch Where-used list" in your REM Profile.   Normally, the batch where-used list is tied with order.  Since in REM environment, we will use the same order for the same FG/prod.version.   Therefore, the batch where-used list is many to many relationship.
    With this flag, SAP said in its help:
    " If you set this indicator, the update of the batch where-used list is
    enhanced with a batch-specific update (multibatch function). This means
    that batches produced for the relevant repetitive manufacturing are
    linked with the used component batches you actually used. The enhanced
    update takes place during the repetitive manufacturing backflush.
    Together with the normal update of the batch usage data that is simply
    order-related, the batch where-used list can reproduce the actual
    relationship between produced and used batches with the help of the
    enhanced update. Without this enhancement, the batch where-used list
    delivers order-related totals records."
    Please try and revert.
    Rgrds,

  • HU traceability is missing when HU unpacked(Transaction LM22).

    Hi SAP Gurus,
    I have a requirement to know details of Handling unit  like HU unpacked, material, batch ,qty when unpack using LM22 and packing using LM19.
    Firstly, Warehouse Operators will use only LM22 and LM19 transactions for Unpacking/Packing of Handling units.
    When I unpack Qty the Qty unpacked is moving to Partner SLOC for HU SLOC and material Document is created.
    Hence identify for HU is loosing(No traceability).
    When I pack the qty and I am not able to find  Identify for HU from which Hu the qty is unpacked from.
    hich iAs per client requirement..need to find an Original Handling unit from New handling unit is created  and send the same information  to Legacy system.
    Your inputs like Userexits, BADI'S in through which i can establish HU traceability using Mobile transactions LM22,LM19 is most helpful.
    Thanks in advance.

    Hi Hari Challa!
    Thaks a lot for your help, but I need to use this transaction becouse I am working with a warehouse that is management with RF system and in this case they need to use this transaction.
    I Know how to unpack in an Outbound delivery, and Inbound delivery and using the HU02 transaction. But I need this one.
    Thanks a lot!
    Does any one know any think about this transaction? LM22?

  • Documentary Batches with Batch Management at Material Level

    Hi,
    We have configured batch managment at the material level, and turned on for our materials. This applies to all plants that a material is extended to. Problem is that some plants don't have capability to (or do not need to) trace individual batches. So a "Generic" batch number approach is usually used in those few plants - but this of course still requires that the "Generic" batch number be supplied in all transactions. Some of those plants have just a more limited requirement of batch traceability (e.g. just at receipt or despatch, but not anything else like physical inventory).
    The functions of Documentary Batches seem most appealing. However, according to documentation, and in our tests, it seems that the batch management setting will always suppress the documentary batch functions in a plant, even if we only want generic batches.
    Does anyone know how to allow documentary batches for certain plants to override the "Batch at Material level" setting? P.S. We are not able anymore to re-configure the batch to material-plant level.
    FYI - I have searched Forums, Wiki, Support portal, SAP Help and Release Documentation.
    Cheers,
    Jeff

    hello Gurus,
    Can any body Download OSS note 41715  for me from Marketplace as i dont have access so please.
    regards,
    ninad

  • Batch Management - Cost Benefit Analysis

    Hello experts
    My client is evaluating batch magmt in their mfg operations.The key requirement/driver is material traceability.
    They would like to know what is the impact of using batch mgmt in terms of adiotional resources,transaction and maintenance as such.
    Does anybody has insights/material on this.
    Many thanks
    Gaurav

    Hi,
    please mention the manufacturing products then we can decide to go for BATCH or not
    some of the benefits of using Batch Management is
    1. Traceablity of  the material up to the end product.
    2. First IN first OUT principle can be adopted.
    3. Additional resources  is not required.
    4. storage space needed in  more
    5. if the company is having  EXCISABLE the somewhat complicated only
    Regards
    Ganesh

  • Multiple batches for a production order and mapping with components

    Hello Gurus,
    Our business requires to create multiple batches for one production order + they want to trace which component in the production order has been issued to the main equipment.
    For example, I am creating production order for 'A' equipment for 4 qty. Business wants to create 4 different batches for these equipment
    Lets say now 4 batches are created A001, A002, A003 and A004.
    Now lets assume 2 nos of 'B' component are required for 1no of 'A' component. So the requirement of B component is 8.
    Lets say 8 batches are generated B001, B002 ......B008
    Now lets say batch B001 and B002 are issued for A001 and packed together. How do we map this?
    I understand we can do some enhancement for creating the multiple batches but I still dont know how to map them with each other.
    Please help

    Hi Ethan
    There is a functionality called WIP batches, that allows you keep the batch traceability within an order.
    With WIO batches you can track which batch of component was used to produce each batch of finished product.
    See this link for more details:
    Work-in-Process (WIP) Batch - SAP Library
    BR
    Caetano

  • Batch at Packing Stage with mutiple prices

    SAP : ECC 6.0
    Module : Production and MM
    Issue : 1 Batch with multiple MRP.
    Domain : Chemicals
    Let me say I am very new to SAP and this forum. I could not find the exact place where to post my query so posting here. Help me where to post the query if this is wrong place.
    We are in the process of Moving from a Legacy system to SAP R/-3
    Our Process is as follows.
    1. Batch Transaction : Batch production how we are going to produce for a batch will be declared. Batch No as follows.
    YYMMPR0023  > YY -> Year MM- > MONTH PR> PRODUCT 0023 --> running batch.
    so batch transaction we will declare how much quantity we will produce. ex : 2000KL (kilo lt)
    2 Stage 2 : Packing while packing as per the market requirements we will pack this material in different packs not continue.
    ie. we do not pack whole material one time as per the market requirements the material will consume as per the size of the pack in demand.
    Due to this our Pricing strategy is also keep changing. ie packed material will be in 2 or 3 prices at different prices.
    when we dispatch the material will be identified with the price as sub field to categorize them.
    Current legacy system we are following this.
    Sales
    Packing --> Dispatch from plant ---> Dept. --> Dealer ---> Customer
    Return
    Customer --> Dealer --> Dept --> Plant
    this process is running. At all the places we are able to identify the stck batch level and even at MRP(price) level also.
    Implementor says in the R-3/ SAP standard this feature is not available. It is not possible with standard mechanism
    I would like to know what is the mechanism to be followed to address this.?
    Kindly inform us.

    Hi
    I'm not sure I understand you...please define your question...
    1)
    As I understand here question is:
    - batch number assignment
    - amount of the material that belongs to that batch
    In SAP you can use automatic batch number assignment, and you can also define the logic /rule based on which system has to generate it.
    When you make confirmation against a production order or goods receipt w/o PrdOrd refernce in REM (repetitive manufacturing), you define the produced quantity --> SAP will allocate the batch number
    2)
    As I understand here you have two questions:
    - how to solve pricing based on packaging
    - how to track the material (traceability)
    If you use different material numbers for different packaging (different packaging may mean diffenerent SKU), there's no problem. If you want to use the same material number for different packaging, it's very likely you have to go to developemnt - generally, batch is given / determined at the time of delivery creation. But in your case the batch should have information on the packaging and you should define it (batch) in the SO to solve pricing.
    When you sell the material (as I understand you sell it to the distributor), the material won't be in your system any more that's why you cannot track the goods from distributor to customer).
    Is Depot yours? Does the ownership of the goods change when you give them to the distributor? If not, you can map the process:
    Plant --> STO (stock transport order) --> Depot --> Consignment fill-up --> Distributor --> Consignment GI --> Customer
    Please give more explanation if my answer is not ok.
    Regards,
    Csaba

  • Production Traceability Report

    Hi Experts,
    I have this scenario currently : -  I want to create a traceability report that traces a particular BOM item and all its child items by the batch number. From the particular batch to all the child items and their batch numbers that were involved in production of the item.
    The scenario is this way, the user  wants to  know all the batch numbers and quanitities of the child items used in producing production item A0001 Batch number BAT00001.
    1. All the child items and batches that were used to create the production item A0001 batch BAT00001. Considering that product A0001 has child items that also have children, then that would mean that the query gets those parent items and the children and so on that were involved in producing Product A0001 Batch BAT00001 upto the last level.
    We have come up with the following query so far, which returns all the batch numbers for all production runs of the item A0001. Kindly help get work around to intended scenario.
    WITH BOM (Code) AS
    SELECT     ROOT.Code as Code
    FROM         dbo.OITT AS ROOT
    WHERE     ROOT.Code =  @itemcode
    UNION ALL
    SELECT     CHILD.Code
    FROM         dbo.ITT1 AS CHILD
    JOIN BOM ON CHILD.Father = BOM.Code
    select T0.ItemCode, T0.InQty, T0.OutQty
    , T1.BatchNum
    from oinm T0
    inner join ibt1 T1 on T0.ItemCode =  T1.ItemCode and T0.Warehouse = T1.WhsCode and T0.TransType = T1.BaseType and T0.CreatedBy = T1.BaseEntry and T0.DocLineNum = T1.BaseLinNum
    where T0.applobj = '202'
    and T0.ItemCode in (select code from BOM)
    OPTION (MAXRECURSION 10); -- Handles 10 levels dept of BOM
    RETURN
    END
    GO

    Hi,
    Check Plant maintenance reports
    BI - PM (Plant Maintenance Implementation & Extraction )
    Standard SD reports
    SAP SD Standard reports in BI
    Inventory reports
    On Hand Inventory reports in SAP BW
    So like wise list down your modules ,I think you are trying to implment most of the SAP module reports..
    Try to serach on forum and you will find many links here..
    Thanks and regards
    Kiran

  • Batch tracking and material usage analysis

    how do we track the batches and material usage analysis in case of any customer complaint?

    You can use the reports BMBC, MB56, MCRE, MCRX.
    If you want to track by batch wise then batch traceability report MB56.
    Hope this helps you.

Maybe you are looking for

  • Dunning letter problem

    I need to show in the Dunning letter the assigned standard bank for incoming payment of the business patner. How to do ? Giuseppe

  • Displaying the data from a "LINQ to SQL database"

    I have created a LINQ to SQL database with a simple table/class with the following properties: Counter Subject Description About the Counter, how do I set the properties so it behaves like a "Counter". For each row I want it to automatically add new

  • How to add an attribute to "group" element in the DataTemplate dataStructur

    Hi, I want to add an attribute to the group element in the dataStructure section of DataTemplate. I want my output XML file to look like: <G_EMP xmlns:xsd="http://www.w3.org"> <ENAME>John</ENAME> </G_EMP> This can be done in Oracle Reports 6i by sett

  • How can i get a UK Macbook delivered abroad?

    Hello, I am interested in buying a macbook, preferably one accompanied with a UK keyboard. However, i am currently located at Greece, and i have seen that applestore does not ship products outside UK. Moreover, getting a macbook here is impossible si

  • What exactly is a wrapper class?

    In so far as Integer, Byte, Double et al. are concerned I understand that those wrapper classes are a way to handle primitive types as objects. But I've come across references to wrapper classes in documentation and other technical articles and I don