Menu

SAP Function Module DB6_PM_DB6CSTRC_STMT_TEXT

DB6: Get Summary for Cumulative SQL Trace

The Function Module DB6_PM_DB6CSTRC_STMT_TEXT (DB6: Get Summary for Cumulative SQL Trace) is a standard Function Module in SAP ERP and is part of the function group SDB6PMST04 within the package STU6.

Technical Information

Function Module DB6_PM_DB6CSTRC_STMT_TEXT
Short Text DB6: Get Summary for Cumulative SQL Trace
Function Group SDB6PMST04
Package STU6
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CONNECTION LIKE DBCON-CON_NAME Logical name for a database connection
OPTLEVEL LIKE DB6CSTRACE-OPTLEVEL Database Optimization Level
STMT_STR LIKE DB6CSTRACE-STMT_SUBST First 200 Characters of the Statement Text
STMT_STR_LEN LIKE DB6CSTRACE-STMT_LEN Length of SQL Statement
TABLENAME LIKE DB6CSTRACE-TABLENAME Name of the First Table in the SQL Statement

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FULL_STMT_STR LIKE DB6CSTRACE-STMT_TEXT SQL Statement Text

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NO_HISTORY_FOUND required history records could not be read