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 on Modulepool

Former Member
0 Likes
383

Hi

I Created 2 listboxes, and added a field to one of the checkbox and retriving the data using select statement upto some 10 rows, here the question is in one list box numbers from 1- 10 should be displayed and in second list box One – Ten should be displayed ) .

how can i solve this ? plz help me out as soon as possible

Prakash Yalamanchili

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
366

Use FM 'F4IF_INT_TABLE_VALUE_REQUEST' as shown below:

*populate Full Text grade list box

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'ZGRADE'

value_org = 'S'

TABLES

value_tab = wi_zhrdaccgrad

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3.

IF sy-subrc <> 0.

MESSAGE 'no help' TYPE 'E'.

ENDIF.

You can store the values you want in a database table and pass the name of the table in Value_tab.

And the field name in retfield.

Otherwise, attach a search help. to the screen field. So no listbox is required.

Hope it helps,

saipriya

2 REPLIES 2
Read only

Former Member
0 Likes
367

Use FM 'F4IF_INT_TABLE_VALUE_REQUEST' as shown below:

*populate Full Text grade list box

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'ZGRADE'

value_org = 'S'

TABLES

value_tab = wi_zhrdaccgrad

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3.

IF sy-subrc <> 0.

MESSAGE 'no help' TYPE 'E'.

ENDIF.

You can store the values you want in a database table and pass the name of the table in Value_tab.

And the field name in retfield.

Otherwise, attach a search help. to the screen field. So no listbox is required.

Hope it helps,

saipriya

Read only

0 Likes
366

Thank's for sending the call transation code.

done it.

Regard's

Prakash Yalamanchili