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 in standard

Former Member
0 Likes
642

Hi All,

Is it possible to make a drop down box in standard transaction field; transaction is CJ20N and field is PRPS-USR00 ?

Thanks,

Sandeep Nigam

Hi All,

Is it possible to make a drop down box in standard transaction field; transaction is CJ20N and field is PRPS-USR00 ?

Thanks,

Sandeep Nigam

4 REPLIES 4
Read only

Former Member
0 Likes
588

Yeah it is possible

TYPE-POOLS vrm.

**"Table declarations...................................................

*TABLES sscrfields.

*"Table declarations...................................................

PARAMETERS:

p_connid(11) AS LISTBOX

VISIBLE LENGTH 20 default 'FOREX-ANANTH'.

p_value TYPE i MODIF ID QWR.

*" Data declarations...................................................

"----


Work variables *

"----


DATA:

w_char(20) TYPE c,

w_flag TYPE i.

"----


INITIALIZATION. EVENT *

"----


INITIALIZATION.

"----


Internal table to hold delivery header data *

"----


DATA:

t_table TYPE

STANDARD TABLE

OF vrm_value,

vrm_values1 LIKE LINE OF t_table.

vrm_values1-key = 'a'.

vrm_values1-text = 'sap'.

APPEND vrm_values1 TO t_table.

vrm_values1-key = '2'.

vrm_values1-text = 'testing'.

APPEND vrm_values1 TO t_table.

vrm_values1-key = '2'.

vrm_values1-text = 'java'.

APPEND vrm_values1 TO t_table.

vrm_values1-key = '4'.

vrm_values1-text = '.net'.

APPEND vrm_values1 TO t_table.

vrm_values1-key = '5'.

vrm_values1-text = 'vc++'.

APPEND vrm_values1 TO t_table.

vrm_values1-key = 'che'.

vrm_values1-text = 'chetta-ram'.

APPEND vrm_values1 TO t_table.

CALL FUNCTION 'VRM_SET_VALUES'

EXPORTING

id = 'p_connid'

values = t_table

EXCEPTIONS

ID_ILLEGAL_NAME = 1

OTHERS = 2

Read only

0 Likes
588

but how i can change screen field, to make it list box ?

Read only

Former Member
0 Likes
588

resolved by myself...

Read only

0 Likes
588

Hi Sandeep,

Kindly post the solution - so that it can be useful for future references.

Thanks.