美文网首页
ABAP Debug SU01D to get SAP_ALL

ABAP Debug SU01D to get SAP_ALL

作者: 46b61a5f089d | 来源:发表于2017-03-24 13:53 被阅读229次
  1. Set breakpoint at class: CL_SUID_TOOLS, Method: AUTH_CHECK_INTERNAL


    AUTH_CHECK_INTERNAL
  2. Set breakpoint at program: LSUID_MAINTENANCEP04, method: C_UC_INIT_SCREEN_SINGLE


    LSUID_MAINTENANCEP04
  3. Run SU01D, input your user name and click display button
  4. Program stop at LSUID_MAINTENANCEP04, then change m_okcode to 'CHAN'
  5. F8 execute, program will stop at method: AUTH_CHECK_INTERNAL several times
  6. When get to AUTH_CHECK_INTERNAL, change sy-subrc to 0 if it's not
  7. Do whatever you want like you do in SU01, normally add sap_all to the profiles then you don't need to debug anymore, enjoy!

相关文章

网友评论

      本文标题:ABAP Debug SU01D to get SAP_ALL

      本文链接:https://www.haomeiwen.com/subject/dxcfottx.html