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

Module Pool Program

Former Member
0 Likes
394

Hi All,

in a Module Pool Program i have created a screen where

a table control is there .in that i am displaying 1 field

as a dropdown list ( listbox ). now i want to populate the values

in it.

Pls tell me how can i do it.

3 REPLIES 3
Read only

Former Member
0 Likes
381

Hello,

Check the demo report.

RSDEMO_TABLE_CONTROL

Cheers,

Vasanth

Read only

Former Member
0 Likes
381

check...

RSDEMO_TABLE_CONTROL

This program gives values in list box in the first field...

Read only

Former Member
0 Likes
381

hi,

u need to take that field as list box and write this after PAI in screen flow logic...

PROCESS ON VALUE-REQUEST.

FIELD itab1-xblnr MODULE bill_drop.

MODULE bill_drop INPUT.

CLEAR itab1.

REFRESH itab1.

itab1-xblnr = '5105600513'.

APPEND itab1.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'XBLNR'

value_org = 'S'

TABLES

value_tab = itab1.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

ENDIF.

ENDMODULE. " bill_drop INPUT

DATA : BEGIN OF itab1 OCCURS 0,

xblnr LIKE rbkp-xblnr, "Bill Number

END OF itab1.

I have made table control from internal table itab but first field which is listbox is itab1-xblnr in table control...

reward if usefull...