Skip to Content
0
Former Member
Sep 26, 2016 at 07:12 AM

How to trigger ~Modify_objects method of the Custom Genil Class created for a view for the Std EH_ONSAVE function to trap the transaction?

47 Views

Hi ,

I have a BP Overview Screen - Component BP_HEAD.

Now there is an Address Edit View in the Overview Page- BP_ADDR where I have created a custom view with three checkbox fields.

For this Custom Table View we have created a Model and Genil Class with Key fields and the Attributes (Three Checkboxes) and these choices against the key fields are saved in a custom table created in CRM.

So the new choices are done in Component BP_ADDR and these choices are saved when clicked on Save Button in BP_HEAD Overview Page.

It works fine , these fields are editable when edited for the first time in one session and then saved. Requirement is even when Save is done successfully in the same session If we click on Edit , these fields in BP_ADDR should be editable .

We achieved this by changing the Get_I methods of each Attribute rv_diabled = 'FALSE'.

But the issue is when clicked on Back the Setter Methods of these Attributes aren't triggered due to which ~Modify_Objects of Custom Genil Class is not triggered and therefore when clicked on Save the standard EH_ONSAVE method doesn't trap the custom model transaction and no changes are made so forth.