正常情况下ABAP是不能debug调试宏的,可但是有个变通的方法能让你初略的一步一步执行宏内的代码。 写了一段简单的abap代码,里面包括一个宏,用来取EKPO表内数据,然后sort一下。 REPORTztest_debug_macro.DATA:lt_ekpoTYPESTANDARDTABLEOFekpoWITHHEADERLINE."<span class="L0S31">
这是因为debug时,会触发一个database commit。 始终处于激活状态的断点适用于辅助测试,不应该出现在生产系统上。如果breakpoint没有ID addition在enhanced program check中就会报错。 Breakpoint后面跟一个用户名不是一个语句而是一个预定义的macro。 语句breakpoint是作为ABAP程序的一部分来定义断点的。还可以通过ABAP e...
要打开ABAP宏的调试界面,首先点击Services按钮: 在弹出窗口点击ABAP Byte Code(Debug Marco)即可。 比如我写了一个名为insert_table的宏,在宏的实现体里,第12行先检查传入宏的第一个参数长度是否大于等于5, 如果确实是,将该参数插入一个由第二个参数指定的内表里。 当我们使用上述宏调试菜单开始调试后,首先调试...
这是因为debug时,会触发一个database commit。 始终处于激活状态的断点适用于辅助测试,不应该出现在生产系统上。如果breakpoint没有ID addition在enhanced program check中就会报错。 Breakpoint后面跟一个用户名不是一个语句而是一个预定义的macro。 语句breakpoint是作为ABAP程序的一部分来定义断点的。还可以通过ABAP e...
In the ABAP byte code or ABAP byte code (debug macro) context menus, you can select what a replacement for a proper macro debugging run can depict. 2. New ABAP Runtime Analysis (SAT) SAT is the transaction name of the new ABAP Runtime Analysis Tool which replaces the earlier transaction...
MAC是Macro(宏)的缩写,存储类的宏定义。如何用代码的方式获得一个类的这些不同的ABAP include程序名称呢?使用ABAP工具类CL_OO_CLASSNAME_SERVICE:比如我想知道CL_CRM_BOL_CORE这个类所有方法对应的include名称,那么在工具类的GET_ALL_METHOD_INCLUDES打个断点,然后SE24里打开CL_CRM_BOL_CORE,点击Source Code ...
defination: a macro is a module that can be called under abap program. use:like subroutine and function modulemacros are ised to represent the program in modular form. how to define macros. one can define a macro using abap command DEFINE. adv: if a macro is change each report using the...
I write some small ABAP tools for my daily work. Some of them might not be so useful at first glance – I just write them for fun. Some of them could be used to improve work efficiency, to just reduce several mouse clicks – I am too lazy ...
can you debug and see if the date value you are looking for is maybe in field pnpbegda. Reply jrg_wulf Active Contributor 2013 Sep 23 7:43 PM 0 Kudos 104 SAP Managed Tags: ABAP Development Hi, when you use this macro, it will give you tha last (meaning with the ...
enhance macro processing, allowing to pass code fragments as macro parameter in a lispy code is data and data is code way. regards, JNN fred_verheul Active Contributor 2015 Jun 05 10:32 AM 0 Kudos Hi Jacques (and Christian), I have to agree with you here: the use of certain op...