2007 Jun 22 2:55 AM
Hi All,
I would like to know about the classification assignment in Material Management. I have an interface which is inbound to SAP creates material and assign classification to those materials. How to create classification for the new materials created by the interface? Can anyone suggest the function module or BAPI relevant which needs to be called in sequence for this. Thanks
Ricky
Hi All,
I would like to know about the classification assignment in Material Management. I have an interface which is inbound to SAP creates material and assign classification to those materials. How to create classification for the new materials created by the interface? Can anyone suggest the function module or BAPI relevant which needs to be called in sequence for this. Thanks
Ricky
2007 Jun 22 3:03 AM
Check with FM/BAPI's :
CLVF_VB_INSERT_CLASSIFICATION
BAPI_OBJCL_CHANGE
Look at Program rcclbi03( SAP Standard Program)
Thanks
Seshu
2007 Jun 22 4:17 PM
Hi Reddy,
Thanks. For a new material in SAP, what are the steps to assign classification ?
Such as assign the material to class, get the guid number and call the classification view and all...I am guessing we have to do some prerequisites before calling BAPI_OBJCL_CREATE_KEY for creating classification view in Material Master
Thanks
Ricky
2007 Jun 22 10:04 PM
Hi,
1. Define the class and characteristics CL02, CT04
2. assign characteristics to class
3. assign material to class CL20N
4. assign characteristic values at the material level mm02
to create class and assign characteristics use
BAPI_CLASS_CREATE
and assign material to class and char values at material level use
BAPI_OBJCL_CREATE
Thanks.
Message was edited by:
mg s
Message was edited by:
mg s
2013 Jun 17 7:56 AM
Dear Muthu Ganesh Somasundaram,
Can you please explain me how to assign characteristics to particular class using BAPI_CLASS_CREATE?
In which parameter I want to pass value?
-Thanks
Janaraja
2013 Jun 17 10:05 AM
Hi Janaraja,
Check this Note 1323945 - BAPI_CLASS_CREATE: Instructions for use with Sample Code given by SAP .
Regard's
Smruti
2013 Jul 11 1:13 PM
Hi Ricky Johnson,
Follow the steps.
Create a material using BAPI_MATERIAL_SAVEDATA. then
Create characteristics using BAPI_CHARACT_CREATE,
Then Create class using BAPI_CLASS_CREATE, Then
Assign the created characteristics to that class with class type to that material using BAPI_OBJCL_CHANGE.
Surely It will work. If any prob let me know..
-JANARAJA.
2013 Jul 12 6:03 AM
Hi Ricky,
Try this one.
KLAH,AUSP,CABN,CAWN tables.
Try this Function Module:
'BAPI_OBJCL_GETDETAIL'
All characteristic values (for various objects) are stored in AUSP.
Check this document : http://scn.sap.com/people/srikanth.tulasi/blog/2008/12/09/issues-in-fetching-internal-characteristic...
You can use function CLAF_CLASSIFICATION_OF_OBJECTS .
Example Usage:
DATA: _object LIKE ausp-objek,
_it_class TYPE STANDARD TABLE OF sclass WITH HEADER LINE,
_it_objectdata TYPE STANDARD TABLE OF clobjdat WITH HEADER LINE.
_object = matnr.
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
classtype = '001'
object = _object
TABLES
t_class = _it_class
t_objectdata = _it_objectdata
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4.
Thanks,
Debopriya Ghosh
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |