首页 > 解决方案 > 进行 RFC 调用记录

问题描述

我想记录我的 RFC 功能模块的每次调用。SAP/ABAP 目前的最新技术是什么?

这些日志存储在哪里以及如何查看它们?还是创建一个自定义表并将调用写入此表更好?

ABAP 版本是 7.4

标签: loggingabapsaprfc

解决方案


There is a set of log transactions, notably SLG0 (to create transaction category) and SLG1 (to look at logs). A search on sap blogs about SLG1 will return useful links

To resume those :

  • Modules functions BAL_LOG_* allow the creation/save of logs. Some usage exemple are present here
  • A log class created to simplify the usage of the log is described here.

推荐阅读