0% found this document useful (0 votes)
469 views17 pages

Customizing Material Master-Adding New Tab-Sub-Screen

Uploaded by

Kidana Test
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
469 views17 pages

Customizing Material Master-Adding New Tab-Sub-Screen

Uploaded by

Kidana Test
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 17
879728, 1103 AM ‘Aska Question Write a Blog Post Customizing Material Master — Adding new tablsub-sereen in MMO1 /MMO2 MMO3 | SAP Blogs Technical Articles Like 3\ RSS Feed hitpssblogssap.com/2019/00/23/eustomizing-mat Mohit Sharma September 23,2019 | 4 minute read Customizing Material Master — Adding new tab/sub-screen in MMO1 / MMO2 7 MMO3 Bn Yyi6 @ 29606 Introduction: In this blog post you will learn how to insert your own custom tab/sub- screen onto Material master transactions MMO1 / MMO2 / MMO3. Let's look the requirement and steps performed to achieve it, Requirement: To Add a new tab in Additional data section of MMO1 transaction. You can find the screenshot of the requirement as follow: © Main Data s Custom Tab “Bescipcons_| Unis of measue_|_ ditional FANS | Document cata) <> C2 eral TE] Standard subscreen Helo....am being caled Custom Subscreen The solution includes some SPRO configuration and some ABAP programming. -master-adding-new-tabeub-screer-inmm0'-mm02-mmO3i~text=To add a new tab%2C go... 1/17 1819/28, 11:03 aM hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt Customizing Material Master Adding new tabisub-sereen in MMO1 /MMO2 MMO3]| SAP Blogs. ‘Therefore to make this a transportable solution, you would require both customizing as well as workbench transport requests. Steps: 1. Go to: SPRO -> SAP reference IMG -> Logistics-General -> Material Master -> Configuring the Material Master. Here you will find the complete steps to achieve this requirement. severe YS sap custameng implmentazon Gude “BS @ Actate tusnes Functor >” SAP Simple France AGC fr SAP Busnes Sue powered by SAP HANA >B Enters stuctre 2S roseAppleaton Companants > gertzy SAP Framework Confouration SAP Fito ane Proje: Management ancl Acceurang (a) Franch Supp Chan Management Stage enters Managerent/busnes Aras B ontona > estent Waragement 26S entepree conalng DB Raa Estate sabe aa: Management (FE) “a BS Dior Retr Managerent (ORM) “8 Here's How (Quck Gude Usha an Earle) © Data stwrue of Data Screens for Ech Scraan Seauence dssgn Saconcay Screens anton Orr of Man and Adstona! Susans ‘Assign Seiten Sequences to Usa Mate Type Tasactoy industry Sector, Def How Yanterance Statuses Are Detennnd in Dats Tranter Create Progam for Custom Subscaens SES © wantan user setnas 2B Fail Soecton 2.To add a new tab, go to SPRO -> SAP reference IMG -> Logistics-General -> Material Master- Configuring the Material Master -> Create Program for Customized Subsereens ~BS__Loaitics- Generel > BS Distrbutor Reseller Management (DRM) > Portal BS Nateral Naster ‘Configuring the Materal Haster Here's How (Quick Guide Using an Exarple) + 88 © Define Structure of Data Scraens for Each Scraen Sequence @ Assign Secondary Screens +B @ Mantain Order of Main and Addtional Screens: + BG Assign Screen Sequences to User/Mataral Type/ Transacton/Industry Sector + 2 @ Define How Maintenance Statuses Are Determined in Data Transfer ‘Bie +B @ Mantan User Settings Enter a Z Function group and click on ‘Save’: ub-screer-immm0t-mm02-mmORi~text=To add anew tab%2C go... 2017 1819/28, 11:03 aM hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt Customizing Material Master Adding new tabisub-sereen in MMO1 /MMO2 MMO3]| SAP Blogs: Function group Zed NEW_TAE_FS short text [Subscreens for new tab in Additonal nF a 3. Now go to below path to define the structure: To add anew tab, go to SPRO -> SAP reference IMG -> Logistics-General -> Material Master -> Configuring the Material Master -> Define structure of data screens for each screen sequence. ~ BS ___Locistics - General > BS __ Distributor Reseller Management (ORM) > Portal YB, Materal Master v Configuring the Matefal Master Here's How (Quick Guide Using an Example) [Define Sbucture of Data Screens for Each Scigen Saquence| ‘Assgn Secondary Screens Maintain Ordar of Main and Addtional Screens Assign Seen Sequences to User/Material Type/Transaction/Industry Sector Define How Mantenance Statuses Are Determined n Data Transfer Create Program for Customized Subscreens Maintain User Settngs oe DED 8000000 Create the ‘ZZ’ sequence by copying '21' standard sequence and click on Save Change View "Screen sequences": Overview S rvs QR ORK Day Sucre 554 Saco og descrptin Ym Scsen seuss | e154 uty sequence passat (02 Standod ral sequence sheen 21 Stl nds: ral sars 12 Manca 4 Fras | oes 25 era rshon Ta gee 25 ‘Std (chon tab pages cee Duty Std ne Tabs or 050 Sed ng Tab for Eas Decete dso 2 om EINES ub-sreer-inmm0-me02-mnmO3i#~text air 1819/28, 11:03 aM Customizing Material Master Adding new tabisub-sereen in MMO1 /MMO2 MMO3]| SAP Blogs: 5 s5u Sceen see descbton (2 [td in.(short) tab pages ™ is Date screens + Me Subscreens Now select the Z sequence, click on ‘Data Screens’ and here add the new data screen information. Here we will have the list of standard views and will add the new data screen at last. a aes “og geemtnunes lie Slant ah and beta screens + im Subscreane 4, Now we need to find the screen number (for example, if we want to create a copy of an existing screen), which we can get by navigating to System -> Status hitpssblogs sap.com2019/09/23/customizing-materia-master-adding-new-tabsub-scresr-in-mm0-zrm02-mmO3Hi~text=To add anew tab%2C go... 4/17 1819/28, 11:03 aM Customizing Material Master Adding new tabisub-sereen in MMO1 / MMO2 MMO3]| SAP Blogs. [FE] Create Material 1575 (Finished Product) enone ae a on eo mas ‘aint language aterDES) rer of Fuld Password Logon Ata, 1 eee 3 i= SAP cata eT =e e et ci 201, Product ve ‘See Detais _— ame ee zi =: ee la s e Bocen number 4300 Instalation Number —= & 2 og (subsar) SAFE cess exoraton SE —_— a == a 5 —F aioe a se a Sei ——— a nn |e — Roses Server name memes 113170, — Petorm = hor —s Sr = = 5. Copy screen 2110 into a Z program. ee we ree ee yom ear somante is [erm resto ‘er [eran [seo SE teney seomson Sinan Braet omsree 2 =e ec Go to Z program and add a text on custom subscreen 2110, ub-sceer-inmm0't-mm02-mmOai~text=To add anew tab%2C go... SI17 1819/28, 11:03 aM hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt Customizing Material Master Adding new tabisub-sereen in MMO1 / MMO2 MMO3]| SAP Blogs: Lid Scien Painter Change Steen SAPLZMM NEW TAB FG 2110 Screen Edit Golo LilitisM) Endronment Help ec |G\C6e@ BH|\xaa\oc gaa @ BPG Ct Bah 4 & Aowboe Athinios 4 Element Lat wef Ey T f i © Ga a a a & fii g cS ® Now at the configuration level (SPRO -> SAP reference IMG -> Logistics-General -> Material Master ->Configuring the Material Master -> Define structure of data screens for each screen sequence.), click on ‘Sub screens’ and give the Z program. name of created function group along with screen number. BS nevenvies EO EL BL EL standard Screen Dog structure #2 $5q Sem Ss Program iW. \Miscen miomen za 1 [pra View data screen pata scaens 4 a estos = ME Gl Z ‘Vew subscaen soetersan xlaly[= ub-screer-immm0t-mm02-mmOai~text=To add anew tab%2C go... 6I17 1819/28, 11:03 aM Customizing Material Master Adding new tabisub-sereen in MMO1 /MMO2 MMO3]| SAP Blogs: ‘Sq Connectivity Browser | [MIME Repesitor . Repository Information System I Be Tag rowan? | BB Transport organver 3 Test Repostory | Program M a [SAPLZMM_NEW_TAB_FG > NS) ee)! ‘Object Name Description ‘YW ZMM_NEW_TAB_FG [subscreens for new tats Yl Screans * 000% lank Subscreon * 0002 able Contr Defnton ‘ano subscreen for 410 (ta > MM Includes 6. Now go to below path to assign the secondary screen SAP Customizing implementation guide -> logistics general > material master -> Configuring the material master -> Assign secondary screens
BS Distributor Reseller Management (DRM) > Portal ~B_— Materal Master Configuring the Material Master Here's Hovr (Quick Guide Using an Example) Define Seructure of Data Screens for Each Screen Sequence [assign Secondary Screens Maintan Order of Nain and Aedtional Screans Assign Screen Sequences to User/Material Type/Transection/Industry Sector Define How Maintenance Statuses Are Determined in Data Transfer Create Program for Customized Subscieens Maintan User Settings oe wasyeRD | 8990000 p Select the created screen and click on additional to mention that the screen should be displayed in Additional Data. Here if we don't create ‘Additional Data’ then the TAB will be added as main view in material master. hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt ub-screer-inmm0t-mm02-mmOai~text=To add anew tab%2C go... 77 1819/28, 11:03 aM hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt Customizing Material Master Adding new tabisub-sereen in MMO1 / MMO2 MMO3]| SAP Blogs: Change View "Assignment of Secondary Screens": Overview S@5RE B Assignment of Secondary Screens 5 5... Desc, @ 2B Customized Sequence BMW 2c. Std ind.(short) tab pages i 2_Nlscieen seq [fe bts ind short) tab pees Change View "Assignment of Secondary Screens": Details S$0RB8H aF Screen sequence |22) Std nd.(short) tab pages S...|Screen descrition FOode ‘Additional Processing rout 2 Operaton pamecets fos c 84 Cust, Replenshment Parameters PBIE 1 Costing (Curent) Fase sar Costing (Past) esc HE Costng (Future) rie va Acdtionals esl 7.Now go to below path to maintain the order of screen sequences: SAP Customizing implementation guide -> logistics general -> material master -> Configuring the material master -> Maintain order of Main and Additional Screens YB. Logstics- Gonara > BS Distrbutor Reseler Nanagement (ORM) > Portal (R__Materal Master ~ ES __— Configuring the Matenal master Here's How (Quick Guida Using an Exampie) B Define Structure of Data Sceens for Ezch Sceen Sequence Assign Secondary Screens Assign Screen Sequences to User/Nateral Type/Transacton/Industy Sector Define How Maintaranca Statuses Ara Determined in Data Transfer Create Frooram for Customized Subscreens tain User Settings DaPV Dae 0000000 Select the Z sequence and double click: ub-sceer-inmm0t-mm02-mmOai~text=To add anew tab%2C go... 8/17 1819/28, 11:03 aM hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt Customizing Material Master Adding new tabisub-sereen in MMO1 /MMO2 MMO3]| SAP Blogs: Change View "Screen Order": Overview Screen Order BS... Descr. SP Std Ind. Tabs for EHRS vi_DFPS Ve Distr. Ind, Mat. Versions 23 Customized Sequence BYW ZC Std ind.(short) tab pages 28 _Nelscraen seq [fez “sts ind.chort) tab pages Change View "Screen Order": Details oaB Sceen sequence [22) Std ind,(short) tab pages Order of Han Screens Oder of An Screens Su. Seaun doveron _ Seen Dose 7 ease oa Chol® 20. eserpeons 08 Basic Data 2 20% 41 Units of Measure ay 25. Chafeaton so" 24 Addeonal Ate 30 08 Sal: Sales Og, Data 40 60 Documsnt Dat 6 10s. Ss 09, vata 2 2042 BancOata Tet 20 11 Sdes: Genera Pt Dat €© 62 Inpestn Text @ 22 Feregn Trde: Bot Data 70. £5 IneralConmert 70 13. Sale To £0 £8. Conmption sa 14 Purchasna £051 Propertnn/Produc Unt 2 15. Foreign Trede: Irpot Dota aco zt DICT Fe 16. Purchase Order Tet no 26 NRL 20 2 nee? 10 2 Re 3 140 ~ e 25 NR 4 10 v : oe om ey “> |S sorta sceens | [ Sort Addl Screens If needed, we can change the screen sequences ub-screer-inmm0t-mm02-mmO~text=To add anew tab%2C go... 9I17 1819/28, 11:03 aM hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt Customizing Material Master Adding new tabisub-sereen in MMO1 /MMO2 MMO3 | SAP Blogs: Change View "Screen Order: Details 346 screen sequence [22] std ind.(short) tab pages Order of Main Screens Order of Addn Screens 6. Sereen desertion (No. fil) &.. Screen Desc. No. fi 07 Base Data 1 The,> 40 Descerptons a 08 Basic Data 2 20 23. Chssficeton 207 4 Units of Measure 3 08 Sales Sales Org. Data 1 4064 Addtonal EANs 2 10. Sales Sales Org. Data 2 2060 Document Data 2 Sales: Genera/Phnt Data 2&2 Basic Date Text «0 22. Foroign Trade: Export Data 7062. Inspection Text 7 13. Sales Text 20 63. Internal Comment 20 14 Purchasng 5042 Consumticn 0 415 Foreign Trade: Import Data 16021. Proporton/Preduce Unit 3200 6 Purchase Order Text 10 26 RPL 1z0 8.Now go to below path to assign the screen sequences: SAP Customizing implementation guide -> logistics general -> material master -> Configuring the material master -> Assign screen sequences to User/Material Type /Transaction/Industry Sector. Here assign the created Z sequence by replacing ‘21’ sequence ~ BS Logetics- General > BE _Ostrbutor Reseler Management (DRM) > Portal YB Materal Master BS Confguring the Material Master * Here's How (Quick Guie Using an Example) Define Structure of Data Screens for Each Scieen Sequence Assign Secondary Screens Maintain Order of Main ard Additional Screens (Assign Screen Sequerices to Usei/Material Type) Tiarsactor/industry Seco] Define How Nantenance Statuses Are Determined in Data Transfer Create Program for Customized Subscreens aintan User Setungs ub-screer-inmm0'-mm02-mmOai~text=To add anew tab%2C 9... 10017 1819/28, 11:03 aM hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt Customizing Material Master Adding new tabisub-sereen in MMO1 / MMO2 MMO3 | SAP Blogs: Change View "Screen sequence control": Overview & tote QRORKRB Dialog Structure 6B Ref: tans, SRef: user ‘SRef: mati type SRef: industry $Sq Screen seq, description [i "Sawer tute cnt a : 5 mercnicaaen Beene ah : a " 2 ces auc = Rg Matera! tye screen raft 9! pare: 14 FFF css ‘Bbwnyweccrecen) ol : = 15 eta ats a : = 1st Pas a : mm Sind Ter Eten a . vem ve a abe 9, Now go to MMO1/MM02/MMO3 i.e create, change or display a material and Click on Additional Data: We can see the new TAB created. Main Data a Custom Tab (Seccpcne [DESDE] re cfmessre | aeswoatene | psamentess <7 Serie Custom Subscreen Helo. smbaing caled Conclusion: Yes! In this way we can add our own custom tab in the material master record i,e, while creating, changing or displaying the material. Moreover, with this, approach, whatever changes you perform are easily identifiable and can be maintained implicitly. You can write your own custom modules and subroutines in the Z-Function group created. Isn't it awesome, @ | have tried to compile some of the relevant blogs as below: you can refer to them as. well: https://blogs.sap.com/2014/04/13/control-material-master-fields/ https://blogs.sap.com/2014/03/02/material-master-screens-and-fields/ https://blogs.sap.com/2012/04/20/configuring-customized-material-master- adding-sub-screens-in-mmO1-mm02-mm03/ For any issues, concern or in case you find any difficulties implementing it, please feel free to contact me. look forward for your feedback and suggestions. ub-screer-inmm0t-mm02-mmOai~text=To add anew tab%2C g... 1/97 1819/28, 11:03 aM Customizing Material Master Adding new tabisub-sereen in MMO1 / MMO2 MMO3]| SAP Blogs: Alert Moderator Assigned Tags ABAP Development MM (Materials Management) Similar Blog Posts “an Configuring Customized Material Master - Adding sub screens in MMO1 / MMO2 / MMO3 By Former Member Apr 20,2012 Additional Fields on the Material Master By Former Member Mar 06, 2015 Display Material Picture in Material Master Screens MMO1/MM02/MMO3 By Lalitha Varalakshmi CS Mar 22, 2022 Related Questions n~ "AT END OF " statement not working By Former Member Aug 13,2009 How to activate the new fields on material master(MMO1/MM02/MMO3) for existing Materials By Former Member Feb 25,2014 mm transactions By Former Member Nov 25,2006 11 Comments You must be Logged on to comment or reply to a post. hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt sub-screen-inmmO-mm02-nmO3ii~text=To add anew tabW62C q.. 12/17 1819/28, 11:03 aM Customizing Material Master Adding new tabisub-sereen in MMO1 /MMO2 MMO3]| SAP Blogs: Hemchand sharma September 24, 2019 at 3:47 pm Good stuf for developer ..thanks for sharing Like l | Share Mohit Sharma | Blog Post Author September 25, 2019 at 3:25 am Hi Hemehand, Thanks for your feedback @ Regards, Mohit Sharma "Keep learning!! Keep improving! Like © | Share Mara Virtan, October 24,2019 at 11:27 am Nice solution! Would it be the same if for mm01 | need a new input field on the initial screen (eg: Plant ), or | willneed anew mm01 having the customized initial screen ? transaction similar wi Thank you! Like © | Share Mohit Sharma | Blog Post Author October 25, 2019 at 5:52am Hi Mara, ‘Thanks for your feedback! You can try with the below links, in case you find success or any difficulty, please revert back @ hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt ub-screer-immm0t-mm02-mmOai~text=To add anew tab%2C 9... 13017 1819/28, 11:03 aM Customizing Material Master Adding new tabisub-sereen in MMO1 / MMO2 MMO3]| SAP Blogs: https://blogs.sap.com/2014/04/13/control-material-master-fields/ https://blogs. sap.com/2014/03/02/material-master-screens-and-fields/ Regards, Mohit Sharma Like © | Share Ansaf Ashraf February 7, 2020 at 6:25 am HiMohit, Good stuff for developer Thanks for sharing. But when | am trying to do client copy(SCC1), it's throwing some error. hs) Start analysis of system 14:52:21 GH | tae Ins. Del, _Upd. Fume. KByte Tine(sec] Tine ‘vou T1334 ° 0 3s7waT oo 1a ‘yom_T139ax ° ° 70 wat oo 04 vox T133K ° ° iwat oo 0 1 ven_r1338, ° ° swat 0 0 1 vvor_usraa. ° ° 2waT oo 01 vmissc 0 ase WaT oo o vir ° 0 les wat oo o vine ° ° 79 WaT oo 0 selected tables 2 Tables to be processed u Storage requized (KB) : 0,000000008+00 Progeaa ended with error or warning, return code: U Runtine (seconds) rz End of processing: 14:52:22 Can you please suggest any solutions. Regards Ansaf A hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt ub-screer-inmm0t-mm02-mmOai~text=To add anew tab%2C 9... 14/17 1819/28, 1103 aM Customizing Material Master Adding new tabisub-sereen in MMO1 /MMO2 MMO3]| SAP Blogs. Like © | Share Mohit Sharma | Blog Post Author February 7, 2020 at 9:22 am HiAnsaf, hanks, | am glad you liked it, First, this is not an error message, but a warning, because the entry V_CMIis missing in a table OBJH for this object. You can ignore for the moment, if itis not affecting the functionality. else you probably need to contact the basis for this as this is a standard entry, but | am not sure.. as | did not get this, warning while transporting through SCC1. @ Please correct me if lam wrong, in case you find any other best solution, Keep Learning! Keep Improving! Regards, Ms Like © | Share khoa ho September 12, 2020 at 4:58am thanks Like © | Share ‘Abdul Samad J September 18, 2020 at 5:54 pm Hi Mohit, have a similar case where we add a custom subscreen in MM43 under basic data, However for every action on buttons or scrollbars in the custom subscreen area, it shows a popup saying — last data screen reached Any idea how this popup can be suppressed. Programmatically there is a flag BILDFLAG used for suppressing, but not able to figure where this is set. If this is set. the popup ideally would not show up. hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt 1ub-screen-inmmO-mm02-nmO3ii~text=To add anew tabW2C g.. 18/17 1819/28, 11:03 aM Customizing Material Master Adding new tabisub-sereen in MMO1 /MMO2 MMO3]| SAP Blogs. R, Abdul Samad Like © | Share Mohit Sharma | Blog Post Author March 2, 2021 at 1:06 pm Hi Abdul Samad J Please try to use the function module MAIN_PARAMETER_! €T_BILDFLAG Regards, Mohit Sharma Like © | Share Armando Mazzoni Is it possible to create a fully independent custom Maintenance status ID, (table t132), in a way that the creation of a custom view is independent form another standard maintenance status? Overall | would need that this custom view linked to the custom maintenance status behaves as one of the standard statuses (such as D=MRP. etc) in terms of indipendent view selection in MMO1 e MMO2 and possibily to be used in authorizations as well thanks regards Like © | Share Tushar Rajput March 6, 2023 at 1:12 pm Hi Everyone, hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt 1ub-screen-inmmO-mm02-nmO3ii~text=To add anew tabW2C gq... 16/17 1819/28, 11:03 aM Customizing Material Master Adding new tabisub-sereen in MMO1 / MMO2 MMO3]| SAP Blogs: | am facing some issues; | have followed all the steps instructed in this blog but still not able to get new tab in MMo2 Please help me ASAP Thanks & Regards Tushar Kumar Rajput Like © | Share Privacy Legal Disclosure Trademark Newsletter hitpssblogssap.com2019/09/23/eustomizing-mataria-masta-adding-nevt Find us on Terms of Use Copyright Cookie Preferences ‘Support ub-sreer-immm0'-mm02-mmOai~text=To add a new ab%2C 9 wir

You might also like