SAP ABAP Function Module MSS_GET_SPID_ACTIVITY (Get name of stored procedure being executed on a spid.)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB-MSS (Application Component) Microsoft SQL Server
     STUN_MSS (Package) Package for new SQL Server monitoring objects
Basic Data
Function Module MSS_GET_SPID_ACTIVITY Get name of stored procedure being executed on a spid.  
Function Group SMSSDATA   MSS: Cockpit Backend not from RAT  
Program Name SAPLSMSSDATA    
INCLUDE Name LSMSSDATAU52    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting SPNAME TYPE MSSPROC Stored procedure name
Exporting SPIDTEXT TYPE MSSSQLTEXT SQL definition statement text
Exporting SPIDTEXT_LEN TYPE INT4 Natural number
Importing CON_NAME TYPE DBCON-CON_NAME 'DEFAULT' Logical name of a Database Connection
Importing SPID TYPE MSQPROCESS-SPID MS SQL server process id
Importing SCHEMA TYPE MSSSCHEMA ' ' Schema name
Exception NOT_RUNNING_ON_MSSQL TYPE R/3 is not running on MS SQL Server
Exception NO_SP_ON_SPID TYPE Can't find any sp name on the spid
Exception DB_ERROR TYPE SQL Error Message
Exception CONNECT_ERROR TYPE Error Connecting to the Database
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  20100421 
SAP Release Created in 711