Hi all,
As of my knowledge, subroutines(Form xxx --- Endform) is not allowed in methods OOPS ABAP. I would like to know how modularization techniques can be used in a method in Web Dynpro ABAP.
In detail I would explain as, In my web dynpro component, I have a view and methods. In one of my methods I was writing code and the code became too large. Now while reviewing the code, it is confusing. So i would like to write the code in small modules, as we write in standard ABAP Report programs using Subroutines with Perform. Ex. Perform Datafetch, Perform logic, Perform alvDisplay.
In a similar way is there any way that I can modularize my code in my Method. One option I have is write the part of code in another Method and call that Method. But this, separates the method away from my current method. I don't want to do that.
I would like to write my code in Single Method, and how to apply modularization here.
Any Help Please..