Change batch Classification for a BATCH.

Hi,
Does anyone know how to change the classification for a BATCH (Txn. MSC2N) programatically. Recording is not possible for the transaction MSC2N.
Thank you,
Mahesh

Use the BAPI 'BAPI_OBJCL_CHANGE'. Ensure to commit data afterwards.
Manoj

Similar Messages

  • 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

  • How can mass create batch classification for many material batches? ?

    Hi Experts,
    In our system , there are so many material batches which have not been classified,see by
    BMBC Tcode.
    That means these batches has no values in the batch class. I know we can create
    classification for these batches with MSC2N Tcode.
    But there are so many batches  which have not been classified,more then 2000.
    It is not possible to create classification for every batch with with MSC2N once a time.
    So how can I create batch classification for so many batches once a time?
    How can I mass create batch classification for so many batches??
    Thanks for any reply!

    Hi,
    Please be aware that SAP does not support the use of batch
    input in the classification system. SAP recommends you use BAPI's for
    example in your case BAPI BAPI_OBJCL_CREATE and BAPI_OBJCL_CHANGE
    would be able to help. For more information, please have a look at the
    note: 943559 - Point 2 and 13. Point 13 references the note 1083986.
    I hope this helps!.
    Best Regards,
    Arminda Jack

  • Update Batch Classification for a Material

    Hello friends,
    I'm facing the following problem : A specific BTCI wich simulates MB01 was calling another program called SAPLCTMS to update Batch classification for a Material, this program (SAPLCTMS ) seems to be not necessary after the support package Level 57 (we just installed SAP4.6C). I didn't find any note on OSS for this...
    Now i'm trying to use this BAPI instead of BTCI for the Material batch classification  :
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
             EXPORTING
                  objectkey          = l_objnum
                  objecttable        = 'MCH1'
                  classnum           = 'ZGB_TIDCLASS'
                  classtype          = '022'
                  status             = '1'
                  keydate            = sy-datum
             TABLES
                  allocvaluesnumnew  = t_valuesnum
                  allocvaluescharnew = t_valueschar
                  allocvaluescurrnew = t_valuescurr
                  return             = t_return.
    But its not working, it keeps asking for a batch number. I guess i'm not using the right FM ?
    Any ideas about this ?
    Thank you in advance for your help !
    Best Regards.
    Edited by: Soufiane FAYSSAL on Jun 18, 2009 11:42 AM

    Hello,
    I am Ashok Chelikani. I am working on the same Issue.
    i am getting following message:
    TYPE ID    NUMBER  MESSAGE
    E       |C1   |003          |Characteristic DIMENSIONSCOLOR not found or not valid
    I        |CL   |736          |Assignment was not created 
    my procedure as follows:
    CLEAR: lv_objnum.
    lv_objnum = I_MSEG-MATNR.
    **Get Object Details
    CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
    EXPORTING
    objectkey = lv_objnum
    objecttable = 'MARA'
    classnum = 'Z_RMBCH1'
    classtype = '001' 
    TABLES
    allocvaluesnum = lt_alloc_num
    allocvalueschar = lt_alloc_char
    allocvaluescurr = lt_alloc_curr
    return = lt_return.
    IF NOT lt_return IS INITIAL.
    CLEAR: lv_objnum.
    lv_objnum(18) = I_MSEG-MATNR.
    lv_objnum+18(10) = I_MSEG-CHARG.
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
    EXPORTING
    objectkey = lV_objnum
    objecttable = 'MCH1'
    classnum = 'Z_RMBCH1'
    classtype = '023' 
    tables
    allocvaluesnumnew = lt_alloc_num
    allocvaluescharnew = lt_alloc_char
    allocvaluescurrnew = lt_alloc_curr
    return = lt_return.
    lt_return returing error message. Kindly help me.

  • User Exit for batch classification for tcode mb1c

    HI experts,
    I have implement customer exit MBCFC004 EXIT_SAPMM07M_004 and CLFM0002 EXIT_SAPLCLFM_002 to set a value for
    a customize  characteristics.
    Now I have a issue.
    MBCFC004 EXIT_SAPMM07M_004  can work with migo but when I with mb1c to do same transaction it didn't
    work.
    CLFM0002 EXIT_SAPLCLFM_002  only work when I input a value in the customize  characteristics it can change the input value.
    I have set extension in OMCV for my move type. and assigned the bath to material.
    I have reference
        Re: User Exit for batch classification
    but I haven't found any question for my solution.
    please help me.
    thanks a lot.

    Class ZBATCH has status 1 (= 'Released') but the customizing of classtype 023 doesn't allow to classify with classes of this status. Settingsfor class status in class type 023 are different from what SAP delivers.Correct please these settings. You may lookup the correct definition of
    the class status in class type 022.

  • Batch Classification for Auto GR during Production Order Confirmation

    Dear All,
    I have a scenario,where Auto GR has been activated in last operation of an order.Material is batch managed with certain characteristics.When I use CO11n, and go to goods movement tab,batch for 101 movement type is entered but Batch classification pop up doesn't come.For that we need to select the line item,goto extras and create batch,then Pop up for batch classification comes.But,if we do GR with MIGO & MB31, This classification screen automatically in Co11n. i have tried certain exits also, but nothing works.

    Hi Stuti<
    Refer the below links it will solve the issue.
    [Batch Determination - help|http://help.sap.com/saphelp_45b/helpdata/en/25/283cb44f7811d18a150000e816ae6e/frameset.htm]
    [SDN Thread-1|Re: Batch Determination issue -reg]
    [SDN Thread-2|Batch Determination;
    Regards,
    Shyamal

  • 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

  • How to change material classification for class type 023

    Hi Expert,
    I want to change class ZSK_EXPIRY_DATE to ZSKK_GR_DATE under class type 023 in classfication tab (MM02). Understand that the same class also assigned to material and batch in MSC3N. So i'm sure it's not as easy asdo the direct change in CL20N. Can i anyone please guide me step by step to change it? What is the pre-requisite and the impact of the change that i have to care of..
    Thanks/Regards,

    Hi Crystal,
    You consume all the materials created with the earlier batch classification and then try to change it. or keep the assinged class and then create your new required class and then assign the new class to the material in classification view and start using the new one.
    Chris

  • Batch derivation for multiple batches

    hello,
    anybody pls help me i am doing batch deivation. i have made all configuration. but i am not getting how it will work for multiple batches. i my scenario when i am doing sheet clitting against sales order if my rm have two batches and my fg have four batches in one production order. how can i assign which rm batch characteristics goes to fg batch.pls pull out me for this situation.
    bhakta

    Hi Bhakta,
    Bigger problem in your case is not multiple Batches of RM but more then one Batch No. of Header Material in single production Order.I guess in your case Batch No. are triggered at the time of GR and not in Production Order at the time of Release.Correct?
    But up to my knowledge Batch Derivation is triggered at the time of Batch Creation in Production order.For which you have to first carried out Batch Derivation of sender Material.But in your cases the scenario is totally different due to Batch is created at the time of GR.So Difficult one and can be possible if you go with 1 Batch for 1 prod. order.
    Regards,
    Dhaval

  • Tables for Batch classification for materials

    Hi SAP gurus,
    I have an issue that I need to display the values for a number of materials in its classification view (class type 023) without using MM03.
    Could anyone please let me know the table(s) where I can find this?
    Thanks !!

    Hi Moumita_kar,
    Characteristics :
    CABN      Characteristics ( o.a. batch/vendor)
    CABNT      Characteristics description
    CAWN      Characteristics ( o.a. material)
    CAWNT      Characteristics description
    AUSP      Characteristic Values
    Class types and objects :
    TCLAO      Several class types for object
    TCLA      Class types ( vb. lfa1 => v10 en 010)
    TCLAT      Class type text
    TCLT      Classifiable objects
    TCLC      Classification status
    Links :
    INOB      Link between Internal Number and Object
    KLAH      Class header data
    KSSK      Allocation Table: Object (vb.matnr) to Class
    KSML      Characteristics for a class (internal number)
    Please try and confirm.
    Regards
    Suri

  • Batch classification for BOM items

    Hi ,
    I am developing a conversion program to upload the class and characteristics to a BOM item . The class type is a custom class which needs to be assigned to the BOM item along with the class and characteristics value . Is there any FM/Bapi which can create the classtype for the BOM item and assign the class and values . I have tried with the FM 'BAPI_OBJCL_CREATE' but was not successful. Any help would be highly appreciated .
    Sanjeev

    this program can create bom succcess.but add stpu(subitem) ,have some problem.
    REPORT ZPDM_CREATEBOM .
    DATA: i_stko like STKO_API01.
    data: T_STPO like table of STPO_API01 WITH HEADER LINE.
    data: T_STPU like table of STPU_API01 WITH HEADER LINE.
    data: BOM_HEADER like BICSK.
    DATA: return TYPE char100,
    return2 TYPE char100.
    i_stko-BASE_QUAN = 1.
    T_STPO-ITEM_CATEG = 'L'.
    T_STPO-ITEM_NO = '0010'.
    T_STPO-COMPONENT = '52008022702'.
    T_STPO-COMP_QTY = '10'.
    APPEND T_STPO.
    T_STPO-ITEM_CATEG = 'L'.
    T_STPO-ITEM_NO = '0020'.
    T_STPO-COMPONENT = '52008022701'.
    T_STPO-COMP_QTY = '20'.
    APPEND T_STPO.
    T_STPU-POINTER = 20.
    T_STPU-UPOSZ = '0001'.
    T_STPU-EBORT = 'A1'.
    T_STPU-UPMNG = '10'.
    APPEND T_STPU.
    T_STPU-POINTER = 20.
    T_STPU-UPOSZ = '0002'.
    T_STPU-EBORT = 'A2'.
    T_STPU-UPMNG = '10'.
    APPEND T_STPU.*
    CALL FUNCTION 'CSAP_MAT_BOM_CREATE'
    EXPORTING
    material = 'FERT005'
    PLANT = '1000'
    bom_usage = '1'
    VALID_FROM =
    CHANGE_NO = 'ECO200909096'
    REVISION_LEVEL =
    i_stko = i_stko
    FL_NO_CHANGE_DOC = ' '
    FL_COMMIT_AND_WAIT = ' '
    FL_CAD = ' '
    FL_DEFAULT_VALUES = 'X'
    IMPORTING
    FL_WARNING =
    BOM_NO =
    TABLES
    T_STPO = T_STPO
    T_DEP_DATA =
    T_DEP_DESCR =
    T_DEP_ORDER =
    T_DEP_SOURCE =
    T_DEP_DOC =
    T_LTX_LINE =
    T_STPU = T_STPU
    EXCEPTIONS
    ERROR = 1
    OTHERS = 2

  • Batch Classification error - re Customer name change

    Dear all,
    We have a problem with Batch classification for one customer who has had a name change.
    Name of customer changed and search term changed in customer master.
    The NEW search term then added as a 'customer suitability Value'  into the Batch classification for material, plant and batches.
    However when entering these batches onto the delivery note, SAP comes up with BATCH CLASSIFICATION ERROR.
    IN order to resolve this, we have had to add the OLD customer suitability/Search term value into the Batch classification
    This does not seem to be correct, is there some other change that we need to do ???
    Please advise
    Thanks
    Tony

    Hi
    We put this to SAP via Service marketplace
    and they kindly told us where our error was
    We needed to update the new searchterm in transaction VCH3 - Batch search strategy
    this involves SHip to, materials
    when you hi-lite the grade and click on the selection criteria
    The customer suitability in here , which is the search term in customer masterdata, had never ever been updated
    problem resolved now
    Tony

  • Different Batch Classification at storage location level

    Dear guru ,
    I have tested that i can insert different values of batch classification for the same material and the
    same batch number but in different plants.
    In MSC1N/MSC2N transaction the system allow a insertion at storage location level.
    Itu2019s possible to insert different values of batch classification for the same material , same batch number and the same plant but in different storage locations ?
    Thanks.

    hi,
       check in OMCT under which batch level the current system is, if the level is set to be material level or client level, if you make a change to the batch classificaiton, it will reflect in all the plants across the clients.
    Batch classification is not maintained at the storage location level.

  • Batch classification details

    Hi Experts,
    I would liek to ask your help.
    We have issue on batch classification details.
    During GR, the batch classification details created are not complete, as checked in MSC3N. Why do this happen? Could you kindly help me sort out this problem?
    Thank you very much for your help.
    Mylene

    Dear Mylene
    Materials Management -> Inventory Management and Physical Inventory -> Movement Types -> Copy, Change Movement Types
    It is not plant specific. This will popup a window to enter the values for classification.
    You can also use transaction OMCV
    Logistics - General -> Batch Management -> Batch Valuation -> Valuation for Goods Movement in Inventory Management -> Activate Batch Classification for Goods Movements in IM.
    Regards
    Soundar

  • 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

Maybe you are looking for