2012 Jul 09 10:01 AM
Dear all,
I've created a dropdown list using dialog. Next I use FM F4IF_INT_TABLE_VALUE_REQUEST to populate it.
TYPES: BEGIN OF gty_listbox,
key TYPE char4,
text TYPE char255,
END OF gty_listbox.
DATA: gt_sum_list01 TYPE STANDARD TABLE OF gty_listbox,
lw_sum_list01 TYPE gty_listbox.
lw_sum_list01-key = gc_sum_sh01.
lw_sum_list01-text = text-b08.
APPEND lw_sum_list01 TO gt_sum_list01.
lw_sum_list01-key = gc_sum_sh01.
lw_sum_list01-text = text-b09.
APPEND lw_sum_list01 TO gt_sum_list01.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'KEY'
value_org = 'S'
dynprofield = gc_sum_list01
TABLES
value_tab = gt_sum_list01
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.
The text symbol text-b08 and text-b09 contains 89 characters, but only 80 characters is being displayed. I've resized the dropdown to be very wide, but still the same. Is it dropdown can have a maximum of 80 characters?
Regards,
Liang
Dear all,
I've created a dropdown list using dialog. Next I use FM F4IF_INT_TABLE_VALUE_REQUEST to populate it.
TYPES: BEGIN OF gty_listbox,
key TYPE char4,
text TYPE char255,
END OF gty_listbox.
DATA: gt_sum_list01 TYPE STANDARD TABLE OF gty_listbox,
lw_sum_list01 TYPE gty_listbox.
lw_sum_list01-key = gc_sum_sh01.
lw_sum_list01-text = text-b08.
APPEND lw_sum_list01 TO gt_sum_list01.
lw_sum_list01-key = gc_sum_sh01.
lw_sum_list01-text = text-b09.
APPEND lw_sum_list01 TO gt_sum_list01.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'KEY'
value_org = 'S'
dynprofield = gc_sum_list01
TABLES
value_tab = gt_sum_list01
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.
The text symbol text-b08 and text-b09 contains 89 characters, but only 80 characters is being displayed. I've resized the dropdown to be very wide, but still the same. Is it dropdown can have a maximum of 80 characters?
Regards,
Liang
2012 Jul 09 10:33 AM
Hi liang,
Your coding is right. In text symbol we can give maximum of 132 chars . so its displaying all the 132 chars.
Regards,
Ramya R
2012 Jul 09 10:40 AM
Hi Ramya,
My text symbol have 89 characters only, but it's not displaying all. So I'm wondering is this the limit of dropdown or I missed something.
Regards,
Liang
2012 Jul 09 10:51 AM
Hi ,
Your coding part is correct. please check if there is some other problem.
regards,
Ramya R
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |