ABAP如何在调试查看EXPORT/IMPORT 内存数据

These memory IDs can be accessed in the debugger, but the option isn't accessible by default in the "new" Debugger. To display them you have two options:

  • In the new Debugger, change one of the tools you're using. Do this by clicking the "New Tool" or "Replace Tool" that you can see at the top of the vertical button column on the right of each subwindow. Open the Special Tools folder in the tree and select "System Areas (Internal Only)". In the second tab of this tool you can now see a list of areas. Double-click the MEMORIES("EXPORT/IMPORT memories") area or manually enter it in the Area input field to open the list of active memory IDs. Click through on any one to see its hexadecimal value.
  •  
  • In the menu bar, open Debugger and select "Switch to Classic Debugger". Once it opens, find the following in the menu bar: Goto, System Areas, ABAP Memory. The system areas will be displayed with the MEMORIES area selected by default.

 

 

Parameters

If you want to view the PARAMETERs that were set instead of memory IDs, the procedure is almost exactly the same. However, instead of opening the MEMORIES system area, open the SMEM ("SAP memory (SPA-GPA)") area.

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
ABAP调试查看报表字段取值过程,可以通过以下步骤进行: 1. 首先,在ABAP编辑器中打开报表程序的源代码。可以使用事务码SE38打开特定的报表程序。 2. 在编辑器中,找到要调试的特定字段的代码行。这些字段的代码通常在“SELECT”语句或“READ TABLE”语句中。 3. 在目标代码行的左侧,单击两次以设置断点。这将在调试期间停止程序的执行。 4. 保存并关闭报表程序的源代码。 5. 使用事务码SE38打开ABAP调试器。 6. 在调试器中,输入报表程序的名称或程序ID,并点击“执行”按钮。 7. 程序将运行到设置的断点处暂停。此时可以查看字段的取值过程。 8. 可以通过单步执行、逐层调用和变量查看调试器的功能来查看字段取值的过程。单步执行会逐行执行程序,并在每一步暂停,这样可以看到每个代码行的执行结果。逐层调用可以查看每个嵌套调用的结果。变量查看可以查看每个变量的当前值。 9. 继续单步执行或逐层调用,直到找到字段取值的关键代码行。 10. 在调试器中,可以通过右键单击字段变量,选择“显示变量”来查看具体的取值。 11. 可以使用调试器中的其他功能,如监视点、断点调整和变量修改等,来进一步调试字段取值的过程。 12. 在调试完成后,可以选择继续执行或停止程序的执行。 通过以上步骤,可以在ABAP调试中有效地查看报表字段的取值过程,帮助排查和调试程序中的问题。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值