‎2005 Aug 23 4:03 PM
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
‎2005 Aug 23 4:08 PM
Hi Amandeep,
I think BAPI_OBJCL_CREATE_KEY will do?
Regards,
John.
‎2005 Aug 23 5:16 PM
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,
‎2005 Aug 23 5:22 PM
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~
‎2005 Aug 23 6:24 PM
Use LSMW, Object 0130, Method 0002 and Program name RCCLBI03. Read the documentation of the program.
Srinivas
‎2005 Aug 25 8:38 PM
‎2005 Aug 27 4:17 PM
<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
‎2009 Jun 24 4:51 AM
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