| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Providing list box in a BSP applicationBy B.Kalyan Go to Transaction SE80-> Select BSP Application & Enter
a Name to create a new BSP Application (Eg:yhbsplistbox):
Press ENTER to create a new Object
& Click on Yes:
Enter the Short Description and
Press Enter:
Once the Object is created, Right
Click on the Name and create a Page:-
Enter the Page Name and the
Description and select page with Flow Logic Option
Now Page is created. Enter the
Below Code. In Layout Code:- <%@page language="abap"%> <%@extension name="htmlb" prefix="htmlb"%> <htmlb:content design="classic+design2002+design2003">
<htmlb:page title = "First Page ">
<htmlb:form>
<htmlb:dropdownListBox id = "myDropdownListDay"
tooltip = "Quick info for myDropdownListBox">
<% LOOP AT t_mod INTO fs_mod. %>
<htmlb:listBoxItem key = "<%=fs_mod%>"
value = "<%=fs_mod%>"/>
<%
%> <%ENDLOOP.%> </htmlb:dropdownListBox> </htmlb:form>
</htmlb:page>
</htmlb:content>
In Event-handler – on
Initilalization. SELECT modul FROM zemployee INTO TABLE t_mod.
sort t_mod.
delete adjacent duplicates from t_mod comparing modul.
Page
Attributes:- Fs_mod type types_mod t_mod type fs_module. In Type Definition: TYPES:
BEGIN OF types_mod,
modul TYPE zemployee-modul,
END OF types_mod,
fs_module type
standard table
of TYPES_MOD.
OUTPUT:
|
|
|
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 |
||