全部博文(90)
分类:
2010-03-23 16:24:19
Purpose | steps |
How to find Badi | (一)• 1) Go to the transaction SE37 to find your function module. • 2) Locate the function SXV_GET_CLIF_BY_NAME. • 3) Put a break-point there. • 4) Now open a new session. • 5) Go to your transaction. • 6) At that time, it will stop this function. • 7) Double click on the function field NAME. • 8) That will give you name of the BAdi that is provided in your transaction. (二) • 1. Goto SE80, open CL_EXITHANDLER (Class) • 2. Goto Method, GET_INSTANCE • 3. Set a break point at CALL METHOD cl_exithandler=>get_class_name_by_interface (三)• 1. Goto ST05 • 2. Select SQL trace and buffer trace • 3. Activate trace • 4. Now run your transaction • 5. Deactivate trace • 6. Display trace7. A pop will come • 8. Enter V_EXT_ACT and V_EXT_IMP as the 2 objects • 9. Now display the trace results. It will return all the BAPI and enhancement list in order of their execution. |
Enhancement point for a tcode | 你可以通过se93去找到t-code 的package name, 然后进smod ,按f4,输入你的package name,你就可以列出所有和这个t-code相关的 用户出口。 你选择一个你需要的用户出口,然后用smod去修改相应的function mode。 最后你可以用cmod去新增一个project去管理你的增强。 当然你也可以用badi去做。 |