Change Logs For ZTables Using SCDO Transaction Code - 4 (SAP ABAP).


Submitted By: Shilpa Gunjan (LnT Infotech)


8. Now you will see a screen with all the details of the object that will get generated as shown:



9. Click On "SAVE" to complete the program generation for the change document object.

You will receive a success message as shown below:



10. Here we can see an update function module gets created which can be used for logging the changes in the SAP standard tables CDPOS & CDHDR.


Change logs should be in totality i.e. operations like Insert, Delete & Update functionalities done on the records should get tracked.

In order to achieve all the operations we need to add a new variable (or say a flag) of type CHAR1 in the import parameters of the function module. When the value is passed as 'X' and the operation to be performed is 'D' (delete), then the current record will be logged for deletion in CDHDR.


<<PREVIOUS PAGE                                                                                    NEXT PAGE>>

ALSO READ:

- Change Logs For ZTables Using SCDO Transaction Code - Page 1.

- Change Logs For ZTables Using SCDO Transaction Code - Page 2.

- Change Logs For ZTables Using SCDO Transaction Code - Page 3.

- Change Logs For ZTables Using SCDO Transaction Code - Page 4.

- Change Logs For ZTables Using SCDO Transaction Code - Page 5.

- Change Logs For ZTables Using SCDO Transaction Code - Page 6.

- Change Logs For ZTables Using SCDO Transaction Code - Page 7.



Your suggestions and comments are welcome in this section.

Please mail all your contributions to administrator@abapmadeeasy.com We request you to mention your Name, Designation, Experience & Organization you are working for. Your posts will be verified and posted in this site with your name.