Batch Classification data(charateristic) updation

Hi All,
     I need to update certain classification data of a batch. I know the class of the bacth and the charateristic name. What I don`t know is the FM to do it. Can you please help me here. And also if there is some sample code then that would be great.
Thanks
Anuj

Hi Anuj,
             I am creating batch using BAPI_BATCH_CREATE. While creating batch i need to maintain Classification characteristics as well...how to maintain this classification data...in FM docu it is saying..
You use this method to
Change a batch master record
Create classification of a batch in the background (object characteristics only)
What does it mean and how can I pass the classification characteristics in background...plz help me.

Similar Messages

  • Updating Batch classification data from MIGO for Purchase order

    Hi,
    I need to update batch classification data (in MSC3n) from MIGO for purchase order. The logic needed for this is as below,
    1) Pass material and batch to MCH1 table to get CUOBJ_BM.
    2) Pass CUOBJ_BM to INOB table to get INOB-OBJEK.
    3) Pass INOB-OBJEK to CLAF_CLASSIFICATION_OF_OBJECTS to get class name & characteristic name.
    4) Pass INOB-OBJEK, CLASS name and characteristic name to BAPI_OBJCL_CHANGE to update batch classification data.
    I created implicit enhancement at the bottom of FM "CLVF_VB_INSERT_CLASSIFICATION". But the problem is, the return parameter of BAPI_OBJCL_CHANGE is giving the following error.
    Class type 023, object type MCH1, object RAW-6             0000001151
    Object is currently locked by user
    The assignment was not changed
    Please let me know how to do it. Is there any BADI or User Exit?

    Hi,
    As you said the break point is not triggering did you activate your exit and activated even the project to which your exit is assigned.
    I hope you missed activating your project in CMOD transaction. Please verify it once and if it is not activated then immediately activate it and try debugging again.
    Regards,
    Rafi

  • Basics for Batch Classification Data

    Hello Experts ,
    I have few queries for Batch Classification Data .
    1. Which are the tables where Batch Classification Data for the batches is stored .
    2.Which Function module is called once we do the Goods movement which determines the batch
    classification data .
    3.When we do stock transfer for batches , then the Batch classification will run in Issuing plant and
    the batch classi. data will be copied in the receiving plant . Can you please tell me that which object
    carries this data from issuing plant to receiving plant.
    4.There is also a user exit with which we can play with Batch classification , can you please give some information on this .
    Thank you very much for the help !
    Regards
    Shashank

    1. The table is AUSP - but why would you need to know that. There are good function modules to query, read, change classifications of batches - so why would you like to read directly from DB?
    2. This depends on your release. Typicall in MIGO the module VB_CREATE_BATCH is called, the same one that is called within the BAPI to create batches.
    3. See 2. When you create a batch with reference, you call the same module additionally with the key of the reference batch (this is the issueing batch). 
    Inside that module are loads of user exits for all kind of purposes.
    Why not have a look yourself in Customizing at Logistics General -> Batch Management -> Batch Valuation.
    There's the "customer exits for goods movements in inventory management" (this is called e.g. in the goodsmovement bapi and the old transactions)  --> EXIT_SAPMM07M_004
    and the  "Valuation of Creation of New Batches Using Function Module" (this is called in the MSCxN and in MIGO) --> EXIT_SAPLV01Z_014 .
    In Customizing there's also the documentation what you can achieve with the exits.
    Hope this helps.
    Stefan

  • Batch Classification Data Report

    Hi Experts,
    I want to create a report that displays the contents of the batch classification data (characteristics) in each batch. Can I do this via ABAP query? May I know which tables contain this data? Thanks!
    Regards,
    Marvin

    Hello
    First way:
    1. With material number and batch number goto table MCH1 and get CUOBJ_BM.
    2. Goto table AUSP with OBJEK = MCH1-CUOBJ_BM and KLART = '023' (or '022')
    You will get characteristics (AUSP-ATWRT, AUSP-ATFLV)
    Other way: use bapi BAPI_OBJCL_GETDETAIL for this. (examples of use you may find yourself in SDN)

  • Batch Classification data not getting updated during the GR of the PO

    Dear Gurus,
    While doing the GR of the Purchase order the classification data for the batch should get updated .However we can see those data in MSC2N (Change batch) but not in MSC3N (Display Batch) .While consultuing with SAP we found that the data in MSC3N is directly picked in the AUSP table but the data in MSC2 N  reads the information directly from the
    reference table field (MCH1-LWEDT & MCH1-LIFNR .My Qusetion is why this the AUSP entries are not getting updated during the GR itself.
    Sumit Mohan

    Hi Sumit,
    I am not sure about your question, but if you want to populate the classification data during goods receipt then you need to maintain characteristics values in material master for classification tab under class type batch i.e. 022. After then it will apper during goods receipt for characteristics value for batch.
    Regards,
    Bhagat

  • Batch classification "Date of last goods receipt" is "00.00.0000"

    Dear all,
    I have configured all steps for batch determination for FIFO.
    It worked fine for IM (stock transfer - mov.type 301) on last friday, however, get the issue today:
    - After I do GR (mov.type 101), the batch is auto created, batch classification is created,
    I use MSC2N to view batch classification:
    the value of "Date of last goods receipt" is "00.00.0000"
    What is wrong with my configuration?
    Could you pls help me to fix this?
    Thanl you very much for you help!
    Edited by: Ngo Quoc Hung on Dec 13, 2010 10:59 AM

    System Updates Batch Data in the Batch Master Record in the Following ways :
    1)  If the batch does not yet exist for the plant, it is automatically created.
    2)  If the batch already exists for the plant, the new quantity is simply posted as a receipt in the specified storage location.
    When posting a goods receipt with reference to Purchase order, the system updates Posting date as the goods receipt date in general data of the batch.

  • Batch Classification for Finished Goods

    Hi,
    Can anybody explain me the significance of maintaining batch classification data for a finished material?
    Currently we have batch management active for all the finished materials but for some materials we have not maintained the classification data.
    When I checked the batch data in MMBE it shows me the Production date & Shelf life expiration date based on the values maintained in the material master.
    The class type is maintained at the plant level as 022 with characteristics as Last Goods Receipt & Shelf Life Expiration date.
    I want to know what impact will be on the distribution of these materials if I do not maintain the classification data?
    Thanks & Regards,
    Abhijit

    Hi Ravi & Lakshman,
    Thanks a lot for the response. I understand what batch classification is & how it is implemented to use in coordination with Batch Determination. What I would like to know is what if the batch search strategy & class type (022) is defined at the plant level and  batch management for a finished material is active but classification data is not maintained. GR (101) for this finished material is possible but does this mean that not having classification data will not have any impact on the goods movement of this material?
    In case of production when the classification data is not maintained for a back flushed material (raw / semifinish), after the process order confirmation the 261 movements end up in COGI with reason Enter Batch. Since the selection criteria fails due to the unavailability of classification data; the batch needs to be selected manually instead of the system picking up the correct batch automatically.
    Like in inventory (consumption of raw & semifinish) do we have batch determination & search strategy for distribution where the finished stock will be picked up for the sales orders based on the selection criteria & sorting rule?
    Thanks & regards,
    Abhijit
    Edited by: Abhijeet K. Nerurkar on Feb 14, 2011 2:18 AM

  • Batch classification update

    Hi guys,
    I need to make the following, when there is a goods receipt, I want to update the posting date in the batch classification as soon as I post the goods from transaction MIGO.
    How can I make this?
    Regards

    Hi andrea,
    I tried what you said, but it does not update in the classification, the field is empty as follows
    Deletion Ind. for Batches     Not Set
    Quality Score Usage Decision     100
    Usage Decision     01       A
    Status of Batch     Released
    Batch Number     2010080167
    Expiration date, shelf life     23.06.2012
    Date of last goods receipt
    Date of Manufacture
    I have something also in my mind I'd like to share with you, regarding the reference  table you told me, I think that this is responsible only for maintaining  the data in the BASIC DATA tab of the characteristic, but it has nothing to do with the value, if I'm wrong then correct me, and I hope you a have a solution for the problem.
    Regards,

  • Classification Data (SLED) not Updated for Movement Type 561

    Dear All,
    I have noticed that after uploading the opening stock with movement type 561, the Classification data (Date of manufacture & Shelf Life expiry date) which was captured in MB1C is not updated in the batch master in Classification Tab.
    Is this standard SAP behaviour for 561 movement type? Or is there any config is missing?
    Please advise.
    Regards,
    Suresh.

    Hi Suresh,
    For your question I understand that while uploading the initial balances, system didn't ask you for the Manufacturing date or total shelf life date. Following is the solution:
    You have to maintain "Check SLExpir.date" and "Classif.batches" indicators for the movement type 561 or any movement type you required. This customization can be perform through SPRO>>MM>>IM>>Goods Mvt. and mvt. No.
    Also activate SLED at plant level in customization.
    Regards
    SAK

  • Batch data transfer from batch classification to inspection lot.

    Hi Gurus,
    My client requirement is that the results he enters in batch classification should get transfer to inspection lot in QM.The results in batch classification will be maintained by prod. person.
    These results should be visible in QM lot and Q.M person should be able change these results and these changed results should get reflected in Batch classification.
    for eg.
    Production person will enter width in batch classification. for eg 1200mm.This value should be visible to QM person in QM lot and it should be modifiable and if modified by QM person(for eg 1300 mm) , the changed value should be updated in batch classification.
    Is this scenario possible in std. SAP and if possible pls. provide the information as early as possible.
    thanks in advance.

    My guess is your having a production person perform an in-process test themseleves or entering in a vendor provided value for the characteristic.
    Why not just set up a separate operation in the inspection plan for the production person?  Set up a workcenter for the operation and do security at that level so the production person can only record against his/her workcenter.
    Create a second operation for the lab with there own workcenter.  Make the characteristic required for the production operation and optional on the lab operation.
    Allow the lab access to both workcenters.
    The lab can now review any data enterred by production, and if necessary, record a new value in there own operation. 
    The UD copies the last recorded result to the batch, (std SAP).
    Craig

  • 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

  • BAPI to Update Material classification data

    Hi All,
      Is there a BAPI that can be used to update material classification data?
    Regards,
    Hari.

    Hi Hari,
    Please try this FM UPDATE_MATERIAL_CLASSIFICATION.
    Also check program standard SAP program RCCLBI03.
    Regards,
    Ferry Lianto

  • Header batch manufacturing date to be update after 261 movt  of any compane

    Dear all ,
    we have one requirment in that ....suppose we have one Process order , we done companent batch determiantion
    now what happens whenever we do confirmation ..means 101 then Manufacturing date at Header bacth updates , ( the 101 date is set as Manufacturing date. ...Now when we do picking i.e goods issue of any companenet under order , that date shud
    be there as manufacturing date for that header batch .
    pls suggest.
    Regards,
    Prerna

    Hi Prena,
    Could you please post your solution how you acheived this? I have the similar requirement to populate batch manufacturibng date as process order confirmation date.
    Your help is appritiated.
    Thanks,
    Jyoti

  • Material Batch Classification Update

    Hi ,
    Is there a Function Module or BAPI to update Material Batch Classification ?
    Thanks.

    hi,
    check tcode bapi. or search function bapiclas
    cheers.
    ...reward if useful.

  • FM for updating Batch Classification for a Batch (MSC2N)

    Hi,
    This is in regards to the Batch Classification (MSC2N).
    Is there a Function Module available to load data into the Classification tab for the batch, in MSC2N?
    Please Help.
    Thanks,
    John

    BAPI_OBJCL_CREATE
    and you may also refer tho this one -
    Look at Note 619913 - FAQ: Basic functions of batch management
    Change classification data of a batch
    Up to and including Release 4.6C, BAPI BAPI_OBJCL_CHANGE needs to be used.
    In later releases, BAPI BAPI_BATCH_SAVE_REPLICA may also be used for that purpose.
    Regards,
    Amit

Maybe you are looking for

  • Windows 7 display setting

    Running Windows 7 on new MacBook Pro 15".  How do I get teh screen resoultion higher on the windows side.  It will only go up to 1152x864?

  • [SOLVED] Using awesome wm without a mouse?

    After recently learning Vim, then installing Vimperator on Firefox, I've found that using the keyboard for navigating links and the like to be the shit. Naturally, I want to extend this to my window manager. So, is there any way to really use awesome

  • How to release the prompt and how to stop JVM afterwords

    There are 2 related questions here: (1st) I have a Java class that I'd like to start and release the command prompt. In Linux, I usually start it this way: > java MyClass & But in Windows I can't do that, it always holds the command prompt open. If I

  • Portal/Java system copy - test run

    Hi all, We are trying to do a test run of the java system copy - but would like to know where this option (test run) is in sapinst - which screen - we get to a point where it shows the parameters chosen with an option "restart system" chosen - so we

  • Deactivate Computer That Is Not Connected To Internet

    How do I deactivate labVIEW license on a computer that is not connected and move the license to another computer that is not connected to the internet