ABAP4_Debug.doc
上传人:sy****28 上传时间:2024-09-13 格式:DOC 页数:4 大小:462KB 金币:14 举报 版权申诉
预览加载中,请您耐心等待几秒...

ABAP4_Debug.doc

ABAP4_Debug.doc

预览

在线预览结束,喜欢就下载吧,查找使用更方便

14 金币

下载此文档

如果您无法下载资料,请参考说明:

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.