SAP Function Module MSS_GET_SPID_ACTIVITY

Get name of stored procedure being executed on a spid.

Unsere Literaturempfehlung

Kundeneigene Erweiterungen mit ABAP: User-Exits, klassische und neue BAdIs, Switch und Enhancement Framework

Alle Technologien in einem Band! Ob Sie zukunftssichere Erweiterungen programmieren oder mit den Modifikationen in Ihren SAP-Systemen aufräumen möchten – hier erhalten Sie das erforderliche Wissen. Jede Methode wird ausführlich und mit Codebeispielen erläutert: User-Exits, klassische und neue BAdIs, Business Transaction Events, implizite und explizite Erweiterungspunkte u. v. m.

Bei amazon.de ansehen →

The Function Module MSS_GET_SPID_ACTIVITY (Get name of stored procedure being executed on a spid.) is a standard Function Module in SAP ERP and is part of the function group SFMSS_MISC within the package SMSS_DBACCESS.

Technical Information

Function Module MSS_GET_SPID_ACTIVITY
Short Text Get name of stored procedure being executed on a spid.
Function Group SFMSS_MISC
Package SMSS_DBACCESS
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CON_NAME LIKE DBCON-CON_NAME 'DEFAULT' Logical name of a Database Connection
SCHEMA TYPE MSSSCHEMA ' ' Schema name
SPID LIKE MSQPROCESS-SPID MS SQL server process id

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
SPIDTEXT TYPE MSSSQLTEXT SQL definition statement text
SPIDTEXT_LEN TYPE INT4 Natural number
SPNAME TYPE MSSPROC Stored procedure name

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
CONNECT_ERROR Error Connecting to the Database
DB_ERROR SQL Error Message
NOT_RUNNING_ON_MSSQL R/3 is not running on MS SQL Server
NO_SP_ON_SPID Can't find any sp name on the spid