Assign component / batch number at subcon PO

hi,
We are using external batch number assignment to manage our components. At component overview of subcon PO, we will maintain the issue storage location and batch number of the component. However, we fount out error meesage ME178
, batch XXX not maintained for material XXX, will pop up if the batch master hasn't been created at that storage location. This has impacted on our biz process. That means we can't assign batch and storage location before we transfer the stock to that storage location. I tried to switch this system message to warning. But I can't locate it. Any input? Thanks.
Regards,
Nancy

Hi Nancy,
Use transaction "SE91" to check the message. In your case the message class appears to be ME, so enter ME and go for display. Now you would get all the messages setup for the class ME.
Find message number 178 and hit where used button, it would list in which program/include this message is called.  There you define it as "W" instead of "E".
Hope this helps you,
Regards,
Prasobh
Reward your points if this was useful

Similar Messages

  • How to automatically assign a batch number

    Hello experts,
    Our customer have the "Manage Item by" settings on "Batches" and the "Management Method" settings on "On Release Only".
    He don't want to manually generates the batch numbers in Delivery Entry because he would like to have an automatic assignment of batch number like a progressive number for year.
    How can I achieve it using DI API ?
    I have tried to create a Delivery Document using the BatchNumbers object but I got the following error message "the batch number you selected doesn't exists".
    So I created a Goods Receipt for the batch number above and finally the delivery document has been created successfully.
    The issue came out is about the stock quantity for the itemcode because the Goods Receipt have increased it and as result I have the same stock quantity as before the delivery and of course it's not correct !
    I noticed that SAP B1 after the manually generation of batch number it creates a record on the OIBT table using an existing Good Receipt.
    How can I add a batch number in the OIBT table using DI API  without the need to create a Good Receipt ?
    Can someone help me ?
    It would be very appreciated.
    Many thanks for your time in advance.
    Best regards
    Andrea

    Hi,
    Try this code, May be it will help you
    Dim v_StockEntry As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
                Dim v_StockExit As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenExit)
                Dim str_ProEntryNo As String = oDBDSHeader.GetValue("DocNum", 0)
                'Dim str_DocDate As String = CDate(frmProductionEntry.Items.Item("t_DocDate").Specific.Value).ToString("yyyyMMdd")
                Dim str_DocDate As String = Date.Now
                Dim intStockRowCount As Integer = 0
                Dim FGCost As Double = 0
                Dim RMCost As Double = 0
                Dim RMQty As Double = CDbl(oDBDSHeader.GetValue("U_TotRW", 0))
                '---  RM Exist
                v_StockExit.Comments = "Stock Exit For Production Entry(RM) Production-Entry No: " & str_ProEntryNo
                v_StockExit.DocDueDate = str_DocDate
                v_StockExit.Reference2 = str_ProEntryNo
                intStockRowCount = 0
                For i As Integer = 1 To oMatrix1.VisualRowCount - 1
                    intStockRowCount += 1
                    If intStockRowCount > 1 Then v_StockExit.Lines.Add()
                    v_StockExit.Lines.ItemCode = oMatrix1.GetCellSpecific("ItemCode", i).Value
                    v_StockExit.Lines.Quantity = oMatrix1.GetCellSpecific("Qty", i).Value
                    v_StockExit.Lines.WarehouseCode = oMatrix1.GetCellSpecific("WarCode", i).Value
                    'v_StockExit.Lines.AccountCode = AccCode
                    Dim qty = oMatrix1.GetCellSpecific("Qty", i).Value
                    qty = IIf(qty.ToString.Trim = "", 0, qty)
                    Dim cost = oMatrix1.GetCellSpecific("Cost", i).Value
                    cost = IIf(cost.ToString.Trim = "", 0, cost)
                    Dim PerQtycost = CDbl(cost) / CDbl(qty)
                    v_StockExit.Lines.Price = PerQtycost 'GetItemPrice(oMatrix1.GetCellSpecific("ItemCode", i).Value)
                    Dim ManBtchNum = getSingleValue("Select ManBtchNum  from OITM Where ItemCode='" & oMatrix1.GetCellSpecific("ItemCode", i).Value & "'")
                    If ManBtchNum.Trim <> "N" Then
                        Dim rs As SAPbobsCOM.Recordset = GFun.DoQuery("select * from OBTQ where ItemCode ='" & _
                                                                      oMatrix1.GetCellSpecific("ItemCode", i).Value & _
                                                                      "' and WhsCode ='" & oMatrix1.GetCellSpecific("WarCode", i).Value & _
                                                                      "' And Quantity > 0 order by SysNumber")
                        Dim count As Double = oMatrix1.GetCellSpecific("Qty", i).Value
                        For k As Integer = 0 To rs.RecordCount - 1
                            If CDbl(rs.Fields.Item("Quantity").Value) >= count Then
                                Dim ss = rs.Fields.Item("SysNumber").Value
                                v_StockExit.Lines.BatchNumbers.BatchNumber = _
                                getSingleValue("select DistNumber from OBTN where ItemCode ='" & _
                                               oMatrix1.GetCellSpecific("ItemCode", i).Value & _
                                               "' and SysNumber ='" & rs.Fields.Item("SysNumber").Value & "'")
                                v_StockExit.Lines.BatchNumbers.Quantity = count
                                v_StockExit.Lines.BatchNumbers.Add()
                                Exit For
                            Else
                                v_StockExit.Lines.BatchNumbers.BatchNumber = _
                                getSingleValue("select DistNumber from OBTN where ItemCode ='" & _
                                               oMatrix1.GetCellSpecific("ItemCode", i).Value & _
                                               "' and SysNumber ='" & rs.Fields.Item("SysNumber").Value & "'")
                                v_StockExit.Lines.BatchNumbers.Quantity = rs.Fields.Item("Quantity").Value
                                v_StockExit.Lines.BatchNumbers.Add()
                                count = count - CDbl(rs.Fields.Item("Quantity").Value)
                            End If
                            rs.MoveNext()
                        Next
                    End If
                Next
                If oMatrix1.VisualRowCount > 1 Then
                    If v_StockExit.Add() <> 0 Then
                        StatusBarWarningMsg("Unable To RM Post Stock Document.......   " & oCompany.GetLastErrorDescription)
                        Return False
                    End If
                End If

  • Batch number assignment after receiving the goods

    iam receiving material from my customer say 100 units, i am giving the challan that i have received 100 units from u, and the challan number will be 1000
    After that i have to do job work, in the received 100 units,
    50 i have to issue to production for different process
    50 i have to issue to production for different process
    I need to give batch number for first 50 units issued to production as 1000A
    I need to give batch number for second 50 units issued to production as 1000B
    How to do in SAP???

    Hi
    You can assign the same material to different batches
    To assign a batch number to the material, you can do it during goods issue in MIGO or MB1C.
    In MB1C, you can give the Material , Qty and Batch No. Use movement type 561 to receive the goods in MB1C
    Hope this helps
    regards
    Anand

  • Batch Number field in IDoc for Process Orders (message type LOIPRO01)

    Hello PP experts,
    Just wanted to ask if anyone of you have worked with message type LOIPRO01 (IDoc for process orders)
    There is a segment-field in this IDoc  E1RESBL-CHARG which has description of "Batch Number"
    We tried to assign a Bath Number for an Order (using t-code COR2 --> "Goods Recpt" tab under "Receipt" section), generated an IDoc for this order, but upon checking the E1RESBL-CHARG field of the IDoc it is not populated with the Batch Number.
    The material in the process order is FERT, so technically we're trying to assign a Batch Number in one of the process orders for a Finished Goods material type,  so not on the component level.
    Can anyone here verify:
    1. is the E1RESBL-CHARG field of IDoc LOIPRO01 intended for the Product Batch Number?  If Yes, how do we populate that for in the IDoc?  --> Do I need to have a Reservation/Dependent Requirement for the Product for the Batch Number to be populated in the IDoc?
    2. If E1RESBL-CHARG can not be populated for a Product that has no Reservation/Dependent Requirements, Do I have any option of populating this field with just the Batch Number assigned to the Process Order of that product?

    Solved - LOIPRO01 IDoc does not pick up the Batch Number from AFPO table, instead from table RESB.    We need batch from AFPO and just created a lookup using the Process Order Number as import param

  • How to show the internal batch number for order in make to order scenario

    Hi !!!
    Gurus!!
    I am working on make to order scenario .For delivery of order may I see the batch no.of esch order.
    How system will get the internal number batch.
    I have config. batch management.
    What should be the next process.
    Regards,
    Nitin

    Hi,
    QI am working on make to order scenario .For delivery of order may I see the batch no.of esch order.
    A. Yes you can see batch number for each order
    QHow system will get the internal number batch.
    A. there are two possiblities assign you batch number at production order before release or assign batch or each GR at the time of executing GR transaction.
    QI have config. batch management.
    A.In Material master you also have to tick for batch managemnt relevency
    QWhat should be the next process.
    A. Consult again if any thing missing
    Regards,
    Syed

  • Process Order Details like batch number, mfg date flow to a new process ord

    Hi Experts,
    I have a doubt in Process Order.
    I have two stage production.
    1. Blending
    2. Packing
    I create a process order for blending and assign a batch number and manufacturing date for Blending operation.
    Release the process order.
    Final Confirmation of the process order.
    I complete all the process, Goods Reciept is done.
    Technically completed the Process Order.
    Now my 1st stage Process order is completed and ready for the 2nd stage production i.e., Packing.
    Now I create a new process order,
    here I am having the problem that I need to enter all the details like batch number, manufacturing date etc..
    I want to avoid this in the 2nd process order.
    How to do this i.e., carry forwarding the details of the 1st process order into the 2nd process order.
    Is there any setting required at the back end?
    I was told about Push operation to rectify the above problem. But I am not clear about that.
    Can any one clearly explain about that step- by - step.
    Thanks in advance,
    Regards,
    B. Praveen
    Praveen

    closing thread

  • How can get batch number in process order?(T-code: COR1, COR2)

    Please tell me step by step process it will be better to me the solve my issue.
    When End-user uses alread existed batch number,
    Pop-up Message,
    "Your batch number is already exist.
    Are you creating new batch number?"
    If the answer is "No",
    System still uses that batch number.
    And User-Exits, or bodies don't exist this time.
    How can I get this batch number When saving in process order?
    I uses User-Exits "SAPLV1ZE" in Batch Number Check,
    "PPCO0007" and "PPCO0001" in saving process order.
    I know "PPCO0001" has all information about process order,
    but I can't get batch number to "PPCO0007" From "PPCO0001" by using Memory ID.
    Cause PPCO0007 happens before PPCO0001.
    (ref. PPCO0007 can stop saving in process order.)
    I want to know how can I get batch number when pop-up message's answer is "No".
    I have to send this batch number  to PPCO0007 by using Memory ID.
    Please, help me.
    Edited by: Jamie White 99 on Mar 15, 2010 11:00 AM

    Dear,
    Could you please clear your requirement in brief?
    You don't want to use the existing batch number or want to assign external batch number or want unique batch number?
    Use SAPLV1ZE and EXIT_SAPLV01Z_003 where you can replace the proposed number range with external interval defined by yourself.Also using EXIT_SAPLV01Z_004 you can define your own checking rule.
    Further information can be obtained from the documentation on the enhancements
    Also refer this link,
    http://help.sap.com/saphelp_40b/helpdata/ru/dc/1d4b6e5733d1118b3f0060b03ca329/content.htm
    Re: External batch assignment( Manual)
    Regards,
    R.Brahmankar

  • Auto Populating of Batch number (AUPOD-CHARG)

    Dears,
    I am trying to populate the batch (field AUPOD-CHARG ) in the Process order under Tab "Goods Receipt", this needs to be picked default from the batch (field RESBD - CHARG ) which is under the BOM Item level in process order.
    Here the scenario is we have already created the BOM with line item having Batch information. The same now needs to be picked default in the Process order under Goods Receipt TAB.
    Please let me know if there is any way we can populate the AUPOD-CHARG filed default as mentioned above.
    Thanks & Regards,
    Viswanath

    Viswanath,
    I would suggest to create a custom program with a BDC to update the batch, the logic of the program should be to first select orders which are not populated with Batch Number in the Order table(selection can be restricted based on specific status), and then for every order pickup the respective component batch number from reservation table, once this data is available, within the program peform a call transaction CO02(BDC), to create and populate the batch number to the order.
    This Job can be run in background to the required frequency.
    Regards,
    Prasobh

  • Batch number during MIGO

    hi,
    how to assign the batch number  while doing GR in batch tab at item level.( i want to create batch and assign during MIGO )
    regards
    venga

    Hi
    Activate batch mamagement material level set configuration below path
    SPRO >logistic general >batch management >configure batch determination for inventory management
    batch mamagement tick in material master mandetory
    Regards,
    Vivek

  • Default of fixed batch number for production order header????

    Hi Experts,
    In SAP, when create a production order, in the production order Header view, in the "Good Receipt" Tab, there is a field "Batch" , which means "Assigns a material that is manufactured in batches or production lots to a specific batch ".
    For some special reasons, we want for some certain materials,when create production order every time,the "Batch" field will be a fixed values.
    For example,for material "AB1" ,"CD2",when create production order every time,the "Batch" field will be "2345" automatically,do not need input manually.But for all the other materials, the "Batch" field would be null ,no value.
    How can I do this? How can assign fixed batch number values to some certain materials in production order?
    If there needs some ABAP development,which user exit do I need??
    Thanks for any reply!

    Hi V.SURESH
    Thanks very much!
    I know what you mean. Default batch number in the production order eans, there is no use of using batch management.
    In fact, my purpose is just want to  deactivate the batch management for some certain materials.
    So for some certain materials,when create production order every time,the "Batch" field will be a fixed values.
    How can I do this? How can assign fixed batch number values to some certain materials in production order?
    If there needs some ABAP development,which user exit do I need??

  • Process Order number as batch number

    Hi Gurus
    Is it possible to have my process order number automatically serve as my batch number for the produced material?
    Please help

    Hi,
    I guess you may not be able to assign the batch number same as process order number when you just cerate the order even in enhancements since you do not have new process order number avilable till the order is actually saved and order number is generated in update task in background.
    you can probabaly add batch number while releasing the order in CO02 transaction separately. Make sure create and release are not carried simultaniously in one session of CO01.
    Check and revert.
    Regards,
    Santosh Sarda

  • Automatic external batch number assignment

    Hi gurus,
    I'm facing to an huge issue.
    I've created an subcontracting PO. Into this PO, I have inserted a external batch number to a component.
    When I make a good receipt with MB0A transaction. movement type 101 for the finished product and movement type 543/O for component. the external batch number is populated in the material document. But I don't want the MB0A transaction populates this bactch number. I want to input it manually in this transaction.
    Is it possible to disengage the automatic external batch number assignment by the MB0A transaction and insert a external batch number manually?
    Thanks for your help.
    L. YDIR

    Try this exit, its for external bacth number assignment EXIT_SAPLV01Z_003 .
    EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed number range object BATCH_CLT and/or external interval 02 with a number range object and/or external interval you have defined yourself.
    You also have the option of suppressing the batch number check, for example, based on the material or plant.
    Further : EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed number range object BATCH_CLT and/or external interval 02 with a number range object and/or external interval you have defined yourself.
    You also have the option of suppressing the batch number check, for example, based on the material or plant.
    Just wanted to ask : which version of SAP are u working on?  is it some old version?  coz I see u using MB* Transactions, while SA now recommends most goods movements by MIGO TCODE, aslo most new enhancements are for MIGO .

  • Assign production order number to batch number automatically

    Hi All,
    I have been trying to assign production order number to batch number when clicked on create icon in t-code CO02, and successfully assigned Production order number to batch number through EXIT_SAPLV01Z_001
    Question:
    Now i want to assign same production order number to batch number automatically... is it possible"
    If yes, provide me the exit or badi.
    Best Regards,
    Krishna K

    Hi,
    Try to use any enhancement point in below mentioned  FORM.
    In Program : SAPLCOKO1
    Include : LCOKO1F3J
    Inside below FORM.
    FORM header_update.
      DATA: flg_q_upd.
      DATA: quan_old LIKE caufvd-gamng.
    ENHANCEMENT-POINT header_update_01 SPOTS es_saplcoko1 STATIC.
    ENHANCEMENT-POINT HEADER_UPDATE_05 SPOTS ES_SAPLCOKO1 .
    BR,
    Vijay

  • Assign batch number from sale order to production order automatic

    Dear all, I have a question for all. Please help me in this case
    My scenario is make to order
    I have a sale order, when i create sale order, i have assigned batch number at each line item.
    When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
    So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
    So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
    Thanks all

    Hi,
    To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
    In fact , you are following wrong practice for generating batch no.
    Follow procedure like this :
    Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
    While creation / releasing of Production order, you have option to generate batch automatically by following way :
    Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
    > Automatic Batch creation in the order maintain this field as
    1     Automatic batch creation at order creation
    or
    2     Autom. batch creation at order release
    This will generate batch number automatically at the time of creation or release of order.
    Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
    So you will get sales order stock in the form of batch managed.
    Check & revert if any issue in above flow.
    Regards,
    Tejas

  • Enter batch number - No Automatic Batch Number assignment allowed for plant

    Hi SAP Gurus,
    Upon checking the created new Goods receipt for Purchasing Order in tcode migo_gr, checking with the Batch tab, we can't see a batch number, then clicking the classification tab showing the message Enter batch number - No Automatic Batch Number assignment allowed for plant - XXXX
    the question is there any missing configuration based for this kind of error? ive checked the availability check for the plant and it already setup. Hope for your kind responses.
    Thanks

    HI,
    Kindy check the below configuratoin
    Logistics - General>Batch Management>Creation of New Batches>Define Batch Creation for Goods Movements
    for your movement type check what is the Strategy for the new batches.
    here you should assigne only automatic.
    Also let me know what is the level of batch mgt> is it at client level, Plant level, Material level.?
    reg
    Dsk

Maybe you are looking for

  • Ip10 - Vendor blocked

    Hi, When trying to schedule the maintenance plan in IP10, it's showing that Vendor is blocked. How it's related to vendor when scheduling it. To my knowledge, whenever it's scheduled, a WO will be created on the scheduled date and that WO will create

  • How can users print CHM or WebHelp to a PDF w/o PDF Writer driver?

    A functionality has been requested by Tech Support due to requests from customers. Apparently they want to not only be able to print sections and/or the entire help file (WebHelp and CHM), but they also want to be able to print it to PDF. Some are ab

  • Non-Apple Applications stop loading

    Laptop has been working fine, yet suddenly Microsoft Office, Kodak Easyshare, etc. will not load and run. All Apple apps are fine and work normally. Double click on menu, or directly in Applications Folder for MS Office apps or others non-Apple, it s

  • Excel crashes all the time

    Anybody knows, how to fix it? Error Signature: Exception: EXC_BAD_ACCESS Date/Time: 2014-11-08 19:18:36 +0000 Application Name: Microsoft Excel Application Bundle ID: com.microsoft.Excel Application Signature: XCEL Application Version: 14.4.5.141003

  • IFrame in  Flex

    Hi All, How can I integrate IFrame in Flex? Has anybody done it? Please send your Comments\Ideas to get it done. Thanks in Advance, Pradeep Shinde