‎2019 Apr 16 3:35 PM
We have come up with requirement as below,
Consider there are two custom table A and table B. If one entry is created in table A, then table B should be updated with related data.
We have implemented the code for table maintenance generator. But in other case if user is not updating using TMG still it should update the table B.
How can we implement the above logic?
Thanks in advance.
‎2019 Apr 16 3:50 PM
‎2019 Apr 17 3:59 AM
maybe view cluster could do the trick:
https://wiki.scn.sap.com/wiki/display/TechTSG/View+Clusters-Creation+and+its+Benefits
‎2019 Apr 17 7:17 AM
How did the 'user' updates the table if not in the TMG, did you really expect any SQL statement to trigger your code
‎2019 Apr 17 7:20 AM
In any case if table will get update from abap code like modify. It should trigger event which will update other table.
‎2019 Apr 17 7:53 AM
Then you have to program the update to happen after the modify. As Raymond said
"insure that your code is always executed by developing some update task FM and make sure every developer uses your FM"
‎2019 Apr 17 8:13 AM
Yes I thought of this solution. But what if in future any developer will add code for Modifying table.
Is there any way to trigger event if the table in updated with new entry other than TMG events? Like from SWED or SWEC configuration?
‎2019 Apr 18 7:25 AM