Menu

SAP Function Module MSQ_STATEMENT_INFO

SQL Server get statement text and further info

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

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.