Creation of classification view in mm01

Hi Friends,
I want to create classification view for Tran: mm01 , What bapi should iused.
Thanks,
Asha

BAPI_OBJCL_CREATE / BAPI_OBJCL_CHANGE
regrd
anjali

Similar Messages

  • Help for creating classification view in mm01

    hi guys can anybody help on creating classification views in mm01 using bdc recording i need a step by step procedure . since when i tryed in mm01 there are filds like class name i dont know where all these data's to find one more thing is i was asked to create classification view using bdc recording ...please help me with some programs if u have

    Hi,
    You need to use the BAPI 'BAPI_OBJCL_CREATE' to create characteristics for a material.
    The characteristics are need to be passed in the table ALLOCVALUESCHAR.
    If you do not know the values for a particular characteristics then you canmake use of FM
    BAPI_CLASS_GET_CHARACTERISTICS and BAPI_CHARACT_GETDETAIL to get the values.
    Regards,
    Ankur Parab

  • Error:While creation of Classification view using-'BAPI_OBJCL_CREATE'

    Hi all,
    I am using function module -
    CALL FUNCTION 'BAPI_OBJCL_CREATE'
      EXPORTING
        OBJECTKEYNEW            = OBJECTKEYNEW1
        OBJECTTABLENEW          = 'MARA'
        CLASSNUMNEW             = CLASSNUMNEW1
        CLASSTYPENEW            = CLASSTYPENEW1
      STATUS                  = '1'
      STANDARDCLASS           =
      CHANGENUMBER            =
      KEYDATE                 = SY-DATUM
      NO_DEFAULT_VALUES       = ' '
    IMPORTING
      CLASSIF_STATUS          =
      TABLES
      ALLOCVALUESNUM          =
        ALLOCVALUESCHAR         = ALLOCVALUESCHAR1
      ALLOCVALUESCURR         =
        RETURN                  = RETURN1
    for creation of classification of material.But it gives me afollowin errors -
    1)Assignment does not exist or is not valid on
    2)Table   not supported for class type
    3)Assignment was not created
    in return table.
    Thanks.

    Hi,
      Please follow the below steps.
    Creating the Classification View using the Function module 'BAPI_OBJCL_CREATE'.
    Check the Class Type and Class Number which you are passing.
    Generally it will be Class type - 001 (Material Class) and Number will be ENGINEERING.
    It depends.
    But, what you can do is, Check material which has classification data filled.
    And just use the same class Type and Class Number Details.
    Try this way.It should work.
    To know the Available Class Types refer to table TCLA.
    Please let me know, if you want further help.
    Thanks & Regards,
    Vamsi.

  • Classification view in MM01 with LSMW

    Hi all,
    I am trying to upload Material Master data from LSMW using Direct Input method.
    When I am using Direct Input method, I am not able to find fields such as KLART and CLASS_01 regarding Classification View(3rd view).
    So I tried Batch Recording , still that data is not posting instead giving the message : "No data for the screen"
    Is there any way to upload classification of material details?
    Any ray of hope will be appreciated.
    Thanks in advance.

    Hi,
    Classification is a cross-application component and so it can be associated with any object, be it a material or a work center or a BOM etc. It treats everything as an object and is identified with the object key.
    So you will create the objects first(materials, work centers etc), and then assign classes to them with some characteristic values. Now most of the online transactions combine these two activities into one and so you will be able to create a material and also create its classification view at the same time in MM01. But programatically there is no single such utility to do them together. You have to load your material masters first and then your classification using two different LSMW objects.
    Hope this helps,
    Srinivas

  • Creation of Classification View in Material Master

    Hi,
    I need to create Classification View for a Material. The user would provide the data in the file, example
    Material Number MATNR
    Class type TCLA-KLART
    Class Type description TCLAT-ARTXT
    Class Group TCLG-KLAGR
    Class Group Description TCLGT-KTEXT
    Class M_CLASB-CLASS
    Class Description M_CLASB-CSCHG
    Status RMCLF-STATU
    Std class RMCLF-STDCL
    Characteristics Group TCMG-ATKLA
    Characteristics Group Description TCMGT-ATKLT
    Characteristics RCTAV-ATNAM
    Characteristics Description CABNT-ATBEZ
    I read in the posts there is BAPI_OBJCL_CREATE. But I am not able to Map the above fields to pass to this BAPI.
    Can someone please suggest me how to do this..
    Thanks and Regards,
      Vanessa

    Hi,
      Thanks for the suggestion. But i want to do this through a program. There is a selection screen with 6 radio buttons based o view to be created and an input field for the filename.
    Could you provide me any BAPI to do the same.
    Thanks and Regards,
      Vanessa

  • Problem While Creating Classification View in mm01

    Hi Friends,
    I have useing 'BAPI_OBJCL_CREATE' for creating Classfication View
    I am passing   mat no,  class , class type ..
    How can i find  characteristic values  for  particular Class..
    Means How can i find values which r passed through
    ALLOCVALUESNUM , ALLOCVALUESCHAR, ALLOCVALUESCURR  tables
    I have code like this
    {  CALL FUNCTION 'BAPI_OBJCL_CREATE'
              EXPORTING
              OBJECTKEYNEW            = P_MATNR
              OBJECTTABLENEW          = 'MARA'
              CLASSNUMNEW             =  IT_MATMAS-CLASS
              CLASSTYPENEW            =  IT_MATMAS-KLART
            STATUS                  = '1'
            KEYDATE                 = SY-DATUM
            TABLES
            ALLOCVALUESNUM          =
            ALLOCVALUESCHAR         =
            ALLOCVALUESCURR         =
              RETURN                  = IT_RETURN2.

    Hi,
    You need to use the BAPI 'BAPI_OBJCL_CREATE' to create characteristics for a material.
    The characteristics are need to be passed in the table ALLOCVALUESCHAR.
    If you do not know the values for a particular characteristics then you canmake use of FM
    BAPI_CLASS_GET_CHARACTERISTICS and BAPI_CHARACT_GETDETAIL to get the values.
    Regards,
    Ankur Parab

  • QM-Assign inspection plan to a variant of material (classification view)

    Hello,
    Inspection plans are commonly assigned to materials.
    In my case, I would like to manage, in <b>Classification view</b> (MM01), a new characteristics named "Variant" that could have 2 or more values, depending on which variant I order to my supplier.
    <b>But is it possible to assign an inspection plan at this sub-level ?</b> In QP01 the only possibility I see is assigning a material to the inspection plan. Can I customize something, or does it exist a trip to manager another level of assignment ?
    Thanks a lot for your help !
    Emilie

    Hi Emilie,
    Now I understood your requirement. But I would like to know the exact purpose of this requirement so that I can try to give you correct solution.
    I will consider your example:
    Material : 123
    Classification: Inspection
    Characteristics 1: Variant 1 for Inspection 1
    Characteristics 2: Variant 2 for Inspection 2
    Selection of inspection plan takes place during the creation of inspection lot. So now you have to link this material/classifcation/inspection plan combination at the time of inspection lot creation. I doubt whether this can be done using one user exit.
    The user exits are
    EXIT_SAPLCZCL_001
    EXIT_SAPLCZDI_001
    EXIT_SAPLCZDI_002
    Please let me know whether it helps.
    WR,
    Sanjeev
    Message was edited by: Sanjeev
    Selection of inspection plan takes place during the creation of inspection plan
    changed as
    Selection of inspection plan takes place during the creation of inspection lot
            Sanjeev

  • Classification view in Material Master

    Can any one tell me , how to create a Classification view using program or function module.
    I just wanted to create a Classification views in MM01 transaction . is there any function module there to create the same ?
    if BAPI_OBJCL_CREATE is the FM , then pls tell me how the following input parameters related to the material . from which table i can have the following parameter values based on material number .
    OBJECTKEY_IMP
    OBJECTTABLE_IMP
    CLASSTYPE_IMP
    READ_VALUATIONS
    Edited by: Prakash N on Jan 15, 2008 1:27 AM

    Dear All ,
    Thanks for your reply , I have passed the following value ,
    OBJECTKEYNEW             -      000000000000000925
    OBJECTTABLENEW          -       MARA
    CLASSNUMNEW              -       HLLBATCHCLASS
    CLASSTYPENEW             -      023
    STATUS                           -      1
    STANDARDCLASS
    CHANGENUMBER
    KEYDATE                         -      18.01.2008
    NO_DEFAULT_VALUES
    also im passing the characteristics
    Export  table giving the following result. But when i see the MM02 again i could not see these entries... y ?
    RETURN
                     Result:
    T ID                   NUM MESSAGE
    E CL                   731 Assignment exists and is valid

  • 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

  • Bdc for MM01 with classification view

    Hi all,
    I need to create materials using mm01 with classification view. since there is no bapi supporting this view, i am ding by bdc.
    The problem is in classification view once i give the class type and name a screen pops with caption
    characteristic value assignment, but theere are no charateristics displayed - wat values do i have to enter here >
    once i leave this screen the characteristics show up one after the other and i can load the details. but then while tryin to save error comes staing incnsisitent value assigned. wat do i ener in the intermediate screen t avoid this error.
    thanks

    hi when you are creating a classification view with characteristics.. you need to do all at once... you cannot modify..
    all you can do is delete the whole view and create with all the changed again.. I  dont memorize the BAPI .. but you have BAPIdelete.. BAPIadd..

  • How to get the list data in MM01/MM02 Classification view

    Hi,
    Anyone know the FM that we use for getting the list in Clasification View of MM01/MM02?
    Thanks,
    Alfred

    hii,
    U can use the below fm to get the classification view in MM02..
    CLFM_OBJECT_CLASSIFICATION
    CLFM_OBJECTS_CLASSIFICATION
    BAPI_OBJCL_CREATE_KEY
    CLFM_CLASS_CLASSIFICATION
    or if u want data from classificaton view then use this function module.
    CLAF_CLASSIFICATION_OF_OBJECTS
    Regards,
    Anil N.

  • Material master classification view mandatory

    Hi All,
    Can we make classification view required for any material creation using MM01. 
    We want the user to maintain a value in the classification view before the user is allowed to save and create a new material. 
    Any help would be greatly appreciated

    Hi SAP friends,
    I found a solution to this problem.
    Use the user exit EXIT_SAPLMGMU_001.  Call the function module MAIN_PARAMETER_GET to get the PSTAT (maintenance status) during material master creation.  If PSTAT does not have a 'C' value, then it means the classification view was not maintained.
    To check further if a class type and a class was maintained in the view itself, call the function module CLAP_DDB_ALLOCATION_FR_BUFFER.  Pass the value 'MARA' to the PTABLE parameter and the corresponding CLASSTYPE (could be '022', as is my case) and the I_CLASS ('FIFO_BATCH' in my case).  This function module will return the T_ALLOCATIONS table.  If the table is blank, it means no class type and class were maintained.
    Then you can just display the appropriate error message.
    Hope this helps.
    Aileen

  • How to get the values inputted by the user in Classification view of  MM02

    Hello,
    Does anyone know how to get the inputted values in Classification view of MM02/MM01? I tried to use CLAF_CLASSIFICATION_OF_OBJECTS but this gets the values that is currently saved in the tables and not the values that the user recently inputted in the screen.
    Regards,
    Alfred

    hi
    try this...
    How to Display the Batch Characteristics in BOM?

  • How to update/open Classification view of Batch in production Order

    Hi All,
       I have maintained the Class (023) and characterstics for Finished Material. When I am creating the production order, I am assigning new batch number in Production Order Header (Goods Receipt Tab). 
    In the background system is creating the Batch but not updating/opening the Classification view.
    Every time I required to go T code MSC2N and required to open the classification view manually.
    How to open the classification view during production order creation?
    Thanks,
    Shailendra

    Hi,
    You can only assign the Batch number in the production order, that meanas the said batch will get blocked and will not get saved in the Data base. You can enter the Batch number in the Production order and a while doing the GR you can make the system prompt the Classification view in the for ground so that you can enter the Characteristic values..
    For the above to pop-up you need to enter the Value "3" in the Batch Classification field of the Production Scheduling profile created for the Plant in the Tcode : OPKP.
    Please read the below information for additional inputs :
    Option to classify batches
    Specifies that the system branches to batch classification upon a goods movement or when you create or change a batch (not in the material master).
    Use
    If a batch is classified during a certain transaction or event, you can then use the batch determination facility to search for batches by class characteristics at the time of goods issue.
    Procedure
    If you work with batch classification, set this indicator for all receipt-specific movement types so that all existing batches are classified.
    Hope this will help you.
    regards
    radhak mk

  • Batch Determination in SD - Need for Material Master Classification View

    Hi!
    Is it mandatory to have the classification view of the material maintained to enable expiry date based batch determination at delivery creation?
    I have configured BD for the delivery. When testing with a material for which the classification view is maintained, the batch is determined. When testing with a material for which the classification view is <b>not</b> maintained, the batch is not determined.
    Appreciate that this may seem like a strange question given what the testing shows but I am working with a colleague who is adamant that the classification view on the material master is not required.
    Any casting votes would be much appreciated and rewarded accordingly. Thanks, Duncan

    Classification of batches is mandatory if you want to use the batch determination feature.
    source: http://help.sap.com/saphelp_erp2005/helpdata/en/4d/2b8bd043ad11d189410000e829fbbd/frameset.htm

Maybe you are looking for