Mm01 materials view
hi,
can anybody give code to find views for material in mm01 trasaction.
thanks
karthik
these are the values for material views.
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
Message was edited by: Srikanth Kidambi
Similar Messages
-
Problem in BDC with ( MM01-Dynamic views )
HI
I am working with BDC on material Mater(mm01).
Now while Creating Material,there is option of selecting different views based on MaterialType.
But while recording a BDC i can record it for a particular Material Type.and can select view associated to that particular Material Type.
Is there any solution to create a bdc progarm which can accept a new material based on
any material type and having views on user's choice that are given by user in Input file.
FOr that i think i need to create dynamic views and screen elements for input associated to those views.
After scanning some sites and forums for this particular problem,i got some help on this:-----
<b>SELECTION_VIEWS_FIND</b> should be very useful in this case.
There are three FModules totally involved:
a) <b>T130M_SINGLE_READ</b>
Pass TCODE = MM01, and get T130M values
b) <b>BILDSEQUENZ_IDENTIFY</b>
Pass KZRFB = 'X',TCODE_REF=T130M-TRREF and get
BILDSEQUENZ values
c) <b>SELECTION_VIEWS_FIND</b>
Pass BILDSEQUENZ and T130M-PSTAT
Now, this function module holds the values of all the views and the next screen numbers
But i am unable to interpret the solution..Can somebody Elaborate on this.or provide me some other solution for this.
Thanks in Advance
Help Will be appreciated.Yes, I agree with Christian. You are gonna want to use the BAPI or the underlying function module. It works good and isn't really that complex. Here is sample program. Here the function module is being used to change data, it can also be used to create, you will have to change the Tcode from MM02 to MM01.
report zrich_0001.
data: i_mara type table of mara_ueb with header line.
data: i_marc type table of marc_ueb with header line.
data: i_marcx type table of marc with header line.
parameters: p_matnr type mara-matnr,
p_plifz type marc-plifz.
start-of-selection.
* Get all plants for that material
select * into corresponding fields of table i_marcx
from marc where matnr = p_matnr.
* Now maintain data for each plant
loop at i_marcx.
* Reset I_Mara to new material number
clear i_mara. refresh i_mara.
select * into corresponding fields of table i_mara
from mara where matnr = p_matnr.
read table i_mara index 1.
i_mara-tcode = 'MM02'.
i_mara-tranc = '0000000001'.
modify i_mara index 1.
* Get Plant Data
clear i_marc. refresh i_marc.
select * into corresponding fields of table i_marc
from marc where matnr = i_marcx-matnr
and werks = i_marcx-werks.
read table i_marc index 1.
i_marc-plifz = p_plifz. " Plan Del time
i_marc-tranc = '0000000001'.
modify i_marc index 1.
* Maintain material
perform MATERIAL_MAINTAIN_DARK'.
endloop.
* MATERIAL_MAINTAIN_DARK
form MATERIAL_MAINTAIN_DARK.
* Variable for "Maintain_Material_Dark" Function Module
data: numerror like tbist-numerror.
data: last_matnr type mara-matnr.
data: i_delfields type table of mfieldres with header line.
data: i_errors type table of merrdat with header line.
call function 'MATERIAL_MAINTAIN_DARK'
exporting
sperrmodus = ' '
kz_prf = 'W'
max_errors = ' '
p_kz_no_warn = 'X'
kz_verw = 'X'
kz_aend = 'X'
kz_dispo = 'X'
kz_test = ' '
flag_muss_pruefen = ' '
call_mode = 'ACT'
importing
number_errors_transaction = numerror
matnr_last = last_matnr
tables
amara_ueb = i_mara "Basic Data
* amakt_ueb = i_makt "Descriptions
amarc_ueb = i_marc "Plant
* amard_ueb = i_mard "Storage Location
* AMFHM_UEB = I_MFHM "Production Tools
* amarm_ueb = i_marm "Units of Measure
* AMEA1_UEB = I_MEA1 "Internal Mangagement - EANs
* ambew_ueb = i_mbew "Accounting/Costing
* asteu_ueb = i_steu "Tax Data
* astmm_ueb = i_steumm "Tax Data
* AMLGN_UEB = I_MLGN "Warehouse Data
* AMLGT_UEB = I_MLGT "Storage Type Data
* AMPGD_UEB = I_MPGD "Change Documents
* AMPOP_UEB = I_MPOP "Forcast Parameters
* AMVEG_UEB = I_MVEG "Total Consumption Data
* AMVEU_UEB = I_MVEU "Unplanned Consumption Data
* amvke_ueb = i_mvke "Sales Data
* altx1_ueb = i_ltx1 "Sales Text
* AMPRW_UEB = I_MPRW "Forcast Values
amfieldres = i_delfields
amerrdat = i_errors
exceptions
kstatus_empty = 01
tkstatus_empty = 02
t130m_error = 03
internal_error = 04
update_error = 05
too_many_errors = 06.
if sy-subrc <> 0.
rollback work.
call function 'DEQUEUE_ALL'.
else.
commit work and wait.
call function 'DEQUEUE_ALL'.
endif.
clear: i_mara, i_marc.
refresh: i_mara, i_marc.
endform.
Regards,
Rich Heilman -
Is it possible (and how?) to force the user to create specific views when a new material is created?
I would like to define some fields of the Foreign Trade: Import Data view as mandatory. Those fields have been marked as Required in OMSA, and when the user creates this view it works fine. But when the user does not select the view when the material is created no check is done on those fields and the material can be saved without values for the mandatory fields.You can Do default settings for views.
in Transaction Code MM01
go to Default > Views
You can Set
Indicator: view selection only on request
Indicator that causes the selected views to apply to all material master records processed from this time on, and the Select View(s) window to be redisplayed only at the user's request -
Adding field to MM01 - Costing View 1 tab
Hi,
I have appended a new field Product Group in MARA. Also created a Z Table to store Product Group and the corresponding Profit Center in it.
My Requirement is to add this field Product Group in MM01 Material Master - Costing View 1 tab.
Product Group should have an F4 from the Z Table values.
Once the user selects value for Product Group, Profit Center field in MM01 must be filled with value from the Z Table.
Once the material is saved, Product Group should be updated in MARA and Profit Center in MARC.
Can someone please help with the steps to do this and also what code to write in PBO/PAI.
Thanks in Advance.
Regards,
NavinHi ,
There is an Option of adding new Subscreen in Costing View 1 Tab .
Create an Custom Program with that field and do the Configuration process .
The Configuration Can be Done from the Navigation Mentoned Below
SPRO -> Logistics General ->Material Master ->Configuring the Material Master .
You can Find a Documentation how to Proceed .
Regards,
Sriram -
How to configure MM01 tabs view?
Hi experts,
We have just upgraded our SAP from 4.6C to ECC6.0. Until now in tcode MM01/ MM02/ MM03, the customizing was made in such a way that to navigate from one screen to the next the user had to click on the "next screen" button. This ergonomy being a little oldish, we would like to replace it by the new tab navigation in which you can access any screen by clicking on its tab.
I have searched in IMG -> configure Material Master but did not see where to configure the "tab navigation".
Any helpful tips would be appreciated and rewarded ?
C.K.Hi Clemens,
Thanks for your answer. I am working on ECC6.0 and the upgrade has been made already. Yes, our system has been heavily modified indeed due to historical reasons (we're dealing with a version implemented back in the times of SAP R2 ). Are you telling me that it is impossible to change the old navigation to the new tab-navigation one ?
Isn't there a way to trigger that functionnality without having to break down everything on the Material Master Data?
Thanks
C.K. -
Maintaining minimum stock only for few store materials
Dear All,
How can i maintain minimum stock level for few materials.
Can we maintain while creating mat in mm01 @ purc view or i need to do some other settings ?
B/regds,
CBHi,
You have to configure the MRP and maintain all the MRP parameter in to Material master.
After that Run the MRP by transection code MD03 , system will create the PR as per the data maintained in to MRP view of Material master.
Regards,
Manish -
Hi,
while transfering data's from legacy to SAP only basic data and plant data views were tranfered with relevent values .
the remaining views has to be maintained in SAP. while going for additional views will the system allow us to create additional views after creation of material with only two views.
Is there any option to add views to the created material.pls provide.
Regards
suresh kannaIt is possible to add views after creation of materials also.
but you can't add view's in th change mode, in material master create mode (MM01) select views what ever required for the same material number. -
BEST WAY TO REFRESH A MATERIALIZED VIEW
Hi, I have a Materialized View that was created after two Base Tables, Table A is a Dynamic Table, this means that it have Insert's, update's and delete's, and a Table B that is a Fixed Table, this means that this table do not change over time (it's a Date's Table). The size of the Table related to the Materialized View is to big (120 millions rows) so the refresh has to be very efficient in order to not affect the Data Base performance.
I was thinking on a Fast Refresh mode but It would not work because the log created on the B table is not usefull, the thing is that I created the two materialized view log's (Tables A and B) and when I execute the dbms_mview.refresh(list =>'MV', method => 'F')+ sentence I got the error
cannot use rowid column from materialized view log on "Table B" ... remember that this table don't change over time ...
I need to mantain the Materialized view up to date, but do not know how ... Please Help !!!!!The Materialized View name is test_sitedate2
The Table B name is GCO01.FV_DATES .... is a Fixed Table ... do not change over time ...
The Code of the MV is
CREATE MATERIALIZED VIEW TEST_SITEDATE2
REFRESH FORCE ON DEMAND
AS
SELECT site_id, date_stamp
FROM gco01.fv_site, gco01.fv_dates
where fv_dates.date_stamp >= fv_site.start_date
and fv_dates.date_stamp >= to_date('01/03/2010', 'dd/mm/yyyy')
and fv_dates.date_stamp < to_date('01/04/2010', 'dd/mm/yyyy');
Each table gco01.fv_site and gco01.fv_dates have it's materiallized view log created
The error is ....
SQL> execute dbms_mview.refresh(list =>'test_sitedate2', method => 'F');
begin dbms_mview.refresh(list =>'test_sitedate2', method => 'F'); end;
ORA-12032: cannot use rowid column from materialized view log on "GCO01"."FV_DATES"
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2254
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2460
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2429
ORA-06512: at line 1
Thank's -
How to make a field default in mm01 while coping from other material
hi all,
i want to make a field default in mm01 ....mara-mstae -
say value 'A', when
i am coping from other material.
normally a T.variant is working in the scenario when im creating a material
but not when i am coping from other material.
Any field exits would work on that .if so how?
thanks in advance,\
sgi have to make the x-plant material status as 'BE' in mm01 basic view 1 ,when the material is created or copied from .<b>but it should be only default for the user might change it</b>
now when the material was created its workin---- coz a transaction variant has been created.
but when im coping it from other material its picking the properties of the old material ( from which im coping) ..not the field value which i want to display as default.
field exit only validates. can we give default value by it ,before saving a material??????
thanks,
sg -
Views and Base unit of Measure is not coming in Chines Lang
HI All
Plz Help me.
I log-In Chines Server, during MM01 the views are coming in English language instead of chines.
and during PO creation The Base unit of Measure is not Coming in Chines Language it is displaying Some number??
I have maintained Source and taget lag in CUnI..but still Im getting this problem..
How to solve this plz help..
Thanks and regards
Ramesh reddyHi
Please maintain the translation in the Following Configuration
Logistics - General->Material Master->Configuring the Material Master->Define Structure of Data Screens for Each Screen Sequence
Select the Specific Screen Sequence & Maintain the languages
Similarly please maintain the Translations in the Transaction CUNI for the Base UOM in respective languages
I hope currently in your system only Language EN is maintained
Thanks
Madhav -
Validation for Profit center in MM01
hi all,
i have to validate the Profit Center field coming in Tcode MM01 in view COSTING1, but i dont know that how wud i do? actually here in my company there are three plant and three profit center and i have to restrict the user for wrong input. but i dont know that whether shud i write the codes? is there any user-exit or BADI? please help me.
regards saurabh.Hello Saurabh,
I have a small question is it view costing1 or accounting1 in MM01.
Please put the BREAK-POINT inside the exist which i suggested to you.
Before that create the project and assign this exit to the to the project and activate the project.
Some exits will not trigger it you don't create the project.
If this exits trigger for your rquirment then
Get the data from the table of F4 help.
Check the values against the screen field value.If both are ok then exit elase display error message.
I don't have system to test now perfectly.
If you have time i will give you the solution by tomorrow.
Thanks, -
Deleting the material view in mass
Hi Friends
The material master is created using LSMW in mass. The material list in the file itself is given wrong so a particular view is create in mass. Now the user says to remove the materials view in mass. How to do it. Is there any FM to remove or delete the particular view of a material. I want to remove the view in mass.
Regards
Vijay MukunthanIt is not forseen to remove created views.
you can only flag organisation level for deletion and subsequently run archiving with SARA object MM_MATNR, to physically remove this org level (this requires customizing)
technically the PSTAT fields at various levels (MARA, MARC, MBEW) control which view is created.
Usually you do not only have the status set, you usually have as well some fields filled in a view, as most views have mandatory fields.
If you load with BAPIs or IDOCs, then it shouldn't be a big deal to overwrite the existing material master with correct data in a new load (dont do it if you have the material already used) -
Dear ,
In Trnx- OMT3U- Change view - View selection - I am setting Only Basic screen to a particular user. & saved.
When the respective user , when doing MM01 Trnx, systems allows him to select further more screens in MM01 - Select view option.
Plz clarify How to have control on it- What IMG need to done,plz
Regards,
SureshHi,
select views is only the default views that are selected for that user,not to prevent user selecting more views.
Views that are preselected in the Select View(s) dialog box
Here, you can define for a combination of user and screen sequence that certain views appear as preselected in the Select View(s) dialog box.
Reg,
Deepak.
Edited by: deepak k b on Nov 20, 2008 10:12 AM -
Hi,
Where can i make the settings for the views while creating amaterial master. I want only limited views only to be displayed while creating the material. The views not pertining to the material type should not appear.
Regards,
Kumarhi,
check whether you have selected your own material type and done the customization in the view selection.
if u have maintained for your material type, them select the appropriate material type while creating material in MM01.tHE VIEWS Selected in OMS2 trx only will be reflecting.
Regards,
velu -
Hide field in T-CODE: MM01
I want to hide profit center field in MM01,the view is Sales: General/Plant Data.
The field is required,so it still show a message when i have hide the field.
what can i do,Please Help! Thanks!Hi Elven,
Use T-Code OMS9.
in Field sel. group enter 117
Then scroll to MM01 in the table below it and select Hide.
regards,
Aabhas
Maybe you are looking for
-
Best way to work with .png files for print
My client suppllied 100 color .png files (screen captures), about 1700 pixels wide for his book. I opened one with Photoshop, saved as Tiff, converted to Grayscale, cropped to 300 dpi and placed in InDesign, but the InDesign file size is almost 2mb.
-
Software updater for the 6350 ?
When I use the website to check on 6350 support, I see this: Device Software Update Your Nokia device can be updated with Nokia Software Updater. To get great new features, applications and to learn more, go to www.nokiausa.com/softwareupdate. Howeve
-
IPhone 6 - worth buying in North America to use in the UK??
Hi there, I live in the UK, but thinking about buying an unlocked iPhone 6 in an Apple Store when I'm in Canada next week. I've seen a lot of discussions around compatibility and antenna issues for 4G when using a phone bought in North America in Eur
-
So I had my computer stolen...is there a way to retrieve my itunes media through another computer?
-
I normally use a graphical login manager and when I log into dwm, there's no resolution problems. Although I want a little more customization with my session so I can have startup scripts and such, so I setup an xinitrc and ctrl+alt+F2, user, passwor