‎2009 Apr 20 11:33 AM
Hi all,
I am using function module -
CALL FUNCTION 'BAPI_OBJCL_CREATE'
EXPORTING
OBJECTKEYNEW = OBJECTKEYNEW1
OBJECTTABLENEW = 'MARA'
CLASSNUMNEW = CLASSNUMNEW1
CLASSTYPENEW = CLASSTYPENEW1
STATUS = '1'
STANDARDCLASS =
CHANGENUMBER =
KEYDATE = SY-DATUM
NO_DEFAULT_VALUES = ' '
IMPORTING
CLASSIF_STATUS =
TABLES
ALLOCVALUESNUM =
ALLOCVALUESCHAR = ALLOCVALUESCHAR1
ALLOCVALUESCURR =
RETURN = RETURN1
for creation of classification of material.But it gives me afollowin errors -
1)Assignment does not exist or is not valid on
2)Table not supported for class type
3)Assignment was not created
in return table.
Thanks.
‎2009 Apr 20 12:32 PM
Hi,
Please follow the below steps.
Creating the Classification View using the Function module 'BAPI_OBJCL_CREATE'.
Check the Class Type and Class Number which you are passing.
Generally it will be Class type - 001 (Material Class) and Number will be ENGINEERING.
It depends.
But, what you can do is, Check material which has classification data filled.
And just use the same class Type and Class Number Details.
Try this way.It should work.
To know the Available Class Types refer to table TCLA.
Please let me know, if you want further help.
Thanks & Regards,
Vamsi.
‎2009 Apr 20 12:32 PM
Hi,
Please follow the below steps.
Creating the Classification View using the Function module 'BAPI_OBJCL_CREATE'.
Check the Class Type and Class Number which you are passing.
Generally it will be Class type - 001 (Material Class) and Number will be ENGINEERING.
It depends.
But, what you can do is, Check material which has classification data filled.
And just use the same class Type and Class Number Details.
Try this way.It should work.
To know the Available Class Types refer to table TCLA.
Please let me know, if you want further help.
Thanks & Regards,
Vamsi.