




已閱讀5頁,還剩51頁未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
Global ABAP Naming Standards Global SAP Development Architecture Document Revision History TABLE OF CONTENTS 1 AUTHORIZATION GROUPS 6 2 BACKGROUND JOB 7 3 BDC SESSIONS 9 4 DATA ELEMENTS 10 5 DEVELOPMENT CLASS 11 6 DOMAIN 12 7 DIALOG PROGRAM 13 8 DIALOG INCLUDE 14 9 ENHANCEMENT PROJECTS 15 10 FUNCTION GROUPS 16 11 FUNCTION MODULES 17 12 FUNCTION MODULE INCLUDES 18 13 EVENTS 19 14 LAYOUT SET 20 15 LOCK OBJECT 21 16 LOGICAL DATABASE 22 17 MESSAGE CLASS 23 18 MESSAGE NUMBER 24 19 MODULE POOL FOR SCREENS 25 20 PROGRAM NAME 26 21 SCREENS 28 22 STANDARD TEXT ID 29 23 STANDARD TEXT NAME 30 24 STYLES 31 25 SUBROUTINE POOLS 32 26 TABLES 33 27 TABLE FIELDS 34 28 TABLE GROUP 35 29 TABLE INDEX 36 30 TABLE STRUCTURE 37 31 TABLE VIEWS 38 32 TEXT ELEMENTS 39 33 TRANSACTION CODES 40 34 VARIANT 41 35 WORK ID 42 36 FILE NAME 43 37 SIGNAL FILE NAME 44 38 STANDARD FILE LAYOUT 45 39 INFOSET QUERY 46 40 USER GROUP 47 41 IDOC FILE PORT 48 42 XML FILE PORT 48 43 SEARCH HELP 49 44 LSMW PROJECT NAME 50 45 LSMW SUBPROJECT NAME 51 46 LSMW OBJECT 51 47 LOGICAL SYSTEM FOR INTERFACES 52 48 CLASSES 53 49 BOR OBJECTS BUSINESS OBJECT REPOSITORY AND RELATED COMPONENTS 54 50 RFC CONNECTION FOR INTERFACE 54 51 ALE PORT FOR INTERFACE 55 52 LS PARTNER PROFILE FOR INTERFACE 55 53 ALE DISTRIBUTION MODEL 55 54 SAP USER ID FOR INTERFACE 56 55 SAP USER ID FOR BATCH JOB 56 56 SAP USER ID FOR WORKFLOW 56 1 Authorization Groups ABAP 4 Authorization Group is a means of assigning ABAP 4 Programs for access protection The system checks that a user belongs to an authorization group when Starting or editing a program Maintaining attributes Using other program development utilities SAP R 3 Requirements An Authorization Group name must begin with a Z and may be a maximum of 8 characters long Standard Authorization group naming standards are controlled by the Security Administrator and will allow for easier maintenance of security profiles Format Z x n xxxxx Unique Identifier Sequential Indicator Functional Descriptor Identifier Position DescriptionValuesMeaning 1IdentifierZIdentifies as a custom Authorization Group 2Functional Descriptor A Z see functional descriptor of program naming standard 3Sequential Indicator 1 n1 is highest level of authority Incrementing value decreases authority 4 8Unique Identifier 00000 ZZZZZ Assigned by Security Administrator Example 1 ZG1 2 ZG2 The first group ZGL1 would have the greatest access It would include access specific to that group as well as all the same accesses of the second third and fourth groups below it Likewise the access granted to group 4 would not have any of the authorization roles in those groups above it 2 Background Job PositionDescriptionValuesMeaning 1 3Locationchar3 character standard Celestica location ALL Global AMR AMERICA EUR Europe PAC Pacific Asia CUK UK CIR Ireland CIT Italy CCA Canada CUS U S A Check the complete list in Celestica Intranet 4 6SystemFix valueAlways SAP 7 8Module or Functional Description BWBusiness Information Warehouse FIFinancial accounting GLGeneral Ledger HRHuman Resources IMInventory management COCost Accounting MSMerchandise management system MMS MMMaterial Management PCProduction PPC SPPersonnel Planning PMPlant maintenance PBPublishing PPProduction Planning QSQuality assurance QSS or Quality management SDSales UTGeneral System Utility programs SMService Management CSCustomer Service AOAPO CMCRM ZZProgrammer work ABAP 9Separator Always underscore 10Program TypeIInterface Program CConversion EEnhancement RReport FForm MSystem Maintenance USystem Update OOthers 11Data FlowIInbound OOutbound PositionDescriptionValuesMeaning BBoth NNot applicable 12Separator Always underscore 13 15Customer Code3 chars3 chars customer name ALL More than one or All customers XXX Not for any customer See the next section for list of customers this list will be updated regularly 16 19SAP Pant4 chars4 chars plant from SAP table T001W 20 32Job Description12 charsUp to 16 characters Example 1 CUKSAPSD II SUN4203NVOICE 2 CTOSAPMM IO LUC6102SALEORDER 3 BDC Sessions Standard Naming convention for BDC sessions will vary depending on the needs of a customer In many cases the naming conventions for BDC sessions need to be worked in conjunction with the Security Administrator Considerations BDC session names do not require unique names BDC security may be set up based on the name of the BDC session A BDC session with a Company Code embedded in the name may be beneficial In many circumstances end users will be required to process BDC sessions this should be taken into account when establishing BDC naming conventions 4 Data Elements Standard DO NOT create new data elements use standards SAP data elements where it is possible New data elements must be activated for better tracking purposes Where possible use the same name as the domain associated with the data element If there is a conflict name the data element in a meaningful manner SAP does create Data Elements that begin with a Z so custom Data Elements should begin with ZZ Data element names should have a maximum of 8 characters SAP generated programs or functions may use this dictionary object definition for SELECT OPTIONS and PARAMETERs which may be up to 8 characters long Format ZZxxxxxx description Identifier Position DescriptionValuesMeaning 1 2TypeZZUses ZZ 3 8descriptionX upto 6 chars A meaningful name describing the data element Example 1 ZZORDER 2 ZZNUMBER 5 Development Class Format Zxxx Unique Identifier Custom Identifier Position DescriptionValuesMeaning 1Custom Identifier ZAlways Z 2Program Type BWBusiness Information Warehouse FIFinancial accounting GLGeneral Ledger HRHuman Resources IMInventory management COCost Accounting MSMerchandise management system MMS MMMaterial Management PCProduction PPC SPPersonnel Planning PMPlant maintenance PBPublishing QSQuality assurance QSS or Quality management SDSales UTGeneral System Utility programs SMService Management CSCustomer Service AQABAP Query CRMCRM APOAPO ZZProgrammer work ABAP Example 1 ZMM 2 ZUT 6 Domain Standard DO NOT create new domains where it is possible New domains must be activated for better tracking purposes Where possible use an existing Domain If that is not possible name the Domain in a meaningful manner SAP does create Domains that begin with a Z so custom Domains should begin with ZZ Domain names should have a maximum of 8 characters SAP generated programs or functions may use this data dictionary object definition for SELECT OPTIONS or PARAMETER and the allowable length for the variable is 8 characters Format ZZxxxxxx Description Custom Identifier Position DescriptionValuesMeaning 1 2Custom Identifier ZZAlways ZZ 3 8DescriptionX upto 6 chars A meaningful name describing the data element Example 1 ZZDATE 2 ZZTIME 7 Dialog Program Standard The name has to begin with SAPD The fifth character must be a Z Format SAPDZxxx Unique Identifier Functional Descriptor Identifier Position DescriptionValuesMeaning 1 5IdentifierSAPDZCustom Module Pool for Dialog 6Functional Descriptor A Z see functional descriptor of program naming standard 7 8Unique identifier 00 ZZtwo digit alpha numeric to uniquely identify Example 1 SAPDZV01 2 SAPDZH01 For HR only MP99xxxxx Unique Identifier Functional Descriptor Identifier Position DescriptionValuesMeaning 1 3IdentifierMP9Custom Module Pool for Dialog 4Fix number9Always 9 5 7Number 0 999 Info Type 8 9Unique identifier 00 4010 program statement 20 PBO 30 PAI 40 Subroutine 8 Dialog Include Standard INCLUDES for dialog programs have to begin with the last 5 characters of the module pool name It should then be followed by a three digit identifier Format DZxxxxxx Include identifier Indicates as custom Dialog Module pool Include Position DescriptionValuesMeaning 1 5IdentifierDZxxxIdentifies as custom Module Pool include 6 8Include Identifier TOPData Fields IxxScreen Input where nn is a two digit alpha numeric OxxOutput where nn is a two digit alpha numeric FxxForms where nn is a two digit alpha numeric Example 1 DZM01I01 2 DZM01O01 9 ENHANCEMENT PROJECTS The R 3 enhancement concept allows you to add your own functionality to SAP s standard business applications Standard Format Enhancement project names should begin with Z followed by the application area and the last 4 digits of the module pools name The last 2 digits should be a unique identifier ZXXXXXXX Last 4 of Module Pool Name Unique Identifier Application Area Customer Position DescriptionValuesMeaning 1IdentifierZPermanent 2Functional Descriptor A Z see functional descriptor of program naming standard 3 6Last 4 of Module Pool Name XXXXModule pool name 7 8Unique Description up to 29 chars Describe the enhancement Example 1 ZSZM0101 2 ZMZM0201 10 FUNCTION GROUPS Considerations When function modules are called the system loads the whole function group into main memory A maximum of six developers can maintain function modules within a function group at any one time Standards The naming standards will ensure the custom Function Groups will not conflict with present or future SAP delivered function groups as well as serve to identify groups of related function modules by functional area When a Function Group is created SAP creates a program with the naming convention SAPLxxxx where xxxx is the name of the function group Format Z x up to 29 chars Unique Descirption Functional Descriptor Identifier Position DescriptionValuesMeaning 1TypeZCustom function Group 2Functional Descriptor A Z see functional descriptor of program naming standard 3 31Unique Description up to 29 chars Describe the function module Example 1 ZFGETCUSTOMER 2 ZMDISPLAYTOTAL 11 FUNCTION MODULES Standards Function module names should begin with Z Format Z xx 26 Primary Table name Functional Descriptor Always underscore Identifier Position DescriptionValuesMeaning 1IdentifierZPermanent 2Separator Always underscore 3Functional Descriptor A Z see functional descriptor of program naming standard 4 30Descriptionx 26 Purpose of function module Example 1 Z UFTP 2 Z S GET SALE ORDER 12 FUNCTION MODULE INCLUDES Standard INCLUDES for custom programs have to begin with the last 5 characters of the module pool name and end with a three digit combination identifying the type of include member Uses include names as generated by SAP in workbench 13 EVENTS Standard SAP events are used to establish a dependency between two processes Use an SAP Event to generalize types of jobs that will be released periodically use the Event parameter to restrict Events to specific jobs Format Zx up to 29 chars Primary Table name Separator Program Type Identifier Position DescriptionValuesMeaning 1IdentifierZZ for custom EVENT 2Functional Descriptor A Z see functional descriptor of program naming standard 3Separator Always underscore 3 32Description up to 29 chars Descriptive String identifying the job being triggered Example 1 ZS RUN JOB 2 ZM CREATE SCHEDULE 14 Layout Set Standard Format Z x x 12 Descriptive Identifier always underscore Functional Descriptor Custom Indicator Position DescriptionValuesMeaning 1Custom Indicator ZCustom Indicator 2Functional Descriptor A Z see functional descriptor of program naming standard 3Separator always underscore 4 15Descriptive Identifier Up to 12 chars SAP Layout set name Example 1 ZM PO 2 ZS SALE ORDER 15 Lock Object Standard Format EZX 7 Primary Table Custom Identifier Position DescriptionValuesMeaning 1 2Custom Identifier EZAlways start with EZ for custom developed Lock Object 3 10Primary TableX up to 7 chars The name of the primary table entered in the primary table field of the Lock Object create screen Example 1 EZORDER 2 EZCHEQUE 16 LOGICAL DATABASE Standards When creating a LDB the entry field allows for 3 characters to be input The first two characters are the name of the logical database and the third character is the application area the LDB belongs When attaching an ABAP 4 Report to a LDB the LDB consists of 2 characters and a separate field to identify the application area which must be in table TAPLT Format Zx x Application area from table TAPLT Unique Identifier Custom Identifier Position DescriptionValuesMeaning 1Custom Identifier ZCustom developed 2Unique Identifier0 ZUniquely identifies the LDB 3Application Areaentry must exist in table TAPLT The Application Area the LDB is to be associated Entry must be in table TAPLT Example 1 Z1M 2 ZIF 17 Message Class Standards The message class will begin with a Z and the 2nd character will be the application ID When a need arises to define a new message ID the following convention should be used Format Z x Functional Descriptor Custom Indicator Position DescriptionValuesMeaning 1TypeZCustom developed 2Functional Descriptor A Z see functional descriptor of program naming standard Example 1 ZS 2 ZU 18 Message Number Standards The message number range is 001 999 Format Nnn Position DescriptionValuesMeaning 1 3Number Range 001 999Custom Message Number Example 1 100 2 200 19 MODULE POOL for SCREENS An ABAP 4 module pool is a group of ABAP 4 programs that accesses common processing modules checks and processes user inputs during a transaction The module pool is also a means of linking all the associated screens menus and function keys of the interface as a transaction Unlike an ABAP 4 program a module pool consist entirely of Include programs These Includes contain the appropriate processing logic Include programs have a program attribute type of I Standard Format Screen module pool names should begin with SAPMZ followed by a 1 character functional descriptor The last 3 digits of the name should be a unique alpha numeric identifier Includes form module pools should be generated by SAP and the name generated should not be changed SAPMZxx Alphanumeric Identifier Functional Descriptor Indicates Dialog Module pool Position DescriptionValuesMeaning 1 5IdentifierSAPMZCustom Module Pool for Screen 6Functional Descriptor A Z see functional descriptor of program naming standard 7 8Alphanumeri c identifier 00 ZZtwo digit alpha numeric to uniquely identify Example 1 SAPMZM01 2 SAPMZF01 20 Program Name Format Zxxxx 4 x up to 8 User defined Unique Identifier Region Identifier Program Type Functional Descriptor Custom Indicator PositionDescriptionValuesMeaning 1Custom IndicatorZCustom Developed ABAP 4 Report 2Functional DescriptorBBusiness Information Warehouse FFinancial accounting GGeneral Ledger PHuman Resources LInventory management KCost Accounting WMerchandise management system MMS MMaterial Management CProduction PPC DCustomer Service HPersonnel Planning IPlant maintenance JPublishing QQuality assurance QSS or Quality management VSales SService Management TABAP 4 Shell programs UGeneral System Utility programs XCross Modules AAPO RCRM ZProgrammer work ABAP 3Program TypeRReport Program IInterface Program CConversion EEnhancement FForm XCross Program Includes MOther 4Region IdentifierGGlobal EEurope AAmerica PAsia Pacific 5 8Unique Identifier0000 ZZZZUnique Identifier within the system If necessary use positions in the Unique Identifier to further differentiate ABAP development Example Position 4 could be a project indicator 9 16Unique IdentifierX up to 8 User defined Example 1 ZMRE001A 2 ZMREINVO 21 SCREENS Standard The naming convention will ensure custom screens will not conflict with present or future SAP defined screensSee appropriate naming conventions to determine a program name Screen numbers should begin with 9000 and increment by 10 Format xxxx Unique Identifier Identifies Custom Screen Position DescriptionValuesMeaning 1Custom Indicator 9Always 9 2 4Custom Number 000 999Custom Screen number Screen numbers per program should be incremented by 10 Example 1 9000 2 9010 3 9020 22 Standard Text ID Standard Format Z xxx Unique Identifier Custom Indicator Position DescriptionValuesMeaning 1Custom Indicator ZAlways Z 2 4Unique Identifier 00 99 AA ZZ Unique Identifier 23 Standard Text Name Zx x 29 Descriptive Identifier always underscore Functional Descriptor Custom Indicator Position DescriptionValuesMeaning 1Custom Indicator ZCustom Indicator 2Functional Descriptor A Z see functional descriptor of program naming standard 3Separator always underscore 4 42Descriptive Identifier Up to 39 chars Standard text description Example 1 ZM PO 2 ZS SALE ORDER 24 Styles Standard Format Zx 7 freely definable Custom Indicator Position DescriptionValuesMeaning 1Custom Indicator ZIdentifies as custom developed 2 8freely definable Up to 7User defined Example 1 ZBOLD 2 ZLINE 25 SUBROUTINE POOLS To make modularized subroutines available to other module pools subroutines are grouped together in a separate ABAP 4 program The use of Subroutine POOLS is not recommended Subroutine Pools are becoming obsolete and are difficult to test Modularization should be done using Function Modules only Standard Format SAPFZxxx Unique Identifier Functional Descriptor Identifier Position DescriptionValuesMeaning 1 5IdentifierSAPFZModule Pool for Subroutine 6Functional Descriptor A Z see functional descriptor of program naming standard 7 8Unique Identifier 00 ZZUniquely identifies Subroutine Example 1 SAPFZA00 2 SAPFZB00 26 Tables Standard Format Each custom Table should begin with a Z followed by the application code to which it most closely fits The remaining characters can be a description Standard Format Z xX 14 Unique identifier Functional Area Custom Indicator Position DescriptionValuesMeaning 1Custom IndicatorZCustom Indicator 2Functional Descriptor A Z see functional descriptor of program naming standard 3 16Unique IdentifierX 14 Unique Description Example 1 ZFSALE 2 ZS002 27 Table Fields Standards Where possible use the same name as the data element associated with this field If multiple fields in the table use the same data element name these fields in a meaningful manner Where possible use an existing SAP data element Do not use spaces or special characters in a table field name Format X 10 Position DescriptionValuesMeaning 1 10IdentifierX 10 Description identifying
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 抖音短視頻內(nèi)容創(chuàng)作者內(nèi)容審核規(guī)范合同
- 高端商務(wù)酒店管理及運(yùn)營合作協(xié)議
- 商標(biāo)注冊與品牌形象策劃服務(wù)合同
- 創(chuàng)意網(wǎng)絡(luò)小說作品授權(quán)與二次開發(fā)合同
- 教育機(jī)構(gòu)場地轉(zhuǎn)租與教育咨詢服務(wù)協(xié)議
- 二手房交易鑰匙交付與產(chǎn)權(quán)過戶協(xié)議
- 游艇改裝項(xiàng)目保險(xiǎn)經(jīng)紀(jì)合作協(xié)議
- 家庭消防安全責(zé)任書(含消防演練組織)
- 氣象災(zāi)害預(yù)警服務(wù)補(bǔ)充協(xié)議
- 高收益茶園種植與產(chǎn)品市場拓展合同
- 人教版小學(xué)二年級(jí)上冊數(shù)學(xué) 期中測試卷
- 2025屆新高考生物熱點(diǎn)沖刺復(fù)習(xí):蛋白質(zhì)的分選與囊泡運(yùn)輸
- 鈑金生產(chǎn)車間安全培訓(xùn)
- (二模)湛江市2025年普通高考測試(二)政治試卷(含答案)
- 橋梁水下結(jié)構(gòu)內(nèi)部缺陷超聲波檢測基于技術(shù)
- 兒童流行性感冒疫苗預(yù)防和抗病毒藥物應(yīng)用的實(shí)踐指南(2024版)解讀課件
- 公共安全視頻監(jiān)控建設(shè)聯(lián)網(wǎng)應(yīng)用(雪亮工程)運(yùn)維服務(wù)方案純方案
- 中藥代茶飲白義萍課件
- 2024年河北普通高等學(xué)校對口招生考試數(shù)學(xué)試題
- 敬老院運(yùn)營服務(wù)務(wù)投標(biāo)方案(技術(shù)方案)
- 張京16分鐘中英文對照翻譯稿
評(píng)論
0/150
提交評(píng)論