on 01-25-2011 2:44 PM
I am currently implement a cPro Subsystem.
During the save operation, I would like to analyze the changes that the user has done since the last saving (e.g. change in the field "GROUPING" of a task, or newly added phase, or new assignment of a business partner to a role).
Is there a service class, an API or something similar by which I can find that out?
Some kind of change manager or change log class?
Best regards,
Daniel
Hi Daniel,
There are several Web Dynpro Components where you can analyze in tcode SE80.
DPR_DET_DATA_PROJECT_O --> Project WDC
DPR_DET_DATA_PHASE_O --> Phase WDC
DPR_DET_DATA_TASK_O --> Task WDC
All of them, have a method called AFTER_SAVE.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
The class CL_DPR_APPL_OBJECT_CHANGE_MNGR should store the information you wanted. The problem is that the attribute
MT_UPDATED_OBJECTS is private and can not be retrieved externally.
Actually, if a sub system is implmented, typically the following three methods should be added:
ON_OBJECT_CREATE Instance Method Private Event handler for cPro Object create
ON_OBJECT_CHANGE Instance Method Private Event handler for cPro Object change
ON_OBJECT_DELETE Instance Method Private Event handler for cPro Object delete
they should re-act of the change of cProject object,
e.g. ON_OBJECT_CHANGE
Event handler for
Class/interface CL_DPR_ENTITY
Event CHANGED
Kind regards,
Zhenbo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.