Update batch number with B1iSN

Hi
is it possible to update Batch Number using B1ISN ?
i think it's the object 106 . i create the object using the dev. tools. , create a BP using this object , and try to create a xml to see the content of the object .
When a user validate the Stock Management / Item management / batches / update , the scenario is triggered , but i have a error message :
com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.RejectedException: XCE045 IPO-Step not known: /0010000100.inbound/com.sap.b1i.datasync.ipo/P01/P01.ipo/EventConvertor
Did i miss something ?( i've already created object using the same procedure , and never had this error ) or does it mean that it's not possible to manage batch numbers using B1ISN ?
thanks

I try to query the new created batch number to update the batch properties.
But cannot found in OBTN table.

Similar Messages

  • Batch Number with Box number

    Hello SAP Experts,
    My Client has a unique requirement, they want system to track Batch number with Box number.
    For Example if Batch number for incomming material is 123456, and if the entire quantity comes in 3 boxes, then the system should track the quantity as 123456/1 , 123456/2 and 123456/3.
    Moreover, client wants to issue the materials box wise.
    Is there any standard way of capturing this requirement.
    Reply is awaited.
    Regards
    Prabhjot Singh

    Hello,
    Is there any way, by which I can assign Internal number ranges to the Batches in this scenario.
    I have also tried to explore Handling unit management but in that case also we need to pack the material inside, but in my client's scenario they get the box from vendor and store it as it is.
    Looking for positive solution.
    Regards
    Prabhjot Singh

  • Updating Batch Number while delivery creation from sales document

    Hi Experts,
         I have to write code inside user exit MV50AFZZ which updates batch number during delivery creation. Suppose I have a sales having more than one line items. Each line item have different material numbers, and one material number may have more than 1 batch number. And all these batch numbers have to be updated for their corresponding material numbers. Batch  number corresponds to LIPS-CHARG. So how we can maintain values for this field more than once for a particular material number?

    Hi Pankaj,
    Were you able to update the Batch Number?
    What is the function Module that you used? and where exactly did you code in the logic?
    Thanks,
    RV

  • Same Batch Number with different characteristics value

    Dear Gurus,
    I have the following scenerio:
    The finished goods should be maintain in batch with external number  and at the time of confirming the finished goods in co11n the client want to capture the finished goods value like length, width and diameter.
    So we propose the batch characteristics with class type of 022 for finished good and we maintain the character as length, width and diameter under the batch class 022 and assign the batch class in finished good classification view.
    Now the requirement is we want to capture the batch characteristics value length width and diameter with same batch number for multiple confirmation.
    Example:
    Confirmation      Batch number               batch Class               Length     width     Diameter
    1                        1000                              022                              100        50             20
    2                        1000                              022                              120        25             10
    3                        1000                              022                              150        70             30  
    Now at present we are trying to capture the batch characteristics with same batch number but our standard system will not allow to maintain the different batch characteristics value under same batch number. If we overrite the batch characteristics in msc2n transaction the last value maintained be copied to all batch number. but we want same batch number with different batch characteristics value.
    Please share your idea and try to solve..
    Regards,
    Vimal

    Dear Vimal,
    It is not possible to maintain multiple batch characteristics in one batch.
    Work around is to create original batches and assign to your production order.  During CO11N, generate one batch per confirmation.  There is a report in batch information cockpit to link between original batch and batch per confirmation. 
    Rgrds,

  • How  to modified automatic batch number with plant and current year details

    hi all,
            i want tomodify automatic batch number with plant and current year details. if any one understand plz explain.
    thanks,
    radhakrishna.

    Hi,
    I am not clear what is u r requirement exactly?
    I  mean you don't want automatic batch no or modify the batch no.  with plant means and Current year details means.  Can give details more
    Regards
    Ganesh

  • How to update batch number, Storage loc, qty in VL02N on delivery items?

    Hi all,
    Any idea how to perform the following using a BAPI or function call with regards to updating a Delivery (<b>VL02N</b>)?
    1) Enter or update a storage location on a delivery item?
    2) Batch split a delivery item to give multiple batch numbers. For example if delivery item is '000001' then after batch split additional delivery items with batch number assigned will appear as:
       item,    storage loc, batch,    qty
    '900001',  '0001', 2070062806,  1000
    '900002',  '0001', 2070052606,  3000
    '900003',  '0001', 2070025366,  3000
    can this be done using WS_DELIVERY_UPDATE/_2 or someother fn mod.
    Do not wish to use BDC or call transaction. Any help appreciated.
    thanks,
    Subba

    Answered!!

  • Listing Batch Number with transaction detail

    We use the Sales Order Usage Indicator to designate a Site location for order materials we supply to customers' building sites and I've written a report that lists component material details used in the Production orders created per sales order for each of those sites. What the user department would like is for the batch managed items detail to include the batch number associated with the material.
    However, I'm finding it difficult to find which file this batch number data is actually in. I've found some batch numbers in RESB (which I use to get the component material number and configured data) but out of the millions of records in there only about 66 have the batch number included in the record. The other files I've checked that include the batch number field do not have any data in it. It is at component level that the batch field should have a batch number included.
    Can anyone please advise as to where I can find the relevant data to complete my report.
    FYI, I start with getting Sales Orders with selected Usage Ind in from VBAK, then pick up relevant sales order item data from VBAP with joins to MARA and MAKT for basic material data.
    I get the Production order number from AUFK using the Sales order number and then I chain to RESB for the component material data using the Productioon order number. I pick up the batch field from RESB at this time but so far it has always been empty.
    Thanks very much
    Jim Jackson

    Thanks, Jurgen
    I was hoping to get away without using the MSEG file because of the size implications and resultant search time - as per BSEG on the financial side of things. 
    Anyway thanks for the confirmation of what I need. Much appreciated.
    Best regards
    Jim

  • Batch Number with quantity

    Dear All,
    With regards to clients requirement, at the time of Goods issue form either one storage location to other Sloc or one plant to other plant in the batch field when i put F4 and after providing receptive material and plant the list of available batch showing.
    but here i need, it shows the available batch along with the quantities.
    So kindly reply is their any standard setting is available for that or if any suitable enhancements to meet this requirement ????
    Waiting for your reply....
    Thanks and Regards
    AKS

    Dear Jurgen,
    Thanks for your help and according to the instruction I created the Search field but the issue is when I put all those data in the receptive field It shows the Batch number only it won't shows me the batch and the receptive available quantity .
    So kindly suggest me in this regards.
    Thanks
    AKS

  • BAPI_INB_DELIVERY_CHANGE -  Update Batch Number

    Hi
    I have used  'BAPI_INB_DELIVERY_CHANGE' to update the Batch Number for a Inbound delivery.
    I have passed values for the below attributes.
             lw_item-deliv_numb  
             lw_item-deliv_item  
             lw_item-material   
             lw_item-batch       .
             lw_item-fact_unit_nom
             lw_item-fact_unit_denom
             lw_item-hieraritem 
             lw_item-usehieritm
    But, the Batch number is not updated.
    Kindly advice.

    Hi Akash
    check this
    BAPI_INB_DELIVERY_CHANGE
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=bapi_inb_delivery_change
    Thanks and Regards
    S.Janagar

  • PO Goods Receipt with Serial / Batch number with DI API

    I am creating PO Goods Receipt with DI API. This works fine. But when i have items with serial numbers and batch numbers in the same PO, then i am getting either of the following errors:
    1. [OITM]Item has no serial number management
    2. [OIBT] Invalid Item Code.
    I debugged the code and the values i set seems to be correct. I am using VB.Net and SAP 2004 with Patch 23.
    Thanks
    Anand

    Anand,
    When you are working with a Serialized item in the first scenario, have you tested working with the item in the Business One application itself?  Have you tried to have the system assign a serial number for the item when issuing a Goods Receipt?  Do you get the same issue through the Business One interface.  With respect to working with Batches, have you setup the Batches for inventory items through the Business One interface yet?  If you have not setup Batches, this would be why you would not have any data in the OIBT table.
    HTH,
    Eddy

  • Same batch number with two outbound deliveries

    Hi Gurus,
    I have created 2 outbound deliveries.
    When I created first delivery with batch no. XY with 20 Quantity and did also PGI as well.
    When I created another delivery then same batch no. XY with 20 Quantity is replicating.
    Pls help me in solving this issue as this is very critical issue.
    Regards
    Rakesh

    Hi,
    Check out in MMBE,whether the stock exist with same batch.
    If not then
    In search condition record >>> Details screen >>> put tickmark to deletion feature
    So that when batch is completely utilise then it will not appear in list.
    Same option is available in batch search condition type,you can set it here itself,so it will become always default.
    Kapil

  • Object Link to Batch Number (MCH1 & MCHA)

    I am trying to link a DIR to Batch Number.
    For this i tried object MCH1(Batch Number without Plant) & MCHA (Batch Number with Plant).Screen Numbers for MCH1 is 264 & for MCHA is 265.
    After making the reqd. configurations, ie. defining object links for Document Type as MCHA & MCH1 when i go to transaction CV01N i can see the tab for MCH1(screen number 1264) and no tab is available for MCHA(1265).
    And when i go for CV04N, and try to search for same document type with the help of object links then both tabs are visible there. But now in these tabs material column is not visible, only Batch column is visible for MCH1 and Batch & Plant column are visible for MCHA. I have already checked the Table settings - there is nothing wrong with it.
    Please guide me why such problem is occurring instead of maintaining all configuration properly. Is there anything that i have missed?
    Points for helpful answers.

    Hi Christoph,
    Thank you for quick response.
    Looks like I was not clear in my query.
    What I have done is as following:
    1.Maintain Screen for Object Link: Here I maintained the objects MCH1 & MCHA with screen numbers 264 & 265 respectively. And also maintained value “1” for Authorization.
    2.Define Document Type >> Define Object Link: Then I have assigned these 2 objects to the particular Document Type with DC10 along with respective screens.
    Now when I go to CV01N and go to object links I can see only 1 tab which contains Material & Batch which I guess is visible because of MCH1 (Screen number 264).
    But I am not able to see the other tab which should contain Material, Batch & Plant as defined in the screen 265 for object MCHA.
    Second problem is when I go to CV04N, and enter the Document Type and go to object link tab, I can see 2 tabs. But one of these tabs has Batch & Plant Column and the other tab has only Batch column.
    Please help me out with this. Thank you.

  • Map BATCH number corresponding to ORDER number and Material number .

    hi all,
    i want to map the BATCH number corresponding to Material Number .
    i searched tables MCHA which has two fields Material number and Batch number but it doenot have Order number.
    so how can i get Batch number as in table AFPO/AFKO i have all these three fields batch/material/order numbers.
    but the batch number column is blank for all .
    and in case of table MCHA , these is assigned batch number to every Material number .
    also i want to ask , either the Material number in both tables (MCHA AND AFPO) is same or different as i didnot found any relation to map these three field by other fields too.
    so please suggest me the Possible way to resolve this .....
    sunny

    hi dsk,
    thanks for your earliar reply,
    actually iam working on sapscript there i want to add batch number ,but i am not able to clear my doubt from where i get this.
    how can i map batch number with corresponding to PO num ber, '
    in the report i used structure vbplp with field charg"(batch num).
    also i want to know from which table i can get customer part number and Po number .
    how can i add batch num ,..
    from which table or with which field i can compare itr to get .
    sunny

  • To map batch number to serial number for inbound message type WMMBXY

    Hi Gurus,
    Can anybody guid me how to map batch number to serial number for goods receipt inbound EDI 861 message type WMMBXY  .
    And can tell me how to assign serial number in Purchase Order for serialized product for perticuler Batch number.

    hi dsk,
    thanks for your earliar reply,
    actually iam working on sapscript there i want to add batch number ,but i am not able to clear my doubt from where i get this.
    how can i map batch number with corresponding to PO num ber, '
    in the report i used structure vbplp with field charg"(batch num).
    also i want to know from which table i can get customer part number and Po number .
    how can i add batch num ,..
    from which table or with which field i can compare itr to get .
    sunny

  • Oracle Updating Batches

    Hi All,
    I wanted to have Batch execute in my java method.
    There are few requirements of that
    1. The data has to be inserted in 2 tables
    2. The data has to be deleted from 2 tables
    3. I have to use Statement for delete as the query uses in clause.
    I have gone through http://web.umr.edu/~ora9i/java.901/a90211/oraperf.htm for Oracle Updating batches.As per the details given in above link, I have few doubts
    1.Can I use 2 or more different Prepared Statements in same Batch?
    For Example:
    //Creating a prepared statement for first table
    ps = conn.prepareStatement(INSERT_INTO_TABLE1);
    ((OraclePreparedStatement)ps).setExecuteBatch (30);
    ps.setInt(1, 23);
    ps.setString(2, "Sales");
    ps.setString(3, "USA");
    ps.executeUpdate(); //JDBC queues this for later execution
    ps.setInt(1, 24);
    ps.setString(2, "Blue Sky");
    ps.setString(3, "Montana");
    ps.executeUpdate(); //JDBC queues this for later execution
    ps.setInt(1, 25);
    ps.setString(2, "Applications");
    ps.setString(3, "India");
    ps.executeUpdate(); //The queue size equals the batch value of 3
    //JDBC sends the requests to the database
    ps.setInt(1, 26);
    ps.setString(2, "HR");
    ps.setString(3, "Mongolia");
    ps.executeUpdate(); //JDBC queues this for later execution
    //Creating a prepared statement for second table
    ps = conn.prepareStatement(INSERT_INTO_TABLE2);
    ((OraclePreparedStatement)ps).setExecuteBatch (30);
    ps.setInt(1, 23);
    ps.setString(2, "Sales");
    ps.setString(3, "USA");
    ps.setInt(4,1);
    ps.executeUpdate(); //JDBC queues this for later execution
    ps.setInt(1, 24);
    ps.setString(2, "Blue Sky");
    ps.setString(3, "Montana");
    ps.setInt(4,1);
    ps.executeUpdate(); //JDBC queues this for later execution
    ps.setInt(1, 25);
    ps.setString(2, "Applications");
    ps.setString(3, "India");
    ps.setInt(4,1);
    ps.executeUpdate(); //The queue size equals the batch value of 3
    //JDBC sends the requests to the database
    ps.setInt(1, 26);
    ps.setString(2, "HR");
    ps.setString(3, "Mongolia");
    ps.executeUpdate(); //JDBC queues this for later execution
    //Atlast calling send batch
    ((OraclePreparedStatement)ps).sendBatch();
    2.Can I use the Oracle Updating Batches for Normal Statements? Can any one elaborate following points
    •     Do not mix standard update batching syntax with Oracle update batching syntax in the same application. The JDBC driver will throw an exception when you mix these syntaxes
    As per above statement, we can’t have both type of updating in a method or in the whole application. Can any one elaborate this point, how it’s possible as every time we have to open a new connection object?
    If we cant make use of both type of batching, then how to implement the Oracle Updating Batches for simple Statements.
    •     The Oracle implementation of standard update batching does not implement true batching for generic statements and callable statements. Although Oracle JDBC supports the use of standard batching syntax for Statement and CallableStatement objects, you will see performance improvement for only PreparedStatement objects.
    3. If first case is possible & if we can use the Oracle Updating Batches for simple Statements, then can we have all the statements in one Batch?
    the query if run from PL/SQL will be like this and in same sequence
    delete from table1 where country in ('USA','GERMANY')// multiple statement of this type
    delete from table2 where country in ('USA','INDIA'))// multiple statement of this type
    insert into table1 values(1,'SALES','USA'))// multiple statement of this type
    insert into table2 values(1,'SALES,'Australia','1')// multiple statement of this type

    Dear Robert Richardson,
    Unfortunately you can only access the Batch/Serial object by an document object.
    If you want to update a Batch fields, then you need to get the document object first, then get its batch object as
    Documents > Document_Lines > BatchNumbers.
    Another thought is to update the field value by UI API when open the OIBT form if possible.
    Best Regards
    Jane Jing
    SAP Business One Forums team

Maybe you are looking for