Hi All,
One of my friend demonstrated a ABAP webdynpro code to me. He used a assistance class to access the data in the ABAP table from an action / event handler method of a view.
I suggested that this may not align with best practices of webdynpro's intended MVC paradigm. My suggestion is that a event handler should call a method in the Component Controller and the method in the component controller should call the assistance class. This based on the general view : any class modelling the database table will be considered as a Model and a View may not access the Model directly without going through the controller.
But he did not agree with it. Hence I request webdynpro experts in the forum to express their opinion and enhance my knowledge about best practices for ABAP webdynpro.
Thanks in advance
Regards,
Arul