Menu

SAP Function Module DD_DB_OPERATION

Execute an action of the DB utility

The Function Module DD_DB_OPERATION (Execute an action of the DB utility) is a standard Function Module in SAP ERP and is part of the function group SDDD within the package SDIC.

Technical Information

Function Module DD_DB_OPERATION
Short Text Execute an action of the DB utility
Function Group SDDD
Package SDIC
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FCT LIKE TBATG-FCT 'NOP' 'CRE', 'DEL', 'CNV', 'MDF', 'MDF'
FORCED LIKE DD02L-AS4LOCAL SPACE X' - function forced, ' ' - with comparator
ID_NAME LIKE DD12L-INDEXNAME SPACE Identifier of a view or matchcode ID
OBJ_NAME LIKE TBATG-TABNAME Name of DD object
OBJ_TYPE LIKE TBATG-OBJECT 'TABL', 'SQLT', 'INDX', 'VIEW'
OPTIONS TYPE DDCNVOPT Stsructure for Conversion Options
PRID LIKE SY-TABIX Log ID of the log to be written
STAT LIKE DDLCH Logische Kanalinformationen der R3/Repos. - Standardausgabe.
STATUS LIKE DDXTT-MODEFLAG 'D' I' - inactive nametab, 'D' - Dictionary
USER LIKE SY-UNAME SPACE

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DATA_COPY LIKE DDREFSTRUC-BOOL Convert with or without data copy
SUBRC LIKE SY-SUBRC 0 - OK, otherwise error

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
OBJECT_LOCKED
OP_FAILURE
UNEXPECTED_ERROR
UNSUPPORTED_FUNCTION Operation Not Supported
UNSUPPORTED_OBJ_TYPE Unknown object type
UNSUPPORTED_STATUS