BAPI_GOODSMVT_CREATE and Batch Determination

Hi experts!
I'm new to batch determination and I'm facing an issue. I've set up a batch determination configuration and it works fine when I post a goods issue in dialog process (MB1A) entering * in the batch field.
Now I'm trying to do the same with BAPI_GOODSMVT_CREATE, but if I enter * in the batch parameter I get an error message M7116: "The storage location/batch function * is not defined here". If I leave it blank i get the error message "Enter batch".
Hope somebody has any clue.
Thanks

Hi,
If your material is "batch managed" you have to supply the bacth number in BAPI.
The BAPI does not search automatically for a batch number like MB1A.
Best regards,
Leandro Mengue

Similar Messages

  • Problem about sales order stock stock transfer and batch determination

    Hi, experts, I get a problem about sales order stock stock transfer and batch determination.The following is the current situation of my system:
      In OMCG I assigned search procedure ME0001 to both 311 and 311 E and ticked check batch. After that, I found  that if iI need to tranfer unrestricted-use material from storage location 1000 to 2000 with movement type 311, I just need to input * at the field batch, then the system will display all of the available batches. But for the transferring of sales order stock with movement type 311 E, after I input * at the batch field, no batch is displayed and there is also no message from the system.
      Can anybody help me? Is there anything else I need to do? Thanks very much.

    I think my question is not clear, actually I tried 562 E , 411 E and 413 already. all the transaction looking for the sales order but unfortunatly the sales order is deleted  from SAP.

  • Availability check and Batch Determination

    Dear Experts
    Would you provide me help documents with screen shots on Availability check and Batch Determination to customize one of our projects
    Thanks in Advance
    Regards
    Ravi

    Hi ravi
    Check the Availability check and batch configurations .
    Availability check and TOR
    [https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=29323]
    Batch configuration
    [https://wiki.sdn.sap.com/wiki/display/ERPLO/Batch+Determination]
    [https://wiki.sdn.sap.com/wiki/display/ERPLO/batchdeterminationin+sd]
    NOTE : Kindly search the configuration part before posting
    Regards
    Srinath

  • Backorder and batch determination

    Dear all,
    The batch determination is automatic at the sales order level.
    If a sales order is not confirmed, is it possible to run the backorder program to check the availbalitiy, confirm the quantity, and determine the batch number ?
    I tried to do it but only the ATP is done and the quantity is confirmed. The batch is not determined.
    Thanks
    Kind regards
    Véronique
    Edited by: véronique pinelli on Feb 14, 2011 10:59 AM

    Dear all,
    The batch determination is automatic at the sales order level.
    If a sales order is not confirmed, is it possible to run the backorder program to check the availbalitiy, confirm the quantity, and determine the batch number ?
    I tried to do it but only the ATP is done and the quantity is confirmed. The batch is not determined.
    Thanks
    Kind regards
    Véronique
    Edited by: véronique pinelli on Feb 14, 2011 10:59 AM

  • VPRS with Free Goods and Batch Determination

    Dear Experts,
    I have a problem on the products billing with Free Goods.
    I will explain this, before the implementation of Batch Management (with batch split) the billing document show the condition VPRS on the main item (TAN) and the free goods item (TANN).
    Now, when the Batch Management was up, the condition VPRS disappeared on the TANN item, I checked the order and it does shows the VPRS conditions. When i check the conditions on the billing document it shows me the following message when i check the VPRS condition
    Condition ignored (requirement 004 not fulfilled)
    Then I tried to debug the price determination and i realized that only on the TANN position the field komp-evrwr (price determination on the item category) is not 'X'.
    Aditionally i can mention thar the batch split item category is defined as YG05.
    Actually i only managed to show the cumulated VPRS cost on the main item.
    Please someone say to me if this correct or there is a way to put the VPRS on the free goods item.
    Javier Sandoval Vera
    Ecuador

    Dear Javier Sandoval Vera,
    As per the standard pricing Routine 4-Cost system may calculate the cost only for the pricing related materials,here TANN item is not relavent for pricing so system is giving that message.
    If you want consider non priced item also in the cost calculation then you can develop new routine as per your requirement with the help of ABAPer. (by copyingh the existing routine 4 then do the changes accordingly).
    Or
    You can maintain R100 -100% discount condition type in your pricing procedure,maintain settings as manual condition.
    Now maintained the price relevant check for free item also then give the 100% -discount by entering R100 condition type manually with 100% discount for that specific item to make the item price as zero.
    Now sytem will calculate the VPRS value without fail.
    I hope this will help you,
    Regards,
    Murali.

  • Serial number and batch determination in sales order

    Good afternoon,
    When I try to assign any serial numbers to a given material in sales order, the system returns the message "Maintaining serial numbers only possible, if valuation type is specified". I can workaround this by assigning a batch number to the item, then I can input my serial numbers normally.
    Well, that leads me two questions:
    1) Can we assingn serial numbers WITHOUT having to input batch numbers first?
    2) If not, is it possible to determine batches in sales order items without having them created previously in tcode MSC1N?
    Thanks in advance and best regards.
    Adriano Cardoso

    Dear Kris,
    Yes, I know this is an unusual scenario, but our customers require us to send the serial numbers of the products in advance for documentation purposes.
    Regards,
    Adriano Cardoso

  • Post GI from IW41 consigment stock and batch determination

    Hello gurus
    Have looked around for a solution here, and have not found anything.
    Our problem is that when we do GI from consignment stock in IW41 (mvt 261 W) we have to assign the batch. When doing standard GI it suggest the oldest batch. The process is first a serviceorder( IW31) and then an advance shipment notication, then a delivery which is done GI. When we then do confirmation of the order in IW41 and wants to do GI for the consignment stock no batch is suggested.
    Is there any customizing I have missed? Or is this standard?
    Regards
    Ivar

    Thanks, but this is not the solution. The problem is in the service order and the confirmation on this. If we have regular stock that we do GI for, it uses FIFO and suggest the oldest batch. But if we have an item with consignmentstock then it does not suggest anything, even if the only exist one item in consignment stock.
    Any other suggestions?
    Regards
    Ivar

  • Automatic batch determination (Fifo) in VL02n and WM/foreground

    Dear all,
    I am trying to set up an automatic batch determination /stock determination strategy on outbound deliveries (FiFo) in a WM managed warehouse.
    I have not yet  decided whether to go for the batch determination or the stock determination. As all my FERT are batch managed, both should be possible.
    I want the determination to happen in foreground in delivery. So everytime I want to pick for a delivery I want to have a list of available storage units/ available stock and to be able to select them manually.
    When I read through SAP documentation on stock determination (SPRO activity OSPX/define strategy) it says once WM is involved only background handling is possible.
    Does the same restriction also hold for batch determination ? Can I force a selection screen to appear?
    If this is not possible: is there a user-exit or Badi (or something similar) which can be used to make the screen appear?
    If this is also not possible, how could we make sure that certain customers only receive goods of a certain quality (contained in a batch characteristic)?
    Thanks all for your valuable time

    you have to decide whether you want do the batch determination in the delivery or in WM transport order.
    The batch determination in the delivery is much more powerful. Once you have determined the batches in the delivery, then WM has to pick exact those batches.
    if you leave batch determination to WM, then the batch from the TO is written to the delivery when confirming the TO.
    if you want do it in foreground in the delivery, then you should not switch on the automatic batch determination, because then the  batch determination would be executed twice (first automatic when creating the delivery and again manual when the user wants to do it foreground) and  batch determination has certainly impact on the performance.
    However, with right values in classification then I do not see any need to do it foreground.

  • Batch determination in Subcontracting order

    Hi,
    Can any one of you explain me the steps for doing batch determination for subcontracting orders. i am facing the same issue, but i dont know what steps to follow.
    our scenario is:  we do a GR against a Sub contracted PO using 101 mvt type and when i am trying to post the document, it's asking me to enter the batch for few components which are maintained as vendor consigned stock and in batches.
    is it possible to automate the process? can any body explain how to setup the customization for batch determination?
    thanks in advance,
    Kanth

    Follow the below steps.
    01. For movement type 543 "O" assign your search procedure T code : OMCG
    02. Maintain conditions record or strategy record.
    A1) Normaly we use batch determination at delivery level, because at the time of order material may or may not be created.for this material should be configured with batch and batch determination should be checked in sales views of material.
    A2) Batch Determination during order Creation.
    For this you need to maintain a Classes d for you Material. Depending on the Manufacturing process you can define the characteristics for your material.
    Ex: Purity for Medicines,  Resistance for Electric Items.
    You need to create a class (You might have to create a new class type) which incorporates the characteristic.
    First Create the Characteristic Using Ct04 and then using Cl02 create the Class  including this characteristic.
    Then in your material master Classification View Enter this class.
    Then Create a Batch for the particular plant and Stor Loc using MSC1N.Give the value of the characteristics in this batch.
    Then go to SPRO ->Logistics General ->Batch Management and maintain the Condition Technique (Procedure, Strategy Types and assignment to sales docs etc).
    Then Create the Batch Determination Record using VCH1.

  • Automatic Batch Determination while doing MFBF

    Hello PP Gurus,
    I have a scenario related to Repetitive Manufacturing.
    I am doing MFBF transaction and doing Assembly backflush by clicking Post with correction. One of the components is batch managed.
    My requirement is : On selection screen of MFBF I enter MAterial,PLant BAckflush Quantity , REM Production Version and Storage Location.
    What I want is that for the component that is batch managed there should be automatic batcah determination based on shelf life and also it should pick up stock from a particular storage location only.
    Also when I click POst with correction button and go to components screen the Batch Determination button comes greyed out.
    For header material have maintained REM Profile.
    PLease let me know what all I need to do for meeting above requirement.

    Hi Anupam,
    I need to know 2 things more from your side.. As you told I need to assign Stock Detrmination Rule and Batch Determination strategy in Control Data 2 of REM profile.
    I have doubt on Batch determination strategy :
    1) Which Batch determination strategy should I assign here. Second what all else I need to do from my side so that a batch is automatically picked and assigned to the componenet material.
    The things what I have done is : I have a made a Batch Class, Assigned shelf life as a charcterstic to it. I have defined a sort rule with this characterstic.
    What else I need to do.
    Also FYI : We are not putting a planned order in MFBF. We are  inpiutting the material to be backflushed...
    Thanks

  • MRP + Batch determination/restriction complex sceanario

    I have a very complex issue with MRP and Batch Determination. Here is my
    situation. Please help me find a solution.
    I have materials which are batch managed and each material can have numerous batches based on the quality (80%, 70%, 90%). Materials can have up to 100-150 batches. Some batches can be used only by some customers (Plants, Customers) in different countries because of legal issues. When
    we run an MRP, MRP doesn't care which batch it is, it just creates planned orders/purchase reqs based on the quantity, material and plant. Just to give you an example, Lets say we have material A which as 2 batches Batch 1 and Batch 2. Lets say we have customer x and Customer y. Customer X can use only Batch 1 for the material not batch 2 because of legal issues and standards. Customer y can use Batch 1 and also batch 2. When we run an MRP, MRP is suggesting to send batch 2 to customer x which is not right. Storage location creation is out of question coz of business requirement in those countries.
    Is there any user exit or enhancements that i can look into, or can I accomplish this through custom z tables/tcodes ? Is there any other way I can handle this through master data change ?
    Please help me out on this and let me know what other possible ways we can handle this issue.
    Thanks,
    Mike

    Hi
    I think your requirement can be mapped using standard Batch determination set up. Pl try with...
    1) Create 2 more Char in CT04 like Plant and Customer and assign to the batch Class already exists (023). The idea is to give plant and customer data values to each batch along with other batch char values
    2) In the SPRO > Log- gen > Batch mgt > Batch determination and Batch chk
       a) Create new condition table with Customer/Plant/Material/Mvt type
       b) Create Access table
       c) Create Strategy type
       d) Create Search Procedure and assign Stg type
       e) Assign the Search procedure to mvt type 261
    3) Create Batch search strategy in MCB1 for the Strategy type created earlier for the combination
        Customer/plant/mvt type/material combination and maintain sorting rule and Batch search criteria and maintain classification data
    Example of Batches say
    Batch-123            Batch-231_
    Density- 1                   Density- 1.2         
    Viscosity - 1.8             Viscosity - 1.8
    Plant - 1000                 Plant - 1100
    Customer - A               Customer - A
    4) Now while running MRP system will pick up the Batches corresponding to that plant or customer. Hope this will solve u r problem. Pl revert back for more info
    Regards
    Brahmaji

  • MRP+Batch determination/restriction complex scenario

    I have a very complex issue with MRP and Batch Determination. Here is my
    situation. Please help me find a solution.
    I have materials which are batch managed and each material can have numerous batches based on the quality (80%, 70%, 90%). Materials can have up to 100-150 batches. Some batches can be used only by some customers (Plants, Customers) in different countries because of legal issues.  When
    we run an MRP, MRP doesn't care which batch it is, it just creates planned orders/purchase reqs based on the quantity, material and plant. Just to give you an example, Lets say we have material A which as 2 batches Batch 1 and Batch 2. Lets say we have customer x and Customer y. Customer X can use only Batch 1 for the material not batch 2 because of legal issues and standards. Customer y can use Batch 1 and also batch 2. When we run an MRP, MRP is suggesting to send batch 2 to customer x which is not right. Storage location creation is out of question coz of business requirement in those countries.
    Is there any user exit or enhancements that i can look into, or can I accomplish this through custom z tables/tcodes ? Is there any other way I can handle this through master data change ?
    Please help me out on this and let me know what other possible ways we can handle this issue.
    Thanks,
    Mike

    You have to use characteristic dependent planning functionality of APO.
    For this you should also have a varient class in the materials with characteristics indicating the parameters to be controlled/checked.
    Thus you will have a requirement which will have the characteristic that indicates the country or such other things.  The batches should also have same characteristics.
    In material A you will have a characteristic that indicates the customer (X or Y).  The batches of the material will also have same characteristic which will have value X for batch 1 and value Y in batch 2.  When MRP is (run in APO) system will consider the requirements of different characteristics differently and propose the procurement accordingly.
    You also may have to activate characteristic based availability check in GATP of APO.
    Hope this will help you.
    Regards,
    Nitin

  • Batch determination & Batch Management

    Hi Gurus,
    Can anyone plz send me the batch determination screen shots in SD point of view urgent to my mail [email protected]
    Thanks

    Hi Ngassom,
    BATCH DETERMINATION:
    We use batches in SD where the materials are produced under one batch and they are given the shell life expiry date for each batch,
    A1) Normally we use batch determination at delivery level, because at the time of order material may or may not be created. For this material should be configured with batch and batch determination should be checked in sales views of material.
    A2) Batch Determination during order Creation.
    For this you need to maintain Classes d for you Material. Depending on the Manufacturing process you can define the characteristics for your material.
    Ex: Purity for Medicines, Resistance for Electric Items.
    You need to create a class (You might have to create a new class type) which incorporates the characteristic.
    First Create the Characteristic Using CT04 and then using CL02 create the Class including this characteristic.
    Then in your material master Classification View Enter this class.
    Then Create a Batch for the particular plant and Storage Location using MSC1N.Give the value of the characteristics in this batch.
    Then go to SPRO ->Logistics General ->Batch Management and maintain the Condition Technique (Procedure, Strategy Types and assignment to sales docs etc).
    Then Create the Batch Determination Record using VCH1.
    Config Setting In Batch Management
    Logistics general - Batch Management
    1.1. Specify Batch Level
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Specify batch level and activate batch status management Transaction OMCT
    1.2. Batch Number - Activate Internal Number Assignment
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Number Assignment --> Activate internal batch number assignment Transaction OMCZ
    1.3. Batch Creation - for Goods Movements
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Creation of new batches --> Define batch creation for goods movements Transaction
    1.4. Characteristic Value Assignment -- Update Standard Characteristics
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Update Standard Characteristics Transaction
    1.5. Activate Batch Classification for Goods Movements in Inventory Management
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Valuation for goods movements --> Activate Batch Classification for goods movements in Inventory Management Transaction OMCV
    1.6. Batch Determination – Condition Table (Cross Client)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define production order condition tables Transaction OPLB
    1.7. Batch Determination – Condition Table (Cross Client)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define SD condition Tables Transaction V/C7
    1.8. Batch Determination – Access Sequence (Cross Client)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define Production Order Access Sequences Transaction OPLF
    1.9. Batch Determination – Access Sequence (Cross Client)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define SD Access Sequences Transaction V/C2
    1.10. Batch Determination – Strategy Types
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production Order Strategy Types Transaction OPLE
    1.11. Batch Determination – Strategy Types
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Strategy Types Transaction V/C1
    1.12. Batch Determination – Batch Search Procedure
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define IM Search Procedure Transaction OMCY
    1.13. Batch Determination – Batch Search Procedure
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production order Search Procedure Transaction OPLG
    1.14. Batch Determination – Batch Search Procedure
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Search Procedure Transaction V/C3
    1.15. Batch Determination – Batch Search Procedure Allocation
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate IM search procedure/activate check Transaction OMCG
    1.16. Batch Determination – Batch Search Procedure Allocation
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Assign Search procedure to production order Transaction OPL8
    1.17. Batch Determination – Batch Search Procedure Allocation (SD)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate SD Search procedure Transaction V/C5
    1.18. Batch Determination – Activate Automatic Batch Determination (SD)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Activate Automatic Batch Determination in SD -->For delivery item categories Transaction V/CL
    1.19. Batch Determination – Batch Selection Class
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Selection Classes Transaction CL01
    1.20. Batch Determination – Sort Rule
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Sort Rules Transaction CU70
    1.21. Batch Determination – Make Settings for Batch Where-used list
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Make Settings for Batch Where-used list Transaction OMBB
    Hope this helps you.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Exclude Quality Inspection from Batch Determination

    Hi Guys
    I have am stuck with  a very strange scenario and need your help to sort this out please
    In the process orders I have set auto-batch determination on release and in the checking rule I have excluded the quality inspection lot.
    Now when I am release the process order on batch determination it picks up the quality inspection batch!
    Can you please let me know where and how this can be resolved
    Thanks in advance
    Rahul

    "Also when I do the material availability check the QI stock is not considered."
    Presumably, this availability check is run when order is status CRTD. Please check if the same checking rule has been applied to "Creation" & "Release" in OPJK. If not, check the differences between these checking rules in OVZ9.
    "However I am not sure if the checking rule decides the batch determination, please correct me if I am wrong. And let me know where do we maintain the relationship between the cheking rule and batch determination procedure!"
    Yes, they are related. Batches go through 3 stages to be determined.
    Stage 1: Check against Stock
    Stage 2: Check against Classification
    Stage 3: Availability Check.
    It may be possible that stage 3 is not a dynamic availability check, in which case the checking rule is irrelevant. However, if it is a dynamic availability check, the checking rule is relevant.
    The quickest way to determine if a dynamic ATP check is executed is to set a breakpoint at Function Module AVAILABILITY_CHECK_CONTROLLER in se37. This breakpoint should be reached when you release the order. The first line of code in the function module is:
    CHECK NOT P_ATPCSX[] IS INITIAL.
    Double click on P_ATPCSX[] to see if it contains entries. If this table contains entries, a dynamic ATP check is executed.
    Also, When you enter CO09 for the material, plant and checking rule, is the QI stock displayed?

  • Automatic batch Determination:Batch determination is not possible

    Dear Guru's,
    I have ticked the automatic batch determination in the item categories.
    Defined the records for the batch determiantion: in VCH1.
    i have assigned the Batch Determination --> in the Logistics General.
    But in the Order Screen : when I go to the batch management ..The system says : The strategy contains no selection specifications".
    Where can I set up automatic batch determination at sales order level ?
    Anu Solutions GURU's!
    Edited by: EXPLORING MULTIDIMENSIONAL SAP on Aug 18, 2008 10:44 AM

    Hi,
    With the following settings, the batches are selected the moment
    1: Set up batch determination the way that the batches in batch selection are sorted the right way. e.g. sorted by expiry date
    2: Use automatic batch selection in disp view.
    A1) Normaly we use batch determination at delivery level, because at the time of order material may or may not be created.for this material should be configured with batch and batch determination should be checked in sales views of material.
    A2) Batch Determination during order Creation.
    For this you need to maintain a Classes d for you Material. Depending on the Manufacturing process you can define the characteristics for your material.
    You need to create a class (You might have to create a new class type) which incorporates the characteristic.
    First Create the Characteristic Using Ct04 and then using Cl02 create the Class  including this characteristic.
    Then in your material master Classification View Enter this class.
    Then Create a Batch for the particular plant and Stor Loc using MSC1N.Give the value of the characteristics in this batch.
    Then go to SPRO ->Logistics General ->Batch Management and maintain the Condition Technique (Procedure, Strategy Types and assignment to sales docs etc).
    Then Create the Batch Determination Record using VCH1.
    Please try and come back.
    Regards,
    R.Brahmankar

Maybe you are looking for

  • Music pauses for a second

    When I have music playing and I either click the lock button or enter or exit the Music app, the music will stop playing for a second, then start again. This isn't a problem per se, but it is rather annoying. It hadn't done this with iOS 3.

  • HELP!!! Could someone help me with a jar file issue and JRE 1.3 and JRE 1.4

    We had a problem with the last Oracle patch in that it tried to extract from a jar file using the "jar" executable. But the jar executable is not installed on the server where we have JRE 1.4 On one server, Jar.exe is installed where we have JRE 1.3.

  • Design Suggestion for a new setup for a small office

    Hi Guys, We have a client requirement to setup a small business office to connect to its Head Quaters. Attached here with the sample High level design. My Question here is the above mentioned load balancer can used for this setup or not??? It can be

  • Partner Roles In Sales Order Header

    Hi Experts, I am developing a Module Pool Program for Following reason. People having not authoruzation to VA02 can change  certain fields / Parameters in Partners and Additional Data B tab . my developments should work similar to standard transactio

  • CFLOGIN works, but not simultaneously on different servers/broswers

    I'm using CFLOGIN with application.cfc which works great when I test it - I'll call it login session A in browser window 1. When I simultaneously log into the same app on a different server with a different username (login session B in browser window