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

material Classification

Former Member
0 Likes
989

Hi,

what is the best way to create material with classification view tab. i dont want to use BDC to create Classification view. is there any standard FM avaiable to create Material classification view.

Thanks

Aman

7 REPLIES 7
Read only

Former Member
0 Likes
866

Hi Amandeep,

I think BAPI_OBJCL_CREATE_KEY will do?

Regards,

John.

Read only

Former Member
0 Likes
866

BAPI_OBJCL_GET_KEY_OF_OBJECT to get (or create) the object key for the material, and then BAPI_OBJCL_CREATE_KEY to create the classification (read the BAPI documentation to see if it suits your purpose).

cheers,

Read only

Former Member
0 Likes
866

Hi Amandeep,

You can use BAPI_OBJCL_CREATE which will create the classification view.

CALL FUNCTION 'BAPI_OBJCL_CREATE'

EXPORTING

objectkeynew = <material>

objecttablenew = <table>

classnumnew = <class name>

classtypenew = <class type>

  • STATUS = '1'

  • STANDARDCLASS =

  • CHANGENUMBER =

  • KEYDATE = SY-DATUM

  • NO_DEFAULT_VALUES = ' '

  • IMPORTING

  • CLASSIF_STATUS =

tables

ALLOCVALUESNUM = <numeric_char>

ALLOCVALUESCHAR = <character_char>

ALLOCVALUESCURR = <currency_char>

return = return .

fill the numeric, character, and currency type characteristic details in appropiate table and pass it the FM.

Hope this solve your problem.

Thanks

Kathir~

Read only

Former Member
0 Likes
866

Use LSMW, Object 0130, Method 0002 and Program name RCCLBI03. Read the documentation of the program.

Srinivas

Read only

0 Likes
866

If resolved, please reward and close.

Read only

0 Likes
866

<b>It is discouraging to see that the posts are not being closed. Please close the post if answered, and if not please let the forum know. It doesn't have to be left open like this.</b>

Thanks for your attention,

Srinivas

Read only

0 Likes
866

Hello Srinivas,

I am using the same LSMW. My question is related to picking the values from legacy system.

I am using AUSP and INOB table to pick up the values of the characteristics. But these tables have exception.

For characteristics of type Date, I am getting value as blank (Field ATWRT) in table AUSP in the legacy system. Can you please let me know, how to get the table which contains values for characteristics of type Date.

I am using class and characteristics for DMS.

Many thanks,

Santanu