ANST_TESTING_AGEN_TRACE_DIALOG is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ANST_TESTING_AGEN_TRACE_DIALOG into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ANST_SEARCH_TRACES
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ANST_TESTING_AGEN_TRACE_DIALOG' "Dialog to start and stop the trace of the web application
* EXPORTING
* i_url_type = " char128 128 character
* i_url = " string
* i_atra_object_name = " char40 Character field of length 40
* i_uname = SY-UNAME " syuname SAP System, User Logon Name
* i_with_table_trace = " flag General Flag
IMPORTING
e_start_date = " sy-datum Date and Time, Current (Application Server) Date
e_start_time = " sy-uzeit Date and Time, Current (Application Server) Date
e_end_date = " sy-datum Date and Time, Current (Application Server) Date
e_end_time = " sy-uzeit Date and Time, Current Application Server Time
e_trace_user = " syuname SAP System, User Logon Name
EXCEPTIONS
ANST_ERROR = 1 "
. " ANST_TESTING_AGEN_TRACE_DIALOG
The ABAP code below is a full code listing to execute function module ANST_TESTING_AGEN_TRACE_DIALOG including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_e_start_date | TYPE SY-DATUM , |
| ld_e_start_time | TYPE SY-UZEIT , |
| ld_e_end_date | TYPE SY-DATUM , |
| ld_e_end_time | TYPE SY-UZEIT , |
| ld_e_trace_user | TYPE SYUNAME . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_start_date | TYPE SY-DATUM , |
| ld_i_url_type | TYPE CHAR128 , |
| ld_e_start_time | TYPE SY-UZEIT , |
| ld_i_url | TYPE STRING , |
| ld_e_end_date | TYPE SY-DATUM , |
| ld_i_atra_object_name | TYPE CHAR40 , |
| ld_e_end_time | TYPE SY-UZEIT , |
| ld_i_uname | TYPE SYUNAME , |
| ld_e_trace_user | TYPE SYUNAME , |
| ld_i_with_table_trace | TYPE FLAG . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ANST_TESTING_AGEN_TRACE_DIALOG or its description.
ANST_TESTING_AGEN_TRACE_DIALOG - Dialog to start and stop the trace of the web application ANST_TESTING_AGEN_READ_AGGATRA - (Internal Use Function )RFC to read the atra file ANST_TESTING_AGEN_PFA_BSPWDAPP - ANST: Analyze webdynpro and BSP application ANST_TESTING_AGEN_DELETE_ATRA - Delete ATRA file in the remote system ANST_TESTING_AGEN_CHANGE_PARAM - Change System Parameter ANST_TESTING_AGENT_UTRACE_ON - User Trace