Updation in batch

hi,
          i have craeted characteristics, attached those char. in class.
that class is maintained in material classification
in inspection plan mic having these class char. is maintained
created 1 lot (manual), recorded result for char, ud done but the resultsin inspection lot are not getting transferred
any config setting required?

Dear,
Are you getting message QS866?
It occurs if the batch valuation is executed for partial lots in results recording . and system generates a dialog box for quantitative characteristics.
The prerequisite is that individual codes are stored for the corresponding class characteristic as allowed values in the classification view of the material. In results recording, a code is entered which does not belong to these valid values
Please check and come back. Else you need to use the function module QMSP_MATERIAL_VALUES_READ.
Also refer my reply from this link,
Re: Transfer to of MIC result to Batch Characteristic
Regards,
R.Brahmankar

Similar Messages

  • Next inspection date is not updated in batch / prposed at the time of UD

    Hi
    I have configurted the system for retest of batches, the system successfully creates the inspection lot but when does not propose next inspection date at the time of UD nor it updates in Batch Master.
    I entered inspection interval days in QM View, the system entered the first inspection date correctly. Also Batch Restriction is working properly.
    Kindly help.
    regards
    Mobashir

    Hi Shaymal & VRMP
    I have checked the system, the only problem I am facing is that the system does not show next inspection date dialog box at the time of UD where I can see the next inspection date being set by the system
    Say, I use QA07 (Triggered Manually) on 19.jan.08. The Next inspection date was 26.jan.08 and Initial Run in Days was 10 (days), the system created inspection lot on 19.jan.08 successfully. At the time of UD it automatically set 29.jan.08 as the next inspection date (i.e. 19.jan.08 + 10 days)  istead of 06. Feb.08 (i.e. 26.jan.08 + 10 days) without showing dialog box / suggesting next inspectino date. 
    regards
    Mobashir
    Edited by: Muhammad Mobashir on Jan 19, 2009 7:11 AM

  • Goods Receipt DTW - Possible to update existing batch details?

    Hello experts,
    Using the three templates OIGE, IGE1, and BTNT I've managed to perform some Inventory Adjustments BY BATCH using DTW.
    The issue I am having is that some of the fields in BTNT are not updating in SAP despite a successful DTW instance depending on whether the batchnumber is pre-existing or is new.
    If the batch already exists, quantities are being receiving as expected but additional data such as "Notes", "InternalSerialNumber", and even some user-defined fields we have created for Appearance, Inventory Tag Number, etc. will not update.  I have checked DTW mapping and it is setup correctly.
    In fact, if the batch number defined in BTNT is NEW to the system these additional details load up as expected, only when it is a quantity update on the batch number do they not.  I thought that since the quantity of a pre-existing batch is being update successfully via this method the other "Batch Details" should update as well.
    Can anyone provide insight as to whether it is possible (and if so how) to update these batch details during a Goods Receipt or Goods Issue DTW for pre-existing batches or will it only do it for a brand new batch #?
    Thanks very much,
    Richard

    Hi Richard,
    Welcome you post on the forum.
    I am afraid you could only update batch details when you imported them as new. You may only update the existing batch details through UI.
    Thanks,
    Gordon

  • Vendor is not updating in batch while doing STO

    Hi All,
    I created a PO with vendor 123456.Did a GR for it.
    In GR i maintained a batch AA1 and received the material. Now the stock is in A plant with batch AA1 and vendor 123456.
    Then i went in to batch AA1 and found that vendor(123456) was updated in batch master.
    Next i created a STO for moving the stock from one plant to another.  Stock transfer A plant to B plant.
    In STO also i used the same batch AA1  and in outbounddelivery i used same batch AA1 and in GR i maintained the same batch AA1 but plant B.
    Now i checked the batch AA1 for plant B.
    Here the vendor is not updated in the batch AA1 for plant B combination.
    What may be the reason.
    If STO is done system cant able to pick the vendor?
    KIndly help me in this regard.
    Regards
    KK

    HI,
    Thanks for the reply.
    Yes you are exactly correct.
    Is there anyother way that vendor can be updated in the batch?
    Regards
    KK
    Edited by: Kishore Kumar Galla on Nov 10, 2009 2:17 AM

  • BAPI or FM to do update the batch, same as MB1B

    Hi all
    I have a requirement to update the batch details say for some specific plants in Norway in one go.
    Same how we do using MB1B transcation.
    IS there any existing BAPI or FM to update the batch for the plants.
    cheers
    C

    Hi,
    Try with this.....
    BAPI_GOODSMVT_CREATE
    Regards
    Debarshi

  • Updation to Batch characterstics and modification to table

    Hi All,
    I have implemented one implementation to the BADI MB_DOCUMENT_BADI.
    I have writen my all code in method MB_DOCUMENT_BEFORE_UPDATE.I am trying to update the batch characterstics using CALL FUNCTION vb_change_batch in update task and trying to modify the data with out commit work.
    Can anybody who worked on BADI, confirm my doubts.
    as in  the documentation to the BADI its mention that we can not use commit work in method MB_DOCUMENT_BEFORE_UPDATE.
    Please clarify my doubts.
    Regards,
    Sandeep.

    Thanks Sailatha,
    Will it not cause any inconsistency between MM and ML as its mentioned in the documention to BADI is that  u can not use 'COMMIT WORK' over there.
    if I use ths function vb_change_batch in update task will it update the characterstics to the AUSP table with out using 'COMMIT WORK' statement.
    can I use the deque function to customize table in order to update the table.
    Regards,
    Sandeep.

  • Error in MCH1 table update for batch create with class assignment

    Hi Experts,
    I am looking for a BAPI which could help me to assign a class and in respectively assigns characteristics to th batch.
    and hence i cant update MCH1 table for the same.
    so please suggest me how could i achieve the same.
    Thank you in advance.
    Regards,
    Ashish

    Hello,
    You can use the BAPI BAPI_OBJCL_CHANGE.
    Regards,
    Alok Tiwari

  • Timeout error while reading and updating in batches in a single transaction

    Problem:-
    In a transaction I do read and update to the database in batches. First batch it runs fine and for second batch it get hanged at
    sqlCommand.ExecuteReader(). The following is not my complete code but required bits of it which will give more information about the problem. At the end of this post please find the error log. Please help me.
    My guess:-
    The problem i see here is with the locks acquired while reading and update still remain when it comes for the second batch which is blocking the next read. But could not find a way to solve it.
    Get connection and open it.
    Begin Transaction.
    sqlUpdateTransaction = sqlUpdateConnection.BeginTransaction(String.Format("UpdateUsageDetailTransaction{0}", storageClassId))
    Get application lock.
    GetApplock
    const String sqlText = @"DECLARE @result int EXEC @result = sp_getapplock Resource=@resourceName,@LockMode='Exclusive',@LockOwner='Transaction',@LockTimeout=@timeout select @result";
    using (SqlCommand sqlCommand = sqlTransaction.Connection.CreateCommand())
    sqlCommand.CommandText = sqlText;
    sqlCommand.Parameters.AddWithValue("@resourceName", resourceName);
    sqlCommand.Parameters.AddWithValue("@timeout", milliSecondsTimeout);
    sqlCommand.CommandTimeout = secondsTimeout;
    sqlCommand.Transaction = sqlTransaction;
    Int32 lockResult = (Int32) sqlCommand.ExecuteScalar();
    Seek and read the range of records.
    using (var sqlReadConnection = new SqlConnection(_connectionString))
    sqlReadConnection.Open();
    SqlTransaction sqlTransaction = _sqlUpdateTransaction;
    _cdrList = CdrOps.FetchByrecordsIdRange(_yearMonth, firstSkid, firstSkid + count - 1, sqlReadConnection);
    sqlReadConnection.Close();
    return _cdrList.Count > 0;
    static public Dictionary FetchByrecordsIdRange(Int32 yearMonth, Int64 startCdrId, Int64 endCdrId, SqlConnection sqlConnection)
    Dictionary cdrList = new Dictionary();
    using (SqlCommand sqlCommand = sqlConnection.CreateCommand())
    sqlCommand.CommandText = "EXEC P_GetCDRData @yearMonth, @startCdrId, @endCdrID";
    sqlCommand.Parameters.AddWithValue("@yearMonth", yearMonth);
    sqlCommand.Parameters.AddWithValue("@startCdrId", startCdrId);
    sqlCommand.Parameters.AddWithValue("@endCdrID", endCdrId);
    sqlCommand.CommandTimeout = DbOps.TwoHourTimeoutValue;
    using (SqlDataReader sqlDataReader = sqlCommand.ExecuteReader())
    FetchrecordPieces(sqlDataReader, cdrList);
    return cdrList;
    Update the records to the list by using a loop Go and check if the number of records read is equal to the batch size then write and flush.
    update()
    _tollUpdatedList.Add((Toll) record);
    _legacyUpdateCount++;
    Dispose.
    Dipose()
    if (_sqlUpdateTransaction != null && _sqlUpdateTransaction.Connection != null)
    sqlUpdateTransaction.Rollback(String.Format("UpdateUsageDetailTransaction{0}", _storageClassId));
    _sqlUpdateTransaction.Dispose();
    _sqlUpdateTransaction = null;
    Commit.
    commit()
    if(_sqlUpdateTransaction != null)
    _sqlUpdateTransaction.Commit();
    _sqlUpdateTransaction.Dispose();
    _sqlUpdateTransaction = null;
    Error log.
    Error: [0x80004005] MonthlyFileDb::Seek - Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

    Thank you, I used beta_lockinfo and observed the following
    spid=59/0/2
    command = SELECT  
    appl=.Net SqlClient Data Provider
    hostprc= 3640
    dbname = DEV_ECAP_P_CAP_ENT_CMN
    prcstatus= SUSPENDED
    spid_ =
    59/0/2
    blklvl = 1
    blkby = 55
    rsctype = 
    locktype =
    lstatus =
    ownertype =
    rscsubtype =
    waittime = 785.139
    waittype = LCK_M_IS
    spid__ = 59/0/2
    nstlvl = 3
    inputbuffer = (@yearMonth int,@startCdrId bigint,@endCdrID bigint)EXEC P_GetCDRData @yearMonth, @startCdrId, @endCdrID
    current_sp = DEV_ECAP_P_CAP_ENT_CMN.dbo.P_GetCDRData
    spid=55
    command = NULL
    appl=.Net SqlClient Data Provider
    hostprc= 3640
    dbname = DEV_ECAP_P_CAP_ENT_CMN
    prcstatus= sleeping
    spid_ =  55
    blklvl = !!
    blkby = 
    rsctype = APPLICATION
    locktype = X
    lstatus = grant
    ownertype = transaction
    rscsubtype = 
    waittime = 
    waittype = 
    spid__ = 55
    nstlvl = 
    inputbuffer =UPDATE UsgDetailCommon SET RunId = t2.RunId FROM UsgDetailCommon t1 INNER JOIN #UsgDetailCommon_Update t2 ON t1.YearMonth = t2.YearMonth AND t1.CdrId = t2.CdrId ;DROP TABLE #UsgDetailCommon_Update
    current_sp = 
    But what is the solution for this...? I am googling and I found similar post but with no solution, here it is not allowing me to post html link 

  • Which table will get updated for batch characterstics for the MIGO trans?

    Hi all,
    As i am trying to post a goods receipt for 101/102 movement type in MIGO transaction.
    But it is giving error as 'Batch characterstics values are not classified'.
    If i give Batch Type- as  PRODUCTION(P)  in batch classification.
    It will get posted.
    Can any one help me out in which table this field will get updated.
    Thanks...

    HI ,
                 Try table MSEG.
    Regards,
    Mohan

  • Need a bapi r  fn module to update the batch classification in the bom

    hi,
    iam working a exit : exit_saplcoml_001.This exit is for material quantity calculation.the materials are currently classified in the material master under the classification tab.Ans due to this the classification becomes cross plant.
    To make the material classification plant specific i have decided to maintain the classification in the batch classification of bom.i am finding for a function module r a bapi to update the calculated values in to the batch classification characteristics.please help mi with this.
    thanks.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

  • MBCFC004 problem with updation of batch characteristics

    hi,
    I am facing a problem in updattion of batch charactristics using exit MBCFC004.. EXIT_SAPMM07M_004 
    in user exit interface EXIT_SAPMM07M_004 there is one table parameter 'Values' which is used to update batch characteristics.
         i am able to add characteristics values but not able to delete or change batch characteristics.
    please help

    Class type 023 is classified as a type which allows multiple object types.
    For this class you may have to use 'BAPI_OBJCL_CHANGE_KEY' (check out its code).
    The key relationships for such class types are maintained in table INOB and can be fetched  using the BAPI 'BAPI_OBJCL_GET_KEY_OF_OBJECT' .
    Hope this helps.
    Thanks and Regards,
    Srihari

  • Production date updation in batch (REM)

    Hi Experts,
    Is there any standard procedure available to update Production date in batch header from backflushing (Date of Manufacture). Batches are created manually through MSC1N.
    Regards

    Julfikar,
    Please ensure that you are using Standard batch characteristics "LOBM_HSDAT" to the batch class what is assigned to the material. Also check in transaction OMCV whether for movement type 131 batch classification is active.
    Regards,
    Prasobh

  • Suggestions for improving this update in batches of 100 records

    I'm currently using the following PL/SQL code to update batches of records in groups of 100 records at a time.
    - DB Version : Oracle9i Enterprise Edition Release 9.2.0.7.0
    - There is an index on columns : AHS_CONTACT_TYPE, SYNCSTATUS
    - I have to commit the records in batches of 100
    -- Mark all the Agents "In Process" (regardless of Owner)
    -- Update last_modified_by_id to 'SALESFORCE_LOADED' if the
    -- last_modified_by_id column is 'SALESFORCE_SYNC' and
    -- the ID column is NOT NULL
       ln_count := 0;
       FOR C IN (SELECT tmpsf_CONTACT.ROWID
                   FROM tmpsf_CONTACT
                  WHERE ( AHS_CONTACT_TYPE = c_sfContactType_AGENT ) AND
                         ( SYNCSTATUS <> c_sfsyncstatus_IN_PROCESS )
       LOOP
          UPDATE tmpsf_CONTACT
             SET SYNCSTATUS = c_sfsyncstatus_IN_PROCESS,
                 LAST_MODIFIED_BY_ID = decode( LAST_MODIFIED_BY_ID, c_username_SALESFORCE_SYNC,
                                                            decode( ID, NULL, LAST_MODIFIED_BY_ID,
                                                                        c_username_SALESFORCE_LOADED),
                                                            LAST_MODIFIED_BY_ID)
           WHERE ( tmpsf_CONTACT.ROWID = c.ROWID );
          -- Commit every 100 records       
          IF (ln_count >= 100) THEN
             COMMIT;
             ln_count := 1;
          ELSE
             ln_count := ln_count + 1;
          END IF;
       END LOOP;
    -- Catch last batch with any records less then 100
    COMMIT;Does anyone have any suggestions about further improving this performance?
    Thanks,
    Jason

    Okay, I have to do it batches per our DBA group.
    This is not up for debate...unfortunately. Their
    r reasons :
    - To keep the rollback segment small Very small apparently, in fact in this test, updating 100 rows of 2 varchar2(200) columns uses 56 KB of rollback. Updating the whole 10,000 rows uses 5 MB. Is this database running on a pocket USB flash drive? Currently costing $30 for 512 MB from Amazon
    http://www.amazon.com/gp/product/B0000B3AKR/qid=1136558252/sr=8-2/ref=pd_bbs_2/103-9580563-3995040?n=507846&s=electronics&v=glance
    SQL> create table t as select rpad('x',200,'x') a, rpad('y',200,'y') b
      2  from dual connect by level <= 10000;
    Table created.
    SQL> update t set a = replace(a,'x','y'),
      2    b = replace(b,'y','x')
      3  where rownum <= 100;
    100 rows updated.
    SQL> select
      2      used_ublk undo_used_blk,
      3      used_ublk * blk_size_kb undo_used_kb,
      4      log_io logical_io,
      5      cr_get consistent_gets
      6  from
      7      v$transaction, v$session s,
      8      (select distinct sid from v$mystat) m,
      9      (select to_number(value)/1024 blk_size_kb
    10          from v$parameter where name='db_block_size')
    11  where
    12      m.sid       =   s.sid
    13  and ses_addr    =   saddr;
    UNDO_USED_BLK UNDO_USED_KB LOGICAL_IO CONSISTENT_GETS
                7           56        337             227
    SQL> rollback;
    Rollback complete.
    SQL> update t set a = replace(a,'x','y'),
      2    b = replace(b,'y','x');
    10000 rows updated.
    SQL> select
      2      used_ublk undo_used_blk,
      3      used_ublk * blk_size_kb undo_used_kb,
      4      log_io logical_io,
      5      cr_get consistent_gets
      6  from
      7      v$transaction, v$session s,
      8      (select distinct sid from v$mystat) m,
      9      (select to_number(value)/1024 blk_size_kb
    10          from v$parameter where name='db_block_size')
    11  where
    12      m.sid       =   s.sid
    13  and ses_addr    =   saddr;
    UNDO_USED_BLK UNDO_USED_KB LOGICAL_IO CONSISTENT_GETS
              626         5008      31898             594
    SQL>>
    - To prevent tying up the entire table
    They don't know much about Oracle these DBAs do they, what exactly do they mean by "tying up the table"?
    Maybe they didn't get past the 2 Day DBA manual to the Concepts guide yet?
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i13945
    >
    - And the most important, replicated transactions
    must be reasonably small for throughout across the
    WAN
    I don't know what replication engine is being used, but the loop approach uses a huge amount more of REDO than a simple set based update. Most replication applies the REDO to the remote database to synch it up. The loop will cause more data to be transferred over the WAN than a single update.
    >
    Either way, I want to optimize this code as much as
    possible. In fact, today I found a need to do a
    similar update again...
    Just do the update. It uses less resources and is faster becasue of it. The slow approach does not use fewer database resources because you are throttling it. It is slower because it requires more of everything.

  • Updating Vendor Batch at Purchase Order creation

    Hi,
    Can someone find me a user exit to,
    Populate vendor batch #(LICHA) based on some logical condition in PBO of PO details at Material data tab.
    Thanks,
    Sandeep

    hI,
       Try this user exits
    MM06E010
    MM06L001
    OIFA0402
    QLIB0002
    SDALE001
    VSV00001
    VSV00002
    Regards

  • Records aren't updated in batch processing when an error occurs

    Hi folks,
    We are facing a problem using batch processing with oracle. Our app is implemented without any framework (Struts, Hibernate, Spring, etc), using basic statements and the "auto commit" option is turned off.
    When there's no errors into statements, everything goes fine! But, when one of commands doesn't execute succesfully, we can't commit others statements. Although specs say all of the previous statements should be committed when we explicit commit the transaction.
    Does anyone have any idea about the source of this problem?
    Thanks,
    Auler.

    Well, last time I checked, this was NOT a database forum, it's a "SQL and PL/SQL" forum, isn't it? Yes, SQL and PL/SQL run on the database, but they also run at the application level as well when you're working with Oracle Forms and Reports, which both have a built in PL/SQL engine.
    And yes, I AM using RUN_PRODUCT...*before* I use the win_api_session call. I run the report, and THEN attempt to open the finished report once it has been written to file. But I can't do that if the report is still being generated, right? My RUN_PRODUCT call passes a parameter to tell it to close the Reports Background Engine once the report has been generated. So, what I do is test (using win_api_session) to see if the Reports Background Engine is open or not. WHILE (my loop here...see my last post) it's open, I loop, so that when it is no longer open, I know that my report has been generated, and I can make the call to attempt to open the report from file.
    Again, what I need to do, is figure out how I can put some sort of error handling inside my loop to handle situations where there may be some sort of error in generating the report, and the Reports Background Engine doesn't get closed, which would leave me stuck in the loop.

Maybe you are looking for

  • Satellite A200 - Display driver stopped responding

    Periodically I see this warning: [http://s001.radikal.ru/i193/1002/2b/ee6a610aa864.jpg] It appears after short blackout by no reason. What is it? Satellite A200-1CR / Windows 7 Professional

  • Annotating InDesign CS6 pages - Can I use a Wacom?

    Hi, I've got a Wacom tablet which I use to draw and annotate. Can I use it to make quick sketches and notes on top of my work in InDesign CS6? It would be unbelievably quick and useful to be able to get a (raster) pencil and sketch my thoughts on lay

  • Project invoice & receipt details.

    Hi , I want help regarding projects flow i.e. from project to cash receipt to GL.I mean ER diagram or block diagram. Secondly i want Query from Project invoice to cash receipt details including remittance .Can any one help me in building me this quer

  • RE: R : RE: Domain Classes

    I think Kal's point was that you shouldn't follow the advice in the "Customizing Forte Express Applications" manual on page 90, which suggests creating a DBSession service object and putting a method on a domain with a SQL call that uses that session

  • To install Oracle HTTP Server only

    Hi, I already installed Apex (3.0) in an Oracle database a while ago. I have used our Oracle iAS 10.1.2 as the application server. Now, I would like to install the Oracle HTTP Server in the database server and use it to run Apex. With the 10g compani