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

Listbox in module pool

Former Member
0 Likes
328

Hi,

I used listbox in module pool having multiple values , I want to select perticular value from listbox and that value must be stored in ztable.

thanking you,

Jyotsna

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
298


TYPE-POOLS : VRM
DATA : field_id TYPE VRM_ID ,
            values  TYPE VRM_VALUES,
             value   LIKE LINE OF values.
 
PROCESS BEFORE OUTPUT
MODULE list_fill_100
 
MODULE list_fill_100 OUTPUT
SELECT f1 f2 f3  FROM tab WHERE condition.
value-KEY = f1.
value-TEXT = f2
APPEND value TO VALUES
 
CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            id     = 'i/o screen field' 
            values = values.

ENDMODULE.

Refer to the demo program DEMO_DYNPRO_DROPDOWN_LISTBOX

a®s

Edited by: a®s on Apr 4, 2009 1:30 AM

Read only

0 Likes
298

Hi a®s,

Thankx 4 reply .

upto to here working ok , but how to select perticular value from that listbox and move into internal table.

wating 4 reply.

thankx,

Jyotsna