The Scenario: 1. There are different types of Materials which have similar descriptions 2.They can be differentiated from each other on the basis of various characteristics 3. Limitation of SAP on number of characters does not permit detailed description 4. The Characteristic values should form a searchable database 5. It should be possible to print this data on a Purchase Order Options Considered: 1. Create a Z Table and add the fields to Material Master Basic Data Screen. 2. Maintain Classification view of Material Master. Selection of Option: Since option 1 is non-standard way of configuration, Option 2 is considered to be preferable option. Base Data: Class Washer Bolt Connector Step by Step Procedure: 1. Start SAP and log in 2. Use Transaction Code CT04 to create all required characteristics Characteristics Inner Diameter, Outer Diameter, Material, Thickness Nominal Diameter, Length, Material, Thread, Type Inlet Diameter, Outlet Diameter, Material, Pressure, Connection Type Classification of Materials Documented by Tushar Sakhalkar Page 1 of 15 Come back to SAP Easy Access Classification of Materials Documented by Tushar Sakhalkar Page 2 of 15 . Similarly create as many Characteristics as required.3. 7. Enter required Basic Data 5. Enter the name of Characteristic and click on new (or through Menu Bar Characteristic Create) 4. Save the Characteristic. 8. Enter Values & restriction if applicable 6. 9. Enter the name of Class and click on new (or through Menu Bar Class Create) 11. Enter requisite Basic Data Classification of Materials Documented by Tushar Sakhalkar Page 3 of 15 . Use CL02 to create a Class 10. Save the Class 14.g. Classification of Materials Documented by Tushar Sakhalkar Page 4 of 15 . Inner Diameter. Material. Thickness) 13. Outer Diameter. Now. Go To Characteristics Tab and choose Characteristics as planned (e. you are ready to use the Class (WASHER) in your Material Master.12. Choose Classification view in Material Creation 18. Go To SAP Easy Access 16. If necessary from Menu Bar Extras Change Class Type and get Class Type that was chosen while creating the Class Washer. Enter mandatory fields and reach to Classification view 19.15. Classification of Materials Documented by Tushar Sakhalkar Page 5 of 15 . Use T-Code MM01 and enter 17. To Check / Use. 20. You should get screen showing relevant characteristics. Enter (or choose) Class Washer and enter. Classification of Materials Documented by Tushar Sakhalkar Page 6 of 15 . Save the Material To see the Materials under certain Class1. as this was maintained in Characteristic creation of Material through Values tab. Enter the data (The data will be validated as per the template given while creating the Characteristic) Where applicable.21.) 22. Enter the desired Class (here – Washer) and execute Classification of Materials Documented by Tushar Sakhalkar Page 7 of 15 . a drop list will be available in the form of Radio Buttons. (Here it is applicable for Material. Use T-Code CL6B 2. This can be alternative way other than the Material Master Route. CAWNT. Table where Characteristic Values are stored is AUSP. You will get output like- Other Useful Information about Classification: • • • Direct input data transfer program for Classification data . T-Code CL20N can be used to assign Class & Characteristics to materials (Objects). Classification of Materials Documented by Tushar Sakhalkar Page 8 of 15 .RCCLBI03. For details of this program CLICK HERE. Other linked tables are CAWN.3. CABN. Classification of Materials Documented by Tushar Sakhalkar Page 9 of 15 .Enter the values and save. Classification of Materials Documented by Tushar Sakhalkar Page 10 of 15 . Enter same material and go to CLASSIFICATION view.Go to MM03. delete class/object assignments -Create. The report first reads the whole file. In particular. To reduce processing time and memory use. no check (standard entry): The object is not locked and not checked. Check existence: The object is not locked. The system checks whether it exists. materials and batches for blass types 022 and 023 can be classified. The file is structured object by object from records for assignments and their valuations. and the ensure clarity. This error file can be corrected and then used as an input file. all records that relate to the object (assignments and valuations) are written in original format to an error file. This setting is not selected in Customizing. If an error occurs for an object. Object check Lock: The object currently being processed is locked for other users.Direct Input Program RCCLBI03 for Classification Data Short text Maintain Classification Data 1. no data is saved. then processes the data records object by object. change. Input parameters of the report Logical file name Logical name for the input file (standard setting CLASSIFICATION). No lock. existence is checked. delete valuations of assignments You can use this report to classify objects of all class types. even if only one valuation record contains an error. This means: -Create. change. The input file can be edited with reportRCCLBISC. In this case. 2. large data volumes should be distributed among several files. split for example by class type and assignment category. Description Program RCCLBI03 is a direct input report. delete class/class assignments -Create. Once all records for an object have been correctly processed. the input file is read from an application server or presentation server (frontend). Classification of Materials Documented by Tushar Sakhalkar Page 11 of 15 . change. the classification data for the object is saved immediately on the database. It classifies all objects that are contained in an input file. Storage location Depending on the settings. The report is not terminated if records of an object contain errors. It is created in Customizing and can be selected using the F4 help. Customizing: Basis -> System administration -> Platform-independent file name -> Maintain client-independent file name and path. 01 (94) Classification status: If no value is entered. 'X' : Indicates that the assigned class is the standard 01 (95) class 06 (96) Empty. 3. Validity If a change number is entered here. The file contains all data records that could not be processed.B. The field is used internally. These entries are only allowed if change management is set in Customizing for all class types in which the objects are classified. Check master data to find out the table (MARA. object category. Fields that are to be initial must remain empty and must not contain special characters such as '/'. all objects of the input file are classified with this change number. The assignment records do not have to be assorted by object. Input file format The file contains lines of assignment records (object/class or class/class) in format BIKSSK and valuation records (valuations of characteristics) in format BIAUSP. then class type. the list of objects is sorted by assignment category (class/class first. Field no longer used. The input parameters can be saved in variants. 18 (76) Class to which the object is to be assigned.) if necessary correct format. o o The valuation record must be direcly after its associated assignment record. the system leave this blank. You can enter the validity date for engineering change management with parameter validity (effectivity) here. This is done in the report: Before processing. object.Error file Name of error file in plain text (standard setting 'RCCLBI03. The file is stored on the computer used to read the input file: application server or presenatation server. KLART OBJEK CLASS STATU STDCL XLINE OBTAB Classification of Materials Documented by Tushar Sakhalkar Page 12 of 15 .error'). Enter the name alone or together with the complete path name. . If you do not enter a path. the file is stored on the user's home directory (or desktop). equipment). 30 (102) Object category (only for mafid=O ): If several object categories are allowed for a class type.. o Format for an assignment (BIKSSK) Field / Length(item) STYPE TCODE MAFID Value 01 (01) '1' : Assignment record indicator 20 (02) Empty. 50 (26) Name of object or class. Class name in plain text. 01 (22) Assignment category 'O' : for object/class assignments 'K' : for class/class assignments 03 (23) Class type in which the object is to be classified. Each line ends with a line break. not internal key from table KLAH. then class/object). materials.. (Previously: 'CL20' or 'CL22'). Remember leading zeros in purely numberical names (z. g. CHARACTERISTIC_20 2 .... CLASS_2 >> 2 . to 5 (locked by system). Notes Field STYPE: Characters other than 1 or 2 are ignored during import and can be used as comments for a line. In this case. the status is set to 1 (released). A record with the new value is sufficient. OBJECT_1 . CLASS_1 2 .. CLASS_3 2 . CHARACTERISTIC_30 2 .. the deletion record of the characteristic value must be entered in the external display (see example). In the case of values that have a value list or are of type character format or date. CHARACTERISTIC_10 1 . no BIAUSP records are needed to delete the valuations for these assignments.. Change characteristic valuation: One-value characteristics. OBJECT_1 .. If the existing assignment has a status other than 1.. OBJECT_1 . you do not need a deletion record for the old valuation. Here.. the system checks whether its characteristic valuations are consistent.. a deletion record must be entered. CLASS_2 2 . Format for a valuation (BIAUSP) Field / Length(item) STYPE XLINE ATNAM ATWRT LKENZ Value 01 (01) 06 (02) 30 (08) 30 (38) 01 (68) '2' : Indicator for valuation record Empty.. Sequence: If you create the BIKSSK records for an object for all classes to which the object is already assigned or is still to be assigned to. e. CHARACTERISTIC_11 2 . its related valuations are also deleted. If they are... CHARACTERISTIC_10 2 . Change assignment: The classification status is to be set to 1. 01 (132) Deletion indicator 'X' : Assignment is deleted... CHARACTERISTIC_30 1 . the characteristics do not need to be separated by class... CHARACTERISTIC_11 1 . CHARACTERISTIC_20 2 . CHARACTERISTIC_21 Delete assignment: If an assignment is deleted. Object dependencies: The object dependencies are always executed so that characteristic valuations can be changed even though a BIAUSP does not exist for them.. Neutral characteristic name Neutral characteristic value Deletion indicator 'X' : Valuation deleted ' ' : Valuation changed or created if it does not already exist.... For numerical values without restrictions... 'MARA' for class type 022/023. all BIKSSK recors and all BIAUSP records are grouped in one block. As a result. ' ' : Assignment is changed or created if it does not yet exist. OBJECT_1 . CHARACTERISTIC_21 2 . OBJECT_1 . If object dependencies that contain object characteristics or relate to object Classification of Materials Documented by Tushar Sakhalkar Page 13 of 15 . OBJECT_1 . CLASS_1 1 . In this check .. CLASS_3 1 . Multivalue characteristics: To swap a valuation.... the system recognized non-valuated required characteristics.. 1 . The field is used internally. if not.LKENZ the category from Customizing table TCLAO must be entered here. two records (delete and add) are always needed. TA O12A) or . material/batch/documents/. Error messages The report creates an error message if a function module returns an exception that displays an error. in class type 023.00 cm X 2 LENGTH 12. if a valuation record contains errors. as there is not formatting of the application program here. Batch 'BATCH_MAT BATCH1' contains valuations from the value areas that are assigned by the associated material. For the format for batch names. The detailed texts are usually self-explanatory and therefore not listed. see the setting in Customizing (table TCLO.a detailed text that results from the exeption . Material BATCH_MAT is classified in class type 023 : It is assigned to class CLASS_1. The valuation of characteristic LENGTH is changed from 11.. that has characteristics COLOR... Example 1 OZ01MAT_ABC CLASS_Z MARA 2 SIZE SMALL 2 LENGTH 11. LENGTH.. As a result.characteristics are to be executed.00 cm 2 TYPE A 2 DATE1 04.the function module and its exception number . . As. as various object categories can be assigned in this class type.) then these are not know here and not taken into account.2001 *---------------------------------------------------------------------1 O023BATCH_MAT CLASS_1 MARA 2 COLOR red 2 COLOR blue 2 COLOR green 2 TYPE A 2 TYPE B 2 POLLUTION 0 . An error message contains .g. Important: Classifications are created directly with this report. It is assigned to class CLASS_Z. If an application creates process-typical relationships between various objects (e. the parameter check must be set to 'Check existence' or 'Lock'. TYPE and POLLUTION.table INOB (Field OBJEK). the one-value characteristics COLOR and TYPE can be valuated several times. a material represents a hierarchy node.30 % *---------------------------------------------------------------------1 O023BATCH_MAT_________BATCH1 CLASS_1 2 COLOR red 2 TYPE B 2 POLLUTION 4% MCH1 (the items are strictly observed) Material MAT_ABC is classified in class type Z01. 4. and TYPE.03.'). the object name must be entered in the correct format.the incorrect assignment . Characteristic DATE1 can be inherited from a class to which hierarchy CLASS_Z belongs. the descriptions MARA and MCH1 must be there for item 'OBTAB'.as examples .00 to 12. Classification of Materials Documented by Tushar Sakhalkar Page 14 of 15 .00 cm.the characteristics.a heading as general description ('Error . The following list contains all heading and the various function modules leading to the error. that has characteristics SIZE. In class type 023. and this leads to an error.g. Characteristic COLOR does not have the value in its value list. If the input parameters do not define a separate existence check. no leading zeros) is entered.Error reading classification (CLAP_DDB_GET_CLASSIFICATION) data Error changing classification (CLAP_DDB_ UPDATE_CLASSIFICATION) data Error deleting Classification (CLAP_DDB_DELETE_CLASSIFICATION) data Error deleting valuation Error maintaining valuation Error locking class type Error checking object Example: (CTMS_DDB_DEL_VALUE) (CTMS_DDB_SET_VALUE) (CLAP_DDB_SAVE_CLASSIFICATION) (OBJECT_CHECK_) • Error changing classification data Other ( CLAP_DDB_UPDATE_CLASSIFICATION: exception 001 12345678 CLASS_2 24 ) This error message occurs for materials (class type 001) if an incorrect description (e. • Error maintaining valuation COLOR: 'blu' does not exist ( CTMS_DDB_SET_VALUES: exception 001 000000000012345678 COLOR blu LENGTH 11.00 cm 9) CLASS_1 Material 000000000012345678 (class type 001) is to be valuated with 'blu'. Classification of Materials Documented by Tushar Sakhalkar Page 15 of 15 . the classification for this material does not find a material type.