‎2007 Mar 21 11:39 AM
Hi All,
When you run transaction MM03 and choose to view the classification data you are presented with a list of Characteristic Descritptions and thier values.
I wish to access this through code. How would I go about this?
Thanks for your help,
Points awarded,
Colm
‎2007 Mar 21 12:46 PM
Hi,
Get the material & class of material.
go to AUSP table put
OBJEK = Material and
KLART = Class
u can get all the charateristic details of material in ATWRT field.
to find charateristic name get the ATINN( Charateristic number) and
goto CABN table put the ATINN values& get the charateristic Name.
if u have any doubts reply me
regards
V.Rajesh
‎2007 Mar 21 11:44 AM
Hi,
Use the fun Module
CLAF_CLASSIFICATION_OF_OBJECTS
or use the BAPI
BAPI_OBJCL_GETDETAIL
to get the Classification of the Material.
You can also use AUSP, CAWN and CABN tables to get the data.
reward if useful
regards,
anji
‎2007 Mar 21 12:35 PM
Anji,
Thanks for your response.
If I try to run CLAF_CLASSIFICATION_OF_OBJECTS with the values
Class: 001QUALITY
CLASSTYPE: 001
OBJECT: 1000883
OBJECTTABLE: MARA
It tells me that there is there is NO_CLASSIFICATION even though when I look at the material 1000883 in MM03 this is the information I get.
What am I doing wrong?? Thanks for help.
‎2007 Mar 21 12:46 PM
Hi,
Get the material & class of material.
go to AUSP table put
OBJEK = Material and
KLART = Class
u can get all the charateristic details of material in ATWRT field.
to find charateristic name get the ATINN( Charateristic number) and
goto CABN table put the ATINN values& get the charateristic Name.
if u have any doubts reply me
regards
V.Rajesh
‎2007 Mar 21 2:57 PM
That worked perfectly, thanks very much.
One thing to note is that if you are putting in a material number as the object make sure to specify the full 18 digits. If you do not the database read returns a blank.
One other thing. Is it possible to get the Value description from any table? For instance
ATINN = 0000001262
ATINN DESCRIPTION (ATBEZ) = Quality Specification Category
ATWRT = P
How would I find ATWRT's description?
‎2007 Mar 21 3:03 PM
If you use BAPI_OBJCL_GETDETAIL and make sure to specify your material number as the full 18 digits I get all the details I need.
Thanks again for your help