SAP ABAP Forum
Hello SAP Experts,
Suppose I write a logic in wd_do_int method of component controller, then what is the use of mvc in webdynpro does it violates the design pattern?
Appropriate suggestions will be highly recommended.
MVC violation depends on which code you write, so your question is not clear.Whether you are writing presentation logic or business logic?
Hi, actually all your business logic should be outside your web dynpro component i.e.in your assistance classes where MVC architecture comes into consideration.You can use that assistance class method in another component if required but you cannot use the same if you write the logic in controller methods as life time of method is only confined to web dynpro component.hope this helps you to understand better else revert with your quieres.
Sign up for STechies
Ask Question From Our Experts