Menu

SAP Function Module SCMS_DOC_URL_CREATE

CMS: Generate create-URL

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_URL_CREATE (CMS: Generate create-URL) 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_URL_CREATE
Short Text CMS: Generate create-URL
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
COMP_ID TYPE C SPACE Component ID
CREP_ID TYPE C SPACE Repository (Only Allowed if Category - SPACE)
DOC_ID TYPE C SPACE Document ID
DOC_PROT TYPE C 'rud' Protection
DP_URL_ONLY LIKE SY-DATAR SPACE Only Return DataProvider URL
EXPIRATION TYPE TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
HTTP_URL_ONLY LIKE SY-DATAR SPACE Only Return HTTP URL
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
UPDATE_URL LIKE SY-DATAR SPACE Url for Update

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DOC_ID_OUT TYPE C Document ID (if not specified a new GUID is used)
URL TYPE C Generated URL

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
ERROR Unspecified error
ERROR_CONFIG Configuration error
ERROR_PARAMETER Parameter error
ERROR_SIGNATURE Error when Calculating Signature