ST05 跟踪SQL

找了很久,才找到。像SQL server里面的查询分析器啊

 

How can a SQL trace be used in SAP R/3?

 

 

Answer:

A SQL trace records all open, prepare, fetch, execute and actual SQL statements. The SQL trace also gives the duration time for each step in a procedure. SQL trace can be used when the user wants to know from where the system is obtaining information. Users may want this may be just out of curiosity or beacuse of a problem. SAP provides the use of a SQL trace. In SAP, A SQL trace can be initiated by selecting the System menu, choosing Utilities, and then selecting SQL Trace. Transaction code ST05 can also be used to intiate a SQL trace in SAP. Once user has reached the menus given, user should select the button SQL trace and then click on the push button "Trace On". Traces are requested by a users in SAP. Once this is done user can create another session in SAP and carry out the process that requires recording.

System Menu >> Utilities >> SQL Trace >> Trace On (Transaction Code - ST05)

Once this process is over, user can proceed back to the SQL trace session, or back to transaction code [ST05], where the user should select the push button "Trace Off". Now in order to view the trace, user should select the push button List "Trace". Choosing the indicator Show SQL Trace and selecting 'Execute'  reveals the results of the trace. SAP defaults all values required for selection automatically. 

 

 

这里有一个实际的使用例子:

 

 

http://blog.vsharing.com/mysap2010/A1145888.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值