Updating Classification for the material
Hi Experts,
I am doing a conversion program I need to create the material those are in 4.7 in ECC. I have many material with classification View. I am using the Bapi 'BAPI_MATERIAL_SAVEDATA' to create the material there is no option to give the class and the assignment class in the bapi. Could you please let me know how to link the material and the class .
Thank You
You can use function module CLAE_CLASSIFY_OBJECT to update material classification data.
CALL FUNCTION 'CLAE_CLASSIFY_OBJECT'
EXPORTING
with_init_log = 'X'
TABLES
delete_kssk = lt_kssk_del
change_kssk = lt_kssk
change_ausp = lt_ausp
EXCEPTIONS
error = 1
OTHERS = 2.
Similar Messages
-
Update Batch Classification for a Material
Hello friends,
I'm facing the following problem : A specific BTCI wich simulates MB01 was calling another program called SAPLCTMS to update Batch classification for a Material, this program (SAPLCTMS ) seems to be not necessary after the support package Level 57 (we just installed SAP4.6C). I didn't find any note on OSS for this...
Now i'm trying to use this BAPI instead of BTCI for the Material batch classification :
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = l_objnum
objecttable = 'MCH1'
classnum = 'ZGB_TIDCLASS'
classtype = '022'
status = '1'
keydate = sy-datum
TABLES
allocvaluesnumnew = t_valuesnum
allocvaluescharnew = t_valueschar
allocvaluescurrnew = t_valuescurr
return = t_return.
But its not working, it keeps asking for a batch number. I guess i'm not using the right FM ?
Any ideas about this ?
Thank you in advance for your help !
Best Regards.
Edited by: Soufiane FAYSSAL on Jun 18, 2009 11:42 AMHello,
I am Ashok Chelikani. I am working on the same Issue.
i am getting following message:
TYPE ID NUMBER MESSAGE
E |C1 |003 |Characteristic DIMENSIONSCOLOR not found or not valid
I |CL |736 |Assignment was not created
my procedure as follows:
CLEAR: lv_objnum.
lv_objnum = I_MSEG-MATNR.
**Get Object Details
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
EXPORTING
objectkey = lv_objnum
objecttable = 'MARA'
classnum = 'Z_RMBCH1'
classtype = '001'
TABLES
allocvaluesnum = lt_alloc_num
allocvalueschar = lt_alloc_char
allocvaluescurr = lt_alloc_curr
return = lt_return.
IF NOT lt_return IS INITIAL.
CLEAR: lv_objnum.
lv_objnum(18) = I_MSEG-MATNR.
lv_objnum+18(10) = I_MSEG-CHARG.
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = lV_objnum
objecttable = 'MCH1'
classnum = 'Z_RMBCH1'
classtype = '023'
tables
allocvaluesnumnew = lt_alloc_num
allocvaluescharnew = lt_alloc_char
allocvaluescurrnew = lt_alloc_curr
return = lt_return.
lt_return returing error message. Kindly help me. -
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 -
Service billing for the material and service registers
Dear All,
I have doubt, if i do a sale of material 'X' and for the same material if i have to do a service invoice for rendering some service at the customer end. eg:- service charges for transportaion of the material to the customer place, doing installation charges for the material at the customer end etc.,
how should i go about it in SD .
A. Should i have to create a seperate mm master record for the list of service with the item category group LEIS
B. or is it possible to do a service invoice with out creating a sales order i.e directly based on the billing of the material 'x'
C. Is there any service tax register standard available. or if i wanted to create a service master should i have to ask the abaper to develop a z program for it
d. is this tcode can be used S_ALR_87012357 for service tax registers?
kindly update me on this
thanking you in advance
kumiHi
You need to create a material with item category group
a) LEIS (Service without Delivery) or
b) DIEN (Service with Delivery)
Based on the same you could bill the customer.
... Please.
with kind regards
Sundar -
Screen Level Security for the Material Master
We need to create security for the material master by screen views. The Purchasing group needs to be able to change the Purchasing and MRP screens but none of the other screens. How would we accomplish this with SAP security?
Thanks!Janet,
It is hard for us to know how your authorization profiles or roles are constructed. You really should consult your local authorization expert.
The Authorization object you are looking for is M_MATE_STA. It is probably contained in at least one of your Roles or Profiles that are currently assigned to your MM maintenance people. At a minimum, it should exist in standard SAP profile M_MATE_ALL in your system. You can review all of these types of authorization info in the User Information System (transaction SUIM).
You would have to create roles or profiles that narrowly define the "User department" fields for M_MATE_STA object. You would also have to search for existing roles/profiles that contain "*" in this field, and determine if these entries are still appropriate in your new authorization business process you want to begin.
Below is the SAP help about this authorization object
M_MATE_STA
Definition
Maintenance status authorization for material master records
The data contained in a material master record is divided into user departments or views (Purchasing, MRP, and so on). The maintenance status is a single-character key for the relevant user department or view.
This object determines which user departments or views a user is authorized to process; that is, which data he or she may process from this view.
Note
To use material master functions, a user needs the authorization for at least one user department.
Defined Fields
Fields Possible values Meaning
ACTVT 01 User may create data.
02 User may change data.
03 User may display data.
06 User may flag data for deletion.
08 User may display change documents.
STATM Here, you specify the maintenance status for which the user is authorized.
The maintenance statuses possible are as follows:
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
Notes
This authorization object also determines:
o Whether a user may flag a material master record for deletion. In this case, 06 must be entered in field ACTVT; the maintenance status is irrelevant here.
o Whether a user may change the material type. In this case, 02 must be entered in field ACTVT; the maintenance status is irrelevant here.
o Whether a user may process an MRP profile or forecast profile. In this case, the following values must be entered in field ACTVT:
- 01 to create
- 02 to change or delete
- 03 to display
The maintenance status must be D for the MRP profile or P for the forecast profile.
o Whether a user may create an overview of all extendable materials. In this case, 01 must be entered in field ACTVT; the maintenance status is irrelevant here.
o Whether a user may call up the materials list. In this case, 03 must be entered in field ACTVT; the maintenance status is irrelevant here.
o Whether a user may create or change production versions from task lists. In this case, 02 must be entered in field ACTVT, and A in field STATM.
Rgds,
DB49 -
A/C assignment category mandatory for the material
Hi Gurus,
I am facing the error message"A/c assignment category mandatory for the material" while creating a PO. How to fix this?
Thanks,
Kumarhi,
For PO you can make the account assignment optional from:
SPRO --> MM -> Purchasing --> PO --> Define screen layout --> Here choose me21 --> see the details....check in the basic data, item details....
For the material type of the material , the qty n value update setting is:
SPRO--> Logistics general --> MM -> Material type -->Define attributes of material type --> in it see for individual material type...
Hope it helps.
Regards
Priyanka.P -
Error msg: ZFI999:Maintain price for the material 254600254 in plant 1000
Hi gurus
18.02.2009 i created one STO PO. but material price in the accounting view the price was "Zero" in plant 1000. In plant 2000 the price has already maintained.
But today i updated the material price like Rs 200/- through MR21 for plant 1000.
After that while i transport the material through MB1B (351 mvt type) plant 1000 to 2000, i got the following error msg.
"ZFI999:Maintain price for the material 254600254 in plant 1000".
Regards
AmsiHi Amsi
the message no is not standard i think there has been a new message created. please check with your ABAPer about the message.
just want some clarification. you are doing STO from plant 1000 to 2000. the price should be picked for that material maintained in plant 2000.
in case of queries please revert back
Adwait Bachuwar -
Report for the material having any kind of block
Dear All
I would like to have a report for the material having any kind of block i.e.(X-plant matl status OR Plant-sp.matl status).
Pl suggest any standard report or through table.
Rregards
ManojHi
Trnx. SE16 Table MARA
fields
MSTAE X-plant matl status
MSTAV X-distr.chain status
Vishal... -
Licence is not included for the material - J1IH
Hi All
We are working on ECC 6.0.
While doing J1IH ( Additional Excise) with Subtransaction Type 01, we are getting a warning message as -
Licence is not included for the material
Message no. 8I993
However if we process without any Subtransaction Type, no warning is flashed.
Please let me know the reason for the same and what could be done so that system doesnt prompt it?
Regards
KapilHi
Check SAP note 1223591
Regards
Antony -
Error :Maintain pricing conditions for the material for the excise invoice
Hi
i have maintained excise data for material, after that i have created scheduled agreement with lp and with 0 value private and dummy tax code and delivery schedule is released. Now when i do the goods receipt i am getting error " Maintain pricing conditions for the material for the excise invoice date
Message no. 8I629" can some body can help me.
with regards
Narendra kumarHi,
goto tcode fv11 u have to maintained the condition.
first enter the condition type like jmop -
then enter, next screen u have the select the below comination.
select the plant/vendor/material base u have to maintain the conditions.
Thank's
MVS -
I have a hard time understanding why I can't contact support about THEIR problem. I plugged my iPhone into my pc. iTunes came up. It said there was an update available for the phone. I accepted that. Clicked on the "download only" because I didn't have the time to install it at that point. It downloaded but didn't stop. It continued to the 'backing up your iPhone' segment then froze. I waited at least an hour with no change. Finally I unplugged my phone..iTunes wasn't responding.I rebooted my pc then tried the same thing again. Same outcome even though I let it "Back Up" for 7-8 hrs while I slept. Same Story............... iTunes 10.4.0.80 is the software I'm using. When my phone is 'plugged' in what I see on it's face is "Sync in Progress".....for hours!
Error 1611
This error typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, this error may be a hardware issue. If the errors persist on another computer, the device may need service.
Synced media like apps and music are not included in the iPod backup that iTunes makes. You can redownload iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
Error while maintaining the Update Rules for the Infostructure
Hi,
I have added 2 new characteristics for the existing infostructure S9xx and executed the same. While maintaining the Update Rules for the same, system is giving the error message 1. "Field 'PARVW' unknown" and 2. Error generating program RMCX0011.
Please guide me in resolving the issue.
Thanks & Regards,
Kumar.Hi,
This is with reference to my earlier question that an error is occuring while maintaining the update rules for the existing Infostructure.
Solution provider for this will be rewarded with good points.
Regards,
Kumar. -
Shipping data could not be determined for the material
hi all,
while creating STOs for i get a message that shipping data for the material canoot be determined for the material. the plants are maintained as customers. the shipping tab in item detail in STO order is not appearing. the shipping point is getting dertmined for sales orders from the same plant and material. am also able to ceate STOs between other pair of plants.
thnx in advance
saurabh
Message was edited by:
saurabh diwakarHi,
Shipping point is determined by <b>"shipping conditions"</b> + <b>"loading group"</b> + "<b>plant"</b>.
<b>Shipping conditions</b> are fetched from customer master / or if maintained in the sales doument type they are fetched from there.
<b>Loading group</b> fetched from material master.
<b>Plant</b> fetched from CMIR / CMR / MMR.
You do the shipping point determination using the transaction code <b>"OVL2"</b> If <b>SC or LG or PLANT</b> are deviating from the entries in the customer or material master then also you will not get the shipping point.
Reward points if solution helps.
Regards,
Allabaqsh G. Patil -
Standard cost estimate could not be found for the material
Dear All,
We have 4 manufacturing plants and 30 sale depots. We are maintaining price control (S) for FG and SFG in Manufacturing plants,price control (V) at depots for the same material code. we are getting an error message " standard cost estimate could not be found for the material" while doing billing at depot.
Please give me suggestion.
Your suggestion should be appreciate.
Thanks in advance............
AND
My client want to see profitability at manufacturing plant level and need break up for the COGM. So how can i get the values of depot sales.
please let me know how to do........Hai
Price control should be S for Depot also. You need to run standard cost estimate in DEPOT after entering additive cost under CK74N for frieght, excise duty etc. To transfer the standard cost from the source plant you need to make configuration in OMD9 defining the receiver and sender combination so that system can pick up the cost from source plant. This special produrement type needs to be asigned in the material masters of DEPOT under MRP 2 view.
Pushkala -
Licence is not included for the material
Hi,
I have maintained account ddetermination for DIEX ETT for sub transaction type 22. When I am doing Additional Excise in J1IH system is giving the warning message as "Licence is not included for the material" and it is not picking any G/L accounts. Where as without subtransaction , it is picking concerned G/L accounts. Please suggest, what I have to do?
Regards,Hi
Check SAP note 1223591
Regards
Antony
Maybe you are looking for
-
Set filter value for a web template with java
hi experts, i need to set a variable dynamicaly depending on the Logon Name. Ok first step i did, i made a small script for the Username: _var url = this.location.href; _var x = url.substring(url.length-6, url.length); _var lifnr = ("0000" + x); _al
-
How to send an email with an attachment using webdynpros
Hi Friends, i have a table and a toolbar button (send) when i click on that button i have to send an email for the selected row from the table with an attachment. please let me know step by step in detail. Thanks, Mahesh.Gattu
-
Document Splitting is not displaying in GL view
Hi All, I have done all the Configuration for Document Splitting. First question regarding document splitting is that why system is not allowing me to assign the item category 01001 for any GL in ECC 6.0 EHP 5, it is giving the following error. The (
-
TS1702 AppStore downloading trouble
I have tried all of the above, downloading from AppStore still doesn't work, no matter which application I try. Amy more ideas?
-
How to install LiveCycle Forms ES2
Hi, We are using adobe LiveCycle ES2 with SP2. after installing the LiveCycle ES2 and applying the patch, we noticed that we forgot to check the LiveCycle Forms ES2 to be installed!, now we need this module my question is how to install this module