Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Accessing MM Classification Data

Former Member
0 Likes
770

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
722

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

5 REPLIES 5
Read only

Former Member
0 Likes
722

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

Read only

0 Likes
722

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.

Read only

Former Member
0 Likes
723

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

Read only

0 Likes
722

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?

Read only

Former Member
0 Likes
722

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