IntroductiontoABAPProgrammingBC170_02.1TermstoRememberReport:•AnABAPprogramwhoseoutputisalistModulePool:•AdialogprogramwhichisacollectionofscreensList:•TheoutputgeneratedbyanABAPreportprogramProgram•AseriesofABAPstatementsIntroductiontoABAPProgrammingBC170_02.2ReportingABAPDevelopmentReportingandABAPDevelopmentIntroductiontoABAPProgrammingBC170_02.3ProgrammingEnvironment-TheABAPEditorIntroductiontoABAPProgrammingBC170_02.4ProgrammingEnvironmentOnlineDebuggingIntroductiontoABAPProgrammingBC170_02.5BasicFunctionsoftheABAPEditorProgramsourceentryareaFindandRepeatFindTogglesfromdisplaytochangemodeUndoABAPHelpSyntaxCheckStandardtoolbarCut,copyandpastetoandfromabufferIntroductiontoABAPProgrammingBC170_02.6ThePROGRAMMenuOptionIntroductiontoABAPProgrammingBC170_02.7TheEDITMenuOptionIntroductiontoABAPProgrammingBC170_02.8TheGOTOMenuOptionIntroductiontoABAPProgrammingBC170_02.9TheUTILITIESMenuOptionIntroductiontoABAPProgrammingBC170_02.10TheBLOCK/BUFFERMenuOptionIntroductiontoABAPProgrammingBC170_02.11TheSETTINGSMenuOptionTosetEditormode,usethemenupathSettings->EditormodePreferredsettings:PCmodewithlinenumberingWithcompressionlogicKeywordlargeIntroductiontoABAPProgrammingBC170_02.12DATACOUNTTYPEI.DATATITLE(25).MOVE1TOCOUNT.MOVE‘President’TOTITLE.WRITETITLE.WRITECOUNT.BasicABAPProgramSyntaxABAPProgramStatement.Word1Word2Word3Word4KeywordParameter,field,orconstantIntroductiontoABAPProgrammingBC170_02.13ChainingStatementsinABAPDATACOUNTTYPEI.DATATITLE(25).MOVE1TOCOUNT.MOVE‘President’TOTITLE.WRITETITLE.WRITECOUNT.WRITE:TITLE,COUNT.DATA:COUNTTYPEI,TITLE(25).MOVE:1TOCOUNT,‘President’TOTITLE.IntroductiontoABAPProgrammingBC170_02.14CommentsinABAPAdoublequotationmark(“)anywhereonalinemakeseverythingthatfollowsacomment.Anasterisk(*)incolumn1makestheentirelineacommentline.IntroductiontoABAPProgrammingBC170_02.15ABAPProgramStructureProgramNameAreaUseREPORTforlistingprogramsUsePROGRAMforonlineprogramsDeclarationSectionUsedfordefiningtables,variablesandconstantsStatementSectionUsedforcodingexecutableABAPstatementIntroductiontoABAPProgrammingBC170_02.16ABAPProgramAttributesType:1-ExecutableProgramI-IncludeProgramM-ModulePoolF-FunctionGroupS-SubroutinePoolProgramtitleisrequiredApplication:S-BasisU-EDM(EnterpriseDataModel)V-SalesandDistributionY-CustomerHeadOfficeZ-CustomerBranch*-ForallApplicationsIntroductiontoABAPProgrammingBC170_02.17RunninganABAPProgramFromtheABAPEditor:Withtheprogramdisplayed,ProgramExecuteAnAlternativeMethod:FromtheSystemMenu,chooseServicesReportingtolaunchtheprogramOneFinalMethod:FromtheABAPEditor:InitialScreen,typetheprogramname,thenclickontheExecutepush-button