|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Using controller in BSP Application
Redefine method DO_INIT, dbl
click on the method in change mode.
The DO_INIT Method behaves just like initialization event wherein we provide the data declaration.
Here we can fetch the data form the database
table SFLIGHT into internal table t_flight
The attributes have to be set in the Attributes
Tab of the Class
Redefine Method DO_REQUEST
the method DO_REQUEST and press the Redefine button and open the method in
change mode. In this method we would be calling Layout (View) we create a
reference variable referencing the page and then call the methods CREATE VIEW
and pass it the actual view (not yet created). We then call the view.
Create a BSP Page (View)
In SE80 right click on the BSP Application and select
Create->Page->Page Type-> View
Provide the page as main1.htm
Assigning attributes to the View.
Populate the view with data.
Save and Activate BSP Application
12. Execute the controller: Go to the controller index and double click. Use the test (execute) button to view the results.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards