Characteristic in classification view for a material in MM03
Hi All,
how to get value assigned to a characteristic for a given class and characteristic in classification view for a material in MM03 transaction ?
Thanks,
Rakesh.
Then
i have tried and it worked fine
you should also try
Go to MM03
go to classification view of your material
chhose the class type you want to view
and then from Enviroment
Choose Change documents
Regards
Similar Messages
-
Creating classification view for the material
hi friends,
i need to create a material with various views (as in MM03) based on the material type.
i am using BAPI_MATERIAL_SAVEDATA for it.
i am able to create almost all the views except the the classification view for the material.
can anyone help me with code (i need to write) to create a classification view for the material?
thanks in advance.Hi Karthik,
Select klart from AUSP into table t_ausp where OBJEK = wa_final-matnr.
LOOP AT t_ausp.
w_classtype = t_ausp-klart.
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
classtext = 'X'
classtype = w_classtype
language = sy-langu
object = w_object
objecttable = 'MARA'
* no_value_descript = w_no_value_descript
change_service_clf = 'X'
inherited_char = ' '
change_number = ' '
TABLES
t_class = t_class
t_objectdata = t_objectdata
i_sel_characteristic = i_sel_characteristic
t_no_auth_charact = t_no_auth_charact
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4.
IF sy-subrc <> 0.
ENDIF.
LOOP AT t_class WHERE class IN s_class.
CLEAR : t_allocvaluesnum,t_allocvalueschar,t_allocvaluescurr,
t_lreturn.
REFRESH : t_allocvaluesnum,t_allocvalueschar,t_allocvaluescurr,
t_lreturn.
w_classnum = t_class-class.
* Getting the reference tables and values----------------
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
EXPORTING
objectkey = w_objectkey "Old reference Material
objecttable = 'MARA'
classnum = w_classnum
classtype = w_classtype
* unvaluated_chars = 'X'
TABLES
allocvaluesnum = t_allocvaluesnum
allocvalueschar = t_allocvalueschar
allocvaluescurr = t_allocvaluescurr
return = t_lreturn.
* Create with reference-----------------------
w_objectkeynew = wa_inputfile-to_matnr.
CALL FUNCTION 'BAPI_OBJCL_CREATE'
EXPORTING
objectkeynew = w_objectkeynew "New Material
objecttablenew = 'MARA'
classnumnew = w_classnum
classtypenew = w_classtype
TABLES
allocvaluesnum = t_allocvaluesnum
allocvalueschar = t_allocvalueschar
allocvaluescurr = t_allocvaluescurr
return = t_lreturn.
ENDLOOP.
ENDLOOP.
Prabhudas -
Creating Classification view for material through Standard Function
hi,
I have created the material code through BAPI_MATERIAL_SAVEDATA. For quality inspection i have used BAPI_MATINSPCTRL_SAVEREPLICA. i have to create classification view for that material code. Can anyone suggest me which standard function helps me to create the classification view.
Thanks in advance.
Senjeyhi,
i have tried that function module. I have mentioned the code below.
i_object = '000000151860630000'.
i_alloc_num-CHARACT = 'THICKNESS'.
i_alloc_num-VALUE_FROM = '5.70'.
append i_alloc_num.
i_alloc_char-charact = 'SHAPES'.
i_alloc_char-VALUE_CHAR = 'PLATE'.
append i_alloc_char.
clear i_alloc_char.
i_alloc_char-charact = 'CATEGORY'.
i_alloc_char-VALUE_CHAR = 'CS'.
append i_alloc_char.
clear i_alloc_char.
CALL FUNCTION 'BAPI_OBJCL_CREATE'
EXPORTING
OBJECTKEYNEW = i_object
OBJECTTABLENEW = 'MARA'
CLASSNUMNEW = 'RAWMATERIAL'
CLASSTYPENEW = '001'
STATUS = '1'
STANDARDCLASS =
CHANGENUMBER =
KEYDATE = SY-DATUM
NO_DEFAULT_VALUES = ' '
IMPORTING
CLASSIF_STATUS =
TABLES
ALLOCVALUESNUM = i_alloc_num
ALLOCVALUESCHAR = i_alloc_char
RETURN = i_ret.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
But i am getting the error 'Assignment exists and is valid '.
Please help.
Regards,
Sengathir.J -
How to create classification view for material?
HI All,
How to create classification view for material? is there any function module?
pls let me know.
Bandicheck the standard include "LCLBPAU14" this is using the following F.M
call function 'BAPI_OBJCL_CREATE'
exporting
objectkeynew = l_object
objecttablenew = l_objecttable
classnumnew = classnum_new
classtypenew = l_classtype
status = status
standardclass = standardclass
changenumber = changenumber
keydate = keydate
no_default_values = no_default_values
importing
classif_status = classif_status
tables
allocvaluesnum = allocvaluesnum
allocvalueschar = allocvalueschar
allocvaluescurr = allocvaluescurr
return = return. -
Classification view for material
Hi all
I am creating materials using BAPI_MATERIAL_SAVEDATA. I need to fill the characteristics values of the material also.
Can anyone please tell How to create the Classification view for material using BAPI_MATERIAL_SAVEDATA.
Thanks
Neelima.Hi,
1. First create the material using BAPI_MATERIAL_SAVEDATA.
2. Create classification using bapi BAPI_OBJCL_CREATE
Create the classification
call function 'BAPI_OBJCL_CREATE'
exporting
objectkeynew = v_object
objecttablenew = c_mara
classnumnew = wa_temp-klart
classtypenew = wa_temp-classtyp
tables
allocvalueschar = i_bapi_char_tmp
return = i_bapi_return.
Thanks
Subhankar -
Reference class In the classification system for a material.
Hi All,
I would like to know What is meant by reference class in classification system for a material? If we are using a variant configuration scenario expalin in context to the classification systme used in this.Hi
I am not sure of anything called as Reference class but definately we have Reference charecteristics inthe SCE application. Below is the brief description of the Reference charecteristics- see the link below
http://help.sap.com/saphelp_crm40/helpdata/en/8a/dff538b0bd4606e10000000a114084/content.htm
Corresponding to R/3 Master data is maintained in the R/3 database.
Please let me know if yoy need any more info
thanks -
Delete classification view of a material
Hi ,
can anyone let me know how to delete a classification view of a material.
Regards,
ChandanHi srinivas,
i tried this FM and the classification view of the material is not getting deleted, can you please let me know how to use this?
thanks in advance ,
Chandan -
Why there iare no accounting views for KMAT material ?
Hello PP members
Why there are no accounting views for KMAT material, in a Standard SAP sytem
Is is because KMAT material cannot be valuated
Please clarifyBaskaran, PP consultant, Rajesha:
Thank you for replies
Round Robin of discussions
Valuation is done at quantity / value level (KMAT - No valuation is done at either Qty/value level)
KMAT is neither valuated or stocked for that plant when GR is done, the only thing it will do update the sales order
As KMAT is configurable material, the system calcuates the material cost dynamically as per the customer selection
Accouting view is used to select the correct G/L account during stock postings
The above can be viewed in OMS2
Due points have been assigned -
Extend Classification View for Material Master
Hello, How do I extend classificiation view for Material Master? Is there any BAPI or FM to do that?
I cant find any place to extend it with BAPI_MATERIAL_SAVEDATAHi,
Use this FM to create Classfiaction view BAPI_OBJCL_CREATE
Regards,
Shan -
Material Master views for every material type
HI Expertis,
I am facing to the big problem. My requirement is to identify the Material Master Views relevent to the each and every Material Type.
As an example, for the material type "FGTR" what should be the required views to create material master?
From the MM01 Txn i found 36 Material types. Also found the standard views in "OMS2" Txn. But in OMS2 txn it gives me almost all the views in material master.
Atlease i hope to categorize the material types which are going to use same material views. So i can ask abaper to develop it.
these are the required Material types : MODE, FGTR, WETT, KMAT, LEER, LGUT, FERT, FOOD, INTR, CONT, IBAU, HERS, NLAG, NOF1, UNBW, HIBE, VERP, FRIP, PIPE, FHMI, ROH, LEIH, HALB, DIEN, ERSA, HAWA
I would be gratefully thank u, if u can guided me on this matter.
Thanx & Regards,
Rashika.Hi,
You can ask your abaper to write a small program by using table t134(T134-PSTAT) and T132T .From this tables ,for each material type, you get all views.
User department Maintenance status
Work scheduling A
Accounting B
Classification C
MRP D
Purchasing E
Production resources/tools F
Costing G
Basic data K
Storage L
Forecasting P
Quality management Q
Warehouse management S
Sales V
Plant stocks X
Storage location stocks Z
hopw this will help you.
With Regards,
Jaheer -
Create Quality Management view for a Material in background mode
I want to know if there is a way to create a Quality Management View (Quality Management tab) on Material Master (material already extended to plant ) in background mode.
The requirement is to add inspection setup data for a material extended to a particular plant in background. I tried using 'BAPI_MATINSPCTRL_SAVEREPLICA' to add the data and it works perfect as required. Now the problem is this BAPI is creating the inspection setup data only for the material which has QM tab in MM02 for e.g. I manually created the inspection setup for a Material from MM01 and then deleted it , now the BAPI works fine for this material because when I created an inspection setup from MM01 it created the QM tab and after i deleted the entry the tab was still there with no entry in inspection setup.
I want to create inspection setup for a material which does not have QM tab.
I have to create everything is background mode. BDC is one option which I am list interested in.
Thank you for helping in advance.Thank you for looking into my issue. I have to do the inspection setup in background without using any front end transaction.
-
To change the classification data for a material using BDC
I have to update clssification data for material in MM02 using BDC so when i record the transaction MM02 using SHDB i am not able to see the value assignment window which i a able to see when i am changing using MM02 transaction directly. So can anyone have an idea regarding this ?
I have even tried updating classification data using a BAPI BAPI_OBJCL_CHANGE but i am not getting desired results....can anyone suggest me what are the parameters need to be passed to the BAPI. Thanks in advance for your help....Hi Nagarjuna,
<b>BAPI_OBJCL_CHANGE</b> : This BAPI changes an existing classification, or creates the classification if it does not yet exist. The classification is defined by the required entry fields for the object key (ObjectKey), object table (ObjectTable), class name (AllocDetail-Class_Num), and class type (AllocDetail-Class_Type). The default value for the optional date field (KeyDate) is the system date, on which all classifications become valid. The new characteristics and/or values are transferred to different tables according to data type. Numeric, time, and date characteristics are transferred to table AllocValuesNumNew, character and boolean characteristics are transferred to table AllocValuesCharNew, and currency characteristics are transferred to AllocValuesCurrNew.
The object key (OBJECTKEY) must be transferred in internal format. This means before conversion exits. For example, a material number must be transferred with leading zeros.
If the BAPI runs without errors, table Return contains no messages of type "E".
Assignment created: message CL735
Assignment changed: message CL737
Assignment not changed: message CL738
This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
You can only use this BAPI for objects that are not classes!
This BAPI only processes assigned values for classification - not for configuration.
Reward points if helpful.
Regards,
Hemant -
CO46 for sales order no exploded view for specific material
Dear All,
When using CO46 for a sales order it does everything correct exept for a specific material. It is displayed above the sales order in the hierarchy, like if it is not contained in it and there is no exploded view possible.
When I look closer to the MRP for the material it has planned orders but the orders reducing quantity don't link to the sales order. The MRP element data is empty.
Anybody has a clue?
Thanks in advance,
MichaëThe material in the SOI created collective requirements. Change Material Master availability check to 02 and recreate SOI
-
Hi, i want to extend to sales view for a roh that is already created. i have tried to do that thru mm01 and mm50, but system does not allow me. pls advise how to add sales view to a toh materail?
Hi,
Give the material no top and reference place also.
thaen enter
Check and confirm
Regards,
Andra -
Batch classification view for MSC2N
HI,
when i loading inventory using movement type 561its asking for the production date but its not updating the classification view in the batch master data MSC2N screen.every time I have to go in to the transaction MSC2N and update the batch classification screen i mean hit the new button and save the batch.how to automate this.
But when i do the same thing using goods reeceipt against a purchase order its asking for the production date in the migo screen and its also updating the batch classification screen in MSC2n transactio.Deepu,
Check customisation transaction OMCV, whether for Movement type 561 for Field "CB", value 1 is populated, if it was blank set to "1" and check box for Extended classification is active.
Regards,
Prasobh
Maybe you are looking for
-
What happened to save as in the latest pages?
How can I save my Pages documents in a particular location? It was so simple in the previous version of Pages. Ever hear of 'if it's not broken don't fix it'?
-
I would like to put LR on 3rd PC
I would like to expand the number of CC licenses so that my wife can use LR Does Abode offer an option to add 3rd license to my current CC PS license. I would rather not buy her a full license
-
Weblogic template directory structure.
I was looking at the weblogic portal personalization template and I found that there is a project with a build.xml on it. If i run it manually I don't see the script been invoked but I can see it whenever I use the configuration wizard. How can I tri
-
Mac Mini (Late 2009) firewire 800 failure
Good morning, I have a Mac Mini (late 2009), with an external Lacie hardrive 1TB connected via firewire 800. Woke up one morning to see that my hard drive had dismounted. So I restarted my mac and external hardrive to see that it no longer appeared
-
Updated to Tiger and get kernel panics
Hi, I updated my desktop G4 (quicksilver) to Tiger last week, and have suddenly started getting kernel panics. I am not sure what to do about it, other than trying to reinstall Tiger. It didn't happen the first few days of Tiger, so I am not sure it'