Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Change Document in trans SCDO

duma_msongelwa
Explorer
0 Kudos

I am going through the steps of creating a change document for a Ztable in transaction SCDO. What additionnal code do we include in the generated includes and Function Modules. The change document does not work.

1 REPLY 1

Former Member
0 Kudos

Hi,

Steps to implement Change Document functionality

1. Define the change document object

2. Check in the Dictionary, whether the data elements of the fields, which are to be logged, are flagged appropriately.

3. Generate the update.

4. Program the appropriate calls in your program.

To define a change document object, proceed as follows:

1.Go to Transaction SCDO.

2.Choose the menu option Create.

3.Enter a name for the change document object, which is to be created. It can be any name starting with "Y" or "Zu201D.

4.Choose Continue. A new window for inputting the associated tables appears.

5.Enter a descriptive short text for the change document object. Make the required entries for each table whose changes are to be logged in the change document for this change document object.

6.After inputting all relevant tables, choose Insert entries. The new entries are copied into the display.

7.Save your entries and then click on Generate push button.

The generation creates INCLUDE objects, which contain general and specific data definitions and the program logic for the update function module.

After defining a change document, to integrate the change document object in our program, we need to follow the below steps.

1.Include the generated program parts in your program code with an INCLUDE statement.

2.When application changes are made, complete the change-relevant fields as appropriate.

3.To create the change document, call the object-specifically generated update program with a PERFORM statement using the name defined in include program.