Skip to Content
0
May 08, 2008 at 05:49 AM

help on POV

28 Views

Hi,

At selection screen on value request i want to pass the contents of entire itab. but after selection it should pick only the specific column. but it is picking the contents of the last column. so can anyone guide me how to go with the problem.

the code i written is

data: i_tcurr like tcurt occurs 0 with header line.

At selection-screen on value-request for <fieldname>.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'report prog name'

dynpprog = sy_repid

dynpnr = sy-dynnr

dynprofield = '<fieldname>'

window_title = ''

value_org = 'S'

TABLES

value_tab = i_tcurr

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3.

so the 3rd column of itam should be selected in the <fieldname> but it is selecting the content of the last column of itab.