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

Dialog dropdown max 80 characters?

Former Member
0 Likes
628

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

3 REPLIES 3
Read only

Former Member
0 Likes
581

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

Read only

0 Likes
581

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

Read only

0 Likes
581

Hi ,

Your coding part is correct. please check if there is some other problem.

regards,

Ramya R