2008 Mar 05 2:10 PM
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
2008 Mar 05 2:18 PM
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
2008 Mar 05 2:18 PM
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
2008 Mar 06 6:04 AM
Thank's for sending the call transation code.
done it.
Regard's
Prakash Yalamanchili