ST01 Notes

|
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
 3 views
of 8

Please download to get full document.

View again

Description
Authorizations trace Purpose Which authorization checks are called when a transaction, a report, a function module etc? Well in transaction SU24, SAP has provided a list over which object could be relevant in different transactions, function modules etc. Though this has been developed in order to provide default values for the profile generator, it also a god starting point for investigating which object could be relevant in given business scenario. However it will not tell you which object are
Share
Tags
Transcript
  Authorizations trace Purpose Which authorization checks are called when a transaction, a report, a function module etc?Well in transaction SU24, SAP has provided a list over which object could be relevant indifferent transactions, function modules etc. Though this has been developed in order to providedefault values for the profile generator, it also a god starting point for investigating which objectcould be relevant in given business scenario. However it will not tell you which object arechecked in the concrete business scenario / Business scenario step. And for your owndevelopment or for third party solutions SU24 probably won’t provide much help either.In order to gain an overview over which authorization checks are called when execution a business scenario / business scenario step it’s often a good idea to do an authorization trace. Thisis called though transaction ST01.The example below is based on a SAP 4.7 IDES system. Preparing for the Trace In order to limit the trace file to the business scenario steps in question it’s a good idea, inanother session, to “prepare” the functionality we would like to trace. That is, if it isn’t an entiretransaction call we would like to trace, then call the transaction code, and proceed until the stepfrom where you want to do the trace. e.g. if you want to investigate which authorization objectare called when executing a workitem from the SAP Business Workflow, then call of the SAPBusiness Workflow inbox (transaction SO01) first and navigate to the workitem in question, before activating the trace.  Authorization Trace An authorization trace is triggered from transaction ST01  In order to start a trace check Authorization check.In order to avoid executing the trace for every user/transaction executed in the system, limit thetrace. This is done from the menu Edit -> Filter -> Shared  A Filter can, in 4.7 be created for a process, user, transaction or report. In this example a filter iscreated for the SAP User mortenn. Thus writing all authorization checks for this specific user tothe trace file (Make sure that this user aren’t performing other tasks while tracing).If you’re not tracing with a filter, all authorization checks will be written to the trace file.To activate the trace push the trace on button.You are now ready to perform the business scenario steps you would like to trace.Please notice that, if these steps are performed by a user, without full authorization, we may not be able to finish all the steps in the business process, and all relevant authorizations checks maynot be performed and written to the trace file, on the other hand you will be able to see the exactreturn code for each authorization cheeks.On the other hand, if the trace is performed by a user with full authorization, you won’t get thereturn codes for users with a limited role.Which approach to use, depends of the business scenario step, and the purpose of the trace.  Analyzing the trace file Immediately after performing the business steps we wanted to trace, we should switch of thetrace by pushing the “Trace off” button, hereby avoiding polluting the trace file withirrelevant data.In order to analyze the trace “Analysis” button Now we are able to restrict the trace records we’ll like to analyze, please pay attention to the  username. Check Authorization check, you don’t need the others. When we press execute we’ll the selectedrecords from the trace file.
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x