Create Change Document Object Class

Use

In this activity, you define a document object class for a customer-specific infotype. You can use the change document object class CL_HRBAS_CDOCEXT_HANDLER , which is delivered by SAP, as the superclass and enhance or redefine the methods as required, or you can implement an entirely new ABAP class.

Note Note

SAP recommends that the properties of the CL_HRBAS_CDOCEXT_HANDLER be inherited and that you simply redefine the IF_HRBAS_CDOC_HANDLER~ GET_CHANGEDOC_OBJECT_NAME method so that the correct name of the change document object is returned, for example: changedoc_object_name=’Z_HR_IT9933’.

End of the note.

Prerequisites

The classes you use must implement the IF_HRBAS_CDOC_HANDLER interface.

Example

Entries in Table T77CDOC:

IType

Class/Interface

1000

CL_HRBAS_CDOC_HANDLER

1001

CL_HRBAS_CDOC_IT1001_HANDLER

1002

CL_HRBAS_CDOCEXT_HANDLER

1016

CL_HRBAS_CDOCEXT_HANDLER

1017

CL_HRBAS_CDOCEXT_HANDLER

1028

CL_HRBAS_CDOCEXT_HANDLER

1032

CL_HRBAS_CDOCEXT_HANDLER

1061

CL_HRBAS_CDOCEXT_HANDLER

9113

ZCL_HRBAS_CDOC_HANDLER

9933

ZCL_HRBAS_CDOC_ITCUST_HANDLER