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

Similar Messages

  • 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

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

  • 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

  • Pls help in creating cluster view

    Pls help in creating cluster view
    regards
    jindow

    Hi,
    Please try this and use BSEG as an example.
    1. Go to SE12.
    2. Enter BSEG
    3. Click Display button
    4. Go to Delivery and Maintenance' tab.
    5. You should be able to see Pool/cluster RFBLG.
    6. Double click RFBLG and then click Where-Used list button (CTRLSHIFTF3).
    7. Select Table option and click Execute button.
    8. System will show all the table that belong to this pool/cluster.
    For Pool/Cluster REGUC, it is only used in table REGUP.
    Look at the below link
    Re: Define view for cluster table?
    Regards,
    Priyanka.

  • Need help for creat apple id in iphone 5s

    need help for creat apple id in iphone 5s

    See this support document for instructions. http://support.apple.com/kb/HT2731

  • 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

  • Need help in creating a view with Encryption for hiding the code used by the multiple users

    Hi,
    Can anyone help me out in creating view with encryption data to hide the stored procedure logic with other users.
    I have create a stored procedure with encryted view but while running this manually temporary views are getting created, therefore the problem is if there are 500 entries then 500 temp views will get created.
    Any solution to aviod creating temporary views, please refer my code below
    USE [etl_validation]
    GO
    /****** Object:  StoredProcedure [dbo].[Pr_DBAccess_mod]    Script Date: 05/23/2014 12:53:22 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[Pr_DBAccess_mod](@ETL_CONFIG_ID INT)
    AS
    BEGIN
    DECLARE @openquery NVARCHAR(MAX),
     @DATABASENAME NVARCHAR(100),
     @HIERNAME NVARCHAR(100),
     @TABLENAME NVARCHAR(100),
     @SERVERTYPE NVARCHAR(100),
     @SERVERNAME NVARCHAR(100),
     @USERNAME NVARCHAR(100),
     @PASSWORD NVARCHAR(100),
     @ETL_CONFIG_IDN NVARCHAR(100);
     SET @ETL_CONFIG_IDN=CAST(@ETL_CONFIG_ID AS NVARCHAR);
     SET @TABLENAME='Department';
     SET @SERVERTYPE='SQL';
     SET @SERVERNAME ='192.168.31.176';
     SET @DATABASENAME='AdventureWorks2008R2';
     SET @HIERNAME = 'HumanResources';
     IF @SERVERTYPE='SQL'
     BEGIN
    /*SET @openquery= 'SELECT * INTO ##TestTable
                     FROM OPENROWSET(''SQLNCLI'',''server=192.168.31.176;Trusted_Connection=yes;'','''+@query+''')'
    SET @openquery=  'CREATE VIEW '+@TABLENAME+@ETL_CONFIG_IDN+
                     ' WITH ENCRYPTION AS SELECT * FROM OPENROWSET(''SQLNCLI'',''SERVER='+@SERVERNAME+';TRUSTED_CONNECTION=YES;'',''SELECT * FROM '+@DATABASENAME+'.'+@HIERNAME+'.'+@TABLENAME+''')'
    SELECT @openquery
    END
    EXECUTE sp_executesql @openquery
    END

    Hi aa_rif,
    According to your description and code message, you execute the sp_executesql statement in your stored procedure, it indeed create many views with a tablename and ETL_CONFIG_ID named. If you need not to use these temporary views, you can delete them when
    it contains the tablename in one view name.  
    In addition, if you want to create view with encryption in SQL Server, you can use directly the ENCRYPTION option to encrypt the T-SQL of a view in create view commands, for more information, see:
    http://learnsqlserver.in/4/Create-View-With-Encryption.aspx. if not, you can descript more detail about requriements, so that more forum members can involve into the thread and help you
    out. 
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • 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

  • I want to get the material master User-exits for the classification view

    Hi , All
      I want to insert new data in the classification view of material master date, and I want to check it. I cannot find the user-exit to realize it. Can someone help me ?

    I understand you want to create a new characteristic for a classification. If that is the case, then you could have checks on the characteristic value entered. You can go to tcode CT04, enter the characteristic and go to the value tab. You can assign allowed values for that characteristic. Going to Other Value Check in that view, you can also check the entered value against a check table or even create a function module for custom check.
    Hope this helps.
    Thanks
    Swagat

  • Create classification view with inbound MATMAS_BAPI iDoc

    Hi there,
    We receive material master data from our customers and create them in our SAP system using a MATMAS_BAPI mssage type.
    Now we should also create the classification view of the materials with a certain classification type and value.
    The MATMAS_BAPI message type does not have segments to create the classification view.
    Doe anybody know what the standard procedure is to achieve this?
    Thank you very much in advance.
    Kind regards,
    Tim

    classification is transported with CLFMAS IDOC.
    Classification is in general independend master data, that has its own area in the SAP menu and IMG.
    It is just an embedded functionality in manual material master maintenance.
    For data transfers it is an extra step and not included in MATMAS IDOC and BAPI.

  • Help to create Materialized View that has timestamp conversion

    I need help creating materialized view with timestamp conversion between GMT to LocalTime.
    Feel free to make any comments.
    Thanks in advance.
    jon joaquino;)

    Here is one way.
    1. Alter the table hist_table and add a new column pdt_timestamp.
    2. Update the new column using the function 'new_time'
    For example,
    Update hist_table
    set pdt_timestamp = new_time(gmt_timestamp,'GMT','PDT');
    3. create a materialized view log on the table 'hist_table' using the syntax
    create materialized view log on hist_table
    with primary key, rowid, sequence;
    4. create a materialized view now using the syntax:
    (You have to specify your own storage numbers and tablespace name)
    create materialized view mview_hist_table
    pctfree 0 tablespace mymview
    storage (initial 16k next 16k pctincrease 0)
    build immediate
    refresh fast on commit
    as select uid,gmt_timestamp,pdt_timestamp
    from hist_table;
    Please test on your test instance before doing it on production. I have tested this on Oracle 10g for Windows 2000. I assumed that column 'uid' is the primary key on the table. I hope this helps.
    **********************************************************

  • Please Help for Create Animated_Gif

    Hello All i recently Create a Animated Gif file for a Site and for creating it i have use 4 JPEG image and add all by Photoshop>Animation with Frmae time 4sec. When i have save it and set Dither 100% and Optimize 100% but now image show scattered .when uploaded on website please look at http://www.printsasia.com/
    Please suggest how to get Good Quality in GIF image.my all JPEG image has Good Quality
    Please Check all JPEG images

    First thing is you are mistaking the quality of jpg vs gif. There is no way to get the same quality as a jpg, it just does not have enough colors. If you took a jpg image and converted to grayscale, then it would have the same number of colors even though they all would be shades of gray. Gray is color so...
    Jpg does not support transparency, layers or animations which is why it is not a good candidate for web animations. If you need full color, full transparency, and/or animations then you amy want to consider flash. Currently it is the only format for the web that supports all 3 and layers.
    That being said, png does have a sister format for animations but is not supported in all web browsers.
    Another alternative is quicktime, or windows media. Each can play in a web browser if the plugin is installed they both support full color and transparency (the latter supported under certain circumstances {correct codec}) But not all users have either or both video players installed, so most of the time it will work, but there is that chance.
    The lastest version of HTML is suppose to support the quicktime format but I don't know enough about how well it is supported via HTML and the number of Browsers. But it is an option that is worth keeping an eye on.
    So for a gif file...
    Keep in mind that the entire file that includes all frames must maintain a maximum of 256 colors with 1 of the colors reserved for transparency. Which is the reason for harsh borders on a transparent edge of the image. Not enough shades for transparency to have a smooth gradation.
    Even though your second image may work fine, odds are the first image will not and will look as you put "scattered". Simply because each of those books are made up of multiple shades of that color times the number of colors needed for all the books, background, text, etc. Even the reflection effect for the text is made up of multiple shades of that color. So in reality it just does not have enough colors in the table to make the image look smooth.
    I hope this helps some, I am sure it is not quite what you wanted to hear, but if you do a bit of research or throw your hands up and say good enough. You will at least know why and it wasn't you to blame, it is the outdated technology of the gif format.
    Good luck at which ever way you decide to travel...

  • Is it possible to create all views in MM01 through ALE(MATMAS) ?

    Hi,
    I want to create all views(One or two may not require) in Inbound MATMAS through ALE. Is it possible ?
    Currently its creating only Basic data1 & 2,General Plant Data/Storage1 &2 ,plant stock.
    I didn't set any filter for any segments.
    Please don't post ALE or EDI document. I already have enough documents.
    Thanks,
    Narayan

    I solved by myself. Set PSTAT to whatever view you want.
    Thanks,
    Narayan

Maybe you are looking for

  • Setting HP53131 resolution in Labview

    I am trying to use my HP53131A couter to read a 400Mhz signal with a precision of 1/10th of a Hz. the couter is capable of this but with Labview the precision seems to be set a 4 digits and I cannot reset this. I need 10 digits of resolution. I am us

  • HOW TO TRANSFER PLAYLIST FROM PC TO IPHONE5

    someone know how to do that pls help me...some tips...!

  • What is wrong in this simple scritp? ORA-00936

    Hi, I created this simple script (for an Oracle 10g Express Application process) where I'm trying to copy one row from table EMPRESAS_ORGANISMOS to the table EMPRESAS_REVISADAS. Both tables have the same fields. ":P15_ID_EMP" is the text field that c

  • How to create a list of people you haven't emailed in 6 months?

    Wondering if anyone can help me out or point me in the right direction to accomplish the following: +Generate a list of all Contacts in AddressBook who have not received an email from me in the last 6 months.+ Is it possible to do a search across two

  • Looping through several records where some share a primary key.

    Can anyone help me write this code... (fix as is, or restructure). I'm trying to perform methods on various objects which share a primary key (as I iterate through them), then a final method when the last matching primary key is met (they are present