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

Error:While creation of Classification view using-'BAPI_OBJCL_CREATE'

Former Member
0 Likes
2,713

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,328

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.

1 REPLY 1
Read only

Former Member
0 Likes
1,329

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.