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

Getting classification data

Former Member
0 Likes
820

Hi Frens,

I have got the matnr with which I have to find the value of a characteristic field from the material master classification table. I have the class type and the class values.

thanks

Asha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
607

Use the BAPI <b>BAPI_OBJCL_GETDETAIL</b>.

CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'

EXPORTING

objectkey = object

objecttable = objecttable

classnum = classnum

classtype = classtype

TABLES

allocvaluesnum = i_numc_values

allocvalueschar = i_char_values

allocvaluescurr = i_curr_values

return = return.

Object - Material number

objecttable = Try giving 'MARA'.

Classnum = Class name

Classtype = Class type

Regards,

Prakash.

3 REPLIES 3
Read only

Former Member
0 Likes
607

you can view this thru MM03 T-CODE BY GIVING THE MATRIAL NO IN FIRST SCREEN.

Read only

Former Member
0 Likes
607

Use the fm:

BAPI_OBJCL_GETDETAIL

Regards,

ravi

Read only

Former Member
0 Likes
608

Use the BAPI <b>BAPI_OBJCL_GETDETAIL</b>.

CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'

EXPORTING

objectkey = object

objecttable = objecttable

classnum = classnum

classtype = classtype

TABLES

allocvaluesnum = i_numc_values

allocvalueschar = i_char_values

allocvaluescurr = i_curr_values

return = return.

Object - Material number

objecttable = Try giving 'MARA'.

Classnum = Class name

Classtype = Class type

Regards,

Prakash.