SAP PERFORMANCEA_TRACE_OFF Function Module for









PERFORMANCEA_TRACE_OFF is a standard performancea trace off SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for performancea trace off FM, simply by entering the name PERFORMANCEA_TRACE_OFF into the relevant SAP transaction such as SE37 or SE38.

Function Group: SSQ0ACC
Program Name: SAPLSSQ0ACC
Main Program: SAPLSSQ0ACC
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function PERFORMANCEA_TRACE_OFF pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'PERFORMANCEA_TRACE_OFF'"
EXPORTING
* TRACE_USER = SY-UNAME "
* SQL_TRACE_OFF = 'X' "
* ENQ_TRACE_OFF = ' ' "
* RFC_TRACE_OFF = ' ' "
* HTTP_TRACE_OFF = ' ' "
* BUF_TRACE_OFF = ' ' "
* AUTH_TRACE_OFF = ' ' "
* CHECK_USER = ' ' "
* USE_TRACE_EXCEPTIONS = 'X' "

IMPORTING
LAST_MOD_DAT = "
LAST_MOD_TIME = "
LAST_MOD_USER = "
SQL_TRACE_ALREADY_OFF = "
RFC_TRACE_ALREADY_OFF = "
HTTP_TRACE_ALREADY_OFF = "
ENQ_TRACE_ALREADY_OFF = "
BUF_TRACE_ALREADY_OFF = "

EXCEPTIONS
NO_TRACE_SELECTED = 1 ERROR_TRACE_OFF = 2 SQL_TRACE_OFF = 3 RFC_TRACE_OFF = 4 HTTP_TRACE_OFF = 5 ENQUEUE_TRACE_OFF = 6 BUFFER_TRACE_OFF = 7 ERROR_MOD_USER = 8
.



IMPORTING Parameters details for PERFORMANCEA_TRACE_OFF

TRACE_USER -

Data type: SY-UNAME
Default: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SQL_TRACE_OFF -

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

ENQ_TRACE_OFF -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

RFC_TRACE_OFF -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

HTTP_TRACE_OFF -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

BUF_TRACE_OFF -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

AUTH_TRACE_OFF -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHECK_USER -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

USE_TRACE_EXCEPTIONS -

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for PERFORMANCEA_TRACE_OFF

LAST_MOD_DAT -

Data type: DATS
Optional: No
Call by Reference: No ( called with pass by value option)

LAST_MOD_TIME -

Data type: TIMS
Optional: No
Call by Reference: No ( called with pass by value option)

LAST_MOD_USER -

Data type: SYUNAME
Optional: No
Call by Reference: No ( called with pass by value option)

SQL_TRACE_ALREADY_OFF -

Data type: CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

RFC_TRACE_ALREADY_OFF -

Data type: CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

HTTP_TRACE_ALREADY_OFF -

Data type: CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

ENQ_TRACE_ALREADY_OFF -

Data type: CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

BUF_TRACE_ALREADY_OFF -

Data type: CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_TRACE_SELECTED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ERROR_TRACE_OFF -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

SQL_TRACE_OFF -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

RFC_TRACE_OFF -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

HTTP_TRACE_OFF -

Data type:
Optional: No
Call by Reference: Yes

ENQUEUE_TRACE_OFF -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

BUFFER_TRACE_OFF -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ERROR_MOD_USER -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for PERFORMANCEA_TRACE_OFF Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_trace_user  TYPE SY-UNAME, "   SY-UNAME
lv_last_mod_dat  TYPE DATS, "   
lv_no_trace_selected  TYPE DATS, "   
lv_last_mod_time  TYPE TIMS, "   
lv_sql_trace_off  TYPE CHAR1, "   'X'
lv_error_trace_off  TYPE CHAR1, "   
lv_enq_trace_off  TYPE CHAR1, "   SPACE
lv_last_mod_user  TYPE SYUNAME, "   
lv_sql_trace_off  TYPE SYUNAME, "   
lv_rfc_trace_off  TYPE CHAR1, "   SPACE
lv_rfc_trace_off  TYPE CHAR1, "   
lv_sql_trace_already_off  TYPE CHAR1, "   
lv_http_trace_off  TYPE CHAR1, "   SPACE
lv_http_trace_off  TYPE CHAR1, "   
lv_rfc_trace_already_off  TYPE CHAR1, "   
lv_buf_trace_off  TYPE CHAR1, "   SPACE
lv_enqueue_trace_off  TYPE CHAR1, "   
lv_http_trace_already_off  TYPE CHAR1, "   
lv_auth_trace_off  TYPE CHAR1, "   SPACE
lv_buffer_trace_off  TYPE CHAR1, "   
lv_enq_trace_already_off  TYPE CHAR1, "   
lv_check_user  TYPE CHAR1, "   SPACE
lv_error_mod_user  TYPE CHAR1, "   
lv_buf_trace_already_off  TYPE CHAR1, "   
lv_use_trace_exceptions  TYPE CHAR1. "   'X'

  CALL FUNCTION 'PERFORMANCEA_TRACE_OFF'  "
    EXPORTING
         TRACE_USER = lv_trace_user
         SQL_TRACE_OFF = lv_sql_trace_off
         ENQ_TRACE_OFF = lv_enq_trace_off
         RFC_TRACE_OFF = lv_rfc_trace_off
         HTTP_TRACE_OFF = lv_http_trace_off
         BUF_TRACE_OFF = lv_buf_trace_off
         AUTH_TRACE_OFF = lv_auth_trace_off
         CHECK_USER = lv_check_user
         USE_TRACE_EXCEPTIONS = lv_use_trace_exceptions
    IMPORTING
         LAST_MOD_DAT = lv_last_mod_dat
         LAST_MOD_TIME = lv_last_mod_time
         LAST_MOD_USER = lv_last_mod_user
         SQL_TRACE_ALREADY_OFF = lv_sql_trace_already_off
         RFC_TRACE_ALREADY_OFF = lv_rfc_trace_already_off
         HTTP_TRACE_ALREADY_OFF = lv_http_trace_already_off
         ENQ_TRACE_ALREADY_OFF = lv_enq_trace_already_off
         BUF_TRACE_ALREADY_OFF = lv_buf_trace_already_off
    EXCEPTIONS
        NO_TRACE_SELECTED = 1
        ERROR_TRACE_OFF = 2
        SQL_TRACE_OFF = 3
        RFC_TRACE_OFF = 4
        HTTP_TRACE_OFF = 5
        ENQUEUE_TRACE_OFF = 6
        BUFFER_TRACE_OFF = 7
        ERROR_MOD_USER = 8
. " PERFORMANCEA_TRACE_OFF




ABAP code using 7.40 inline data declarations to call FM PERFORMANCEA_TRACE_OFF

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single UNAME FROM SY INTO @DATA(ld_trace_user).
DATA(ld_trace_user) = SY-UNAME.
 
 
 
 
DATA(ld_sql_trace_off) = 'X'.
 
 
DATA(ld_enq_trace_off) = ' '.
 
 
 
DATA(ld_rfc_trace_off) = ' '.
 
 
 
DATA(ld_http_trace_off) = ' '.
 
 
 
DATA(ld_buf_trace_off) = ' '.
 
 
 
DATA(ld_auth_trace_off) = ' '.
 
 
 
DATA(ld_check_user) = ' '.
 
 
 
DATA(ld_use_trace_exceptions) = 'X'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!