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

Assign material characteristic value

Former Member
0 Likes
369

Hi I want to assign value to a material characteristic though abap program.

Is there any FM for that

1 REPLY 1
Read only

Former Member
0 Likes
323

Hi,

Try using FM BAPI_OBJCL_CHANGE

e.g. If you use it for material TEST2239 then a sample call to this FM is as below:

CALL FUNCTION 'BAPI_OBJCL_CHANGE'

EXPORTING

objectkey = 'TEST2239'

objecttable = 'MARA'

classnum = 'MATCLS'

classtype = '001'

  • STATUS = '1'

  • STANDARDCLASS =

  • CHANGENUMBER =

  • KEYDATE = SY-DATUM

  • NO_DEFAULT_VALUES = ' '

  • IMPORTING

  • CLASSIF_STATUS =

tables

allocvaluesnumnew =

allocvaluescharnew = i_newval

allocvaluescurrnew =

return =

.

In table i_newval fill characteristic name and value.

Hope this helps.

Regds,

Akshay