‎2010 Jun 15 2:53 PM
Hello People,
To add my custom fields in the basic view tab of MM01 transaction, i have performed the following steps:-
1. Inserted the append structure in MARA table with the required fields.
2. Copied function group 'MGD1' to 'ZMGD1' and then set the layout of screen '0001' as per my requirement.
3. Then i made changes in spro as
SPRO->Logistics-General->Material Master->Configuring the material master->define structure of data screens for each screen sequence and inserted my program name( of function group 'ZMGD1') and screen number(0001) in 21(Std ind.(short) tab pages)->7(Basic Data 1)->8(sequence).
Now, if i click on SPRO option (view data screen), then i can see my fields added in basic data view...
but when i execute 'MM01/MM02/MM03' trx there my added fields do not appear....
Does anyone know where i am missing out??
Please suggest...
Thanks in advance..
Rgds,
Abhi
‎2010 Jun 15 7:50 PM
Hi Abhi,
This is what we did in one of our client (Retail).
After you have added the custom fields to the MARA table,
1) T-Code OMT3C
a) Create a Z function Group
b) Open the function MGD2, copy the screen 2001 as 9001 to program generated for above Z function group
c) Add the required fields to the screen 9001, Write your PBO and PAI logic.
2) T-Code OMT3B
a) Under the Screen Sequence, select the sub-screen(Eg 23) where you want to have your custom fields displayed, copy it to some Z1 or Z2 etc
b) Double click SUBSCREEN, replace the standard program with the program and screen created in step 1 a and 1 b.
3) T-Code OMT3E
a) Underthe SCREEN SEQUENCE control (Eg 23) with Z1 or Z2 created in step 2a.
Save activate. You should see your custom fields in MM41/42/43
‎2016 Jan 28 11:20 AM
‎2010 Jun 15 7:56 PM
Here are some notes I have from when I recently added a new screen/subscreen to Material Master transactions. Hopefully this information will help you.
********************************************************************************************************************************************************
This guide should be used in conjunction with OSS note 44410 and IMG notes Logistics->Logistics Material Master->Material->Configure Customized Material Master.
Online Maintenance.
1. Add fields to append structure ZAEMARA.
Use data dictionary maintenance u2013 SE11
2. Generate table MARA.
3. Add fields to view MARU and generate.
Use data dictionary maintenance u2013 SE11.
4. Create new sub-screen or add new fields to screen SAPLYMM1 9001.
Use Screen Painter u2013 SE51.
Change flow logic to add fields to field: statement and to add any validation required. Generate screen.
If this is the first time additional data has been added to material master it will be necessary to create a new function group and associated programs. See Configure Customised Material Master paragraph Requirements.
5. If new sub-screen, add to Customer main screen.
Transaction OMT3.
Double click on u2018Std industry sequenceu2019.
Choose customer screen and Details.
Change the first occurrence of 0001 (blank screen) to new screen number.
Save.
Back arrow.
Click on Transport button and choose required transport.
6. To include in 'Copy with Reference' processing - MM01, add new MARA fields to table T130F. (in each client)
Use Transaction SM31. (make a copy of another ZZ field by typing over existing name).
Add to transport manually:- R3TR TABU T130F + individual keys
7. Test Material create, change, display.