'TO BATCH' ENTRY IN MFBF

Dear Expert,
            We have maintained more than one VALUATION TYPE in our
production related material masters(SEMI FINISHED & FINISHED ASSEMBLIES). So while doing Production Confirmation in MFBF, system is proposing all the related Valuation Types of that Header Material in 'To Batch' field.
Our Valuation Types are parrallel with our Plant Codes i.e. if we are confirming production for a material in plant 1100 then Valuation Type will be same 1100. More than one Valuation type is opened in Material Masters because different plants are producing the same products.
Now the problem is User is confirming the production in MFBF with wrong Valuation Type in 'To Batch' entry. So we want that as default Plant Code will be picked up in 'To Batch' field after mentioning Material & Plant code in MFBF.
We are waiting for your positive response.
Thanks & Regards,
Pradeep Luhach
SAP-PP

Hi Pradeep,
Ask your technical consultant to add logic for this either in user exit or BADI.
User Exit - XMRM0001
BADI - RM_BFLUSH_GOODSMVT( applicable to ECC 6.0)
Let me know if you solve this.
Thanks & Regards,
Dhanamjaya

Similar Messages

  • User  exit  needed (Problem related to duplicate batch entry in Migo(GR))

    Dear all,
                  I need a help from you.we facing problem in Goods receipt in MIGO.
    where we want to apply a check on batch which has already been assigned to a raw material in MIGO  .we are using manual
    batch entry .we don't want to make duplicate entry of same batch
    against any material.
    I tried to find out the user exit for that but i have not succeed .
    what is solution to
    avoid duplicate batch entry.

    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    No of Exits:          8
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Lsmw batch entry does not show the field

    Hello, I use lsmw recording for employee hiring.
    I use 'PA30' transaction and 'Z0' Action.
    I need to hire employee with 0% employment (persons which in the maternity leave),
    but I can't do that becase Infotype 1000 in the 'Z0' action does not display the employment filed (p1000-prozt). It sets 100% by default, That happens only in the batch entry, do you know how to hack it ?

    Why do you hire the person with 0% employment? Why can't you post maternity leave for those employees?
    Regards
    N  Navaneethan

  • Accounting entry for MFBF

    Dear Guru,
    When we are doing MFBF ,GI accounting entry is getting generated but the GR accounting entry  for mvt type 131 is not
    getting generated instead its going for mvt type 571.
    Thanks in advance.

    Hi Kamala,
    In the case of sell in the above example, Dr forex postiion account with 100$, but it is essentially Eur 94 and the corresponding amount in local currency which is USD in your case.  If at all it happens that you are selling EUR at the market rate itself such that your amount in local currency for EUR sale and the amount in USD for Buy are same, then there will no gain/loss. 
    But essentially your contract price will be different than the prevailing market price.  In that case there will be gain or loss posted.
    Regards,
    Ravi

  • Batch entry in process order in Goods receipt tab mandatory

    Hi,
    There is a field in Good receipt tab of process order (AFPO-CHARG). We want to make it mandatory field. Is there any way to do that & it should be dependent on order type-plant.
    regards,
    Mohit

    HI,
    Good receipt tab of process order (AFPO-CHARG
    I think you are asking about batch field for header material.
    If you want to make it mandatory then you can do it by creating screen varient (SHD0).
    You find many online help documents and threads on screen varient, search it over here on sdn or on net also.
    Regards,
    Dhaval

  • Massive Batch Entry Help!!

    Hello,
    I is there a transaction code to edit or change items on a transfer order.
    like their country of origin. these are the steps I follow to change the country of origins:
    I go to LT21 then enter the TO# then double click on the item then it give me display to single item overview.
    then I double click the batch number and it opens MSC3N. then I open a new transaction MSC2N and change the country
    of Origin that way. this is OK for maybe 4-5 items per TO, but it gets quiet repetetive and cumbersome at around 60-80 lines of items on a single TO. Is there an easier way for this? like instead of displaying MSC3N when I double click the batch number is it possible for it to display MSC2N?
    Thanks for your help,
    Mani

    Anybody? I really need help with this please.
    Thanks,
    Mani

  • Entry point 'Test Batch' does not exist

    Hi Forum
     I am in the process of upgrading one of our testsystems from TestStand version 3.1 to version 4.1.
    The system is started up by a Labview app which calls TS by a command line call (-runEntryPoint  "Test Batch"  "C:\..."). However, TS 4.1 doesn't recognize the "Test Batch" entry point (worked fine in 3.1), and I get an error box with the message "entry point 'Test Batch' does not exist". I have checked that the entry point exist in the sequence model file, and if I go to the "Execute" menu, I get the choice to run "Test Batch".
    I am able to se the -run command, but then I, for some reason, don't get the entire sequence.
    Any suggestions to what I am doing wrong? I am logged in to TS automatically with my windows login.
    B.R.
    Martin
    Solved!
    Go to Solution.

    Hi,
    There should be a document in \Conponents\NI\Models\... which should give you the basics for the various process models.
    here is some other references that may help
    http://zone.ni.com/devzone/cda/tut/p/id/7958
    http://digital.ni.com/public.nsf/allkb/D9E7A0BDDDA​2A87886256FD9007598D2
    Check out some of the related links
    http://zone.ni.com/devzone/cda/tut/p/id/3819
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 09-24-2009 11:00 AM
    Regards
    Ray Farmer

  • Automatic Batch Determination   in Production order

    Dear All,
    We are using automatic batch determination is based on FIFO (first Mfg first out) for components..After releasing the order.
    I have maintained Batch Class in all the materials which are used as a all material special Characteristic LOBM_HSDAT as a one of the class characteristic. as we want batch determination  on GR date for few material and for few material LOBM_VFDAT for self life material and its class.
    Then create Sort Rule CU70 mainatained the same LOBM_HSDAT in it. and one with LOBM_VFDAT.
    Then create Batch serch Strategy (USE T.Code COB1- search strategy CO01the respective sort rule and selection critoria.for All ROH HALB and Finish material.
    In Material Master of all component in MRP 2 view select value 3 (Automatic Batch Determination) for BATCH ENTRY. All ROH HALB and Finish material
    After mainting above all prerequisite I should able to do the Automatic Batch Determination as per my selection Rule.
    But Automatic Batch Determination  in Production order after release is not working.
    Please need your help.
    Regards,
    Manish
    Edited by: manish gurnule on Dec 30, 2008 5:26 AM

    Dear,
    Define the batch determination search strategy for process order in COB1 with sort rule in CU70.
    On the initial screen of your application choose Logistics>centrel function>batch management>Batch determination>For process order -->Batch search strategy --> Create.
    On the initial screen of your application choose Batch search strategy -->Create.
    Choose the strategy type, say choose co02
    Choose the key combination-
    Enter the required dat-->say plant ,production order type, product,valid from and component for which you want to have this
    Choose Selection criteria push button. Choose a sort sequence.
    If no values have been entered, enter the selection class and the characteristic values.
    Go back to the screen on which you create a batch search strategy.
    Choose Sort if required(it should be defined earlier(in CU70- here you are giving the charateristic name on which you want to sort)
    For component you need to use MBC1 with search stratgey as ME01 for your plant movement type and material and assign the sort rule and search procedure here.
    Check also in COR4, for the combination of plant and order type...you have selected search procedure-CO0001
    Batch management> Batch serach procedure allocation and check activation
    T.Code to be looked specifically OMCG , CORC
    Hope it will help you.
    Regards,
    Madhu

  • Packing handling units to outbound delivery with batch management

    Hello all,
    I am packing an outbound delivery with a material that has batch management active. The packing is from a storage location that manages handling units (HU-managed sloc).
    My problem is u2013 before entering the HUs to the delivery u2013 the system asks me to enter the batches (in the batch split function). Only then I am allowed to enter the HUs in the packing function.
    What could be the reason for this preliminary batch entries ?
    How can I set the system not to do that, i.e., I would like to be able to enter the HUs directly without entering the batchs separately.
    Thanks,
    Isaac

    Dear Isaac,
    this system behaviour can not be changed in standard and is also not recommended to change it via a modification. The reason for this system behaviour is to avoid inconsistencies in the system. The HU that you assign to the delivery, should exactly fit to the delivery. In case if the material is batch managed, you should specify the batch first, and then add the fitting HU with exactly that batch.
    I suppose you checked the longtext for HUDIALOG102, that you get in the described case, but I copy it for you, in case if you did not read it:
    "Diagnosis
    There are items to be handled in batches which have not yet been
    assigned to a batch.
    Batches must be recognized for items with HU-managed storage location
    For items at a storage location that is not HU-managed, the item type
    determines if packing will take place at cumulated item quantity level
    (meaning that the batch is not recognized at any point in the handling
    unit) or if packing must take place at batch level.
    System Response
    If an item requires batch identification, that item will not be
    suggested for packing as long as the batch is not recognized.
    Procedure
    Go to the maintenance of the delivery item and assign at least one batch
    to the item."
    Regards,
    Ely

  • Production order release with batch management

    Dear All
    Our company are going to use batch managment. But someone told us the production order cannot be released if the component with batch managment is missing (requirment is lower than stock). Is that true?

    Dear,
    It depend upon the setting means if you want to automatic batch determination in production order for component then system will not allow to release if no batches are available.
    This setting come from MRP 2 view batch entry if you keep it blank then system will allow you to release the order with missing batch quantity also.
    Please try and come back if any issue.
    Regards,
    R.Brahmankar

  • Avoid duplicate batch (batch managment)

    dear all,
    We are facing problem related to batch managment .we are using manual batch entry .we don't want to make duplicate entry of same batch (which have already assign to material) against any material.what is solution to avoid duplicate batch entry.
    can u tell me the settings and any user exit in which we can avoid the duplicate batch.
    regards

    Hi hema,
                   in our scenario user  manually enter  batch of raw material in MIGO when we do good recipte in MIGO againts purchase order we enter batch manually.but we need that a batch which has already assign to raw material can not be assign again .if user enter the previous batch then system gives a error that batch has already exist.
    may be u know the prob

  • Automatic Batch Determination during Goods issue of Production Order

    Hi,
    Iam trying to set up automatic batch determination during Goods Issue against a production order. My requirement is system should automatically run the batch determination similar to the case in production order.
    I have set up all the required configs for batch determination. But to get the batch I need to click on the batch determination button. What I need is without clicking on anything. How can I do this. Whats the config needed
    Thanks and Regards
    Enrico

    Dear Enrico
    It is required lot of set up both in production order parameters and Batch Managemnet .I am providing you a summery of it .
    Configuration Required for your above issue are as follows :
    1.Activated Batch Management in the Material Master-MRP2 view and Work Scheduling view of the FG
    2.check material master MM02, tab MRP2 and set field "Batch Entry" to value 3 here
    4.You maintain a Search Procedure in OPL8 - Order Type Dependent parameters .Before that you should have Batch serach strategy :The sequence of steps are as follows -
    Create Condition Tables
    Create Access Sequences
    Create Strategy Types
    Batch Search procedure definition
    Batch Search procedure allocation and check activation
    Define Selection classes
    Define sort rules
    Maintain Batch Allocation Strategy Number Ranges
    All the above are available in the Path - SPRO --->Logistics-General ---> Batch Management ---> Batch Determination and Batch Check
    5.Maintain the setting in T.code OPKP (production scheduling profile). Select automatic batch creation on order creation.
    6.If u want to execute the batch determination for components in the component overview of production order , then u have to create batch search strategy at COB1
    7.If u want to execute during order confirmation u have to create batch search strategy at MBC1.
    Refer the below link for your farther reference :
    http://help.sap.com/saphelp_47x200/helpdata/en/25/28428b4f7811d18a150000e816ae6e/frameset.htm
    Hope this will be useful
    Regards
    JH
    Edited by: Jiaul Haque on Jun 22, 2010 11:28 PM

  • Batches not getting  for order components at time of order creation

    Hi Folks,
    My requirement is that when I create a production order and save automatic batch determination should take place for all components. For this I have done all the settings for eg
    1) Assigment of batch search proceduree to order type
    2) Define batch search strategy,procedure , condition , access sequence
    3) Create batch strategy record for order type/ plant/component by COB1
    4) Create sort rule and assign to batch strategy record
    5) Batch classification is there and value of the sort chracteristic is populated in all batches
    6) There is enough available stock in the batch at that storage location
    But batch field is not getting populated .. Even if I press the batch determintion button manually
    on the component overview screen batch selection screen is appearing but no batches are getting determined for selection .I have checked the selection criteria and it is correct and I was expecting batch 'ZSWETA' to b determined as it is satisfying the selection criteria. I am really wondering why this is happening as I have done all the required config settings but batch determination is not happening..
    Can you please help me out of this...
    Regards
    Suchandra

    Hi,
    kindly check the following things-:
    Material master -: Purchasing View tick in check box of Batch Management
                               MRP 2 -:Batch Entry(Select 3-Auto Batch entry on Release)
                              Work Scheduling -: Batch Entry & Batch Management.
    hope it will help you to get the auto Batch Number.
    Regards,
    Mukesh

  • Invoice Batches personalization w/ PO number

    I am attempting to personalize the form APXINWKB (Invoice Batches entry form) and failing :( When a user chooses a type of 'PO Default' and enters a PO number, I would like to take that PO Number and use it in a query to check if it belongs to a certain department, write the info to the Description field. The only place that I have found that number once the PO Number window is closed is in the item.Invoice.Quick_PO_Number. Unfortunately, this value is not cleared between entries so I pick up an incorrect number. Any suggestions would be lovely.
    I'm on 11.5.10. I'm using the New-item-instance trigger event on the INV_SUM_FOLDER.VENDOR_SITE_CODE object. The following is my condition:
    (${item.INV_SUM_FOLDER.INVOICE_TYPE.value} = 'PO Default')     ---only on these types of invoices
               AND
    (${item.invoice.quick_po_number.value} in
            (select poall.segment1 from po_headers_all poall, hr_locations_all hrall 
                 where hrall.location_id = poall.bill_to_location_id and hrall.location_id in (122, 824)) )  --- only for these departments
    [pre]
    The action would then set the description field to the PO Number + the PO.description.  This would work fine if the invoice was empty for each new line.
    Thanks for any suggestions!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    You may have more chances if you post your question in an eBusiness-related forum, maybe here OA Framework

  • Can getGeneratedKeys() be used when executing batches of statements?

    Hi all,
    this question was posted in this thread:
    Can getGeneratedKeys() be used when executing batches of statements?
    but unfortunately I didn't find the answered appropriate.
    That thread is now locked, so I would like to start it again here.
    This is a summary of the other thread:
    Can you retrieve keys generated by a batch of insert statements? The following code produces an ArrayIndexOutOfBoundsException from the Oracle T4CNumberAccessor.unmarshalOneRow() method (see stack trace at the bottom of this message).
    The code is:
    String sql = "INSERT INTO FOO (ID, NAME) VALUES (FOO_SEQ.NEXTVAL, ?)";
    String generatedColumns[] = {"ID"};
    PreparedStatement pstmt = connection.prepareStatement(sql, generatedColumns);
    pstmt.setString(1, "A");
    pstmt.addBatch();
    pstmt.setString(1, "B");
    pstmt.addBatch();
    pstmt.setString(1, "C");
    pstmt.addBatch();
    //EXCEPTION OCCURS HERE
    pstmt.executeBatch();
    The exception is:
    java.lang.ArrayIndexOutOfBoundsException: 22
    at oracle.jdbc.driver.T4CNumberAccessor.unmarshalOneRow(T4CNumberAccessor.java:190)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:610)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
    at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10580)
    The only answer given was:
    "You should directly specify how big your batching is. For that reason you may use ExecutionContext where you can set setBatchingLimit(int) and setBatching(bool). This operation will tell execution context the size of supposed batching and also should be batching performed at all or not. You can add batching jobs but you can not execute the jobs without proper initialization of batching job size - it will fail with out of bounds."
    ExecutionContext is not something I found in jdbc drivers, so I'm a bit confused about this answer.
    Did anyone solve the problem?
    Thanks,
    Michele

    >
    We have the same problem. No solution so far.
    >
    I never found a definitive solution but testing seems to show that this is not possible.
    There is no code that can be written to get the generated keys if batching is used.
    This is because the 'getGeneratedKeys' method must be called on the prepared statement and would return the generated keys as a ResultSet object. But when batching there is only one prepared statement but multple sets of parameters, one for each batch entry.
    Thus there could only be one call to 'getGeneratedKeys' since there is only one prepared statement. This strongly implies that it is not possible to use 'getGeneratedKeys' when batching.
    See Retrieval of Auto-Generated Keys in the JDBC Dev guide
    http://docs.oracle.com/cd/B19306_01/java.102/b14355/jdbcvers.htm#CHDEGDHJ

Maybe you are looking for