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

Strange ALV-problem

Former Member
0 Likes
520

Hi Sapfans,

I'm facing a strange ALV-problem and I hope that anybody will have an idea. I use normally the ALV classes for ALV output but my client wants me to change an existing program where the function REUSE_ALV_GRID_DISPLAY is already used.

We have the problem that just 2 fields are shown on the screen, although 12 fields are in it_fieldcat and in t_outtab. When I click on 'change layout', the Column Set is emtpy.

There are no layouts definied, at least I can't see any when I click on Settings - Layout -Choose.

Here's the coding:

  • List-Ausgabe

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = l_repid

i_callback_user_command = 'USER_COMMAND'

is_layout = l_s_layout

it_fieldcat = i_t_fieldcat

i_grid_settings = l_s_grid_settings

i_save = 'A'

is_variant = g_variant

it_events = i_t_events

is_print = l_s_print

TABLES

t_outtab = <g_it_alv_data>.

Every little hint is welcome!

Regards

Nicola

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
495

hi Nicola,

probably i_t_fieldcat-tech is set to 'X'.

ec

3 REPLIES 3
Read only

Former Member
0 Likes
495

may be the HIDE parameter might have enabled.

can you send the code related to alv part?

Read only

JozsefSzikszai
Active Contributor
0 Likes
496

hi Nicola,

probably i_t_fieldcat-tech is set to 'X'.

ec

Read only

Former Member
0 Likes
495

Eric - you've solved my problem. Thank you very much! Small field - big consequence. I've awarded points.

Regards

Nicola