BADI - WORKORDER_GOODSMVT - check for BATCH management

Hi there,
I have implemented WORKORDER_GOODSMVT BADI (Backflush method) to fill the batch number with a default value for a given plant.
This is working fine.
However, I only want to fill this if the Material in the Production Order is "batch managed" (at the moment it's happening for all materials in the Prod. Order ). This indicator field does not appear to be available in the structures of the BADI.
If I look in CO02 for the order, I can see a column called BATCH which is filled with an 'X' in certain cases.
An F1 on the screen field says that it is 'RESBD-SPLKZ'
However, if I check RESB table (or read RESBD using a function module) , this SPLKZ field is always blank for the given order.
Does anyone have an idea why this is, or where I can find a proper "Batch Indicator" field?
All suggestions appreciated.
I have searched forums and can't find relevant solution.
Thanks,
David.

Hi Bruce,
I solved the problem by going to MARC table with material and plant, and checking field MARC-XCHPF ('Batch management requirement indicator').
if this field was set to 'X', I made my change to the CHARG field.
Hopefully this helps you.
this is from a long time ago, I should have updated the post sooner - will mark as solved now.
thanks,
David

Similar Messages

  • ATP check for batch managed products

    Hello All,
    I have a requirement for ATP check for batch managed products and would be glad if someone can help me on that.  One of the characteristics on my product is expiry date. Business wants to restricts confirming products which has an expiry date of less than 90 days for orders outside the country. How can we achieve that?

    Hello
    You can try with activating Shelf Life Expiration Date (SLED).
    For config, check SPRO - Logistice General - Batch master - SLED
    Then finally setup Customer Exit to calculate/check the SLED.
    Exit EXIT_SAPLMHD1_001 for enhancement SAPLMHD1.
    Further, you can refer following SDN thread for reference/understanding:
      - SLED by customer/ material
    Regards
    JP

  • Specific Identification Cost for batch managed items (Follow-Up from P2P)

    Specific Identification Cost method is used for serial and batch managed item. Using this method, the outbound cost of such items would be the original cost of specific goods, which can be determined according to the serial or batch number of that item.
    Business One allows the user to receive batch managed items with a batch number that already exists in the DB. It’s possible that the received quantity is added to on-hand quantity in the warehouse. In such case, the quantity on-hand of that batch and the received quantity may have different costs.
    What should be the system behavior in such case:
    1. Block receipts to the same batch with different costs.
    2. Write the difference to a price difference account, as done in Standard Cost method.
    3. Manage the batch cost with Moving Average method.
    This thread is continuation from 'Specific Identification Cost for batch managed Items' <a href="http://p2p.sap.com/businessoneforum?type=join&login=1&uid=41FB661A76CED536C825C4E2B6FF4397&cid=91&go=z37225">discussion</a> in P2P SAP Business One Forum (Product Development Collaboration).
    Previous discussion on P2P is summarized in the attached file.

    Hi Peter,
    This is a very important functionality that you are describing here. For example, in the Steel industry, it could be extremely useful to cost by batch or serial number.
    If you receive a batch that already exists in the system and if the costing method for the product is moving average, then teh cost of the batch should be calculated based on the moving average as well.
    If the costing method is standard, then the cost should go in a variance account.
    If the costing method is FIFO, then it is a getting trickier...
    Regards,
    Vincent

  • Customer exit for Batch management

    Hi experts,
    I'm using customer exit for batch management for internal number assignment.
    I need the Batch number as i mentioned below 
    DDMMYYB01
    DD-Date
    MM-Month
    YY-Year
    B-Block
    01-Number
    For this i need to give logic. How to give i'm not getting. This batch number creation will come at the time of GR.
    Anybody help me?
    Naren

    Hi
    Please use the user exit SAPLV01Z as I mentioned in your other thread, please go to SMOD to read its documentstion.
    In SMOD, select the 'Documentation' and click 'Display', this will show the overview documentation.
    Select the 'Componnet', then ciick the 'Display'. select each component and click 'Documentation Ctrl+F4) this will show the detailed documentation of them.
    Best Regards.
    Leon.

  • QM In-Process Inspection for Batch Managed Material

    Hi,
    I have a issue related to UD of In-Process inspection for batch managed material. The production process is discrete manufacting for a cold rolling mill. A production order can have mutiple coils as per the production amount. To track the individual coil , batch management has ben activated. We have both in-process as well as inspection after production here.
    For inspection after production we are fine as we are doing partial confirmation after every coil and have separate inspection lot having different batch number.
    But for in-process I can have only one inspection lot for the production order (created on release of the production order). I can do the result recording but while trying to do UD u2013 it is asking for a batch number as the material is batch managed. W/o entering the batch number system is not allowing me to do the UD.
    Is there any solution/work around of this problem.
    -Regards
    ashim

    Hi Ashim,
    you raised a very good question? i am helpless here to execute same scenario,
    but i disussed with my QM guy here, he said, once the material is batch managed then it has to ahve batch in UD.
    so i discussed ur case, which is very much valid for heavy ind like cement and all,
    so what i suggest, u create a dummy batch in the UD for in process (no inventory posting)
    and at confimation give ur usual batch (if system propose the dummy batch which u give in the UD for inprocess, try to change there--- i hope it should allow)
    i would really like to here answer from u for this.
    try to do as suggested, and let me know the results.
    REgards,
    Pravin mukkawar

  • 522 IP REPUTATION BAD (please check for IP address...

    Hello,
    We are a big hosting provider within the UK with multiple servers and thousands of hosted websites.
    We have recently migrated a shared hosting server to new hardware and a new set of IPv4 IP addresses (freshly assigned by RIPE).
    Customers hosted on this new server are trying to send emails to @btinternet and @btopenworld mailboxes using our smtp email server but they receive a bounce back stating "522 IP REPUTATION BAD (please check for IP address listing on reputation services)"
    I have checked our shared IP address that is used to send email and it comes back squeeky clean!
    What I need help with is who can I speak to to find out why our IP address was blocked and how to go about getting it removed again.
    I tried BT's automated telephone service who put me through the the broadband team - They were helpful but kept giving me new numbers of departments I needed to phone which sent me on a wild goose chase returning me back to the same department again.
    There must be a BT Yahoo email postmaster department I can get ahold / speak to regarding this...
    Any help or advise please?

    I am also getting this error today when I wasn't getting it yesterday sending from and to the same email addresses from the same location I now get the error 
    This message was created automatically by mail delivery software.
    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:
        SMTP error from remote mail server after initial connection:
        host mx.bt.lon5.cpcloud.co.uk [65.20.0.49]: 522 IP REPUTATION BAD  (please check for IP address listing on reputation services)
    ------ This is a copy of the message, including all the headers. ------
    Return-path: 
    Received: from [93.157.219.252] (helo=[192.168.1.56])
    by mx1uk.supremebox.com with esmtpa (Exim 4.72)
    (envelope-from )
    id 1VMvWR-0002So-Gl
    for ; Fri, 20 Sep 2013 11:53:04 +0400
    User-Agent: Microsoft-MacOutlook/14.3.6.130613
    Date: Fri, 20 Sep 2013 08:53:00 +0100
    if i try to send from by bt account to the bt account i get this error
    Your message has not been sent as you are accessing your email over an unsecure or untrusted connection. Visit www.bt.com/emailcodes  for advice on using secure connections.

  • Change in delivery quantity for batch managed items.

    30.09.2010
    Hi friends,
    We have activated batch management. During delivery after the batch is determined and if i want to change the delivery quantity say for example from 50 to 30 then first i have to go and adjust the quantity in the batches to toal 30  and then come back and change the delivery quantity from 50 to 30.
    After searching the forum i have found  user exits, but other than the user exits is there a standard configuration wheren if i change the delivery quantity the quantity is adjusted in the batches.   Please advise.
    Regards,
    Udaynath.

    Udaynath
    Did you try working with the batch strategy config?
    Try working with fields a) Over Del allowed, and b) Qty proposal.
    Path: SPRO/IMG/Logistics - General/Batch Management/Batch Determination and Batch Check/Strategy Types/Define Sales and Distribution Strategy Types
    Hope this helps. Let me know.

  • Material getting set for Batch Management in O/B delivery

    Hi Folks,
    For a material which is not batch managed, I created an outbound delivery.
    For some reason, the material is getting set as 'BatchManagement' even though the Batch Management indicator is not set.
    Due to this PGI is not possible.
    Any thoughts on why the 'Batch Management' indicator has been set and how to resolve this?
    Regards,

    Hi Jürgen  ,
    I am unable to replicate this problem in Q. Its occuring only in P while doing a goods issue.
    Message is
    "The batches are not defined for delivery item XXXXXX".
    As I said earlier, we have not set the batch management check box in MM.
    However the outbound delivery has the batch management check box selected .
    Anything I missed to check? Q is almost identical to P. But still issue is only in P.
    Regards,

  • GATP check for Batch and Batch characteristics

    Dear Experts ,
    I have a question regarding GATP check
    scenario is like this
    1) Create a Sales order in a plant
    and there are 10 supply DC
    consider we are into batch management and the stocks are in Batches with production date and Expiry date
    when i create a sales order for qty  1000 , system must do ATP check in all the plants and pick the right batch according to the expiry date
    how to handle in GATP
    what are the basic steps for configuration and master setup
    Thanks  & Regards
    Raj

    *system must do ATP check in all the plants and pick the right batch according to the expiry date*
    ATP check and batch determination are unrelated things. Batch determination follows ATP check. but the SLED parameter may not be able to determine batches for the entire confirmed qty as there may be some bacthes that do not qualify the SLED parameter (assume only warehouse stocks being in scope of check) and this may not have been blocked before hand in say a separate stor loc that is excluded from ATP qty
    If you want to do ATP check at all locations..then remember that the check is happening at potentailly different material availability dates. It might be prudent to sort all the batches by remaining shelf life..and that might mean if the order qty is 1000.. then you might have 5 plants and 9 batches meeting the criteria based on oldest stocks first.(assuming this is what you would like to do). You then need to create five different line items in the sales order with different delivery plants and then immediately create delivery and do the picking,.
    Let me know if you discover a neater solution around this. You can also try global location determination (and a rule control strategy appropriate) in RBA and see if the proposal is as per the expected result. I have my doubts on this. Also to be considered are delivery group correlation to ship the entire qty at one. So you might have to pack 5 deliveries in one shipment..and probably one invoice?
    Regards,
    Loknath

  • Inventory Count for Batch Managed materials - Plant, S.Loc and Batch Wise

    Hi.,
    In the company's current scenario, the printing of batch managed materials are scheduled under 3 Job names.
    1. First job determines the materials/batches that need to be created today using Program RM07ICN1
    2. Second Job Processes the BDC Session created by Program RM07ICN1 using Program: RSBDCSUB
    3. Third Job prints the Inventory tickts at the appropriate Storage location using Program: RM07IDRU
    Each Job has its own variant.
    The Variant for SL.No 1 is defined w.r.t
    i. Material Type : Two Material types have been defined
    ii. Under selection variable, GIDAT ( Planned count date and GBDAT are flagged.
    Current Analysis:
    A. The inventory documents get printed with Materials as per the cycle counting indicators defined which govern which material has to be currently counted.
    B. Inventory documents are generated for all materials in all the plants and in all the storage locations
    C. Batches for a material number may print on different cycle count documents throughout the year. 
    Customer requirement:
    The inventory documents to print on basis of
    1. Material, Plant and S.Loc.
    This would help in identifying the batches which are currently being counted as well.
    2. Customers requirement is to ensure that all batches are accounted for and will identify any overage of batches since in the current process, they are never reviewed as a whole.
    QUESTION:
    1. How to configure the Customer requriement.
    2. How to configure the Variant/s, if thats the place the configuration has to be done to satisfy the customer.
    3. How to activate the Variant in SE37 after definition in the Step Indicator. Does it activate on execution?
    When i run the Program using SE38 , maintaining options in the Screen ( giving Material, Plant and S.loc), i get the desired list (Batches w.r.t Material,plant.S.Loc). But there is a list of over 150 Batch managed materials and it would not be physically possible to maintain the variant for each each Material,plant,S.loc wise.
    Is there a way to configure the customer requirement/s.
    Any and all help is much appreciated.
    Thanks

    Hello Mahesh,
    <b>Customer requrirement is specific, they want a list of Inventory Documents to be generated on basis of Material in each Plant-S.Loc batch wise.</b>
    Then you need to define multiple varinat for the program.
    <b>(a) If i am giving two variants in the same Program name RM07ICN1, how to execute one after after in sequence.
    In testing, I have defined in the " Step", Progran RM07ICN1 with one variant and Program RM07ICN1 with another Variant. But on execution of Program RM07ICN1 thru SE38, the screen defined latter ( second variant screen data ) is displayed.</b>
    You need to define several steps in SM36 transaction for the program using each variant. SE38 you can use only to save your variant data so later you can use this variant in SM36.
    Once you schedule the job with SM36 and release it then it will automatically execute this job as per your criteria (timeline)
    Hope this helps.
    Regards
    Arif Mansuri

  • Does SAP Provide any standard conversion program for Batch Managment activa

    Hi,
    An idea if SAP Provides any standard program to conversion of non batch managed material to batch managed material in a productive SAP Environment and close open documents,
    It would be great help if somebody can reply to these queries.
    Thanks in advance
    Regards
    Bijaya Pradhan

    Hi
    Use the same Driver program RIPROV00 which is used as Script driver program to fire the output from smartforms also
    Only thing is little bit you have to modify the program such that it triggers the smartform instead of Script.
    I think there is no smartform driver program for this IW21.
    see some standard SF driver program like RLE_DELNOTE and
    modify it and use it.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Physical Inventory & Cycle Couting for Batch Managed Materials

    Hi Friends, pls help me on this scenario
    Physical Inventory
    For a Batch Managed Materials we have hundreds materials and thousands of batches (each batch is equally imp)
    So the first step would be
    Create the documents with MI31 Batch Input session
    Post the count with MI34 Batch Input Session
    See the difference in MI37
    MIDO we get to c the physical inventory overview.
    correct me if i am wrong
    Cycle Count
    This is a seasonal Business and ABC analysis based on requirements n Consumption doesn't work for this process. Is there any way that we can configure the system in SAP which has the ability to fulfill the following scenario.
    They shud be able to select a % of materials from the storage for every month and that way they shud finish counting all of them at the end of their season. Not based on any criteria, just a part of materials ...
    hope i am clear on the requirement..please suggest me something
    thanks

    No,  it will not match, it will create its own document in background.
    Why do you have one created if you dont want to do a selection ?
    You cannot create a document for 1000 materials and then only count 30.
    You either create a document for 30 and count 30 and enter it with MI04, or you dont create a document with SAP, count based on any other paperwork and enter the count as I said with MI09.

  • Partial Qty Adjustment for batch managed

    Apart from Physical Inventory adjustment , some times we have to increase or decrease some qty in the Stock, but all our stocks are batch managed , It is hard to enter the full batch and to increase or decrease some qty .How to increase or decrease the stock by Physical Inventory method, we don't want to increase by 501 Mov type.
    Any help will be highly appreciated .
    Thanks
    JJ

    Hi
    Go for 202 movement type ie reverse from cost centre .
    Regards
    Sujoy

  • MB1C LSMW Recording fails with missing Prod Date for Batch Managed Material

    An LSMW recording for transaction MB1C that was batch managed was successfully recorded.  This included the entry of the Production Date before pressing enter to post the Good Receipts.  However, when the transaction was executed, the error came back, "Enter the date of production".  In looking at the screen in the lsmw batch results, it shows the date in the production date field.
    I also tried to create the recording in the Transaction Recorder (trancode SHDB), and process the recording simulating the background mode and got the same results.
    Any ideas why it seems to be ignoring the production date?  Any help will be greatly appreciated.

    An LSMW recording for transaction MB1C that was batch managed was successfully recorded.  This included the entry of the Production Date before pressing enter to post the Good Receipts.  However, when the transaction was executed, the error came back, "Enter the date of production".  In looking at the screen in the lsmw batch results, it shows the date in the production date field.
    I also tried to create the recording in the Transaction Recorder (trancode SHDB), and process the recording simulating the background mode and got the same results.
    Any ideas why it seems to be ignoring the production date?  Any help will be greatly appreciated.

  • Specification for batch managed procured material

    Hi all
    I have created bom for non batch manage material.
    I have added batch managed procured material in bom, I have done classification of  batch managed procured material in BOM .
    I have created production order for header material of bom manually and done MRP after that. It has created PR for that material.
    But in PR. iam not able to see specification from classification data (BOM ) for procured item.
    Is there is any config iam missing?

    Closing thread in MM forum and opening it in PP.

Maybe you are looking for

  • Adobe reader not displaying the images

    I am trying to open pdf document includes with the images. Text is showing correctly but the images are grayed out. I can open same document with images in Nitro Pro but not with Adobe, that means no issue with the file damaging.

  • InDesign all versions: is there a rectangle widget...

    I need to draw a rectangle on a dialog, fill it with white background and then place a text box and another custom widget on top of it.  Is therea already a widget that will provide me with this functionality, or do I need to write my own custom widg

  • SOA managed derver is going down frequently

    Hi, We are facing one specific issue in SOA 11g environment . SOA managed server is hosted on WebLogic Server Version: 10.3.4.0. Server is keep on going down even after restart, after each restart it iwll come up for 15-20 minutes max and then again

  • Prime Infrastructure 2.0: Running an inventory sync removes "snmp-server location" in running-config

    Hello, we're running Prime Infrastructure 2.0 (version VA-2.0.0.0.294). I was scared as I figured out one hour ago that running an inventory sync (Device Work Center) removes the command snmp-server location and adds the command snmp-server host "PI-

  • Saving a process/thread into a file

    I want to simulate a Object Oriented Database using a Process or a Thread. I need to save and load a the thread quickly and if possible, I would like not to serialize. Is there a way to just dump the Thread status and memory content into a file and L