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

list box -external search help

Former Member
0 Likes
482

hi,

i have doubt how to handle the search help in case field with listbox in dialog programming

regards,

Mahesh.G

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
372

Hi Mahesh,

Refer the std program . - DEMO_DYNPRO_DROPDOWN_LISTBOX

RSDEMO_DROPDOWN_LISTBOX

in the PBO use the function module VRM_SET_VALUES

set the attribute of the field in screen painter as Drop down list.

NAME1 is the name of the field.

data: NAME1 type VRM_ID,

LIST1 type VRM_VALUES,

VALUE1 like line of LIST1.

select * from ZES_RFQ_REJECT into table IT_RFQREJ.

NAME1 = 'ZES_RFQ_ITEM-REJ_CODE'.

loop at IT_RFQREJ into IS_RFQREJ.

VALUE1-KEY = IS_RFQREJ-REJ_CODE.

append VALUE1 to LIST1.

clear IS_RFQREJ.

endloop.

call function 'VRM_SET_VALUES'

exporting

ID = NAME1

VALUES = LIST1.

clear LIST1.

Reward points if this Helps.

Manish

hi,

i have doubt how to handle the search help in case field with listbox in dialog programming

regards,

Mahesh.G

1 REPLY 1
Read only

Former Member
0 Likes
373

Hi Mahesh,

Refer the std program . - DEMO_DYNPRO_DROPDOWN_LISTBOX

RSDEMO_DROPDOWN_LISTBOX

in the PBO use the function module VRM_SET_VALUES

set the attribute of the field in screen painter as Drop down list.

NAME1 is the name of the field.

data: NAME1 type VRM_ID,

LIST1 type VRM_VALUES,

VALUE1 like line of LIST1.

select * from ZES_RFQ_REJECT into table IT_RFQREJ.

NAME1 = 'ZES_RFQ_ITEM-REJ_CODE'.

loop at IT_RFQREJ into IS_RFQREJ.

VALUE1-KEY = IS_RFQREJ-REJ_CODE.

append VALUE1 to LIST1.

clear IS_RFQREJ.

endloop.

call function 'VRM_SET_VALUES'

exporting

ID = NAME1

VALUES = LIST1.

clear LIST1.

Reward points if this Helps.

Manish