查询一个事务代码所使用的BADI

本文介绍了一种在SAP系统中确定特定交易按下按钮时触发的BADI(Business Add-In)的方法。通过使用SE24事务码并设置断点,可以找到与特定操作相关的所有BADI名称。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Here is some inforamation on how to find BADI for your transaction..[@more@]Follow the below steps to find out what all BADI's are called when you press any button in any transaction.

1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).

Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8214011/viewspace-931210/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/8214011/viewspace-931210/

评论
被折叠的  条评论 为什么被折叠?