dbm700 vehiclemaster dataenhancement january2010

42
Enhancing Vehicle Master Data Peter Bodo-Gyori Developer, SAP Labs Hungary January 2010

Upload: ranjith

Post on 16-Aug-2015

232 views

Category:

Documents


5 download

DESCRIPTION

segrg

TRANSCRIPT

Enhanc i ng Vehi cl e Mast er Dat aPeter Bodo-GyoriDeveloper, SAP Labs HungaryJ anuary 2010Vehicle Master Enhancement StepsVehicle Enhancement ExampleThe DBM VehicleiObjects2010 SAP AG. Al l ri ghts reserved. / Page 3The DBM Vehi cl eNo new concept introducedComposite of existing concepts: VMS Vehicle Individual ObjectDBM VehicleIndividualObjectVMSVehicleVMSVehicleIndividualObjectDBM Vehicle2010 SAP AG. Al l ri ghts reserved. / Page 4The DBM Vehi cl eVMS Vehicle Introduced in Vehicle Management System Used for process flexibilityiObjects (Individual Objects) Introduced in SAP CRM Used for data flexibilityVehicle Master Enhancement StepsVehicle Enhancement ExampleThe DBM VehicleiObjects2010 SAP AG. Al l ri ghts reserved. / Page 6I ndi vi dualObj ec t sHierarchical StructureObject Family 1Category 1Extension 1Attribute 1Attribute 2Attribute 3Attribute 5Attribute 4Attribute 6Attribute 8Attribute 7Attribute 9. . .Extension 3Extension 4Extension 5Extension 2. . .Category 2. . .. . .2010 SAP AG. Al l ri ghts reserved. / Page 7I ndi vi dualObj ec t sBe very careful when working with individual objects. Thestructures / tables data elements are generated, its very hardto undo the work. If you assign an attribute to a set type whichis already in use, you need to archive all vehicles before youcan unassign it.2010 SAP AG. Al l ri ghts reserved. / Page 8i Obj ec t s DBM Li mi t at i onsLimitations: No organization-dependent data No interlinkages No reference product No alternative IDs No real multiple-use set types (only single-line extensions and multi-line extensions) Only one category per iObject (but >1 category for one object family possible) No automatic generation of iObject handling code and DDIC objects, manual steps required2010 SAP AG. Al l ri ghts reserved. / Page 9i Obj ec t s Ex ampl e i n DBMVehicle Master Enhancement StepsVehicle Enhancement ExampleThe DBM VehicleiObjects2010 SAP AG. Al l ri ghts reserved. / Page 11Vehi cl e Mast erEnhanc ementSt epsSt ep 1 Cr eat e At t r i but esTransaction COMM_ATTRSET2010 SAP AG. Al l ri ghts reserved. / Page 12Vehi cl e Mast erEnhanc ementSt epsSt ep 2 Cr eat e SetTypesTransaction COMM_ATTRSET2010 SAP AG. Al l ri ghts reserved. / Page 13Vehi cl e Mast erEnhanc ementSt epsSt ep 3 Assi gn At t r i but est o SetTypesAttributes assigned tab2010 SAP AG. Al l ri ghts reserved. / Page 14Vehi cl e Mast erEnhanc ementSt epsSt ep 4 Cr eat e Cat egor yTransaction COMM_HIERARCHY2010 SAP AG. Al l ri ghts reserved. / Page 15Vehi cl e Mast erEnhanc ementSt epsSt ep 4 Cr eat e Cat egor y I ICategory tab2010 SAP AG. Al l ri ghts reserved. / Page 16Vehi cl e Mast erEnhanc ementSt epsSt ep 5 Assi gn SetTypes t o Cat egor ySetTypes tab2010 SAP AG. Al l ri ghts reserved. / Page 17Vehi cl e Mast erEnhanc ementSt epsSt ep 6 Assi gn NumberRange t o Cat egor yTransaction SPROCross-Application ComponentsSAP Product Settings for ProductType Number AssignmentDefine Number Ranges for Materials2010 SAP AG. Al l ri ghts reserved. / Page 18Vehi cl e Mast erEnhanc ementSt epsSt ep 6 Assi gn NumberRange t o Cat egor y I I2010 SAP AG. Al l ri ghts reserved. / Page 19Vehi cl e Mast erEnhanc ementSt epsSt ep 7 Enhanc e i Obj ec tAPITransaction COMM_ATTRSET Menu: SetTypes/Attributes Transport Set Types2010 SAP AG. Al l ri ghts reserved. / Page 20Vehi cl e Mast erEnhanc ementSt epsSt ep 7 Enhanc e i Obj ec tAPII IIf previous step was unsuccessful Transaction SE11 Structure COMT_PROD_MAT_MAINTAIN_API Append the relevant settype structures2010 SAP AG. Al l ri ghts reserved. / Page 21Vehi cl e Mast erEnhanc ementSt epsSt ep 8 Cr eat e Tabl e Type f orMul t i -Li neSetTypesTransaction SE11 Create Table Type2010 SAP AG. Al l ri ghts reserved. / Page 22Vehi cl e Mast erEnhanc ementSt epsSt ep 9 Enhanc e I nt er nal DBM APISt r uc t ur esTransaction SE11 Structure /DBM/IOBJ _DATA_SINGLE_TXT_S for single line set types Structure /DBM/IOBJ _DATA_MULTI_TXT_S for multi line set types2010 SAP AG. Al l ri ghts reserved. / Page 23Vehi cl e Mast erEnhanc ementSt epsSt ep 10 Enhanc e Ex t er nal DBM APISt r uc t ur esTransaction SE11 Structure /DBM/IOBJ _DATA_SINGLE_COM_S for single line set types Structure /DBM/IOBJ _DATA_MULTI_COM_S for multi line set types2010 SAP AG. Al l ri ghts reserved. / Page 24Vehi cl e Mast erEnhanc ementSt epsSt ep 11 Map Ex t er nal and I nt er nal DBM St r uc t ur es2010 SAP AG. Al l ri ghts reserved. / Page 25Vehi cl e Mast erEnhanc ementSt epsSt ep 11 Map Ex t er nal and I nt er nal DBM St r uc t ur esI ITransaction SE19 Classic BAdI /DBM/VEHICLE_API2010 SAP AG. Al l ri ghts reserved. / Page 26Vehi cl e Mast erEnhanc ementSt epsSt ep 11 Map Ex t er nal and I nt er nal DBM St r uc t ur esI I I2010 SAP AG. Al l ri ghts reserved. / Page 27Vehi cl e Mast erEnhanc ementSt epsSt ep 11 Map Ex t er nal and I nt er nal DBM St r uc t ur esI VEnter implementing class, use forward navigation to create it2010 SAP AG. Al l ri ghts reserved. / Page 28Vehi cl e Mast erEnhanc ementSt epsSt ep 11 Map Ex t er nal and I nt er nal DBM St r uc t ur esVImplement methods for data transferBe careful, creating implementation will override default implementation2010 SAP AG. Al l ri ghts reserved. / Page 29Vehi cl e Mast erEnhanc ementSt epsSt ep 12 Cr eat e Subsc r eenCopy a default subscreendefault layout, PAI and PBO If you use multi-line extensions, copy a screen where exists such data, like keys PBO module required for multi-line extension alv texts2010 SAP AG. Al l ri ghts reserved. / Page 30Vehi cl e Mast erEnhanc ementSt epsSt ep 12 Cr eat e Subsc r een I ICreate subscreen layout2010 SAP AG. Al l ri ghts reserved. / Page 31Vehi cl e Mast erEnhanc ementSt epsSt ep 13 Def i ne Node i n t he Navi gat i on Tr eeTransaction SPROLogistics ExecutionDealer Business Management (DBM)VehicleNavigation in Vehicle MasterDefine Nodes for Vehicle Master Navigation Tree2010 SAP AG. Al l ri ghts reserved. / Page 32Vehi cl e Mast erEnhanc ementSt epsSt ep 14 Add NewNavi gat i onPr of i l e f ort he Cat egor yTransaction SPROLogistics ExecutionDealer Business Management (DBM)VehicleNavigation in Vehicle MasterDefine Navigation Profile and Technical Settings for NavigationTree2010 SAP AG. Al l ri ghts reserved. / Page 33Vehi cl e Mast erEnhanc ementSt epsSt ep 14 Add NewNavi gat i onPr of i l e f ort he Cat egor y I I2010 SAP AG. Al l ri ghts reserved. / Page 34Vehi cl e Mast erEnhanc ementSt epsSt ep 15 Assi gn Subsc r eens t o NewUserPr of i l eThe profile contains now the default subscreensSelect your profile, add the created node with your screen to the newly created profileSet it active2010 SAP AG. Al l ri ghts reserved. / Page 35Vehi cl e Mast erEnhanc ementSt epsSt ep 16 Assi gn Pr of i l e t o Cat egor yTransaction SPROLogistics ExecutionDealer Business Management (DBM)VehicleNavigation in Vehicle MasterNavigation Profile Determination Assign Navigation Profile2010 SAP AG. Al l ri ghts reserved. / Page 36Vehi cl e Mast erEnhanc ementSt epsSt ep 16 Assi gn Pr of i l e t o Cat egor y I IVehicle Master Enhancement StepsVehicle Enhancement ExampleThe DBM VehicleiObjects2010 SAP AG. Al l ri ghts reserved. / Page 38Vehi cl e Enhanc ementEx ampl e Over vi ewAdditional tire information Tire manufacturer Tire model Tire size DOT A number indicating tire manufacturer, plant and production week Profile depth for each tireNew screen for displaying and editing additional information2010 SAP AG. Al l ri ghts reserved. / Page 39Vehi cl e Enhanc ementEx ampl e Over vi ewThis is how the new screen will look like:2010 SAP AG. Al l ri ghts reserved. / Page 40Vehi cl e Enhanc ementEx ampl e Hi er ar chyExample hierarchyTire manufacturer Tire modelDOTProfile depthTire sizeTire locationMain dataItem dataCustom vehicleDBM VehicleAttributesSet TypesCategoryObject Family2010 SAP AG. Al l ri ghts reserved. / Page 41Fur t herr eadi ng Cookbook: Enhancing vehicle data (note 900850) https://service.sap.com/sap/support/notes/900850 SDN page about enhancement cookbooks http://forums.sdn.sap.com/thread.jspa?threadID=1554869&tstart=0 /DBM/VM01 Function group documentation SAP help on individual objects http://help.sap.com/saphelp_dimp50/helpdata/en/75/461e400191f72ee10000000a1550b0/frameset.htm2010 SAP AG. Al l ri ghts reserved. / Page 42No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained hereinmay be changed without prior notice.Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries,eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+,POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex,MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or othercountries.Oracle is a registered trademark of Oracle Corporation.UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology.J ava is a registered trademark of Sun Microsystems, Inc.J avaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, Clear Enterprise, SAP BusinessObjects Explorer and other SAP products and services mentioned herein as wellas their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products andservices mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP France in the United States and in other countries.All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only.National product specifications may vary.The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without theexpress prior written permission of SAP AG.This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended strategies,developments, and functionalities of the SAPproduct and is not intended to be binding upon SAP to any particular course of business, product strategy, and/ordevelopment. Please note that this document is subject to change and may be changed by SAP at any time without notice.SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links, or otheritems contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties ofmerchantability, fitness for a particular purpose, or non-infringement.SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of thesematerials. This limitation shall not apply in cases of intent or gross negligence.The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot linkscontained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages. 2010 SAP AG. Al lRi ght s Reser ved