1、升升级项级项目操作手册目操作手册SPAU( (详详解)解)SPAU定制定制对对象象检查检查( (Costom object EPC)()(详详解)解)过过期期FM的替的替换换( (Replacement)()(详详解)解)升升级过级过程中的内容概括程中的内容概括Unicode检查检查( (UCCHECK)()(详详解)解)升升级过级过程中程中ABAP操作操作顺顺序序SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 3升升级过级过程中的内容概括:程中的内容概括: SAP系系统统中升中升级过级过程中可分程中可分为为以下
2、内容:以下内容:SPDD在SAP系统中用SPDD事务码,例举的标准的域、数据元素、数据库表及结构。需要参照旧系统进行调整。SPAU在SAP系统中用SPAU事务码,里面包括NOTES,with modification assistance和without modification assistance三大块。其中涉及到的对象都是SAP标准的对象,和SPDD类似,也是需要参照旧系统进行调整。具体调整步骤参照后面的详解。Custom objects包括客包括客户户后期开后期开发发的各种数据的各种数据对对象,参照下面象,参照下面调调整。整。SAP Japan Co., Ltd. 2004, Titl
3、e of Presentation / Speaker Name / 4FUNCTION GROUP and FUNCTION自开发函数组与函数。首钢SAP系统中共包括88个函数组、263个函数。此部分内容要根据后面的升级技术要点的说明去一一检查,函数中也可能包括BDC相关的程序代码。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 5BADI、 、BAPI、 、CLASSBADI是在SAP标准对象接口中实现的内容;BAPI则是自定义的BAPI函数,而非系统定义的标准BAPI函数;CLASS是配置开发的代理类。经统
4、计发现,首钢SAP系统中实现的BADI有4条记录,自定义的BAPI有1条记录,CLASS有58条记录。Program、 、BDC、 、SAP script、 、Smart FormPROGRAM是SAP系统中自开发的标准报表程序、功能程序;BDC是SAP系统中自开发的批导入程序;SAP Script与Smart Form是SAP系统中自开发的打印程序。经统计得知,首钢PRD系统中常用的PROGRAM有1998条记录(PROGRAM是指独立的可执行程序)、常用的BDC程序有168条记录(后新统计出188条记录)、常用的FORM程序共168条记录。SAP Japan Co., Ltd. 2004,
5、 Title of Presentation / Speaker Name / 6升升级级操作的技操作的技术术要点概括要点概括Domain、 、Data Element、 、Table等基本元素相关的修改等基本元素相关的修改域、数据元素、表(包括结构)这三类内容有一个引用的逻辑关系。如果域可以被数据元素参考引用,数据元素可以被表参考引用。因此,在这三类内容维护检查的过程中,必须按照域、数据元素、表的前后顺序来操作。域与数据元素在维护检查时,先进行一般的检查,然后再进行Package Check检查。表与结构进行维护检查时,也是先进行一般的检查,然后再进行Package Check检查。为保证以
6、上三类的内容参考引用时不会出错。维护检查后将所有的内容保存到一个请求号下,并在Program等内容传输前将其传输到QAS与PRD系统。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 7INTF、 、NOTES、 、SSFO这三类的内容是SAP标准程序的升级维护,由SAP公司的相关人员完成升级维护。为保证项目结束后的维护工作正常进行,SAP公司的人员完成升级工作后,需要写出一个可执行的操作手册,以备后需维护使用。传输等工作由SAP人员制定相应的传输策略,然后交由BASIS人员完成相应的传输操作。其它其它类类型的所有
7、程序型的所有程序检查维护过程中有以下几点内容需要注意检查:语法检查,保证程序无语法错误。扩展性检查,保证程序不含有隐性的错误。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 8UNICODE检查与字段截取检查。使用UNICODE后一个汉字只占一个字节长度,程序中若有字段截取的代码,需要特别注意。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 9SPAU这这个事个事务务代代码码是是显显示示传输过传输过程中所有程中所有标标准程序和准程序
8、和NOTE的的传输问题传输问题,需要仔,需要仔细检查细检查并且修正,并且修正,详详情情请见请见下面下面SPAU详详解。解。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 10升级过程中,其它具体的问题具体分析。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 11升升级项级项目要点介目要点介绍绍SPAUTcode: SPAUSAP Japan Co., Ltd. 2004, Title of Presentation / Speake
9、r Name / 12升升级项级项目要点介目要点介绍绍SPAUSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 13NOTESSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 14NOTESSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 15升升级项级项目要点介目要点介绍绍SPAUNoteSAP Japan Co., Ltd. 2004, Title of
10、 Presentation / Speaker Name / 16升升级项级项目要点介目要点介绍绍SPAUNoteSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 17升升级项级项目要点介目要点介绍绍SPAUNoteSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 18升升级项级项目要点介目要点介绍绍SPAUNoteSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Nam
11、e / 19升升级项级项目要点介目要点介绍绍SPAUNoteSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 20升升级项级项目要点介目要点介绍绍SPAUNoteSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 21NOTESSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 22NOTESSAP Japan Co., Ltd. 2004, Title of
12、Presentation / Speaker Name / 23NOTESSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 24NOTESSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 25NOTESSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 26NOTESSAP Japan Co., Ltd. 2004, Title of Presentation
13、 / Speaker Name / 27升升级项级项目要点介目要点介绍绍SPAUSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 28SPAUSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 29SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 30SAP Japan Co., Ltd. 2004, Title of Presentation / Speak
14、er Name / 31SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 32SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 33SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 34如果新旧如果新旧include里面的里面的form根本不同,包括名称,那么先通根本不同,包括名称,那么先通过过CSS查查NOTES或或message,如果没有找到相,如果没有
15、找到相关关结结果,就果,就报给报给客客户户做决定。做决定。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 35升升级项级项目要点介目要点介绍绍SPAUWithout modification assistantSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 36升升级项级项目要点介目要点介绍绍SPAUSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 37
16、升升级项级项目要点介目要点介绍绍SPAUWithout modification assistantSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 38SPAUSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 39SPAUSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 40SPAUSAP Japan Co., Ltd. 2004, Title of Pr
17、esentation / Speaker Name / 41SPAUSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 42SPAUSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 43Replacement过时过时FM的替的替换换WS_UPLOADWS_DOWNLOAD UPLOADDOWNLOAD SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 44Re
18、placementWS_UPLOAD如果 原系统FM 是WS_UPLOAD 我们应该替换成FMGUI_UPLOAD 注意异常参数和函数类型有所不同,详情请参考下面列子。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 45ReplacementSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 46SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 47SAP
19、Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 48SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 49WS_DOWNLOAD如果 原系统FM 是WS_DOWNLOAD 我们应该替换成FM GUI_DOWNLOAD 注意异常参数和函数类型有所不同,详情请参考下面列子。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 50SAP Japan Co., Ltd. 2
20、004, Title of Presentation / Speaker Name / 51DOWNLOAD如果需要F4帮助,则替换成METHOD CL_GUI_FRONTEND_SERVICES=FILE_SAVE_DIALOG (for selecting the file) and GUI_DOWNLOAD (download the data into the file). SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 52SAP Japan Co., Ltd. 2004, Title of Prese
21、ntation / Speaker Name / 53SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 54SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 55SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 56SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 57SAP J
22、apan Co., Ltd. 2004, Title of Presentation / Speaker Name / 58SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 59SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 60SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 61定制定制对对象象检查检查( (Costom object EPC) )需要
23、注意修改的内容:需要注意修改的内容: , =, , 这这3种的替种的替换换; ; 定定义义了了 但是没有但是没有赋值赋值,需要注,需要注释释掉。掉。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 62Summarize in Upgrade ProjectEPCTcode: SE11SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 63Summarize in Upgrade ProjectEPCTcode: CMODSAP Japa
24、n Co., Ltd. 2004, Title of Presentation / Speaker Name / 64Summarize in Upgrade ProjectEPCSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 65Summarize in Upgrade ProjectEPCSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 66Summarize in Upgrade ProjectEPCSAP Japan Co.,
25、 Ltd. 2004, Title of Presentation / Speaker Name / 67Summarize in Upgrade ProjectEPCTcode: SE38SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 68Summarize in Upgrade ProjectEPCSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 69Summarize in Upgrade ProjectEPCTcode: SE
26、93SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 70Summarize in Upgrade ProjectEPCSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 71Summarize in Upgrade ProjectEPCTcode: SE18SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 72Summarize in Upgrade Pro
27、jectEPCSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 73Summarize in Upgrade ProjectEPCTcode: SE19SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 74Summarize in Upgrade ProjectEPCSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 75Summarize in Upgrad
28、e ProjectEPCTcode: SE24SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 76Summarize in Upgrade ProjectEPCTcode: SE71SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 77Summarize in Upgrade ProjectEPCSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 78Sum
29、marize in Upgrade ProjectEPCSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 79Summarize in Upgrade ProjectEPCSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 80Summarize in Upgrade ProjectEPCReplacementSPAUCustomer Object AdjustmentUCCHECKSAP Japan Co., Ltd. 2004, Ti
30、tle of Presentation / Speaker Name / 82Summarize in Upgrade ProjectUCCHECKTcode: SE80SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 83Summarize in Upgrade ProjectUCCHECKTcode: UCCHECKSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 84Summarize in Upgrade ProjectUCCH
31、ECKSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 85Summarize in Upgrade ProjectUCCHECKSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 86Summarize in Upgrade ProjectUCCHECKErrorSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 87ABAP升升级过级过程中操作程中操作顺顺序
32、序 1. 首先完成SAPU中对标准NOTE和程序的传输过中的修正。2. 检查程序是否UNICODE。3.检查程序EXTENSION,是否有语法错误。注意:如果一程序调用其它对象,也一定要对被调用对象进行检查,例如:SUBMIT。4.然后运行程序,检查是否DUMP。5.最后和业务顾问一起检查程序是否能够正常按业务执行。SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 88Summarize in Upgrade ProjectSummarize升升级过级过程中的内容概括程中的内容概括SPAU(详解)(详解)Repla
33、cement(详解)(详解)Customer Object adjustment(详解)(详解)UCCHECK(详解)(详解)升升级过级过程中操作程中操作顺顺序序SAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 89The EndQ & AThanksSAP Japan Co., Ltd. 2004, Title of Presentation / Speaker Name / 90nNo part of this publication may be reproduced or transmitted in an
34、y form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.nSome software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.nMicrosoft, WINDOWS, NT, EXCEL, W
35、ord, PowerPoint and SQL Server are registered trademarks of Microsoft Corporation. nIBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix and Info
36、rmix Dynamic ServerTM are trademarks of IBM Corporation in USA and/or other countries.nORACLE is a registered trademark of ORACLE Corporation.nUNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.nCitrix, the Citrix logo, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFra
37、me, MultiWin and other Citrix product names referenced herein are trademarks of Citrix Systems, Inc.nHTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. nJAVA is a registered trademark of Sun Microsystems, Inc. nJA
38、VASCRIPT is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. nMarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.nSAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver and other SAP products
39、 and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves information purposes only. National product specifications may vary.Copyright 2004 SAP AG. All Rights Reserved