Menu

SAP Function Module MSQ_STATEMENT_INFO

SQL Server get statement text and further info

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module MSQ_STATEMENT_INFO (SQL Server get statement text and further info) is a standard Function Module in SAP ERP and is part of the function group STUL within the package STUS.

Technical Information

Function Module MSQ_STATEMENT_INFO
Short Text SQL Server get statement text and further info
Function Group STUL
Package STUS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
SPID LIKE MSQPROCESS-SPID 0 MS SQL server process id
SPNAME LIKE MSD_STSERV-HOSTNAME ' ' MS SQL server object name

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ABLOC TYPE ABP_CONT Offset of a Processing Control Block
DESC LIKE MSQSTMTINF SMS SQL server created stored procedure information
STMTTYPE LIKE MSDMSSTEXD-STMTTYPE MS SQL Server: SP Statistics MSSTATS statement type

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
SPPARAM LIKE MSQSPPARAM MS SQL server stored procedure parameter structure
SQLCODE LIKE MSQSQLCODE MS SQL server structure to get the sp text
TABLELIST LIKE MSDTABLIST SQL Server statement download tables per statement

Exceptions

This function module does not define any Exceptions.