on 03-19-2009 8:55 AM
Hi,
Where do we write the business logic and how to pass the data to web dynpro from the backend.
Regards,
Ajay
hi,
->For Business Logic , You can use various methods of View Controller or Component Controller.
->You have some predefined methods like Wddoinit, wdModify in the controller.
->you can also create your own methods and write logic there.
And For fetching data from backend, you can use Functional Modules(Bapi) or you can write select queries in the methods only.
I hope it helps.
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the help..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
use of select queries is not recommended .. u can use FMS , u can also have the concept of component usage , so that one comp can be reused in some other component
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can call the FM's directly with in methods. You can also call class methods, select statements directly. After you store the data from either FM/Class Object/ Select Query you need to bind this to node. for example: wdContext->bind_table( 'Internal Table').
Further more please refer
help.sap.com
Best Regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The design pattern or paradigm followed by Webdynpro ABAP is MVC .
M-Model
V- View
C-Controller
The model forms the interface to the back end system and thus enables the Web Dynpro application access to data.View is nothing but UI layout design to show the data .The controller lies between the view and the model. The controller formats the model data to be displayed in the view, processes the user entries made by the user, and returns them to the model.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.