Menu

SAP Function Module SCMS_DOC_READ

CMS: Read Document

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 SCMS_DOC_READ (CMS: Read 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_READ
Short Text CMS: Read 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
NO_CACHE TYPE SY-DATAR SPACE Screens, display user entry
PHIO_ID TYPE SDOK_PHID PHIO ID if Known, May Be Shorter than DocID
RAW_MODE TYPE SY-DATAR SPACE Screens, display user entry
SIGNATURE TYPE C 'X' Sign URL for Access to Document ('X' Yes, SPACE No)
STOR_CAT LIKE SDOKSTCA-STOR_CAT Category

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
STATUS TYPE SCMS_DOCST CMS: Document status

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
COMP_NOT_FOUND Document/ Component/ Content Repository Not Found
CONFLICT Document/ Component/ Administration Data is Inaccessible
ERROR Unspecified error
ERROR_CONFIG Configuration error
ERROR_FORMAT Incorrect Data Format (Structure Repository)
ERROR_HTTP Error in HTTP Access
ERROR_PARAMETER Parameter error
ERROR_SIGNATURE Error when Calculating Signature
FORBIDDEN Document or Component Already Exists
INTERNAL_SERVER_ERROR Internal Error in Content Server
NOT_FOUND Document/ Component/ Content Repository Not Found
UNAUTHORIZED Security Breach