Hi Roosi,
Thank you for your reply and useful link.
My requirement is TMG Event -> 01 ->Before Save concept. The above code I've written inside Form Routines between Form and Endform.
Below the SAP Coding pattern that I've followed while changing the data in a Z Table.
Image may be NSFW.
Clik here to view.
Now can you please let me know where exact declaration part that I've missed.
Thank You.
With Regards,
Sudhir.