Menu

SAP Function Module CHANGEDOCUMENT_READ

Change document: Read and edit change documents

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 CHANGEDOCUMENT_READ (Change document: Read and edit change documents) is a standard Function Module in SAP ERP and is part of the function group SCD2 within the package SZD.

Technical Information

Function Module CHANGEDOCUMENT_READ
Short Text Change document: Read and edit change documents
Function Group SCD2
Package SZD
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ARCHIVE_HANDLE LIKE SY-TABIX 0 Handle on Open Archive Files
CHANGENUMBER LIKE CDPOS-CHANGENR SPACE Change document number
DATE_OF_CHANGE LIKE CDHDR-UDATE '00000000' From-change date for search
DATE_UNTIL TYPE CDHDR-UDATE '99991231' Change date up to which you want to search
KEYGUID TYPE CDPOS_UID-KEYGUID SPACE UUID in character form
LOCAL_TIME LIKE SPACE local or system time (re: time zone)
OBJECTCLASS LIKE CDHDR-OBJECTCLAS Object class
OBJECTID LIKE CDHDR-OBJECTID SPACE Object ID
TABLEKEY LIKE CDPOS-TABKEY SPACE Object class table key
TABLEKEY254 TYPE CDPOS_UID-TABKEY SPACE Table Key for CDPOS in Character 254
TABLENAME LIKE CDPOS-TABNAME SPACE Object class table name
TIME_OF_CHANGE LIKE CDHDR-UTIME '000000' From-change time for search
TIME_UNTIL TYPE CDHDR-UTIME '235959' Change time up to which you want to search
TIME_ZONE TYPE TTZZ-TZONE 'UTC' If LOCAL_TIME - X: time zone in which the change document was created
USERNAME LIKE CDHDR-USERNAME SPACE Last changed by

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EDITPOS LIKE CDRED Table with edited change document items

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NO_POSITION_FOUND No item found
TIME_ZONE_CONVERSION_ERROR Error converting local to system time
WRONG_ACCESS_TO_ARCHIVE incorrect access to archive