Material classification values
Hi Experts,
i want to get material class values on the below parameters
Material
Class type
Class Number
and i want to get
Characterstic name
Characterstic Value
It is not based on Material + Batch + Plant combination
it is in the Tcode CU42.
Is there any function module or BAPI module to get the above values.
Hi
Go to INOB table pass your Material Number for Object (OBJEK) you can get the CUOBJ value then go to AUSP table pass this value to ATINN you can get other values corresponding to your Characteristics
Use VC_I_GET_CONFIGURATION and pass CUOBJ value to it.
for sales order go to VBAP you can get CUOBJ
for Production order go to CAUFV you can get CUOBJ
Cheers
Ram
Similar Messages
-
Copa - text of material classification values to copa
we will use copa for analysis.
we want to have some material classification values to pa. we have the ausp value at copa by using
kedr. but the problem is text of the classification values.
When i try to create a value field with referance to the data element ATWRT than i have the error length 00030 of the data element is too big.also i know that there is no chance to create ATRWT with 30 chac length.
when i create the value field without value maintanance then the text of the classification not comes to pa.
At last i have created the value field as with own value maintanence and double the charecteristic names and text from kes1.
But this solution is not suitable.
Is there a way to take this text from cawnt table?we will use copa for analysis.
we want to have some material classification values to pa. we have the ausp value at copa by using
kedr. but the problem is text of the classification values.
When i try to create a value field with referance to the data element ATWRT than i have the error length 00030 of the data element is too big.also i know that there is no chance to create ATRWT with 30 chac length.
when i create the value field without value maintanance then the text of the classification not comes to pa.
At last i have created the value field as with own value maintanence and double the charecteristic names and text from kes1.
But this solution is not suitable.
Is there a way to take this text from cawnt table? -
What SAP table houses the Material Classification values?
I cannot for the life of me figure out what SAP table actually stores the material classification characteristic values. These are the related tables I have found so far but none of them link the information to a material number:
TABLE: CABN
ATINN (characteristic ID)
ATNAM (characteristic name code)
MSEHI (UoM associated with characteristic)
TABLE: CABNT
ATINN (characteristic ID)
ATBEZ (characteristic full name)
TABLE: KLAH
KLART (class type)
CLASS (class name code)
CLINT (class id)
TABLE: KLAT
CLINT (class id)
TXTBZ (class full name)
TABLE: KSML
CLINT (class id)
IMERK (characteristic id)
POSNR (characteristic positional location for class)
TABLE: CAWN
ATINN (internal char.)
ATZHL (int counter)
ATWRT (char. value)
TABLE: CAWNT
ATINN (internal char.)
ATZHL (int counter)
ATWTB (description)
I have also identified these structures, but I am no good at finding where values from a structure actually reside.
STRUCT: RMCBC "I/O field for include screens from classification"
contains MATNR, KLART, CLASS, KLTXT, ATWRT
STRUCT: RMCLF "Classification I/O structure for Assgmt of Object to Class"
contains KLART, CLASS, KLTXT
Can anyone please help me and advise where the actual relationship between material number and classification information is? I'm trying to import this information from MDM to R/3 but I have no idea what to map it to or what Idoc segment to use.
Thanks!Have a go with below table joint in SQVI or SQ01:
KSSK (Allocation Table: Object to Class), joint together with KLAH (Class Header Data).
Link will be field CLINT.
Choose the below from KSSK:
Key of object to be classified - KSSK-OBJEK: you will enter the material number here. Watch out - you have to add 10 leading zeros before your material number, eg. number 40524281 will be altered to 000000000040524281.
Class Type - KSSK-KLART: here you can specify the class type which is 001 for material master.
Choose the below from KLAH:
Class number - KLAH-CLASS: this field will return the class number you assigned to your material in Classification view.
HTH,
Laszlo -
Material Classification Value Propagation for 4.5B
Hello all,
Have an interesting quandary. My current organization maintains a quite complex classification structure for materials; however its original design lacked the forethought of what it would become (before my time). The root of the issue (and thus my question) focuses on the propagation of characteristic values or lack thereof.
We have a characteristic that is assigned to nearly all of our 30 material classes. The list of values associated with the characteristic are the same for all classes. Therefore, whenever we create a new characteristic value or change an existing one, we have the timely task of going into each and every material class to make the update.
I have spent some time researching and understand a user exit exists for the mass update of characteristic values (CLMMD001); however it does not appear this exit is in our system, and we do not have the development resources to spend in the creation of a program.
Any thoughts or suggestions on how we can address our issue either through the user exit (guidance on how we can do this would be appreciated) or through some minimal development work to allow auto-propagation of characteristic values based on a single update?
Thank you very much.
JackHello Jack,
The only way you can stop using the 'overwrite value' functionality is to 'clean' your characteristics in your classes.
Here is something you can try: Try it for one characteristic first to check that it does work. I've just checked what I am describing below in a MySAP ERP 2005 system and it works.
(PS: I am assuming that you have checked and made sure that you were using the 'overwrite value' functionality).
Step 1: Pick any object that has been classified using an 'overwritten value'. Note the object number (material number) and the value of the characteristic.
Step 2: Put your characteristics in sync.
Go to change mode in on one of your characteristic (in v4.5 I think the transaction was still CT02). Go to the characteristic value assignment screen and add all the possible values to that characteristic. The list of values you are going to add should at least cover all the values currently used in your system.
Step 3: Stop using the overwrite functionality
Now that your characteristic has all the possible values, we want to make the system use those values and not the values of the characteristic in the class (...still with me?).
Ok so go to Class change mode (again in V4.5 I think the transaction was CL02). Pick one class that uses the characteristic changed above.
- Go to the Characteristics list tab.
- Select the characteristic changed above and then click on the 'overwrite value' button (or use the menu Edit / Characteristic / Overwrite values)
- You will then see the list of values for that characteristic in that class (top of the screen, it should recap the class number and the characteristic number)
- Select the menu Extras / Overwrite / Delete all
- Click 'Yes' on message box delete values
- You will be brought back to the characteristic list
- Save your changes.
Step 4: Go back into change mode in the characteristic, go to the characteristic list, select the characteristic and click on the display value button - Is the list of values correct?
Step 5: Go to the object noted from step (in change mode) and check that in the classification view, no error or incoherence message appear.
From now on, whenever you need to use a new value, you only need to add it once --> To the characteristic.
Hope it helps. -
Hi All,
We use Material Classification (001 type) in R/3 system. But not able to transfer via CIF to APO.
The Characteristics are already transferred, but I had to create Class manually in APO (using CL01) and assigned all Characteristics to that Class.
But now, we I do material master CIF Material classification values not transferred (no values exists in CL20N).
Also, another question, Like R/3 material master, should Classification tab/view in APO Product Master show material classification? or this Classification view meant only for CDP/CBP?
Thanks,
NiranjanHi Senthil,
1. When I execute Material model (contains only material and plants) in CFM1 it shows in the next screen only "Material master data" and in details it shows only material, mat description and Plant. I don't see Class anywhere. So that means class is incorrectly maintained? But We could maintain classification values correctly in Material Master.
2. Class and Char are created in APO. Chars got transfered using CIF but I had to create Class manually in APO.
3. So Classification view in Product master is only for CDP, we don't see material classification values in product master. Do we need to use CL20N? -
Update Blank value on material classification
Hello All,
i am having a problem with regards to updating material characteristics with this
FM: CACL_OBJECT_VALIDATION_MAINT with a class type description, material class
updating from a report and fields WITH VALUES are no problems..
the catch is.. when i want to update a field with a BLANK value, it is not shown as blank.
for example: i want to change the CHARACTERISTIC DESCRIPTION: ACTION CODE of a particular material with SPACE, and its initial value is 01. There will be no change. BUT if i update it with 02, when i view the material classification, it is changed to 02.
is this really standard (like when the value is space no update is done?) or am i missing something.
all your ideas are highly appreciated.
thanks in advance for all your help!please help! thanks!
-
Can COPA pull values from material classification tables
Hi All,
I know COPA can pull values from standard SAP tables like material master tables (e.g. MARA) but can it also pull values from material classification table(s)?
Your help is greatly appreciated,
Points will be rewardedHi Kati,
In order to derive CO-PA chars from material classification view for a
specific material value you have to implement the CO-PA derivation exit
(include ZXKKEU11) accordingly. It's indeed table AUSP from which you
can get the corresponding value (field ATWRT) for each classifying
attribute (field ATINN). In order to find out the field name for each
ATINN number (so that the mapping to corresponding CO-PA chars can be
done in a sensible way) you have to select additionally the ATNAM value
from table CABN (for given ATINN number).
BR,
MLM -
Query on classification material characteristic values update/insert
Hi,
I have a requirement to change classification characteristic values of a material via Txn MM02.
The function modules tried are as follows which did not serve the purpose:
1.UPDATE_MATERIAL_CLASSIFICATION
2.CLVF_VB_INSERT_CLASSIFICATION
3.CLVF_INSERT_AUSP
4.CLVF_UPDATE_AUSP
The characteristic values are not getting updated in the table AUSP(Where the values must have been updated) . So the updating of material classification characteristic values via txn MM02 is failing.
Please can anybody help on any function modules or alternate solutions that will help to update the classification char. values of the materials.
Also,for info please let know of the tables that maybe related for this updation other than AUSP.
Any input at the earliest would be of great help.
Thanks in advance.
Regards,
Leeza Roy V.
EAS-SAP Practice,
Wipro Technologies,
Bangalore.
Mob : 9886676986.
Extn : 1152Leeza,
There are quite a few standard BAPI function modules that can be used exactly for this. Look into the BAPI transaction under the CROSS APPLICATION SYSTEM --> CLASSIFICATION .
BAPI_OBJCL_CHANGE
BAPI_OBJCL_CREATE
BAPI_OBJCL_DELETE
BAPI_OBJCL_GETCLASSES
BAPI_OBJCL_GETDETAIL
These can be used to modify / create any classification data for the materials.
Regards,
Ravi
Note : Please mark the helpful answers. -
Material Master Classification values
Hi All,
We need to get material classificaiton values based on material number.
navigation to see material clssifications is:MM02--->select classifacation view.
We need values for a particular class.
Please help me
thanks
peddi reddyHi
Give material number in this BAPI_OBJCL_GETCLASSES to get the material class.
After that pass the obtained class to BAPI_CLASS_GET_CHARACTERISTICS ( The BAPI may vary depending upon your requirement ).
Hope this helps.
Harsh -
Error While Creating Material Classification Characteristic DataSource -
Hi All,
I am creating the Material Classification DataSource 1CL_OMAT001 with CTBW in R/3 with the following info:
Basis DataSource = 0MATERIAL_ATTR; Client = 200; Class Type = 001;
Obj table = MARA; DataSource Type = ATTR, DataSource = 1CL_OMAT001
I have added all the characteristics with 'New Entries' button and the following are the details after saving it:
DataSource = 1CL_OMAT001
Characteristic Name = ABCDXYZ
Item No = ' ' (blank)
Maintain Status = N
Characteristic = 1CL_AABC001
Typ = CHA
While adding the MATERIAL_GROUP as characteristic it got an error because of Reference Characteristic since it is reference to Table MARA. Finally, I didn't add it.
When I click the 'Generate' button to generate the DataSource then it is giving the error of <b>'BW Metada is incomplete'</b> (CLBW008).
What is wrong with it and how could I fix this problem, please ?
Thanks in advance.I am not too sure but this might be the cause of error. Data doesn't need to be in client 100, but the characteristic needs to be defined in the class if I remember it correctly.
To do a quick check, open report program RCLBW_STRUCTURE_GEN in SE38, there is a call to FM RSA1_SINGLE_OLTPSOURCE_GET (around line 169) put a breakpoint there in the editor (display).
Now run your CTBW generation, it should stop at the breakpoint. You should check the value of field GT_CLBW_SOURCES-IOBJNM in the debugger - it would likely be the characteristic name.
Now, go to SE37, do a single test of FM RSA1_SINGLE_OLTPSOURCE_GET, and specify this same value for field I_OLTPSOURCE and execute. You will likely get a sy-subrc of non-zero.
Repeat this in client 200, check sy-subrc.
If you are getting sy-subrc 0 in 200 and non-zero in 100; you will either need to create the classification in 100, or generate it in 200.
If this doesn't work, let us know. -
CO-PA: Derivation of characteristics from classification values
Hello,
is it possible somehow to use classification values from the material master for the
derivation of customer-specific characteristics in CO-PA?
The SAP documentation doesn't mention them but is there a way to use them?
How can I do that?
Best Regards,
ChristianHi,
Please consider the following:
1. Create table lookup to transfer VBAP-CUOBJ to origin "GLOBAL" - field "CUOBJ" (no need to create that field as CO-PA characteristic).
2. Create derivation of type enhancement and use function module 'CUCB_GET_CONFIGURATION'. Import parameter "INSTANCE" stands for "CUOBJ" whereas values per classification characteristic can be derived from Export parameter "CONFIGURATION". Loop at that with proper "ATNAM" (classification characteristic) and get the appropriate "ATWRT" (classification value), which for sure you can assign to an appropriate PA characteristic.
Regards,
Alex -
Error while working on 'Material Classification'
Hello Guys
I was working on creating a generic datasource using t-code CTBW (material classification technique). And i got the following error:
Object type is not a sheet type in the class type
Diagnosis
A class type with several object types can have several object
hierarchies. All characteristics for objects that are not end node
objects are usually multi-value.
System Response
Multi-value characteristics cannot be extracted.
How do i resolve this error?
Thanks.
Srini.Any suggestions, guyz??
-
Raw Material Classification ?
Hi All,
Weare facing a problem during uploading material classification, using BAPI "BAPI_OBJCL_CREATE" , or BDC using transaction "CLMM" , or LSMW using transaction "CL20N". Each material classification upload is
taking nearly 2 hours. Each material is to be assigned 1 class of class type 200 and with 370 characteristics along with values. There are more than 1500 materials to be maintained.
Thanks & Regards
Navneeth K.Schedule in background...it will take little more time.
Try with MM02 classification view.
Are you assigning the values to each material? -
Functional module for Getting Material classification data.
Please tell me Functional module for Getting Material classification data like class type , class, characteristics and characteristics values for material.
Dear,
FM:
CLAF_CLASSIFICATION_OF_OBJECTS
Table KLAH Class Header Data
- KSML Characteristics of a Class
Regards,
R.Brahmankar -
Need Material Classification data function module
Hi all,
i have requirement to fetch material classification data through function module.
is there any point to know releted function modules of classification data of material data.
Thanks in advance,
BhaskarHi,
In KLAH you get the list of Classifications linked to a Material. Give OBJEK = MATNR.
By giving CLINT in KLAH you find the corresponding CLASS.
in BAPI:
BAPI_OBJCL_GETDETAIL
pass following values:
OBJECTKEY = KSSK-OBJEK
OBJECTTABLE = 'MARA'
CLASSNUM = KLAH-CLASS
CLASSTYPE = KLAH-KLART
KEYDATE = sy-datum
UNVALUATED_CHARS
LANGUAGE = sy-langu
the output would be in
ALLOCVALUESNUM
ALLOCVALUESCHAR
ALLOCVALUESCURR
based on the type of characteristic.
Best Regards, Murugesh AS
Maybe you are looking for
-
Premiere Pro keeps shutting down and I can't get rid of video clip from timeline
Lately, Premiere Pro keeps bringing up a message when I'm working on my project that says "serious error, Adobe Premier Pro needs to shut down". It's happened four times now. I've tried restarting the computer, uninstalling some programs I wasn't usi
-
Database Connection in SQL Server 2000
Hi All! I would like to ask your expertise regarding JDBC-MS SQL Server 2000. I have here a sample code in connecting to SQL Server 2000, AgriMrpPrd Database using the account "sa" and the password "092802". I have tried running the code in my local
-
*** Interpreting this explain plan ***
Hi, Please find the explain plan for following: I dont understand why rows = 1 in step 4 and 5 of explain plan?? There are 6 rows corresponding to the condition in join that is satisfied in service def table. Still it shows 1?? explain plan for SELEC
-
I am new to Photoshop Elements, upgraded to Elements Plus and am not that computer savvy. When setting up my account, I was prompted with this window- Backup/Synchronization Window Start Elements Organizer, and then sign in with your Adobe ID. Ch
-
OS X installation failed because a recovery system can't be created
Hi everyone, I am running Mac OS X 10.7.4. My macbook is 2.7Ghz Intel Core i7 and has 4GB 1333 Mhz DDR3. I recently bought Mountain Lion from mac appstore and I just cant seem to install it. Everytime I run the installer, it takes 3 minutes and then