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

Drop Down List box problem in SAP version 45B

Former Member
0 Likes
345

Hi,

I want to display a Combo Box on the selection screen. I have copied the standard code which is available on website and most of the discussions forms. The code is like this:

REPORT ZLIST.

TYPE-POOLS: VRM.

DATA: NAME TYPE VRM_ID,

LIST TYPE VRM_VALUES,

VALUE LIKE LINE OF LIST.

PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.

AT SELECTION-SCREEN OUTPUT.

NAME = 'PS_PARM'.

VALUE-KEY = '1'.

VALUE-TEXT = 'LINE 1'.

APPEND VALUE TO LIST. VALUE-KEY = '2'.

VALUE-TEXT = 'LINE 2'.

APPEND VALUE TO LIST.

CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.

START-OF-SELECTION.

WRITE: / 'PARAMETER:', PS_PARM.

This code is working fine in SAP version 4.6C.

But at the client side we have version 4.5B. When I copied the code in this version, it simply showed me the plane text box with no drop down option.

Can anybody pl. tell me whether it is version problem or some parameters we need to set. In anycase pl. let me know what to do to achieve the required functionality in 4.5B.

Thanks in advance,

Rakesh.

1 REPLY 1
Read only

Former Member
0 Likes
318

Hi Rakesh,

I don't think it is possible to use combo box in 4.5B, does any of the standard SAP report in 4.5B uses combo box ?

Cheers,

Sanjeev