Menu

SAP Function Module CHANGEDOCUMENT_CLOSE

Change document: Close change document creation

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