MATMAS05 - Create Material. Field closed
Hi,
I'm trying to create at material sending inbound MATMAS01 to SAP R3.
The error that i get is: "Specify a unit of measure"
MessType = MATMAS
BasicType = MATMAS01
I have tried to strip the idoc to be as simple as possible and now I only sending in 2 segments.
In the first one there is MEINS (unit of measure) attribut.
--E1MARAM
E1MAKTM
If I get into MM01 I get the same problem (Error: "Specify a unit of measure"). If I go into MM02 on another material I can see that the field is "not to be changed" its closed.
How do I open this field again....that will do it right ?
Points to the winner!
Regards
Martin
Hi.
please change the field selction for material master. make the unit of measure as required field by removing the check fromt display. you can do it SPROLogistic General Material master--feild selection
Or GOTO OMS9
Regards
Vikrama
Similar Messages
-
I can create material using inbound Idoc of type MATMAS01, but not MATMAS05
I can create material using inbound Idoc of type MATMAS01 in WE19, but MATMAS05 failed. In fact I used same data ( different material number), and same inbound function, but got different result.
What is different between MATMAS01 and MATMAS05? Is there some configuation need for MATMAS05?
My system is ECC5.0. Thanks.Hi, nagaraj
this is inbound IDoc, not outbound IDoc, so we can't assign Basic type in WE20, only can assign Message type.
In WE82, there are 5 records about Messagetype MATMAS:
Message type Basic type Release
MATMAS MATMAS01 30A
MATMAS MATMAS02 30D
MATMAS MATMAS03 40A
MATMAS MATMAS04 46C
MATMAS MATMAS05 470
I think it should be ok.
In WE57, there 2 records are exist:
FM_name BasicType MessageType
IDOC_INPUT_MATMAS01 MATMAS01 MATMAS
IDOC_INPUT_MATMAS01 MATMAS05 MATMAS
so I think all configurations should be ok.
Message was edited by:
liu bin -
Error while creating material using MMS1
Hi All ,
I am trying to create material (Material type - DIEN) using MMS1.... but its giving error as "The field Component 1 is defined as a required field; it does not contain an entry" .
Pls suggest / advice on how to correct this error ....
Thanks ,
Mridul .hi,
i believe some finctional consultant having knowledge in MM module can easily help u out on this.
reg,
nj -
Hello Guru's Error MSG while creating Material Type HERS
Hello Guru's,
While creating material type HERS the system is showing the following error *"The field orign acceptance is defined as a required field; it does't contain an entry'"* will any one give solution.
even i have filled orign field in info record also still it is giving same error message, will anyone give solution.
full points for the answer.hers is for the mpn
note the techincal name of that field and then go to oms9 and there make that filed for the filed selection key of hers as optional
u can get the field selcton key of hers from the tcode oms2 -
MG144 Error Messages while creating Material Master
Hi,
When creating Material Master getting Error for structure field is required. Message Number MG144.
Pls suggest.
Regards,
VRGo through this note 45998
Or check, which field is required field and try to maintain or just make the optional entry in customizing -
Error Message no. MM214 while creating material master
Hi folks!!
While creating material master, when i fill the MRP controller field and press enter, I get the message...
The MRP controller 391 does not exist for plant
Message no. MM214
I have checked, the MRP controller is availble in Master Data for MRP Controller. And we have already created many material master with this MRP Controller.
What could be the possible cause for this error. Please help.
Best regardsHi Qamar,
Please go thru the bellow threads,
Assignement of MRP controller to Plant
MRP CONTROLLER
MRP Controller
Re: MRP controller extension from plant 1 to plant 2
Thanks,
Swamy H P -
MPN Material Field in Goods Receipt for Purchase Order
Hi,
I have created PO for MPN material "MFG-A" for IM material " 123". ( ECC 6.0)
Already the material "123" is maintained with other MPN material "MFG-B"
The have checked the " MPN Change" check box in the respective Mfg Part profile( IMG: OMPN)
While I am doing goods receipt, the MPN material field is in display mode.
But in other system the field is in change mode.
Default the system will show "MFG-A" as the MPN material is maintained in PO.
But I need to change the MPN materail at the time of GR.
I would like to change the MPN material from "MFG-A" to "MFG-B" while doing GR time.
kindly guide me what are the settings required to change MPN Material Field in Goods Receipt.
Thanks in Advance,
Kumar.Hi,
I have maintained all the settings.
But the issue was, I have not put the field "MPN material" (GOITEM-EMATN) as input field in field selection group in Inventory management.( it was in display mode )
Once I have changed to input option, I can able to change the MPN material while GR.
Regards,
Kumar -
Saving of different Material code in the system while Creating material
Hi,
Anyone can help me in following .
While creating material number, there should be some User exit which is going to change the logic for saving of material number in the system.
Example:
Division and material Group should be added into the predefined number range. Number range defined for raw material is 100000 to 199999. If division is 1A, and Material group is M01. The first number generated by system is 100000 , where as during saving into the table NUMBER SHOULD BE saved as 1AM01100000 & we must be able to work on the new number.
If any query pl .revert.
MG.Hi manish,
This is possible using enhancement.
Use the User Exit MGA00001
and code the below like :
cmara-matnr = cmara-matnr+7(11).
CONCATENATE cmara-matkl cmara-spart cmara-matnr into cmara-matnr.
set PARAMETER ID 'MAT' field cmara-matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = cmara-matnr
IMPORTING
OUTPUT = cmara-matnr
Hope it will solve your problem. -
PO Material Field got grey-Error
Hi All,
We have created a PO by refering the PR with Accnt assignment category K, so the entry of matl code is not required, we entered the matl decription.
After that we have creted a PO with Account assignment cat A, as it is a asset, ..
In all these cases the material field was grey.
We done GRn for this PO also.
But due to some mistake we have cancelled the GRN.
BUT NOW THE PO MATERIAL IS BECOME GREY.
I have checked the PO it is showing open qty for all line item.
Please help me out why it become grey and how to make it as editable.
Regards,
Nagaraj SHi,
as per your thread, you have made GRN and cancelled , hence automatically that PO is Open, where you are seeing the PO Material Field as grey ? in PO or in MIGO screen ?
In PO thru ME22n , you still can edit the material text
Regards,
Vikas -
Create materialized view with specific column sizes
Hi all,
I'm trying to create a materialized view with a specific a column size. Something like
create materialized view test_mv
refresh force on demand
as
select id,
cast(my_compound_field as nvarchar2(50))
from ( select id,
field1 || field2 my_compound_field
from my_table);But Oracle seems to ignore the cast and takes the maximum size it finds for field1 || field2 in the select query. The resulting table has a column nvarchar2(44) instead of nvarchar2(50).
This can give a problem when the view is refreshed... there could be new data that exceeds the current size, i.e. where length(field1 || field2) > 44.
How can I override the column size of a field in a materialized view?
Edit: Some additional info to clarify my case:
field1 and field2 are defined as nvarchar2(25). field1 || field2 can theoretically have a length of 50, but there is currently no data in my table that results in that length, the max is 44. I am afraid that there will be data in the future that exceeds 44, resulting in an error when the MV is refreshed!
Edited by: Pleiadian on Jan 25, 2011 2:06 PMCannot reproduce what you are saying is happening.
SQL> create table t (a nvarchar2(50), b nvarchar2(50));
Table created.
SQL> create materialized view tmv as
2 select a, b, a || b c from t;
Materialized view created.
SQL> desc tmv
Name Null? Type
A NVARCHAR2(50)
B NVARCHAR2(50)
C NVARCHAR2(100)
SQL> drop materialized view tmv;
Materialized view dropped.
SQL> create materialized view tmv as
2 select a, b, substr(a || b, 1, 10) c from t;
Materialized view created.
SQL> desc tmv
Name Null? Type
A NVARCHAR2(50)
B NVARCHAR2(50)
C NVARCHAR2(10)
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
SQL>Edited by: 3360 on Jan 25, 2011 8:10 AM
And with data
SQL> insert into t values ('3123423423143hhshgvcdcvw', 'ydgeew gdfwe dfefde wfjjjjjjj');
1 row created.
SQL> commit;
Commit complete.
SQL> desc tmv
Name Null? Type
A NVARCHAR2(50)
B NVARCHAR2(50)
C NVARCHAR2(10)
SQL> select * from tmv;
A
B C
3123423423143hhshgvcdcvw
ydgeew gdfwe dfefde wfjjjjjjj 3123423423 -
Create Material Master Record with Text
Hi, I am looking to create material Master Data via ABAP. I currently have some code that creates the Master Data Characteristic value I want, but I need the text as well. Can someone tell me what I need to do to add the text for the Master Data Characteristic value?
Here's what I have using CL_RSDMD_UPDATE_MASTER_DATA=>UPDATE_ATTRIBUTES_STATIC
TYPE-POOLS: RS, RSSM.
DATA: T_ZFREETEXT LIKE STANDARD TABLE OF ZFREETEXT.
DATA: T_INFO TYPE RSSM_S_MINFO.
DATA: RETURN_STATUS TYPE RSARR_T_IDOCSTATE.
DATA: RETURN_SUBRC LIKE SY-SUBRC.
DATA: MSG TYPE RS_T_MSG.
DATA: L_R_ACTIVATE_MASTER_DATA TYPE REF TO CL_RSDMD_ACTIVATE_MASTER_DATA.
INSERT ZFREETEXT INTO TABLE T_ZFREETEXT.
CALL METHOD CL_RSDMD_UPDATE_MASTER_DATA=>UPDATE_ATTRIBUTES_STATIC
EXPORTING
I_IOBJNM = '0MATERIAL' " Technical name of InfoObject
I_CHAVL_ENQUEUE = RS_C_FALSE
I_T_DATA = T_ZFREETEXT
I_S_MINFO = T_INFO
I_MONITORING = RS_C_FALSE
CHANGING
C_T_IDOCSTATE = RETURN_STATUS.
IF SY-SUBRC <> 0.
RETURN_SUBRC = 'Error happened'.
ELSE.
RETURN_MSG = 'Process Completed Successfully'.
CREATE OBJECT L_R_ACTIVATE_MASTER_DATA
EXPORTING
I_IOBJNM = '0MATERIAL'
I_P_Q_HAVE_TO_EXIST = RS_C_FALSE.
IF SY-SUBRC = 0.
L_R_ACTIVATE_MASTER_DATA->ACTIVATE(
IMPORTING
E_SUBRC = RETURN_SUBRC
CHANGING
C_T_MSG = MSG ).
ENDIF.
ENDIF.Dear Kenneth,
do you need to add master data during load of transaction data in planning scenario? If yes, you can do this with a planning function of type exit in the INIT function module.
I think you've to use the table ETO_CHAS (table for char. combinations) and all kind of char. combinations has to be transfered.
data:
l_s_chas type /1SEM/_YS_CHAS_"YOURCLIENT"YOURPLANNINGAREA",
l_r_co_area type range of /bi0/oico_area,
l_s_costcenter type /bi0/pcostcenter.
field-symbols:
<f_coar> type /bi0/oico_area,
<f_cctr> type /bi0/oicostcenter.
select * from /bi0/pcostcenter into l_s_costcenter
where co_area IN l_r_co_area
and objvers = 'A'.
<f_coar> = l_s_costcenter-co_area.
<f_cctr> = l_s_costcenter-costcenter.
INSERT l_s_chas INTO TABLE eto_chas.
endselect.
Regards, Clemens -
Is it possible to Create Material Master without Profit Center ?
Hai,
1) Is it possible to Create Material Master without Profit Center ?
2) How SAP System Validate Profit Center in material master. ? is it material Type wise ?
3) Whether PO Order Creation,GRN & MIRO Possible for those material Master without Profit Center.?
Kindly Explain me clearly..
Thanks & Regards,
SwethaHi,
Profit center is at the plant level.
You can create material master even with out a profit center.This field will be there in the costing view and and general sales/plant data.
while creation of the materila master if do not select these views system will not ask for that.Normally it is pertaining to the costing analysis.
A profit center manager is held accountable for both revenues, and costs (expenses), and therefore, profits. What this means in terms of managerial responsibilities is that the manager has to drive the sales revenue generating activities which leads to cash inflows and at the same time control the cost (cash outflows) causing activities. This makes the profit center management more challenging than cost centre management. Profit center management is equivalent to running an independent business because a profit center business unit or department is treated as a distinct entity enabling revenues and expenses to be determined and its profitability to be measured.
Business organizations may be organized in terms of profit centers where the profit center's revenues and expenses are held separate from the main company's in order to determine their profitability. Usually different profit centers are separated for accounting purposes so that the management can follow how much profit each center makes and compare their relative efficiency and profit. Examples of typical profit centers are a store, a sales organization and a consulting organization whose profitability can be measured.
For more info,please refer
http://help.sap.com/erp2005_ehp_04/helpdata/EN/cc/36428094f311d2b47a006094b9b0a5/frameset.htm,
Regards, -
10 digit code need to be created while creating material master
Hi, Please advise how to create a 10 digit code automatically when we create material master in SAP? Please note that this code is required as one of the basic data view fields, not as material code. Is there any enhancements available for the same.
Dear
Try to use Product Hierarchy field MARA-PRDHA in the Material Master for this purpose
Regards
JH -
Error on "CREATE MATERIALIZED VIEW"
I tried to create this materialized view:
CREATE MATERIALIZED VIEW mv_cost_est
BUILD IMMEDIATE
REFRESH complete
START WITH to_date(sysdate,'dd/mm/yyyy hh24:mi:ss')
NEXT sysdate + 60/86400
disable QUERY REWRITE
AS
SELECT
efm_contratti.contratto_id,
efm_commesse.dp_id,
x.wr_id,
(select max(cost_class_attiva) from efm_cost_cat_passivo_attivo
where x.cost_class_id = efm_cost_cat_passivo_attivo.cost_class_passiva
and x.cost_cat_id = efm_cost_cat_passivo_attivo.cost_cat_passiva
) AS classe_costo,
(select max(cost_cat_attiva) from efm_cost_cat_passivo_attivo
where x.cost_cat_id = efm_cost_cat_passivo_attivo.cost_cat_passiva
and x.cost_class_id = efm_cost_cat_passivo_attivo.cost_class_passiva) as cat_costo,
x.cost_est_total,
(SELECT CASE
WHEN status IN ('I','SA') and ( (TO_DATE(LAST_DAY(SYSDATE)) > wr.date_est_start) or wr.pct_complete > 0 ) THEN
(case
when wr.pct_complete > 0 then
(wr.cost_est_total * wr.pct_complete /100 * (1 + pct_ricarico/100))
when (wr.pct_complete = 0 and wr.date_est_end = wr.date_est_start and wr.date_est_end < TO_DATE(LAST_DAY(SYSDATE))) then
(wr.cost_est_total * (1 + pct_ricarico/100))
when (wr.pct_complete = 0 and wr.date_est_end > TO_DATE(LAST_DAY(SYSDATE)) ) then
(wr.cost_est_total * ((TO_DATE(LAST_DAY(SYSDATE)) - wr.date_est_start) / (wr.date_est_end - wr.date_est_start) ) * (1 + pct_ricarico/100))
when (wr.pct_complete = 0 and wr.date_est_end < TO_DATE(LAST_DAY(SYSDATE)) ) then
(wr.cost_est_total * (1 + pct_ricarico/100))
when (wr.pct_complete = 0 and wr.date_est_end = TO_DATE(LAST_DAY(SYSDATE))) then
(wr.cost_est_total * (1 + pct_ricarico/100))
END)
WHEN status = 'Com' THEN cost_est_total * (1 + pct_ricarico/100)
WHEN status = 'CON' THEN cost_total * (1 + pct_ricarico/100)
WHEN status = 'BEN' THEN cost_total * (1 + pct_ricarico/100)
else
0
end
from wr where wr.wr_id=x.wr_id) as IMPORTO1,
'EUR',
efm_commesse.ac_id,
project.project_id,
project.project_type,
x.status,
x.cost_est_total,
x.cost_total,
x.pct_complete,
(SELECT CASE
WHEN status IN ('I','SA') THEN
(case
when wr.pct_complete = 0 and wr.date_est_start = wr.date_est_end and wr.date_est_end < TO_DATE(LAST_DAY(SYSDATE)) then
100
when wr.pct_complete = 0 and wr.date_est_end > TO_DATE(LAST_DAY(SYSDATE)) then
round (((TO_DATE(LAST_DAY(SYSDATE)) - wr.date_est_start) / (wr.date_est_end - wr.date_est_start)*100), 2)
when wr.pct_complete = 0 and wr.date_est_end < TO_DATE(LAST_DAY(SYSDATE)) then
100
when wr.pct_complete = 0 and wr.date_est_end = TO_DATE(LAST_DAY(SYSDATE)) then
100
when wr.pct_complete > 0 then
wr.pct_complete
END)
WHEN status = 'Com' THEN 100
WHEN status = 'CON' THEN 100
WHEN status = 'BEN' THEN 100
else
0
end
from wr where wr.wr_id=x.wr_id) as SAL_CALCOLATO,
x.pct_ricarico,
x.commessa_id,
x.cost_class_id,
x.cost_cat_id
FROM
wr x, cf, efm_contratti, efm_commesse, project,wrbennonfattura
WHERE x.cf_id=cf.cf_id
AND x.commessa_id=efm_commesse.commessa_id
AND x.contratto_id=efm_contratti.contratto_id
AND x.project_id=project.project_id
AND efm_commesse.status not in ('Closed')
and x.wr_id=wrbennonfattura.wr_id
and project.project_type in ('03','10')
AND x.cost_class_id is not null
but I get this error:
ORA-22818: subquery expressions not allowed here
How can I rewrite my query to avoid this error?
Thanks in advance!I'm sorry, the solution I gave above may not be correct. Try http://download.oracle.com/docs/cd/B19306_01/server.102/b14200.pdf - section 15-6. And the solution may be:
ORA-22818: subquery expressions not allowed here
Cause: An attempt was made to use a subquery expression where these are not supported.
Action: Rewrite the statement without the subquery expression. -
Set default value for price unit when creating material master data
HI: Every
could you tell me how to use user-exit or else ways to set default value(such as 1000) for field "Price unit" (MBEW-PEINH) when creating material master data(MM01)?
I have try to use Exit:EXIT_SAPLMGMU_001. However, this way cannot respones it.
thanks
HenryHi: Ihave find out a solution
Use BADI: BADI_MATERIAL_REF
SPROlogistics general enhancement supplement or change default data (industry)
And then creating a Implementation Name
Double click method: CREATE_MATERIAL
And then write code as below:
method IF_EX_MATERIAL_REFERENCE~CREATE_MATERIAL.
c_mbew-peinh = '1000' .
endmethod.
However, SAP still store '1000' in database evenif we change the default value such as 100 when we use TCode MM01.
in additional, we still use MM02 to change the default value such as '100'
can anybody tell me how to do?
thanks
Henry
Maybe you are looking for
-
I have a Power Mac 5 WITHOUT an intel processer/ I have updated my computer to snow lepord which is as far as I can go. I am unable to use the cloud. I used to have a Mobileme account and used it when I traveled to foreign countries yo read email.
-
Hi! Win 8.1 pro, domain workstation. How Block all access, except for a fews users/groups and domain controller information/date. Nuance: From domain AD is locked Workstation Firewall "Domain profile" edit. Possible? cenubit
-
Photoshop 12.02 unexpected quits
OSX 10.6.5. I'm getting unexpected quits upon opening Photoshop and beginning work (every time), need to solve this as I have a PS class to teach this week. I've defaulted preffs. Love some feedback. brgds Alex Log: Process: Adobe Photoshop C
-
How to use sdk in standard B1?
Hi,All How to use sdk in standard B1? I want to use "sum in words" be thai languag which in standard no have so i must create it use sdk but i don't know that have solution using sdk in standard. example, Go menu Sales-A/R>Delivery and input data
-
How to get jsp page form action this page use ajax
i want to get form action result editThree div. however, ajaxpage open new window.how to decide it? ajaxCallPages.js var loadedobjects="" var loadingcontainer="loading" var loadstatustext="<img src='images/loading.gif' />" //loading var rootdomain="h