Application Development 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: 

Uploading Characteristics in Material Master

Former Member
0 Kudos

Hi Gurus,

I am facing problem in uploading characteristics in material master classification with LSMW. I am trying to use Direct Input Method (Object: 0130, method: 0020). But when i try to run the run the direct input after file conversion, it is showing error (Exception type 13). I have assigned the characteristics to he class and have defined values. The help files and sample projects I found in the net are of no use. Please help as upload of master data is held up due to this.

Thanks and regards

Abhik

3 REPLIES 3

Former Member
0 Kudos

Hi,

I have done the same, but using the IDoc method (MATMAS).

Regards,

John.

Former Member
0 Kudos

Hi Abhik,

If u want you can use the customized message type ZMATMAS.

Regards ,

Adarsh Srivastava

Former Member
0 Kudos

Hello,

Why dont u try the BAPI.


BAPI_OBJCL_CREATE              Classification BAPI: Create Assignment


  CALL FUNCTION 'BAPI_OBJCL_CREATE'
     EXPORTING
       objectkeynew          = P_L_T_CLASS-objnum
       objecttablenew        = 'MARA'
       classnumnew           = P_L_T_CLASS-class
       classtypenew          = P_L_T_CLASS-ctype
*      STATUS                = '1'
*      STANDARDCLASS         =
*      CHANGENUMBER          =
*      KEYDATE               = SY-DATUM
     TABLES
*      allocvaluesnum        = l_it_num
*      allocvalueschar       = l_it_mkml
       allocvalueschar       = l_t_class
*      allocvaluescurr       = l_it_curr
       return                = l_t_ret2.

Cheers,

Vasanth