‎2007 Apr 24 3:55 PM
Hi All,
I have few Custom Tables. I would like to maintain the change log in CDHDR/CDPOS for those Custom table's.
Is it possible to do that by creating one Change Document Object Class and define all the custom tables in that from transaction SCDO?
Or do I have to create a diferent custom tables with CDHDR and CDPOS structure and maintain the changes in those.
Pls Suggest.
Thanks in advance.
Gajendra.
‎2007 Apr 24 10:39 PM
Change Documents Configuration
The data elements of all z fields should be flagged to automatically trigger the creation of a Change Document every time a z field is modified. This is a relevant setting to generate Audit Trail of changes for Internal Control purposes. The flag can be found in the bottom of the 'Further Characteristics Tab' of the data element view.
Activation of Change Pointers for Z-fields
Change Pointers Configuration
Change Pointers indicate the type of change made and can be found in database table BDCP. In addition to technical data, the table also stores the user name of the person who changed the data, and when the change occurred.
The following settings must be maintained so that the generated Change Pointers can be updated:
Activate ALE Change Pointers Client-wide by going to:
SPRO: Integration with Other Components ïƒ Advanced Planning and Optimization ïƒ Basic Setting for Data Transfer ïƒ Change Transfer ïƒ Change Transfer for Master Data ïƒ Activate ALE Change Pointers Generally (T-Code BD61)
Switch on updating of Change Pointers For Message Type DEBMAS by going to:
SPRO: Integration with Other Components ïƒ Advanced Planning and Optimization ïƒ Basic Setting for Data Transfer ïƒ Change Transfer ïƒ Change Transfer for Master Data ïƒ Activate ALE Change Pointers for Message Type (T-Code BD52)
Change Document Items to Message type DEBMAS by adding all z-fields.
T-Code:: BD50
Database table TBD62 specifies the changes to conditions for which Change Pointers should be updated. As such, this table acts as a filter, as only change pointers for the types of condition changes that have been entered there are updated to table BDCP.
Reward points if useful..
Regards
Phanindra
‎2007 Apr 24 10:32 PM
‎2007 Apr 24 10:39 PM
Change Documents Configuration
The data elements of all z fields should be flagged to automatically trigger the creation of a Change Document every time a z field is modified. This is a relevant setting to generate Audit Trail of changes for Internal Control purposes. The flag can be found in the bottom of the 'Further Characteristics Tab' of the data element view.
Activation of Change Pointers for Z-fields
Change Pointers Configuration
Change Pointers indicate the type of change made and can be found in database table BDCP. In addition to technical data, the table also stores the user name of the person who changed the data, and when the change occurred.
The following settings must be maintained so that the generated Change Pointers can be updated:
Activate ALE Change Pointers Client-wide by going to:
SPRO: Integration with Other Components ïƒ Advanced Planning and Optimization ïƒ Basic Setting for Data Transfer ïƒ Change Transfer ïƒ Change Transfer for Master Data ïƒ Activate ALE Change Pointers Generally (T-Code BD61)
Switch on updating of Change Pointers For Message Type DEBMAS by going to:
SPRO: Integration with Other Components ïƒ Advanced Planning and Optimization ïƒ Basic Setting for Data Transfer ïƒ Change Transfer ïƒ Change Transfer for Master Data ïƒ Activate ALE Change Pointers for Message Type (T-Code BD52)
Change Document Items to Message type DEBMAS by adding all z-fields.
T-Code:: BD50
Database table TBD62 specifies the changes to conditions for which Change Pointers should be updated. As such, this table acts as a filter, as only change pointers for the types of condition changes that have been entered there are updated to table BDCP.
Reward points if useful..
Regards
Phanindra
‎2007 Apr 25 7:06 AM
Hi Phanindra,
Thank you so much for your reply. I have tried by creating one custom table with two fields.
In SCDO I have created one <b>OBJECT CLASS</b> and I have assigned that custom table to that class. After perfoming all the steps few INCLUDES and Function Modules were generated.
Now what would be the next step. Now in order to record the changes in CDHDR and CDPOS,Do i have to call that FM that has been generated, whenever I update the custom table or that will happen automatically.
I would definitely reward points.
Thank You,
Gajendra.