‎2006 Nov 16 4:40 PM
Hi friends,
i have a requirement to upload classification view for MM,
for other data i am using direct input method,
for classification, i tried to use direct input method too, but its giving me strange errors, like logical path not defined, when i try to define that one, now it says convert data file name is more than 45 char long, so dropped idea of using this.
now tried to write a BDC by recording, but when i see the MM01 classification in SHDB, the screen is enteirly different, after giving the class, entering value for this class is not user friendly and no input help.
please let me know where i can use any other alternate to this.
thanks a lot.
‎2006 Nov 16 4:58 PM
Classification data is handled differently. Please check out standard SAP program RCCLBI03 (it's well documented).
Rob
‎2006 Nov 16 5:02 PM
when i checked the classification view, it is showing properly...even in MM01 I am able to view properly which can be coded using BDC. Try once more using SHDB, there might be some inputs missing
‎2006 Nov 16 5:31 PM
Alternatively, you can call the BAPI_OBJCL_CREATE / BAPI_OBJCL_CHANGE to assign char / values for materials. The OBJNR will be the material number.
REgards,
Ravi
Note - Please mark all the helpful answers
‎2006 Nov 16 8:29 PM
‎2006 Nov 17 9:10 AM
Ravi,
could you send me more details, with sample code, i don't know how to use this??
its giving error saying object '100027' not created, eventhough material is already existed.
thanks a lot.
‎2006 Nov 17 9:17 AM
You will have pad the material number with 0's so that it occupies the 18 characters of the OBJNR field required for the BAPI.
So, try giving 000000000000100027 as the material.
Regards,
Ravi
‎2006 Nov 17 10:19 AM
Hi Ravi,
If you don't mind can give me the example values for material master
for following in BAPI
OBJECTKEYNEW
OBJECTTABLENEW
CLASSNUMNEW
CLASSTYPENEW
STATUS
STANDARDCLASS
CHANGENUMBER
KEYDATE
NO_DEFAULT_VALUES
Tables
ALLOCVALUESNUM
ALLOCVALUESCHAR
ALLOCVALUESCURR
thanks a lot for your help
‎2006 Nov 17 1:48 PM
‎2006 Nov 20 6:55 PM
Hi Kiran,
I have a similar requirement, please can you explain me how you had used those BAPI's suggested by Ravi. Thanks in advance.
Regards,
Sujith.
‎2006 Nov 21 8:58 AM
HI
CALL FUNCTION 'BAPI_OBJCL_CREATE'
EXPORTING
objectkeynew = gs_classification-objectkeynew "material number
objecttablenew = gs_classification-objecttablenew "MARA
classnumnew = gs_classification-classnumnew "Class number like SERIAL_NUMBER_FORM
classtypenew = gs_classification-classtypenew " class type like 001
STATUS = '1'
STANDARDCLASS =
CHANGENUMBER =
KEYDATE = SY-DATUM
NO_DEFAULT_VALUES = ' '
IMPORTING
CLASSIF_STATUS =
TABLES
ALLOCVALUESNUM =
allocvalueschar = allocvalueschar " table with actual character and value , set instance allocvalueschar-instance = '001'.
ALLOCVALUESCURR =
return = return.
let me know if you need more details.
thanks
‎2007 Feb 08 10:02 PM
Are you able to update material classification. CAn you please write more details about the program.
Thanks,
AP
‎2007 Feb 09 1:16 PM
Hi I am Using BAPI for material Classifications. see below code.
HI
CALL FUNCTION 'BAPI_OBJCL_CREATE'
EXPORTING
objectkeynew = gs_classification-objectkeynew "material number
objecttablenew = gs_classification-objecttablenew "MARA
classnumnew = gs_classification-classnumnew "Class number like SERIAL_NUMBER_FORM
classtypenew = gs_classification-classtypenew " class type like 001
STATUS = '1'
STANDARDCLASS =
CHANGENUMBER =
KEYDATE = SY-DATUM
NO_DEFAULT_VALUES = ' '
IMPORTING
CLASSIF_STATUS =
TABLES
ALLOCVALUESNUM =
allocvalueschar = allocvalueschar " table with actual character and value , set instance allocvalueschar-instance = '001'.
ALLOCVALUESCURR =
return = return.
let me know if you need more details.
thanks
‎2007 Aug 28 7:58 AM
Hi Tom,
I am working on MM Classification view... using LSMW but here Class isnot created, its not taking any values when i am recording... plz can u send me entire code for Classification.....with BAPI FM....
so i can try it if it is success... r not....
thanks,
murali
‎2007 Mar 16 6:32 AM
hi kiran & ravi.
thanks lot. actually i had probelm uploading material clasification using BDC and LSMW and now i tried using BAPI_OBJCL_CREATE as per ur guide lines and with bapi documentation. i have acomplised in uploading data. its working perfectly.
regards,
reji,
09860770378.