‎2007 Mar 07 6:54 AM
‎2007 Mar 07 7:44 AM
Hi Kanny,
The dropdown list box is a field with an arrow icon on the right side. Clicking on this icon drops down a list immediately below the field and shows the user which values can be chosen. An entry in the list is called list box item. The dropdown list box is read-only
for more info http://help.sap.com/saphelp_erp2005vp/helpdata/en/00/9e7f41969e1809e10000000a155106/frameset.htm
Regards,
Satyendra.
‎2007 Mar 07 10:54 AM
Hello,
Drop down list is used where the user is forced to enter values only available in the list and the user cant enter his own values (unlike F4 help).
Execute this demo program:<b>RSDEMO_DROPDOWN_LISTBOX</b>.
All the four parameters here use drop-down lists.
Regards,
Beejal
**reward if this helps
‎2007 Mar 09 9:09 AM
hi ,
Dropdown list is used to make the user to enter only the valid inuts by
diplaying list at parameters.
use FM 'F4IF_INT_TABLE_VALUE_REQUEST'
regards,
Naresh.
‎2007 Mar 09 9:24 AM
Hi,
Drop-down menus are probably the most flexible objects you can add to your forms.
Depending on your settings, drop-down menus can serve the same purpose as radio buttons (one selection only) or check boxes (multiple selections allowed).
The advantage of a drop-down menu, compared to radio buttons or check boxes, is that it takes up less space.
But that is also a disadvantage, because people can't see all options in the menu right away.
have a look at this link:
http://www.echoecho.com/htmlforms11.htm
Regards,
Gunasree.
‎2007 Mar 14 4:57 PM
HI
Drop down list is like means A small icon will be there in the right coner of a field
if u click on that field it will show the values in that list.
ex:- After entering in to sap logon u will enter transaction code in transaction command, if u obser clearly u will find aicon at the right conner in command field
if u click on that icon it will show all the resent transaction that are typed in that command field.
If u gone through MM01 there in the first screen it will show only meterial field there also u can find this drop down list box.
sample code.
TYPE-POOLS :vrm.
data : value type vrm_values,
value_wa like line of value.
clear value_wa.
clear value.
value_wa-key = 'ATTACHED'.
append value_wa to value.
clear value_wa.
value_wa-key = 'MARKET'.
append value_wa to value.
clear value_wa.
value_wa-key = 'OWENED'.
append value_wa to value.
clear value_wa.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = 'it_ztrmt-OWNCAT'
VALUES = value .
regards.
Francis.
Plz reward points if it is useful.
‎2007 Mar 15 6:22 AM
this is like command box in sap easy access
try for it.
&----
*& Report YRSBDCSUB *
*& *
&----
*& *
*& *
&----
REPORT YRSBDCSUB .
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
PARAMETERS: LINES(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
NAME = 'LINES'.
value-key = '1'.
value-text = 'MALE'.
APPEND value TO list.
value-key = '2'.
value-text = 'FEMALE'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST.
START-OF-SELECTION.
WRITE: / 'Parameter:', LINES.
‎2007 Mar 15 6:23 AM
&----
*& Report YRSBDCSUB *
*& *
&----
*& *
*& *
&----
REPORT YRSBDCSUB .
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
PARAMETERS: LINES(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
NAME = 'LINES'.
value-key = '1'.
value-text = 'MALE'.
APPEND value TO list.
value-key = '2'.
value-text = 'FEMALE'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST.
START-OF-SELECTION.
WRITE: / 'Parameter:', LINES.