| Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Using Tabstrips in BSPBy Vakada Raghava, Mouri Tech Solutions Requirement:
To display header and item details for sales order using tab strip, tray with
OTR text. Steps to be followed: 1)
Go to transaction SE80, select ‘BSP application’
from the dropdown list.
2)
Create a BSP application with the name ZMVC_TABSTRIP.
3)
Creating a Model Class: Go to transaction SE24 and enter
the name of the class as shown below. Class name: ZCL_MODEL_SALES1
In the pop up window that appears, enter the description and then click on
the ‘save’ button.
In the class, go to the
properties tab and then specify the superclass for the new model class so that
all the methods and attributes will be inherited to the model class. You can uncheck the
checkbox ‘Final’.
Add attributes to the new
model class. Here, you can see that I have used the table types to refer to the
attributes of our class.
Add a method to the new
model class to get the header and item details
Double-click on the
GETVBAK method. Write the following code.
Double click on the
GETVBAP method.
Save, check and activate the class. CREATING VIEWS. 1)
Create view: In transaction SE80, Right-click on the
BSP application name and navigate to CreateàPage.
As shown below, enter the name and description of the view that you want
to create. Select the radio button ‘View’, and then click on the
‘Continue’ button.
Give the page attributes of the view. The attribute of the view is an
object reference of the model class that we created previously.
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
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 |
||