Menu

SAP Function Module CHANGEDOCUMENT_CLOSE

Change document: Close change document creation

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_CLOSE (Change document: Close change document creation) is a standard Function Module in SAP ERP and is part of the function group SCD0 within the package SZD.

Technical Information

Function Module CHANGEDOCUMENT_CLOSE
Short Text Change document: Close change document creation
Function Group SCD0
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
DATE_OF_CHANGE LIKE CDHDR-UDATE Changed On
NO_CHANGE_POINTERS LIKE CDHDR-CHANGE_IND SPACE Flag: No documents written
OBJECTCLASS LIKE CDHDR-OBJECTCLAS Object class name
OBJECTID LIKE CDHDR-OBJECTID Object value ID
OBJECT_CHANGE_INDICATOR LIKE CDHDR-CHANGE_IND 'U' Flag: Object inserted, changed or deleted
PLANNED_OR_REAL_CHANGES LIKE CDHDR-CHANGE_IND SPACE Not used
TCODE LIKE CDHDR-TCODE Transaction in which change was made
TIME_OF_CHANGE LIKE CDHDR-UTIME Changed at
USERNAME LIKE CDHDR-USERNAME Changed by (name)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CHANGENUMBER LIKE CDHDR-CHANGENR Change document number

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
HEADER_INSERT_FAILED SQL error during INSET of header
NO_POSITION_INSERTED No items were entered
OBJECT_INVALID OPEN was called with other object
OPEN_MISSING No OPEN was carried out
POSITION_INSERT_FAILED G/L account number