Menu

SAP Function Module SO_DOCUMENT_DELETE_API1

SAPoffice: Delete document using RFC

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module SO_DOCUMENT_DELETE_API1 (SAPoffice: Delete document using RFC) is a standard Function Module in SAP ERP and is part of the function group SOI1 within the package SO.

Technical Information

Function Module SO_DOCUMENT_DELETE_API1
Short Text SAPoffice: Delete document using RFC
Function Group SOI1
Package SO
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DOCUMENT_ID LIKE SOFOLENTI1-DOC_ID ID of document to be deleted
PUT_IN_TRASH LIKE SONV-FLAG 'X' Flag: Move document to trash folder
UNREAD_DELETE LIKE SONV-FLAG Flag: Delete document unviewed

Exporting Parameters

This function module does not define any EXPORTING parameters.

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
DOCUMENT_NOT_EXIST Specified document does not exist
ENQUEUE_ERROR Required locks could not be set
OPERATION_NO_AUTHORIZATION No authorization to delete document
PARAMETER_ERROR Invalid combination of parameter values
X_ERROR Internal error or database inconsistency