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

Screen painter

Former Member
0 Likes
415

How to get the dropdown list values in Screen painter.

Regards,

MARK K

3 REPLIES 3
Read only

Former Member
0 Likes
369

Hello Mark,

U can assign search help in the screen painter for the field. Go to screen painter click on the field which should have this feature and goto dict attribute, here in searc help u can connect.

Alternatively if you are building ur custom program then u can use event PROCESS ON VALUE-REQUEST and process the search help.

Read only

Former Member
0 Likes
369

Hi,

check this demo program

DEMO_DROPDOWN_LIST_BOX

DEMO_DYNPRO_DROPDOWN_LISTBOX

rgds,

latheesh

Read only

Former Member
0 Likes
369

Hi,

Go to screen painter SE51 click on the field which should have this feature and goto dict attribute, here in search help u can connect. Other wise Create Search Help in SE11 assignt it to Screen name field.

Alternatively if you are building ur custom program then u can use event PROCESS ON VALUE-REQUEST and process the search help.

Otherwise...

call

DATA : BEGIN OF it_zmto_reason OCCURS 0,

reason LIKE zmto_reason-reason ,

descr LIKE zmto_reason-descr,

END OF it_zmto_reason.

DATA : iddshretval LIKE ddshretval OCCURS 0 WITH HEADER LINE.

Read ur Table into internal table...

SELECT reason descr FROM zmto_reason

INTO TABLE it_zmto_reason

WHERE doctype = 'DIN'.

for which sel field ur want call FM...

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'REASON'

dynpprog = 'SAPMZDIN'

dynpnr = sy-dynnr

dynprofield = 'IDINDTL-REASONCD'

value_org = 'S'

TABLES

value_tab = it_zmto_reason

  • RETURN_TAB = IDDSHRETVAL

.

Hope it would solve ur purpose...

Kindly rewards points....