如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
FunctionalareaABAP4TrainingVersion1.0ModuleABAP4TitleDebugPreparedbyHersteinRevisedbyPageofNUMPAGES4Dateprepared09/20/2001Daterevised09/20/2001StatusKEYWORDS\*MERGEFORMATDraftFILENAMEABAP4_Debug.docDATE\@"yyyy/M/d"2024/10/6Howtodebugtheprogram?Therearetwowaystodebugyourprogram.Thefirstoneissetbreakpointinyoursourcecode.Movethecursortothestatementyouwantstop.Pressedicon“Stop”tosetbreakpoint.Theprogramwillstopwhenexecutingthestatement.Youwillseethestatementwasmarkedyellowcolour.Thesecondwayisinput“/h”or“/H”inthecommandline(icon“Ticked”Rightsight).Pressed“Enter”.Systemwilldebugyourprogramfromthebeginningwhenyouexecutetheprogram.Fourexecutionfunctionkey:F5:Stepbystep:Itwillexecuteyourprogramonestatementbyonestatement.F6:Execute:ItlikesF5butitwilltreatasubroutineoracallfunctionasastatement.Ifyoudon’twanttoenterasubroutine,youcanpressed“F6”.F7:Return:Ifyouenterasubroutine,youwanttoleaveandbacktothemainprogramwhichcallthesubroutine,youcanuse“F7”.F8:Continue:Theprogramwillbeexecuteduntilmeetsthebreakpoint.Youcansetthebreakpointindebugmode.Doubleclickthestatementyouwanttostop.Youcandoubleclickthevariabletodisplayitsvalueoryoucaninputvariablenamethenpressed“Enter”.Ifneeded,youcanchangethevariablevalue:Changevaluein“Fieldcontents”,pressedicon“Pencil”intheright-sight.Pressedsub-screen“Table”.Youcanseeyourinternaltabledatahere.Inputyourinternaltablename.Pressed“Enter”Ifyourinternaltablelengthislong.Youcanpressicon“Arrow”toseenextfieldinyourinternaltable.