Skip to Content
0
Jan 28, 2013 at 12:30 PM

problem in selecting values in dropdown list.

208 Views

dear experts,

i have made dropdown list in screen painter. in my program i am using f.m 'F4IF_INT_TABLE_VALUE_REQUEST' .

the dropdown list is showing the all values. but when i am selecting one of them it's taking only 15 char.due to this i am not able to print my form data.

for exapmle - suppose in drop down. it has value like : 1) asde-9034-35803-23

2) re-345-35454-34554

when i am selecting 2nd 're-345-35454-34554'. it's selecting only 're-345-35454' rest '-34554' it's not selecting . what is the problem in it.can any one help to solve this issue.

my code is :

******************here i am selecting this firno from table & then i want to select any one fir no in the dropdown based on that it will display the output*********************** here FIRNO IS ASSIGN 40 CHAR. BUT IN DROPDOWN IT'S SELECTING ONLY 15-16 CHAR.HOW TO SOLVE THIS ISSUE?

SELECT FIRNO FROM ZFIR INTO TABLE IT_INS .

SORT IT_INS BY FIRNO.

DELETE ADJACENT DUPLICATES FROM IT_INS COMPARING FIRNO.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

* DDIC_STRUCTURE = ' '

RETFIELD = 'FIRNO'

* PVALKEY = ' '

DYNPPROG = DYN_PRG

DYNPNR = DYN_PR

* DYNPROFIELD = ' '

* STEPL = 0

* WINDOW_TITLE =

* VALUE = ' '

VALUE_ORG = 'S'

* MULTIPLE_CHOICE = ' '

DISPLAY = ' '

* CALLBACK_PROGRAM = SY-REPID

* CALLBACK_FORM = ' '

* MARK_TAB =

* IMPORTING

* USER_RESET =

TABLES

VALUE_TAB = IT_INS[]

* FIELD_TAB =

* RETURN_TAB =

* DYNPFLD_MAPPING =

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3

.

IF SY-SUBRC <> 0.

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

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

ENDIF.