Batch classification view for MSC2N

HI,
when i loading inventory using movement type 561its asking for the production date but its not updating the classification view in the batch master data MSC2N screen.every time I have to go in to the transaction MSC2N and update the batch classification screen i mean hit the new button and save the batch.how to automate this.
But when i do the same thing using goods reeceipt against a purchase order its asking for the production date in the migo screen and its also updating the batch classification screen in MSC2n transactio.

Deepu,
Check customisation transaction OMCV, whether for Movement type 561 for Field "CB", value 1 is populated, if it was blank set to "1" and check box for Extended classification is active.
Regards,
Prasobh

Similar Messages

  • Creating classification view for the material

    hi friends,
    i need to create a material with various views (as in MM03) based on the material type.
    i am using BAPI_MATERIAL_SAVEDATA for it.
    i am able to create almost all the views except the the classification view for the material.
    can anyone help me with code (i need to write) to create a classification view for the material?
    thanks in advance.

    Hi Karthik,
    Select klart from AUSP into table t_ausp where OBJEK = wa_final-matnr.
      LOOP AT t_ausp.
        w_classtype = t_ausp-klart.
        CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
          EXPORTING
            classtext            = 'X'
            classtype            = w_classtype
            language             = sy-langu
            object               = w_object
            objecttable          = 'MARA'
    *         no_value_descript    = w_no_value_descript
            change_service_clf   = 'X'
            inherited_char       = ' '
            change_number        = ' '
          TABLES
            t_class              = t_class
            t_objectdata         = t_objectdata
            i_sel_characteristic = i_sel_characteristic
            t_no_auth_charact    = t_no_auth_charact
          EXCEPTIONS
            no_classification    = 1
            no_classtypes        = 2
            invalid_class_type   = 3
            OTHERS               = 4.
        IF sy-subrc <> 0.
        ENDIF.
        LOOP AT t_class WHERE class IN s_class.
          CLEAR : t_allocvaluesnum,t_allocvalueschar,t_allocvaluescurr,
                  t_lreturn.
          REFRESH : t_allocvaluesnum,t_allocvalueschar,t_allocvaluescurr,
                    t_lreturn.
          w_classnum = t_class-class.
    *       Getting the reference tables and values----------------
          CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
            EXPORTING
              objectkey        = w_objectkey                      "Old reference Material
              objecttable      = 'MARA'
              classnum         = w_classnum
              classtype        = w_classtype
    *          unvaluated_chars = 'X'
            TABLES
              allocvaluesnum   = t_allocvaluesnum
              allocvalueschar  = t_allocvalueschar
              allocvaluescurr  = t_allocvaluescurr
              return           = t_lreturn.
    *     Create with reference-----------------------
          w_objectkeynew = wa_inputfile-to_matnr.
          CALL FUNCTION 'BAPI_OBJCL_CREATE'
            EXPORTING
              objectkeynew    = w_objectkeynew                "New Material
              objecttablenew  = 'MARA'
              classnumnew     = w_classnum
              classtypenew    = w_classtype
            TABLES
              allocvaluesnum  = t_allocvaluesnum
              allocvalueschar = t_allocvalueschar
              allocvaluescurr = t_allocvaluescurr
              return          = t_lreturn.
        ENDLOOP.
      ENDLOOP.
    Prabhudas

  • Creating Classification view for material through Standard Function

    hi,
    I have created the material code through BAPI_MATERIAL_SAVEDATA. For quality inspection i have used BAPI_MATINSPCTRL_SAVEREPLICA. i have to create classification view for that material code. Can anyone suggest me which standard function helps me to create the classification view.
    Thanks in advance.
    Senjey

    hi,
    i have tried that function module. I have mentioned the code below.
    i_object = '000000151860630000'.
    i_alloc_num-CHARACT = 'THICKNESS'.
    i_alloc_num-VALUE_FROM = '5.70'.
    append i_alloc_num.
    i_alloc_char-charact = 'SHAPES'.
    i_alloc_char-VALUE_CHAR = 'PLATE'.
    append i_alloc_char.
    clear  i_alloc_char.
    i_alloc_char-charact = 'CATEGORY'.
    i_alloc_char-VALUE_CHAR = 'CS'.
    append i_alloc_char.
    clear  i_alloc_char.
    CALL FUNCTION 'BAPI_OBJCL_CREATE'
      EXPORTING
        OBJECTKEYNEW            = i_object
        OBJECTTABLENEW          = 'MARA'
        CLASSNUMNEW             = 'RAWMATERIAL'
        CLASSTYPENEW            = '001'
      STATUS                  = '1'
      STANDARDCLASS           =
      CHANGENUMBER            =
      KEYDATE                 = SY-DATUM
      NO_DEFAULT_VALUES       = ' '
    IMPORTING
      CLASSIF_STATUS          =
      TABLES
        ALLOCVALUESNUM          = i_alloc_num
        ALLOCVALUESCHAR         = i_alloc_char
        RETURN                  = i_ret.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT = 'X'.
    But i am getting the error 'Assignment exists and is valid '.
    Please help.
    Regards,
    Sengathir.J

  • How  to create classification view for material?

    HI All,
    How to create classification view for material? is there any function  module?
    pls let me know.
    Bandi

    check the standard include "LCLBPAU14" this is using the following F.M
    call function 'BAPI_OBJCL_CREATE'
    exporting
    objectkeynew = l_object
    objecttablenew = l_objecttable
    classnumnew = classnum_new
    classtypenew = l_classtype
    status = status
    standardclass = standardclass
    changenumber = changenumber
    keydate = keydate
    no_default_values = no_default_values
    importing
    classif_status = classif_status
    tables
    allocvaluesnum = allocvaluesnum
    allocvalueschar = allocvalueschar
    allocvaluescurr = allocvaluescurr
    return = return.

  • Classification view for material

    Hi all
         I am creating materials using BAPI_MATERIAL_SAVEDATA. I need to fill the characteristics values of the material also.
    Can anyone please tell How to create the Classification view for material  using BAPI_MATERIAL_SAVEDATA.
    Thanks
    Neelima.

    Hi,
    1. First create the material using BAPI_MATERIAL_SAVEDATA.
    2. Create classification using bapi BAPI_OBJCL_CREATE
    Create the classification
        call function 'BAPI_OBJCL_CREATE'
          exporting
            objectkeynew    = v_object
            objecttablenew  = c_mara
            classnumnew     = wa_temp-klart
            classtypenew    = wa_temp-classtyp
          tables
            allocvalueschar = i_bapi_char_tmp
            return          = i_bapi_return.
    Thanks
    Subhankar

  • Characteristic in classification view for a material in MM03

    Hi All,
    how to get  value assigned to a characteristic for a given class and characteristic in classification view for a material in MM03 transaction ?    
    Thanks,
    Rakesh.

    Then
    i have tried and it worked fine
    you should also try
    Go to MM03
    go to  classification view of your material
    chhose the class type you want to view
    and then from Enviroment
    Choose Change documents
    Regards

  • Batch Classification Screen for Goods Movements

    SAP Gurus,
    Very recently (24. April), we experience the following issue: (PP-PI Process Order)
    At the moment of process order confirmation, for any new batch assigned in the good movement overview, there's no pop-up of batch classification screen which allow our user to entry the classification data. And this functionality works fine in the past.
    Do you have an idea that how it happens? We checked the configuration OMCV and master data as well, the settings are all fine to me.
    Best regards,
    Vincent

    Dear Vincent,
    I think you talk about the 101 movement, don't you? In this case this is not possible at all, check SAP note  85310
    Because goods movements can be decoupled from confirmations and          
    processed in background, it was decided that this functionality would    
    not be implemented; therefore this is Standard R/3.                      
    Solution                                                                 
    As a work around for this you have the following options:                                                                               
    1.  Classify your batch manually through Batch Master Maintenance.                                                                               
    2.  Turn off automatic goods receipt and classify your batch through the 
        pop-up that is presented during MM goods receipt.                                                                               
    3.  Do not create your batch during Order Processing. Instead have the   
        system create it during confirmation and at this time you will be    
        able to classify your new batch from the Goods Movement screen       
        COMPONENT>BATCH MANAGEMENT>CREATE BATCH.                                                                               
    Note :                                                                   
    If you want that your batch is classified in the background you can set  
    in the transaction OMCV (classify batches within goods movement          
    overview) that the classification is to happen in the background. You    
    can then utilise the user exit EXIT_SAPMM07M_004 to valuate the          
    characteristics if it is valid for                                       
    your release.                                                            
    Regards,
    Sabine

  • Extend Classification View for Material Master

    Hello, How do I extend classificiation view for Material Master? Is there any BAPI or FM to do that?
    I cant find any place to extend it with BAPI_MATERIAL_SAVEDATA

    Hi,
    Use this FM to create Classfiaction view BAPI_OBJCL_CREATE
    Regards,
    Shan

  • Copy of Material Master charac. values to the batch classif. in GR for PO

    Dear gurus,
    Could you please help me with the following issue. I have a material managed in batches, and it has a classification type 023 in material master. I fill one chaacteristic of this classification with some value. Now I want this value to be copied to the batch classification during the creation of new batch while making GR to production order.
    Is it possible?

    Hi Nikolaj,
    What I am understand your requirement is like,
    You want to fetch the value of Characteristic maintain in Batch class in Material master to the Batches, correct?
    But my Friend if you maintain value of characteristic in Batch Class in material master then it will works as a validation.
    For Example,
    Suppose your Characteristic is Colour and in Material Master Batch classification view you have maintain value as Red.Then system will not allow you any other colour in Batches.You will find that value in Drop Down list.
    Regards,
    Dhaval

  • Change documents for Classification View

    Hi,
    Can anyone please tell me how to activate Change documents for the Classification view of material master.  if we activate that one what will be consequences?
    Thanks in adavance

    CHANGING CLASSIFICATION VIEW FOR MATERIAL USING BAPI
    ->CREATE CHARACTERISTIC USING TCODE CT04
    ->CREATE CLASS USING TCODE CL01 .
    -> RUN THIS PROGRAM TO CHANGE THE CLASSIFICATION VIEW
    PARAMETERS: P_MATNR TYPE MARA-MATNR. "MATERIAL
    DATA: OBJECTKEY TYPE BAPI1003_KEY-OBJECT,
    OBJECTTABLE TYPE BAPI1003_KEY-OBJECTTABLE,
    CLASSNUM TYPE BAPI1003_KEY-CLASSNUM,
    CLASSTYPE TYPE BAPI1003_KEY-CLASSTYPE,
    ALLOCVALUESNUMNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_NUM WITH HEADER LINE,
    ALLOCVALUESCHARNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_CHAR WITH HEADER LINE,
    ALLOCVALUESCURRNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_CURR WITH HEADER LINE,
    RETURN TYPE TABLE OF BAPIRET2 WITH HEADER LINE.
    OBJECTKEY = P_MATNR.
    OBJECTTABLE = 'MARA'.
    CLASSNUM = 'MTS_CABLE_BIN1'. "CLASS(CREATED USING CL01)
    CLASSTYPE = '023'. "CLASS TYPE (023 FOR BATCH)
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
    EXPORTING
    OBJECTKEY = OBJECTKEY
    OBJECTTABLE = OBJECTTABLE
    CLASSNUM = CLASSNUM
    CLASSTYPE = CLASSTYPE
    STATUS = '1'
    STANDARDCLASS =
    CHANGENUMBER =
    KEYDATE = SY-DATUM
    NO_DEFAULT_VALUES = ' '
    IMPORTING
    CLASSIF_STATUS =
    TABLES
    ALLOCVALUESNUMNEW = ALLOCVALUESNUMNEW
    ALLOCVALUESCHARNEW = ALLOCVALUESCHARNEW
    ALLOCVALUESCURRNEW = ALLOCVALUESCURRNEW
    RETURN = RETURN
    LOOP AT RETURN.
    WRITE: / RETURN-TYPE ,RETURN-MESSAGE.
    ENDLOOP.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT =
    IMPORTING
    RETURN =
    BY VENKAT

  • Classification view creation via LSMW for Material master

    Hi,
    We are planning to have an LSMW for creation of material master along with classification view for configurable materials.
    Though we see a flag to indicate classification view  - XEIC1                        Indicator: take Classification view into account
    We do not see a structure where in we can pass all the characteristics and the corresponding values.
    Is this something possible only with BAPIs such as -> BAPI_OBJCL_CREATE after creation of other view for that material.
    Regards,
    HR

    Hi,
    Thanks for the response. This is helpful.
    However, we were intending to use a single LSMW for creation of all views of material master including classification view. Right now we are using Program RMDATIND as direct input method in LSMW.
    Please let me know if there is a way to use single LSMW for creation of all views of material master.
    Thanks
    HR
    Edited by: Hema Rao on Jan 8, 2009 7:58 AM

  • 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 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

  • Report: Classification view of material master

    Hi,
    We have activated Batch management for materials.
    But for certain material codes, users have not maintained the Classification view.
    Is there any report by which we can knowu2019 whether classification view for the material have been maintained or not?

    Hi,
    Check with MM50 with Maintenance status as C
    Regards,
    Biju K

  • Transfer of material master data with Classification view

    Dear Experts
    I want to transfer material master data between R/3 using ALE. We are able to send master data using BD10 without classification view.
    Please let me know in detail the configuration, steps invloved in sending materail master along with classification view.
    Regards
    Samal

    HAI FRIENDS,
    CHANGING CLASSIFICATION VIEW FOR MATERIAL USING BAPI
    ->CREATE CHARACTERISTIC USING TCODE CT04
    ->CREATE CLASS USING TCODE CL01 .
    -> RUN THIS PROGRAM TO CHANGE THE CLASSIFICATION VIEW
    PARAMETERS: P_MATNR TYPE MARA-MATNR. "MATERIAL
    DATA: OBJECTKEY TYPE BAPI1003_KEY-OBJECT,
    OBJECTTABLE TYPE BAPI1003_KEY-OBJECTTABLE,
    CLASSNUM TYPE BAPI1003_KEY-CLASSNUM,
    CLASSTYPE TYPE BAPI1003_KEY-CLASSTYPE,
    ALLOCVALUESNUMNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_NUM WITH HEADER LINE,
    ALLOCVALUESCHARNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_CHAR WITH HEADER LINE,
    ALLOCVALUESCURRNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_CURR WITH HEADER LINE,
    RETURN TYPE TABLE OF BAPIRET2 WITH HEADER LINE.
    OBJECTKEY = P_MATNR.
    OBJECTTABLE = 'MARA'.
    CLASSNUM = 'MTS_CABLE_BIN1'. "CLASS(CREATED USING CL01)
    CLASSTYPE = '023'. "CLASS TYPE (023 FOR BATCH)
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
    EXPORTING
    OBJECTKEY = OBJECTKEY
    OBJECTTABLE = OBJECTTABLE
    CLASSNUM = CLASSNUM
    CLASSTYPE = CLASSTYPE
    STATUS = '1'
    STANDARDCLASS =
    CHANGENUMBER =
    KEYDATE = SY-DATUM
    NO_DEFAULT_VALUES = ' '
    IMPORTING
    CLASSIF_STATUS =
    TABLES
    ALLOCVALUESNUMNEW = ALLOCVALUESNUMNEW
    ALLOCVALUESCHARNEW = ALLOCVALUESCHARNEW
    ALLOCVALUESCURRNEW = ALLOCVALUESCURRNEW
    RETURN = RETURN
    LOOP AT RETURN.
    WRITE: / RETURN-TYPE ,RETURN-MESSAGE.
    ENDLOOP.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT =
    IMPORTING
    RETURN =
    BY VENKATESWARAREDDY D
         MYTEC SOFT LTD

Maybe you are looking for

  • Urgent help needed; Database shutdown issues.

    Urgent help needed; Database shutdown issues. Hi all, I am trying to shutdown my SAP database and am facing the issues below, can someone please suggest how I can go about resolving this issue and restart the database? SQL> shutdown immediate ORA-243

  • Problem with Photoshop CS5. Memory and Harddisk spaces

    Just got CS5 Master Suite. Whenever I open photoshop it takes a ton of memory 1 gig +. When I open files it takes up more and more until it takes up all my memory and hard disk space. I open a simple multi layered file that is 25 megs in size to work

  • Creation of Inbound delivery thru LSMW

    Hi all I would like to create inbound delivery (IBD) thru LSMW with three fields like PO number, line item and quantity. Kindly guide me how to create it? Thanks in advance Krupa

  • Sub Events?

    I love this new Events grouping of photos, but am now wondering if I can do more with it. At the moment I have 2 events which have sub-events within them: 1. Spain & Portugal Trip, I went on a 14 day trip to 8 different cities. At the moment I am sep

  • Why are we still getting IEEE 1394a • VIA VT 6308P chipsets????!!!!

    Why is it we are still getting redundant IEEE 1394a controllers(400mb/s) on the latest motherboards rather than the newer IEEE 1394b controllers(800mb/s)? This is stupid... the 1394b ports have been around for more than 6 months, there are many suppo