Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

dropdown list

Former Member
0 Likes
736

hi ,

what is dropdown list?

thanks,

kanny.

7 REPLIES 7
Read only

satykumar
Product and Topic Expert
Product and Topic Expert
0 Likes
676

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.

Read only

Former Member
0 Likes
676

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

Read only

Former Member
0 Likes
676

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.

Read only

Former Member
0 Likes
676

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.

Read only

Former Member
0 Likes
676

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.

Read only

Former Member
0 Likes
676

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.

Read only

Former Member
0 Likes
676

&----


*& 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.