Menu

SAP Function Module WF_PROCESS_TYPE_COPY

Workflow: Copy activity type

The Function Module WF_PROCESS_TYPE_COPY (Workflow: Copy activity type) is a standard Function Module in SAP ERP and is part of the function group WFRL within the package SWF1.

Technical Information

Function Module WF_PROCESS_TYPE_COPY
Short Text Workflow: Copy activity type
Function Group WFRL
Package SWF1
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DEST_PRCTP LIKE WFPROCTYP-PRCTP SPACE Target transaction type
F_EMPTY_DEST_ONLY LIKE 'X' only copy in empty transaction types
SOURCE_PRCTP LIKE WFPROCTYP-PRCTP SPACE Source transaction type

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EXIT_FCODE LIKE FCODE with which the screen was left

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
DB_ERROR Database error / inconsistency
DESTINATION_NOT_EMPTY Target transaction type contains rules
FOREIGN_LOCK Another user / mode locks the transaction type
PROCESS_TYPE_NOT_EXIST Source transaction type does not exist