02-06-2008 3:07 PM
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
02-06-2008 3:20 PM
Hi,
I have done the same, but using the IDoc method (MATMAS).
Regards,
John.
02-06-2008 3:24 PM
Hi Abhik,
If u want you can use the customized message type ZMATMAS.
Regards ,
Adarsh Srivastava
02-06-2008 3:28 PM
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