Delete Material Class

Hi Freinds,
Is there any Tcode in SAP to delete a material class for particulaer materials other than MM02. Since in MM02 in BDC recording I am facing issue in selecting required class as it may be in any position and I need  to do it only through BDC.
Thanks in Advance,
Meenu.

use CL04 tcode for delete the class
or
you can delete the class in CL02 tcode using BDC
   PERFORM bdc_dynpro      USING 'SAPLCLMO' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RMCLM-CLASS'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'RMCLM-CLASS'
                               wa_unit-class.
      PERFORM bdc_field       USING 'RMCLM-KLART'
                                    wa_unit-klart.
      PERFORM bdc_dynpro      USING 'SAPLCLMO' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RMCLM-CLASS'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_dynpro      USING 'SAPLCLMO' '7777'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=CLLO'.

Similar Messages

  • CLFMAS: Change only 1 caracteristic in a non-local material class

    I try to modify a material's classification with CLFMAS.
    I would like to change only one characteristic. The others ones must keep their old values.
    CLFMAS erases everything, and I just have the new value of the caracteric I would change.
    I use a non-local class.
      Thanks in advance for your help.

    We have the same issue just come up last night.   A test on one class last week yielded the 2 record change history model (old value deleted, new value created).  Applying the same change to a different material class, we get only the single record model - no help or oss notes seem to mention that there are two different change history models in SAP.
    CHECK THIS -- check your single record change log in table CDPOS ... you may have values in both value_old and value_new fields there.  The 2 record model stores value_old on the "deleted" record and value_new field value on the "created" record.
    That still does not answer why there are two models and how one controls which model is implemented for change history on a class/characteristic ... but it sheds just a little more light on it.

  • Change Documents for Material Class

    Hi,
    I activated the change logging for a specific Material Class. However, when I check the change log, there is a material class which will show the characteristic change in the following format. For example I modified characteristic ABCDEF from 1 to 2. The log will show the following:
    Document Number 099999
    ABCDEF - 1       Deleted
    ABCDEF - 2       Created
    There are other class types/characterisitcs whose change logging is also activated but the change log will only show the "Created" part. The old value (before change) is not shown.
    Document Number 088888
    ABCDEF - 2       Created
    How do I turn on the logging in such a way that the deleted value (old value) will always be shown in the log ?
    Thanks

    We have the same issue just come up last night.   A test on one class last week yielded the 2 record change history model (old value deleted, new value created).  Applying the same change to a different material class, we get only the single record model - no help or oss notes seem to mention that there are two different change history models in SAP.
    CHECK THIS -- check your single record change log in table CDPOS ... you may have values in both value_old and value_new fields there.  The 2 record model stores value_old on the "deleted" record and value_new field value on the "created" record.
    That still does not answer why there are two models and how one controls which model is implemented for change history on a class/characteristic ... but it sheds just a little more light on it.

  • How to restrict Material Class in Sales Contract Doc

    Hi,
    I need to restrict Material Class in Sales order based on Item catagory, Material group4 and Sales contract Document type.
    If the above 3 fields having a particular value then the system should restrict all the other classes of that material and display only a particular class and it's related characteristics.
    If any one come across such a senario then pklease let me know.
    Regards
    Ajay

    Hi,
    You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
    how to restrict material master by material type  t-code MM01
    Hope this helps!!
    Regards,
    Raghu

  • Material Class 001 - Characteristics not comming at the time of GR

    Hello,
    I am trying to use material class 001 in material.
    I have created Characteristics and assigned to Class (001) and have attached this class to Material.
    But when I do Goods Receipt of PO, I do not see any tab with classifications.
    I have also tried activating batch (as some say that I have to activate batch to get the characteristics at the time of GR) but this does not help.
    Please let me know, how can I get the characteristics to get populated at the time of GR.
    Regards
    Prabhjot Singh
    Edited by: Prabhjot Singh Nayyar on Sep 9, 2010 5:35 PM

    Prabjhot,
    I have a group of materials "Bicycles".  Within this group, there are 5 material numbers, BIKE1, BIKE2, BIKE3, BIKE4, BIKE5. Each one of these is sold as a separate item to the customers.
    Now, my customer service group is having a hard time entering orders.  They can never remember which one contains which combinations of colors and Derailleurs.
    I create a class 001 BICYCLES and assign two characteristics, "COLOR" "DERAILLEUR".  Possible color values are "RED", "BLUE", "SILVER".  Possible DERAILLEUR values are "10SPEED" and "12SPEED".  I then assign the materials to the class, and enter values for each of the 5 material numbers.
    Now, when Customer service wants to find out which MATERIAL to enter into their sales orders, they can look up all the MATERIAL numbers that have specific MATERIAL based characteristics:  Blue/10 speed; Red/12 speed, etc etc.
    Later on, my Quality manager approaches me.  For one material BIKE1, which is a Blue/10speed,  I have 3 different factories where I build them.  The resultant bikes are virtually identical from each factory.  However, the manufacturing methods in each factory are different.  My Quality manager wants to determine accurately the source of each manufactured bicycle, so that he can track warranty liability and issue recalls if necessary.
    I create a BATCH class type 022 and assign 2 characteristics "MAN_PLANT" and "YEAR" I create several batches: "PARIS2010", "ROME2010", "LONDON2010":  In the batches I assign the appropriate values:  MAN_PLANT "PARIS", in another "ROME", and another "LONDON"; in all three I enter the value for year as "2010",  I activate Batch management.
    Now when I complete my Production orders, the three plants each receive their production into stock, but now they must enter a batch.  The batches they enter upon receipt identify the manufacturing plant and year of manufacture.  In my central warehouse, I now have BIKE1 stocked and sold under 3 batches: PARIS, ROME, LONDON.  My quality manager is pleased.
    I am rewarded with more work.
    Best Regards,
    DB49

  • DELETE MATERIAL PERMANENTLY FROM MATERIAL MASTER

    Dear All,
       I want to DELETE MATERIAL PERMANENTLY FROM MATERIAL MASTER it has stock but no open statement like po ,gr etc when i flag the material in t-code mm06 and filling all the recquirement field then enter then tick all recquirement field then save a warning message delection flag also change at lower level then enter it shows delection flag changed but this material is issued to cost center . pls explain me points must be rewarded.
    Amin

    hi ameen!
      u change the warning message into an error message in IMG>MATERIAL MANAGEMENT>INVEN>DEFINE ATTRIBUTES FOR SYSTEM MESSAGES. message no M7127.

  • Delete Material Document

    Dear All,
    Is there any way to delete material document in the test client permanently.
    Regards,
    qsm sap

    MBAD can only delete documents that are contained in an archive.
    Instead of this single transactons, execute SARA, enter MM_MATBEL as object and hit enter.
    Now you get a couple of buttons, that need to be processed from top to down.
    But first you have to customize the object. you have to define where you want store the archive, after how much records you want close an archive file and create a new one.
    details can be found in the docu:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/8d/3e5d37462a11d189000000e8323d3a/frameset.htm

  • Material Class in t-code MM03

    Dear All,
    I see that there is a fiedl in T-code MM03 in tab "Sales:General/Plant" named "Matl Class" in the bottom of the tab.
    I wonder what is this material class?
    When i try to see the technical source (table-field) for this material class,it shows a struture.
    How can i know where this material class is stored in which table of MM?
    Please suggest.
    Thanks in advance,
    Swati

    Please check these answered links:
    Material Class
    material class(CLASS) and class type (KLART)
    Material Class 001
    Material with class
    Edited by: Afshad Irani on May 5, 2010 11:57 AM

  • Material class with " numeric format" in charaterstic store in which table

    Hi ,
    We had maintained material classification with "Material Class" , in charaterstic we have taken "Numeric format value" and we are giving this value manually in material when creating the material . These values will store in which table . Numeric value of charaterstic store in which table .

    Hi,
    Check table CAWN-ATFLV for numeric and CAWN-ATWRT for character type.
    u can check ATFLV field in AUSP also for numeric type and ATWRT for character type characteristiv
    Vijeta

  • Deleting RFC classes from model

    Hi,
    I need to delete RFC classes from a model. The model is used in a different DC and I wouldn't like to remove all the references to the model as the risk to mess everything up seems high.
    However my RFC classes are never used, I would like to delete just them all, but the delete context menu item is disabled.
    Can anyone help?
    Thanks, points will be awarded
    Vincenzo

    Hi,
             One of the possibility I see is, double click on the model class and in properties pane check the path and physically remove the class from file system level. But try this on a sample project and see if there are no build errors. I don't think just leaving the model class like that will  make any difference in performance.
    Regards
    Ramesh.

  • Material Class as COPA Characteristcs

    Dear All,
    Can anybody guide me on how to create material class characteristics as COPA characteristcis so that the same can be updated in COPA. The same are not available in the tables which are available for creation of COPA characteristics.
    Best Regards
    Manu

    Hi Santosh,
    I have already done this. In fact, I am facing problems with the derivation rules. I have tried using table lookup option in the derivation rule but the source fields like Internal characteristic, Characteristic value counter, Indicator: Object/Class,Class Type, Internal counter for archiving objects via engin. chg. mgmt are also required to be created as CO-PA characteristics and derivation of the same is again creating a problem.I have used Table AUSP for the same.
    can u guide me further on this issue.
    Best Regards
    Manu

  • Material Class-001

    Hi
    Anyone please let me know when we will be using the class type 001(Material class) and what is the use of material class.

    Hi,
    If u wants to describe the materials with its different characteristics for that u have to define characteristics, class and assign its to material master.
    Also u can use the values of characteristics for different reports
    ex If u want to define any gas or liquid u have to assign characteristics with class
    Regards,
    Nilesh
    Edited by: nilesh ithape on Mar 16, 2009 11:23 AM

  • Material class functionality

    Hi Experts
    I wish to use the classification  for evaluating the technical specifications of a mechanical item in quotation.
    Can I maintain different valiues for the characteristics of material class in each quotation and compare the technical evaluation of vendors?
    warm regards
    ramSiva

    Thanks for the replies folks. I was afraid this might not be available yet. I wonder why though.
    If I had SAPlink installed, I'd upload a class that I've been developing. ZCL_MAKE_MATERIAL_BAPI
    Unfortunately, everyone lives in fear of our BASIS group and I haven't been brave enough to buck them.
    Here's a list of the methods I created for the class:
    CALL_BAPI
    FILL_DESCRIPTION
    FILL_HEADDATA
    FILL_MARA_DATA
    FILL_PLANTDATA
    FILL_SALESDATA
    FILL_STORAGELOCATIONDATA
    FILL_UNITSOFMEASURE
    FILL_VALUATIONDATA
    LOCK_ZMM_BAPI_TRACK
    UNLOCK_ZMM_BAPI_TRACK
    GET_TRACK_STATUS
    ADD_ZMM_BAPI_TRACK_RECORD
    CALL_BAPI_WITH_STAT_CHECK
    The class is a bit "solution specific" to my current project. But, it's reduced using the BAPI to a simple task of passing parameters.
    It's too bad that there isn't a way for all of us to share things like this.

  • Steps for delete material from system

    hi , all sap pp experts
          in material master by using mm06 we give deletion flag for material but system can't delete that material. So is it possible to delete material from system? if yes then please tell the sequence for this process
    thanks in advance
    regards
    Nitin Nerkar

    Before Archiving the Material Master the materials need to be flagged for deletion in T Code MM06/MM16.
    Archiving the materials is done thro T Code SARA. All the SAP archive functions are shown in SARA. Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.
    When a material is no longer required in a company or plant, you can archive and delete the material master record.
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    Archiving object MM_MATNR for archiving material master records.
    To archive the material master, first go to transaction SARA
    Type in a variant name and click Maintain. (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Go to Job Overview to check the archive status.
    To do a permanent delete, click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Go to Job Overview to check the delete status.
    This need to be done carefully and better to first do it in testing client.
    After archiving those materials will not be displayed in reports unless categorically selected
    Note: SARA is a general transaction where you can archive all types of records using respective archiving object

  • Delete Material in MDG/Delete UI in MDG

    Hi All,
    I have created a rule based workflow(2 step) for CR - DELETE.
    The ACTIVATE funcitona is successful however the MATERIAL is not got deleted.
    I am not able to see any option to delete the MATERIAL at client, the DELETE (MM06) interface is not available in MDG.
    Can somebody pls share if there is any material on "Hot to DELETE a Material" in MDG or how the delete works in MDG.
    Regards
    Suresh Ravilla

    Hi Suresh,
    Delete Material in MDG will not completely delete the material from the data base however, when the
    system creates a change request for deleting the chosen material. The change request enters the appropriate workflow and, once approved, results in the material being flagged for archiving in the next archiving run.
    You can see the material mark for deletion ->Go in SE11 tcode--> MARA Table-> Mark for deletion flag field LVORM = 'X'.
    so, when LVORM  flag field is marked as 'X', it indicates item has been marked for deletion through governance.
    Hope it helps.
    Regards
    Prateek Agarwal

Maybe you are looking for