Menu

SAP Function Module SCMS_DOC_DELETE

CMS: Delete Document

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module SCMS_DOC_DELETE (CMS: Delete Document) is a standard Function Module in SAP ERP and is part of the function group SCMS_API within the package SCMS.

Technical Information

Function Module SCMS_DOC_DELETE
Short Text CMS: Delete Document
Function Group SCMS_API
Package SCMS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CREP_ID TYPE C SPACE Repository (Only Allowed if Category - SPACE)
DOC_ID TYPE C Document ID
MANDT LIKE SY-MANDT SY-MANDT Client
PHIO_ID TYPE SDOK_PHID PHIO ID if Known, May Be Shorter than DocID
SIGNATURE TYPE C 'X' Sign URL for Access to Document ('X' Yes, SPACE No)
STOR_CAT LIKE SDOKSTCA-STOR_CAT Category

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
BAD_REQUEST Unknown Functions or Parameters
BAD_STORAGE_TYPE Storage Category Not Supported
CONFLICT Document/ Component/ Administration Data is Inaccessible
ERROR Unspecified error
ERROR_CONFIG Configuration error
ERROR_HIERARCHY Error When Accessing Structures
ERROR_HTTP Error in HTTP Access
ERROR_PARAMETER Parameter error
ERROR_SIGNATURE Error when Calculating Signature
INTERNAL_SERVER_ERROR Internal Error in Content Server
NOT_FOUND Document/ Component/ Content Repository Not Found
UNAUTHORIZED Security Breach